List invoices for the authenticated customer
Mirrors the GraphQL customerInvoices(orderId:) query. Use ?order_id=N to scope to a specific order, ?state=paid (or pending, pending_payment, overdue, refunded) to filter by invoice state.
Request
- Base URLhttp://localhost:8000/api/shop
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Return only invoices for this order ID. Accepts orderId as an alias.
Filter by invoice state (pending, pending_payment, paid, overdue, refunded).
The collection page number
The number of items per page
Headers
Storefront API Key for authentication. Required for all shop/storefront API requests.
Locale code for localized data (e.g. "en", "fr", "ar"). Defaults to channel's default locale.
Channel code (e.g. "default"). Defaults to the current channel.
Currency code (e.g. "USD", "EUR", "INR"). Defaults to channel's base currency.
Response
CustomerInvoice collection
Example response
[
{
"items": [
"https://example.com/"
],
"addresses": [
"https://example.com/"
]
}
]Changes
No recorded changes to this operation across all 13 revisions of this API.