Overview
Login
- Access
Merchants
- Merchant
- Configuration
- Onboarding
- Explore
Catalog
- Offers
- SKUs
- Categories
- Collections
- Currencies
Orders & Checkout
- Carts
- Cart Items
- Cart Customer
- Cart Discounts
- Cart Shipping
- Cart Pricing
- Cart Payment
- Cart Completion
- Orders
- Order Refunds
- Order Cancellations
- Transfers
Payments
- Payout Accounts
- Distributions
- Transfers
- Transfer Reversals
Events
- Webhooks
- Webhook Events
- Webhook Headers
Apps
- Merchant/App Installs
- Commission Rates
Operations
- Connection
Relay
- Shipping
Ecom Syncs
- Offers
Order Refunds
Get Order Refund by ID
GET
/
orders
/
{order_id}
/
refunds
/
{refund_id}
curl --request GET \
--url https://sandbox-api.violet.io/v1/orders/{order_id}/refunds/{refund_id} \
--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": 10001,
"order_id": 11111,
"bag_id": 22222,
"merchant_id": 11111,
"app_id": 10000,
"transaction_id": 99999,
"amount": 3500,
"reason": "Item returned by customer.",
"refund_currency": "USD",
"status": "COMPLETED",
"skus": [
{
"id": 44444,
"refund_id": 10000,
"bag_id": 22222,
"quantity_refunded": 1,
"external_id": "88172371283712",
"order_sku_id": 9999999999
}
],
"date_created": "2017-06-25T01:01:01+0000",
"date_last_modified": "2017-06-25T01:01:01+0000",
"external_id": "712846237462738",
"errors": []
}
Retrieve information about a specific refund given an order_id
and refund_id
.
Headers
Response
200
application/json
success
The response is of type object[]
.
Was this page helpful?
curl --request GET \
--url https://sandbox-api.violet.io/v1/orders/{order_id}/refunds/{refund_id} \
--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": 10001,
"order_id": 11111,
"bag_id": 22222,
"merchant_id": 11111,
"app_id": 10000,
"transaction_id": 99999,
"amount": 3500,
"reason": "Item returned by customer.",
"refund_currency": "USD",
"status": "COMPLETED",
"skus": [
{
"id": 44444,
"refund_id": 10000,
"bag_id": 22222,
"quantity_refunded": 1,
"external_id": "88172371283712",
"order_sku_id": 9999999999
}
],
"date_created": "2017-06-25T01:01:01+0000",
"date_last_modified": "2017-06-25T01:01:01+0000",
"external_id": "712846237462738",
"errors": []
}
Assistant
Responses are generated using AI and may contain mistakes.