v3

latestOpenAPI 3.1.02026-08-0619186200.1 KB
Returns

Complete Return

This endpoint simulates the full return lifecycle on Sandbox environment. It can't be used in production!

The return goes through arrival, check-in, receiving, grading, and completion based on the specified completion mode and disposition.

Completion Modes

Completion mode changes how many units are received of the FIRST item in the return. Other items are always fully received.

ModeDescriptionConstraint
fully_receivedReceives the complete expected quantityNone
short_receivedReceives one less unit than expectedExpected quantity must be greater than 1
excess_receivedReceives one more unit than expectedNone
partially_receivedReceives only 1 unit regardless of expected quantityExpected quantity must be greater than 1

Dispositions

DispositionConstraint
returned_to_inventoryNone
reworkedAccount must have rework feature enabled
disposeNone
donateNone
return_to_merchantNone
post/v1/integrations/sandbox/complete-return

Request body

rmastring required

Return Merchandise Authorization (RMA) number; must be unique per return and is used as the upsert key.

completion_mode'fully_received' | 'short_received' | 'excess_received' | 'partially_received' required
final_disposition'reworked' | 'returned_to_inventory' | 'return_to_merchant' | 'dispose' | 'donate' required

Response

Success

statusinteger required