# Create a return and remove items Create an return for those items that can not be fulfilled (e.g. out-of-stock of the item). In case all the items are reported, the ecommerce order will be cancelled Endpoint: POST /line_items_cancellation_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" - `language` (string) Language code on ISO-639 to localize the return request Example: "es" - `removeLineItems` (array, required) List of items to be removed from the order - `removeLineItems.sku` (string) SKU of the item Example: "1234567" ## 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