Skip to Content
StarsellDocs
API referenceRefunds

List refunds

GET
/stores/{storeId}/orders/{orderId}/refunds

List an order's refunds, oldest first.

Authorization

storeKey
headerAuthorizationBearer <vtk_...>

A store API and MCP key

Path Parameters

storeId*string

The store id

orderId*string

The order id, or its number (1042)

Response Body

OK

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://starsell.app/api/v1/stores/string/orders/string/refunds'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",      "amount_minor": 0,      "shipping_minor": 0,      "currency": "string",      "lines": [        {          "order_item_id": "c3e40b5c-b9ae-413a-b96e-5aa0514f5ae6",          "quantity": 0,          "amount_minor": 0,          "restocked": 0        }      ],      "reason": "string",      "restocked": true,      "to_store_credit": true,      "created_at": "2019-08-24T14:15:22Z"    }  ]}