Update Return

Updates mutable fields on an existing return. Only fields included in the request body are modified.

Requires scope: returns:write

Authentication

API_KEYstring
API Key authentication via header

Path parameters

idUUIDRequired
Return ID.

Request

This endpoint expects an object.
returnNumberstringOptional
Updated reference number.
trackingNumberstringOptional

Updated tracking number. Omitted or null leaves the current value unchanged.

notestringOptional

Updated notes. Omitted or null leaves the current value unchanged.

returnDatedateOptional

Updated return date. Omitted or null leaves the current value unchanged.

locationIdUUIDOptional
Updated location ID.

Response

This endpoint returns an object.
idUUID
Unique identifier for the return.
statusenum
Current lifecycle status of the return.
itemCountinteger
Number of line items in this return.
assignedUserIdslist of UUIDs
IDs of users assigned to this return.
returnNumberstringOptional

Human-readable reference number for the return.

purchaseOrderobjectOptional

Reference to the originating purchase order (ID and order number as name).

locationobjectOptional
Reference to the location associated with this return.
trackingNumberstringOptional
Shipping carrier tracking number for the return shipment.
notestringOptional

Free-text notes about this return.

totalMaterialsCostdoubleOptional
Sum of all line item costs.
totalFeesdoubleOptional

Additional fees associated with the return (e.g. restocking fees).

finalPricedoubleOptional
Final total after materials cost and fees.
returnDatedateOptional

ISO 8601 date the return was or will be shipped (e.g. 2026-03-25).

createdAtdatetimeOptional
ISO 8601 timestamp when the record was created.
updatedAtdatetimeOptional
ISO 8601 timestamp when the record was last updated.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Rate Limit Error