Body
This is the id of the return.
Response
This is the id of the return.
This is the date the return was created.
This is the amount of the return.
This is the action needed for the return.
This is the condition of the return.
This is the email of the customer.
This is the id of the customer.
This is the description of the return.
This is the id of the user who entered the return.
This is the flat rate shipping of the return.
This is the date of the order.
This is the id of the order.
This is the reason category of the return.
This is the reported condition of the return.
This is the requested date of the return.
This is the rma of the return.
This is the serial number of the return.
This is the shipped date of the return.
This is the status of the return.
This is the tax refunded of the return.
This is the total refunded of the return.
This is the tracking number of the return.
This is the line items of the return.Show Show child attributes
This is the id of the return line item.
This is the amount of the return line item.
This is the condition of the return line item.
This is the flat rate shipping of the return line item.
This is the name of the return line item.
This is the price of the return line item.
This is the id of the return associated with the line item.
This is the serial number of the return line item.
This is the sku of the return line item.
This is the tax refunded of the return line item.
curl --location --request GET 'https://api.stateset.com/v1/return/retrieve' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "rt_1NXWPnCo6bFb1KQto6C8OWvE",
}'
{
"returns": [
{
"id": "rt_1NXWPnCo6bFb1KQto6C8OWvE",
"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,
"return_line_items": []
},
]
}