shipment_id or shipment_uuid as the query parameter — and the body carries only the shipment object. Full specs: API reference.
The Returns APIs are available to accounts using the Perform.AI Returns Experience. Contact your account team to enable it.
- Most
shipmentfields replace stored values entirely (wholeline_items, whole address objects);tags,events,linked_shipments,documentsare add-only. shipment_idis write-once.- Don’t send
tracking_numberorcarrier_reference— in this flow they were set at creation from the preprinted label and are managed by the system afterwards. - No updates after a successful carrier booking.
data.shipment + data.return_ticket shape.