action just_eat_get_restaurants_tenant_restaurant_id_customerclaims_id { label: "Get order claim" description: "Get information about a order claim" provider: just_eat method: GET path: "/restaurants/{tenant}/{restaurantId}/customerclaims/{id}" encoding: json input: { type: "object" properties: { Accept: { type: "string" } id: { type: "string" } restaurantId: { type: "string" } tenant: { type: "string" } } required: ["id", "restaurantId", "tenant"] additionalProperties: false } output: { type: "object" description: "Claim information" properties: { affectedItems: { type: "array" description: "Information about the claimed items" items: { type: "object" description: "Information about an item in the claim" properties: { additionalContext: { type: "string" description: "Comment giving additional context" } decision: { type: "string" description: "Indicates whether decision on the claimed item was made and what was that decision" enum: ["NotDecided", "Accepted", "Rejected"] } id: { type: "string" description: "Item identifier" } name: { type: "string" description: "Item name" } quantity: { type: "number" description: "Quantity of items" } totalClaimed: { type: "number" description: "Total claimed money in smallest unit of relevant currency" } unitPrice: { type: "number" description: "Price of a single unit in smallest unit of relevant currency" } } } } currency: { type: "string" description: "Name of currency in ISO 4217 format" } expirationDate: { type: "string" format: "date-time" description: "Date when the claim will be accepted automatically in case the owner of the restaurant ignores it" } friendlyOrderReference: { type: "string" description: "Just Eat friendly order reference" } id: { type: "string" description: "Claim identifier" } issueType: { type: "string" description: "Type of claim" enum: ["Missing", "Damaged", "Cold", "LateOrder", "FoodNotArrived"] } orderId: { type: "string" description: "Just Eat order identifier" } resolution: { type: "object" description: "Representation of the decision made about a claim" properties: { decision: { type: "string" description: "Indicates whether the claim is accepted, partially accepted or rejected - claim is partially accepted if at least one of the claimed items is accepted" enum: ["Accepted", "PartiallyAccepted", "Rejected"] } resolvedChannel: { type: "string" description: "Channel which was used to resolved the claim" } resolvedDate: { type: "string" format: "date-time" description: "Date when decision on the claim was submitted" } totalClaimedAccepted: { type: "number" description: "Total claimed money accepted by the restaurant in smallest unit of relevant currency" } } } restaurantResponse: { type: "object" description: "Restaurant response for the claim" properties: { decision: { type: "string" description: "Decision on the claim" enum: ["Accepted", "Rejected", "PartiallyAccepted"] } items: { type: "array" description: "Decisions on the items of a claim" items: { type: "object" description: "Decision on the item" properties: { decision: { type: "string" description: "Decision made about the item" enum: ["Accepted", "Rejected"] } id: { type: "string" description: "Item identifier" } } } } justification: { type: "object" description: "The reason of the claim rejection and optional comments from the restaurant" properties: { comments: { type: "string" description: "Comment from the restaurant owner in case they rejected at least one of the items and want to type their own rejection reason" } reason: { type: "string" description: "One of the predefined reasons" enum: ["AlreadyRefunded", "ItemReplaced", "PartialRefundRequired", "WasNotMissing", "WillRedeliver", "OrderWasHot", "OrderWasOnTime", "OrderWasPacked", "FoodWasIntact", "AddExtraItem", "Other"] } } } } } state: { type: "string" description: "Indicates whether a decision about the claim was made" enum: ["Open", "Closed"] } submittedDate: { type: "string" format: "date-time" description: "Date when the claim was submitted" } totalClaimed: { type: "number" description: "Total claimed money in smallest unit of relevant currency" } } } }