Update a sales return

Updates the specified sales return by setting the values of the parameters passed.
Any parameters not provided will be left unchanged.

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

Sales return id

Body Params

sales return fields to be updated with new values

string
enum

New status of the sales return. RESTOCKED_ALL restocks every row with its traceability. On batch-tracked rows, and on serial-tracked rows depending on the traceability settings of the account, any quantity the batches or serial numbers leave uncovered must have shipped without a batch or serial number, otherwise the restock is rejected (422). Quantity without a bin location is restocked without one.

Allowed:
string

Date of the return. Must be compatible with ISO 8601 format. Updatable only when current return status is not restockedAll.

string

Creation date of the return. Must be compatible with ISO 8601 format. Updatable only when current return status is not restockedAll.

integer
≤ 2147483647

Updatable only when current return status is not restockedAll.

string

Updatable only when current return status is not restockedAll.

string | null

Additional information about the return. Updatable only when current return status is not restockedAll.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Choose an example:
application/json