Skip to main content
GET
/
v1
/
return_requests
List
curl --request GET \
  --url https://{defaultHost}/v1/return_requests \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "pagination": {
    "count": 1,
    "limit": 20,
    "page": 1,
    "url": "/v1/return_requests"
  },
  "data": [
    {
      "id": "cd9a2047-1511-44a0-93b0-191ad369fdc5",
      "object": "return_request",
      "number": "0000-R",
      "status": "open",
      "order": "abda9c7e-42ca-4152-aa5b-7b0e6974210a",
      "created_at": 1771429903,
      "updated_at": 1771429903
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

ids[]
string[]

Only return objects with the given IDs.

limit
integer

A limit on the number of items to be returned, between 1 and 100.

order_ids[]
string[]

Only return objects that belong to the given orders.

page
integer

The page of items you want returned.

status[]
string[]

Only return objects with the given status.

Response

200 - application/json

Success

object
string

A string describing the object type returned.

pagination
object
data
array

An array of objects.