Carts & CheckoutCustomer
Request a return
The customer asks to return delivered items of their order, with a reason and up to three photos. The store reviews it in its returns.
Path Parameters
orderId*string
Identifier of the order.
Header Parameters
x-Store-Domain*string
Slug of the store or one of its configured domains, such as my-store.
Length
1 <= length <= 253X-Customer-Session?string
Customer session from POST /v1/customer/sessions. Send it instead of Authorization, never both.
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://storefront.ecomiq.pe/v1/customer/orders/7204558912004325350/return-request" \ -H "Authorization: Bearer <token>" \ -H "x-Store-Domain: my-store" \ -H "X-Customer-Session: <session-id>" \ -F reason="Reposición de stock." \ -F comment="Entregar después de las 18:00." \ -F items="Mi tienda" \ -F files="[ \"polo-de-algodon.webp\" ]"Empty