Skip to main content
POST
Update Return

Authorizations

Authorization
string
header
required

Used by every functional endpoint. Generate the token with POST /auth/oauth/token/ and send it as Authorization: Bearer {token}.

Query Parameters

return_uuid
string<uuid>

Perform.AI return identifier (standard flow).

return_id
string

Your return identifier (standard flow).

Maximum string length: 50
shipment_uuid
string<uuid>

The Return Shipment's Perform.AI identifier (both flows).

shipment_id
string

The Return Shipment's identifier (preprinted-label flow).

Maximum string length: 50

Body

application/json
return_ticket
object

The Return Ticket — the return request's own data. All fields are optional.

shipment
object

Same fields and constraints as Create Shipment; no field is required. Most fields replace the stored value entirely (whole arrays, whole address objects); tags, events, linked_shipments, and documents are add-only.

Response

Return updated.

Response of Create Return and Update Return.

api_response
string
data
object