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
id
Return ID.
Request
This endpoint expects an object.
returnNumber
Updated reference number.
trackingNumber
Updated tracking number. Pass null to clear.
note
Updated notes. Pass null to clear.
returnDate
Updated return date. Pass null to clear.
locationId
Updated location ID.
Response
This endpoint returns an object.
id
Unique identifier for the return.
status
Current lifecycle status of the return.
itemCount
Number of line items in this return.
assignedUserIds
IDs of users assigned to this return.
returnNumber
Human-readable reference number for the return.
purchaseOrder
Reference to the originating purchase order (ID and order number as name).
location
Reference to the location associated with this return.
trackingNumber
Shipping carrier tracking number for the return shipment.
note
Free-text notes about this return.
totalMaterialsCost
Sum of all line item costs.
totalFees
Additional fees associated with the return (e.g. restocking fees).
finalPrice
Final total after materials cost and fees.
returnDate
ISO 8601 date the return was or will be shipped (e.g. 2026-03-25).
createdAt
ISO 8601 timestamp when the record was created.
updatedAt
ISO 8601 timestamp when the record was last updated.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error