Skip to main content
GET
List Invoices

Authorizations

Authorization
string
header
required

Authenticate with a customer token, minted server-to-server with POST /v1/shops/{shopId}/customers/{customerId}/token and sent as a Bearer token. Reseller API keys are rejected with a 403 here.

Query Parameters

page
integer

Page number.

Example:

1

per_page
integer

Invoices per page, 1 to 50. Defaults to 12.

Example:

12

reseller
boolean

Only return reseller orders.

Example:

false

Body

application/json
per_page
integer | null

Must be at least 1. Must not be greater than 50.

Example:

21

Response

current_page
integer
Example:

1

data
object[]
Example:
first_page_url
string
Example:

"https://api.sellauth.com/v1/customer-dashboard/invoices?page=1"

from
integer
Example:

1

last_page
integer
Example:

1

last_page_url
string
Example:

"https://api.sellauth.com/v1/customer-dashboard/invoices?page=1"

Example:
next_page_url
string | null
Example:

null

path
string
Example:

"https://api.sellauth.com/v1/customer-dashboard/invoices"

per_page
integer
Example:

12

prev_page_url
string | null
Example:

null

to
integer
Example:

1

total
integer
Example:

1