Update a sales return row

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

Path Params
integer
required

Sales return row id

Body Params

sales return fields to be updated with new values

string

New quantity of the sales return row. Updatable only when current return status is NOT_RETURNED.

integer
≤ 2147483647

Restock location id. Updatable only when current return status is NOT_RETURNED or RETURNED.

integer
≤ 2147483647

Reason id. Updatable only when current return status is NOT_RETURNED.

batch_transactions
array of objects
length ≥ 1

Batch transactions. Updatable only when current return status is NOT_RETURNED or RETURNED.

batch_transactions
integer
required
≤ 2147483647

Batch id

number
required
≤ 100000000000000000

Quantity

Responses

Language
Credentials
Bearer
Response
Choose an example:
application/json