POST /v5/return/ endpoint as Create a Return, with a different request shape. Full specs: API reference.
The Returns APIs are available to accounts using the Perform.AI Returns Experience. Contact your account team to enable it.
The preprinted-label flow additionally requires the Preprinted Return Labels setting on your account — contact your account team.
The request: shipment only
Send only theshipment object — no return_ticket:
The response is the nested
data.shipment + data.return_ticket shape described in Create a Return.
Updating later
Use the preprinted-label update variant — identification works byshipment_id/shipment_uuid in this flow.