curl --request GET \
--url https://omnicommerce.sg/api/v1/returns/orders \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.sg/api/v1/returns/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/returns/orders"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"ok": true,
"apiVersion": "<string>",
"operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "completed",
"data": {
"success": true,
"orderIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"succeededCount": 4503599627370495,
"failedCount": 4503599627370495,
"results": [
{
"orderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"success": true,
"returns": [
{
"returnId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"marketplace": "<string>",
"marketplaceStatus": "<string>",
"externalReturnId": "<string>",
"processingEligible": true
}
]
}
]
},
"links": {},
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
]
}Get Order Returns
Requires orders:read. Read stored return requests for 1–50 order UUIDs using repeated orderIds query parameters.
Return identity
Results preserve first-requested order and include distinct active and historical return requests. processingEligible is a local candidate flag, not live eligibility. Pass returnId values to GET /api/v1/returns/actions before choosing a decision. Every order is authorized before reading returns, including store restrictions; no buyer data is exposed.
curl --request GET \
--url https://omnicommerce.sg/api/v1/returns/orders \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.sg/api/v1/returns/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/returns/orders"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"ok": true,
"apiVersion": "<string>",
"operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "completed",
"data": {
"success": true,
"orderIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"succeededCount": 4503599627370495,
"failedCount": 4503599627370495,
"results": [
{
"orderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"success": true,
"returns": [
{
"returnId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"marketplace": "<string>",
"marketplaceStatus": "<string>",
"externalReturnId": "<string>",
"processingEligible": true
}
]
}
]
},
"links": {},
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
]
}Authorizations
Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.
Query Parameters
Repeat this query parameter for each UUID. Between 1 and 50 entries, deduplicated in first-requested order.
1 - 50 elements^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Session callers only. API keys resolve organization scope from the credential.
1 - 120Response
Request completed. Inspect data.success, per-target results and pendingCount for processing progress.