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": [] }, ] }
This endpoint retrieves a return.
Show Show child attributes