StateSet One API Documentation
Orders
- GETList Orders
- GETRetrieve Order
- POSTAdd Item to Order
- POSTRemove Item from Order
- Add discount
- POSTRemove Discount
- POSTApply Promotion
- POSTRemove Promotion
- POSTCreate Order
- POSTCancel Order
- POSTHold Order
- POSTRelease Order
- POSTShip Order
- POSTReturn Order
- POSTRefund Order
- POSTExchange Order
- POSTSplit Order
- POSTMerge Order
- POSTTag Order
- POSTUpdate Order
Returns
Return Line Items
Warranty Line Items
Wholesale Orders
Inventory Items
Packing List
Packing List Items
Purchase Orders
Bill of Materials
Bill of Materials Line Item
Work Orders
Work Order Line Items
Cycle Counts
Manufacture Orders
Manufacture Order Line Items
Leads
Cases
Returns
Update Return
This endpoint updates an existing return.
PUT
/
v1
/
returns
/
Copy
Ask AI
curl --location --request PUT 'https://api.stateset.com/v1/return' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
'id': '0901f083-aa1c-43c5-af5c-0a9d2fc64e30',
'status': 'RCV'
'condition': 'B'
}'
Copy
Ask AI
{
"returns": [
{
"id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
"created_date": "2023-06-28T19:34:59.189838+00:00",
"amount": null,
"action_needed": null,
"condition": null,
"customerEmail": "customer@gmail.com",
"customer_id": null,
"description": null,
"enteredBy": null,
"flat_rate_shipping": null,
"order_date": null,
"order_id": "524213310335630636",
"reason_category": null,
"reported_condition": null,
"requested_date": null,
"rma": "#1014-R5",
"serial_number": null,
"shipped_date": null,
"status": "RCV",
"tax_refunded": null,
"total_refunded": null,
"tracking_number": null,
},
]
}
Body
The ID provided in the data tab may be used to identify the return
The return object
Response
The ID of the return
The ID of the order
The description of the return
The issue of the return
The status of the return
The tracking number of the return
The action needed of the return
The customer email of the return
The RMA of the return
The serial number of the return
The scanned serial number of the return
The zendesk number of the return
The entered by of the return
The order date of the return
The shipped date of the return
The requested date of the return
The condition of the return
The reported condition of the return
The created date of the return
The amount of the return
The flat rate shipping of the return
Copy
Ask AI
curl --location --request PUT 'https://api.stateset.com/v1/return' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
'id': '0901f083-aa1c-43c5-af5c-0a9d2fc64e30',
'status': 'RCV'
'condition': 'B'
}'
Copy
Ask AI
{
"returns": [
{
"id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
"created_date": "2023-06-28T19:34:59.189838+00:00",
"amount": null,
"action_needed": null,
"condition": null,
"customerEmail": "customer@gmail.com",
"customer_id": null,
"description": null,
"enteredBy": null,
"flat_rate_shipping": null,
"order_date": null,
"order_id": "524213310335630636",
"reason_category": null,
"reported_condition": null,
"requested_date": null,
"rma": "#1014-R5",
"serial_number": null,
"shipped_date": null,
"status": "RCV",
"tax_refunded": null,
"total_refunded": null,
"tracking_number": null,
},
]
}
Copy
Ask AI
curl --location --request PUT 'https://api.stateset.com/v1/return' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
'id': '0901f083-aa1c-43c5-af5c-0a9d2fc64e30',
'status': 'RCV'
'condition': 'B'
}'
Copy
Ask AI
{
"returns": [
{
"id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
"created_date": "2023-06-28T19:34:59.189838+00:00",
"amount": null,
"action_needed": null,
"condition": null,
"customerEmail": "customer@gmail.com",
"customer_id": null,
"description": null,
"enteredBy": null,
"flat_rate_shipping": null,
"order_date": null,
"order_id": "524213310335630636",
"reason_category": null,
"reported_condition": null,
"requested_date": null,
"rma": "#1014-R5",
"serial_number": null,
"shipped_date": null,
"status": "RCV",
"tax_refunded": null,
"total_refunded": null,
"tracking_number": null,
},
]
}
Assistant
Responses are generated using AI and may contain mistakes.