Update Return
Updates the header data of an existing return - external and internal comment, contact, company, warehouse and sales channel transmission. Line items are updated via the line item endpoint. The state of the return is inferred from its line items and cannot be set directly.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
The Company-Id (int or uuid) of the company on whose behalf the request is executed.
Optional, client-generated key for deduplicating repeated write requests. A repeated request with the same key returns the originally recorded result instead of executing the effect again.
1 - 255The tenant ID for the target ERP instance.
Path Parameters
"b45f6432-2462-4c6f-b00f-1d9d01000000"
Body
Request parameters
Updates the header data of an existing return - external and internal comment, contact, company, warehouse and sales channel transmission. Line items are updated via the line item endpoint. The state of the return is inferred from its line items and cannot be set directly. - Request
The external comment of the return.
The internal comment of the return.
The contact person of the return.
The company of the return.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
Indicates whether the return should be transmitted to the sales channel.
The warehouse of the return.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
Response
The updated 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.
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 one corresponding sales order.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
The ID of the return state.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
The ID of the warehouse.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
The external comment of the return.
The internal comment of the return.
The contact of the return.
Indicates whether the return should be transmitted to the sales channel.