Register a return against an order

Record that a customer is sending part of an order back, and push the return to the connected store.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
≥ 1

Connected store the order belongs to, from GET /company/shops.

integer
required
≥ 1

Envia's internal order ID — the id from GET /v4/orders, not the store's order number.

Body Params
package_info
object
required

The parcel the customer is sending back. These are the dimensions you quoted the return label with.

products
array of objects
required
length ≥ 1

The items coming back. Each must already exist on this order.

products*
integer
required
≥ 1

order_products.id of the item on the original order.

integer
required
≥ 1

How many units come back. May not exceed the quantity bought.

string
required

Why it is being returned. Free text, stored on the return and sent to the store.

string
required

The store's own identifier for the line item, used to match the return in the store.

integer
required
≥ 1

Package of the original order the item shipped in.

shipment
object
required

The return label you already created with the Shipping API.

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json