Skip to main content
POST
/
v1
/
return_requests
Create
curl --request POST \
  --url https://{defaultHost}/v1/return_requests \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "return_request": {
    "order": "a90f8b3a-d199-432a-a384-99b25b11626e",
    "return_items": [
      {
        "line_item": "6846c431-b760-4c2d-9a70-7a38619474fb",
        "quantity": 1,
        "return_reason_id": "wrong_item"
      }
    ]
  }
}
'
{
  "id": "9c979db6-6f00-453b-8776-b4dd4cb4d231",
  "object": "return_request",
  "number": "0000-R1",
  "status": "open",
  "order": "a90f8b3a-d199-432a-a384-99b25b11626e",
  "created_at": 1778010922,
  "updated_at": 1778010922
}

Documentation Index

Fetch the complete documentation index at: https://developer.surecart.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
return_request
object

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.