Skip to content

Returns

Return requests. Every example sets SOOQUNA_TOKEN from the environment; see authentication. Responses are from a test store, cut to two items per list.

Endpoint Method Path
List an order’s returns GET /orders/{id}/returns
List returns GET /returns
Get a return GET /returns/{id}
Approve, decline or close a return POST /returns/{id}

GET /orders/{id}/returns · Scope: read_returns

Parameter In Description
id path The resource’s ID.
Terminal window
curl -X GET "https://api.sooquna.com/admin/api/2026-10/orders/0193a1b2-c3d4-7e5f-8a6b-000000000035/returns" \
-H "X-Sooquna-Access-Token: $SOOQUNA_TOKEN"
Response 200
{"data": []}

GET /returns · Scope: read_returns

Parameter In Description
status query For example requested.
Terminal window
curl -X GET "https://api.sooquna.com/admin/api/2026-10/returns?status=requested" \
-H "X-Sooquna-Access-Token: $SOOQUNA_TOKEN"
Response 200
{"data": []}

GET /returns/{id} · Scope: read_returns

Parameter In Description
id path The resource’s ID.
Terminal window
curl -X GET "https://api.sooquna.com/admin/api/2026-10/returns/0193a1b2-a3f8-7a9d-860a-6961e749501c" \
-H "X-Sooquna-Access-Token: $SOOQUNA_TOKEN"

POST /returns/{id} · Scope: write_returns

Actions: approve (with instructions), decline (with reason), receive, close.

Parameter In Description
id path The resource’s ID.
Terminal window
curl -X POST "https://api.sooquna.com/admin/api/2026-10/returns/0193a1b2-a3f8-7a9d-860a-6961e749501c" \
-H "X-Sooquna-Access-Token: $SOOQUNA_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"action": "approve",
"instructions": "Drop the parcel at any Aramex point within 7 days.",
"notify_customer": true,
"version": 1
}'

Was this page helpful?