Skip to main content
PATCH
/
v1
/
return_requests
/
{id}
/
open
Open
curl --request PATCH \
  --url https://{defaultHost}/v1/return_requests/{id}/open \
  --header 'Authorization: Bearer <token>'
{
  "id": "3579c068-6acd-4df3-b290-ca7404965b04",
  "object": "return_request",
  "number": "0000-R",
  "status": "open",
  "order": "b5b8d5d0-277b-4132-8d31-b73801b89714",
  "created_at": 1771429905,
  "updated_at": 1771429905
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

metadata
object

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

number
string

The unique identifier for this return request that is auto generated based on this account's order protocol.

order

Expandable – The associated order ID.

return_items

Expandable – Property not returned unless expanded.

status
string

The current status of this return request – either open or complete.

created_at
integer | null

Time at which the object was created. Measured in seconds since the Unix epoch.

updated_at
integer | null

Time at which the object was last updated. Measured in seconds since the Unix epoch.