Create Return
Create a new return with associated items and packages.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
The tenant ID for the target ERP instance.
The User-Id (int or uuid) on whose behalf the request is executed. Requires scope 'Application.RunAs'.
The Company-Id (int or uuid) of the company on whose behalf the request is executed.
Body
The details of the return to create.
Model Class: CreateReturn
The date when the return was created.
An arbitrary external reference number for identifying the return, provided only during creation and cannot be changed afterward.
The company of the corresponding sales order.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
The id of the sales order if the return has exactly on corresponding sales order.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
Id of the Warehouse.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
The external comment of the sales order.
The internal comment of the sales order.
The contact of the return.
List of items included in the return.
List of packages included in the return.
Indicates whether the return should be transmitted to the sales channel (e.g. SCX or Amazon).
Response
The created return.
Model Class: Return
Unique ID to identify a return.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
The number of the return.
The date when the return was created.
The customer ID.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
An arbitrary external reference number for identifying the return, provided only during creation and cannot be changed afterward.
Indicates the origin of the return, specifying where or how the return was initiated.
0, 1, 2, 3, 4, 5, 6, 7 The company of the corresponding sales order.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
The id of the sales order if the return has exactly on corresponding sales order.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
The id of the return state.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
Id of the Warehouse.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
The external comment of the sales order.
The internal comment of the sales order.
The contact of the return.
Indicates whether the return should be transmitted to the sales channel (e.g. SCX or Amazon).