PUT
/
v1
/
returns
/
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'
}'
{
    "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

return_id
string

The ID provided in the data tab may be used to identify the return

return
object

The return object

Response

id
string

The ID of the return

order_id
string

The ID of the order

description
string

The description of the return

issue
string

The issue of the return

status
string

The status of the return

tracking_number
string

The tracking number of the return

action_needed
string

The action needed of the return

customerEmail
string

The customer email of the return

rma
string

The RMA of the return

serial_number
string

The serial number of the return

scanned_serial_number
string

The scanned serial number of the return

zendesk_number
string

The zendesk number of the return

enteredBy
string

The entered by of the return

order_date
string

The order date of the return

shipped_date
string

The shipped date of the return

requested_date
string

The requested date of the return

condition
string

The condition of the return

reported_condition
string

The reported condition of the return

created_date
string

The created date of the return

amount
string

The amount of the return

flat_rate_shipping
string

The flat rate shipping of the return