# Register an in-store return Registering a new return made by the customer in a physical store of the merchant Endpoint: POST /store_returns Version: 1.4.2 Security: bearerAuth ## Request fields (application/json): - `shopCode` (string) Shop code which belongs the return. In case this field is not informed, it will be obtained from security context. In case it is informed, it will be validated against the security context Example: "marchelacolombine" - `orderName` (string, required) Ecommerce order name Example: "7848" - `customerEmail` (string, required) Email associated to the customer Example: "customer@if.com" - `customerPhone` (string) Phone associated to the customer Example: "+34666666666" - `returnLineItems` (array, required) List of returned items - `returnLineItems.barcode` (string, required) Barcode of the returned item Example: "8893892" - `returnLineItems.quantity` (number) Items units returned Example: 1 - `returnLineItems.refundType` (string, required) Refund method the customer can select for the returned item Enum: "ORIGINAL_PAYMENT_METHOD", "STORE_CREDIT", "EXCHANGE", "GIFT_CARD" - `returnLineItems.refundMode` (string, required) Mode in which the returned item will be refunded Enum: "PRE_VALIDATION", "SHIPPING_COMPLETED", "SHIPPING_IN_PROGRESS", "POST_VALIDATION", "MANUAL", "INSTANT", "DROP_OFF" ## Response 200 fields (application/json): - `statusCode` (string) Example: "200" - `description` (string) Example: "Your return have been registered correctly" - `return` (object) - `return.id` (string) Internal ID of the return Example: "eaea3209-68c9-4493-9df5-415f1b52003a" - `return.name` (string) Internal ID of the return Example: "R1-7848" - `return.shopCode` (string) Shop code which belongs the return Example: "marchelacolombine" ## Response 400 fields ## Response 401 fields ## Response 404 fields ## Response 405 fields ## Response 500 fields