Skip to main content
POST
This endpoint will create a return, similarly to the Create a return endpoint, but via a synchronous API request. This means that the API will wait for a response from the carrier before you can continue. This endpoint is primarily used for debugging purposes in the event that a return parcel announcement fails, as it will retrieve the carrier announcement error. Creating a return synchronously can impact the performance of the endpoint, as the process will take longer than calls to the Create a return endpoint.
Note: The parcel_items field is mandatory if you’re creating a return from outside the EU.

Authorizations

Authorization
string
header
required

Basic Authentication using API key and secrets is currently the main authentication mechanism.

Headers

Sendcloud-Partner-Id
string

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.

Body

application/json
from_address
Address Object · object
required

Sendcloud Address object

to_address
Address Object · object
required

Sendcloud Address object

ship_with
Ship With Object · object
required

Shipping specifications chosen for return

weight
Weight · object
required

Weight in the specified unit

dimensions
Dimension · object

Dimension in the specified unit

collo_count
integer
default:1

The number of collos this return consists of

Required range: x >= 1
parcel_items
Parcel Item Object · object[]

List of items contained in this return. Required outside EU.

send_tracking_emails
boolean
default:false

When true Sendcloud will send out the default track and trace emails

brand_id
integer

The ID of the brand this return belongs to. To find the brand ID, refer to the Retrieve a list of brands endpoint.

Required range: x >= 1
Example:

1

total_insured_value
Price Object · object

Price in the specified currency

order_number
string

Identifier of the order associated with this return

Example:

"ORD12355"

total_order_value
Price With Any Currency · object

Price in the specified currency

external_reference
string

Unique reference for this return, generated by the user

Example:

"RET9876"

customs_invoice_nr
string | null

Customs invoice number. This field is required if it's an international return

delivery_option
enum<string> | null

The options the customer has for returning this parcel:

  • drop_off_point: At a drop-off point - Print at home
  • drop_off_labelless: At a drop-off point - No printer needed
  • in_store: Return in store
  • pickup: Arrange a pick-up
Available options:
drop_off_point,
drop_off_labelless,
pickup,
in_store,
null
Minimum string length: 1
Example:

"drop_off_point"

customs_information
ParcelCustomsInformation · object | null

Optional customs information that should be provided for international parcels. This information is used for generating customs documents.

Example:
apply_rules
boolean
default:false

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.

Response

Created

return_id
integer
required

The sendcloud return id

Required range: x >= 1
parcel_id
integer
required

The sendcloud incoming parcel id

Required range: x >= 1
multi_collo_ids
integer[]
required

A list with all the related sendcloud incoming parcel ids in the collo

Required range: x >= 1