Menu Close

Get Support From ShopWired Close

All systems fully operational

Subscribe To Updates
Prefer To Live Chat? Chat directly with ShopWired support Quickest response time
Send A Message
Response within 24 hours

Menu Close

Menu

Refunds

This is used to view and create refunds attached to orders.

Refund Properties
amount { "amount" : 19.95 }
The amount of the refund
comment { "comment" : "Unwanted shoes" }
The reason for the refund

What you can do with orders

GET /v1/orders/X/refunds/

Receive a list of refunds associated with an order


POST /v1/orders/X/refunds

Create a new refund on an order


GET /v1/orders/1/refunds

Returns refunds associated with an order.

GET /v1/orders/1/refunds
HTTP/1.1 200 OK
[
    {
        "amount": 19.95,
        "comment": "Unwanted shoes"
    }
]
        

POST /v1/orders/1/refunds

Creates a new refund.

amount required
comment required
POST /v1/orders/1/refunds
POST /v1/orders/1/refunds
{
    "amount": 19.95,
    "comment": "Unwanted shoes"
}
        

POST /v1/orders/1/refunds

HTTP/1.1 201 Created
{
    "amount": 19.95,
    "comment": "Unwanted shoes"
}