Customer Order
List refunds for the authenticated customer
Changed onReturns the refund documents issued against the authenticated customer's orders, newest first, each with its refunded items and totals. Use ?order_id=N to scope to one order.
get/customer-refunds
Request
- Base URLhttp://localhost:8000/api/shop
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
order_idinteger
Example:5
Return only refunds for this order ID. Accepts orderId as an alias.
pageinteger
Page number (1-based).
per_pageinteger
Refunds per page (default 10, maximum 50).
Headers
X-STOREFRONT-KEYstring required
Storefront API Key for authentication. Required for all shop/storefront API requests.
X-Localestring
Example:en
Locale code for localized data (e.g. "en", "fr", "ar"). Defaults to channel's default locale.
X-Channelstring
Example:default
Channel code (e.g. "default"). Defaults to the current channel.
X-Currencystring
Example:USD
Currency code (e.g. "USD", "EUR", "INR"). Defaults to channel's base currency.
Response
CustomerRefund collection
Changes
- info
endpoint added
- info