GET
/
orders
/
{order_id}
/
refunds
curl --request GET \
  --url https://sandbox-api.violet.io/v1/orders/{order_id}/refunds \
  --header 'X-Violet-App-Id: <x-violet-app-id>' \
  --header 'X-Violet-App-Secret: <x-violet-app-secret>' \
  --header 'X-Violet-Token: <x-violet-token>'
[
{
"id": 10000,
"order_id": 11111,
"bag_id": 22222,
"merchant_id": 11111,
"app_id": 10000,
"transaction_id": 99999,
"amount": 2500,
"reason": "Item is out of stock.",
"refund_currency": "USD",
"status": "COMPLETED",
"skus": [
{
"id": 33333,
"refund_id": 10000,
"bag_id": 22222,
"quantity_refunded": 1,
"external_id": "43522846032108",
"order_sku_id": 9999999999
}
],
"date_created": "2017-06-15T01:01:01+0000",
"date_last_modified": "2017-06-15T01:01:01+0000",
"external_id": "910123663596",
"errors": []
}
]

Retrieve any refunds associated to an Order given its order_id.

Headers

X-Violet-Token
string
required
X-Violet-App-Secret
string
required
X-Violet-App-Id
integer
required

Path Parameters

order_id
integer
required

Response

200
application/json

success

The response is of type object[].