x-partner-id; use the integration ID issued by Keystone.
Evidence upload flow
Support and return images use signed upload URLs.- Request signed URLs from Keystone.
- Upload each file with
PUTto the returneduploadUrl. - Send the returned
publicUrlinimageUrlswhen creating the ticket or return.
| Limit | Value |
|---|---|
| Max files per request | 5 |
| Max file size | 15 MB |
| Allowed content types | image/png, image/jpeg, image/webp, image/gif |
| Upload URL TTL | About 15 minutes |
Create support upload URLs
| Method | Endpoint | Auth |
|---|---|---|
POST | /support/uploads/signed-urls | Bearer token |
Create support ticket
| Method | Endpoint | Auth |
|---|---|---|
POST | /support/tickets | Bearer token |
List support tickets
| Method | Endpoint | Auth |
|---|---|---|
GET | /support/tickets | Bearer token |
| Param | Type | Required | Notes |
|---|---|---|---|
page | number | No | Default 1 |
limit | number | No | Default 20, max 100 |
status | OPEN, IN_PROGRESS, RESOLVED, CLOSED | No | Filter by status |
search | string | No | Search ticket text or order number |
Retrieve support ticket
| Method | Endpoint | Auth |
|---|---|---|
GET | /support/tickets/{ticketId} | Bearer token |
Create return upload URLs
| Method | Endpoint | Auth |
|---|---|---|
POST | /returns/uploads/signed-urls | Bearer token |
Create return request
Returns can be requested only for delivered, paid orders. The requested quantity cannot exceed the remaining returnable quantity for each order item. Allowed customer requested resolutions:| Resolution | Meaning |
|---|---|
ORIGINAL_PAYMENT_REFUND | Refund to original payment method |
WALLET_CREDIT | Credit the customer wallet |
REPLACEMENT | Request replacement |
KEEP_ITEM_WALLET_CREDIT | Keep item and request damage credit |
| Method | Endpoint | Auth |
|---|---|---|
POST | /returns | Bearer token |
List returns
| Method | Endpoint | Auth |
|---|---|---|
GET | /returns | Bearer token |
| Param | Type | Required | Notes |
|---|---|---|---|
page | number | No | Default 1 |
limit | number | No | Default 20, max 100 |
status | return status | No | Filter by status |
resolution | return resolution | No | Filter by resolution |
search | string | No | Search return fields |
Retrieve return
| Method | Endpoint | Auth |
|---|---|---|
GET | /returns/{returnRequestId} | Bearer token |