Create a standalone return
to and from_address, parcel weight and the ship_with object.
You can provide a list of items and item descriptions to be included in the return via the parcel_items field (optional).
parcel_items field is mandatory if you’re creating a return from outside the EU. This is because information about the parcel contents must be provided in order to generate the required customs documents.ship_with objectshipping_option_code (find the code using the Shipping options API).shipping_product_code and a set of functionalities.
Functionalities are used to filter the right shipping method within the product. Find this data using the Retrieve a list of shipping products endpoint.contract attribute refers to the ID of a direct contract you have with the carrier. Get the IDs for your contracts from the Retrieve a list of contracts endpoint.
shipping_product_code and a set of functionalities inside the ship_with object. To find a suitable product, refer to the Retrieve a list of shipping products endpoint.
You can filter for a return method by flagging the returns field as true, and by including the from_country and to_country fields. The more fields you specify, the more refined the results will be. This helps you find the most appropriate shipping product for your return parcel.
It’s also possible to filter based on your preferred shipping functionality, e.g. age_check=18, delivery_before, etc.
parcel_items by providing areturn_reason_id and entering a value from the key below. Assigning return reasons to items provides you with analyzable data you can use to predict return trends or identify issues with particular products.
| Return Reason ID | Description |
|---|---|
| 1 | Product did not match expectations |
| 3 | Other (explain in message) |
| 4 | Incorrect product ordered |
| 6 | Product did not match description on website |
| 7 | Wrong product shipped |
| 8 | No reason |
| 9 | Rent |
| 10 | Does not work |
| 11 | Changed my mind |
| 12 | Did not meet expectations |
| 13 | Excessive amount |
| 14 | Better price available |
| 15 | Accidental order |
| 16 | No longer needed |
| 17 | Sample products |
| 18 | Looks different than expected |
| 19 | Ordered more than one size |
| 20 | Arrived too late |
| 21 | Poor quality / Faulty |
| 22 | Does not fit properly |
| 23 | Does not suit me |
| 24 | Incorrect product received |
| 25 | Parcel damaged on arrival |
| 26 | Wrong size ordered |
| 27 | Wrong color ordered |
| 28 | Does not function as expected |
| 29 | Recycle or reuse packaging |
| 30 | Size too large |
| 31 | Size too small |
| 32 | Holiday season return |
Basic Authentication using API key and secrets is currently the main authentication mechanism.
If you are an official Sendcloud Tech Partner, send your unique Sendcloud Partner UUID as a request header for the system to recognize you.
The header is not required but if it is set, the system will check it. An unknown or invalid UUID will cause a 400 error.
Sendcloud Address object
Sendcloud Address object
Shipping specifications chosen for return
Weight in the specified unit
Dimension in the specified unit
The number of collos this return consists of
x >= 1List of items contained in this return. Required outside EU.
When true Sendcloud will send out the default track and trace emails
The ID of the brand this return belongs to. To find the brand ID, refer to the Retrieve a list of brands endpoint.
x >= 11
Price in the specified currency
Identifier of the order associated with this return
"ORD12355"
Price in the specified currency
Unique reference for this return, generated by the user
"RET9876"
Customs invoice number. This field is required if it's an international return
The options the customer has for returning this parcel:
drop_off_point: At a drop-off point - Print at homedrop_off_labelless: At a drop-off point - No printer neededin_store: Return in storepickup: Arrange a pick-updrop_off_point, drop_off_labelless, pickup, in_store, 1"drop_off_point"
Optional customs information that should be provided for international parcels. This information is used for generating customs documents.
{
"invoice_number": "INV-123",
"export_reason": "commercial_goods",
"export_type": "private",
"invoice_date": "2023-08-24",
"discount_granted": { "value": "14.99", "currency": "EUR" },
"freight_costs": null,
"insurance_costs": { "value": "3.60", "currency": "EUR" },
"other_costs": { "value": "1.2", "currency": "EUR" },
"general_notes": "Compliance: Goods comply with international safety standards (CE certified).",
"additional_declaration_statements": [
"With reference to the above shipment, I understate that the content is not made of leather parts of animal species protected by the Washington Convention.",
"I solemnly declare that the contents of this document represent a true and accurate account of the events as they occurred. I acknowledge my responsibility for the information presented herein and understand that any misrepresentation or falsification may result in legal consequences or other penalties as applicable."
],
"importer_of_record": {
"name": "John Doe",
"company_name": "ImporterCo",
"address_line_1": "Maple Avenue",
"house_number": "123",
"postal_code": "90210",
"city": "Springfield",
"country_code": "US",
"state_province_code": "US-MA",
"telephone": "+15551234567",
"email": "info@importer-of-record-example.com"
},
"tax_numbers": {
"sender": [
{
"name": "VAT",
"country_code": "NL",
"value": "NL123456789B01"
},
{
"name": "EORI",
"country_code": "NL",
"value": "NL123456789"
}
],
"receiver": [
{
"name": "EIN",
"country_code": "US",
"value": "123456789"
}
],
"importer_of_record": [
{
"name": "EIN",
"country_code": "US",
"value": "987654321"
}
]
},
"return_data": {
"return_postal_code": "1111 AA",
"outbound_tracking_number": "JT1234567890",
"outbound_shipment_date": "2023-08-14",
"outbound_carrier_name": "UPS"
}
}When set to true, return rules will be applied.
Note that rules take precedence over the values provided in the request.
For instance, if a contract is specified in one of the applied rules, the contract value provided in the request will be ignored.