Skip to main content
GET
Get Invoices

Authorizations

Authorization
string
header
required

You can retrieve your API key from your dashboard under Account > Developers.

Path Parameters

shopId
integer
required

The shop ID.

Body

application/json
page
integer

Page number. Must be at least 1.

Example:

1

perPage
integer

Items per page, 1-100. Must be at least 1. Must not be greater than 100.

Example:

null

orderColumn
enum<string>
Available options:
id,
price_usd,
paid_usd,
created_at,
completed_at
Example:

null

orderDirection
enum<string>
Available options:
asc,
desc
Example:

null

id
string

Filter by invoice ID or unique ID.

Example:

null

statuses
string[]
Example:

null

email
string

Filter by customer email.

Example:

null

gateways
object

Deprecated. Use payment_method_ids.

Example:

null

payment_method_ids
object

Filter by payment method IDs.

Example:

null

created_at_start
string

Must be a valid date.

Example:

null

created_at_end
string

Must be a valid date. Must be a date after created_at_start.

Example:

null

completed_at_start
string

Must be a valid date.

Example:

null

completed_at_end
string

Must be a valid date. Must be a date after completed_at_start.

Example:

null

product_name
string
Example:

null

variant_name
string
Example:

null

coupon_code
string
Example:

null

ip
string
Example:

null

utm_source
string

Filter by exact utm_source.

Example:

null

utm_medium
string

Filter by exact utm_medium.

Example:

null

utm_campaign
string

Filter by exact utm_campaign.

Example:

null

utm_term
string

Filter by exact utm_term.

Example:

null

utm_content
string

Filter by exact utm_content.

Example:

null

referrer_host
string

Filter by exact referrer host.

Example:

null

discord_id
string
Example:

null

discord_username
string
Example:

null

deliverable
string

Filter by delivered content.

Example:

null

custom_field
string

Filter by custom field value.

Example:

null

archived
string

Only archived invoices.

Example:

null

manual
string

Only manual invoices.

Example:

null

external_id_type
string
Example:

null

external_id_value
string
Example:

null

cashapp_note
string
Example:

null

paypalff_note
string
Example:

null

venmo_note
string
Example:

null

zelle_note
string
Example:

null

skrillp2p_note
string
Example:

null

customer_id
string

Filter by customer ID.

Example:

null

all
boolean

Include full invoice details in the list.

Example:

null

Response

200 - application/json
current_page
integer
Example:

1

data
object[]
Example:
first_page_url
string
Example:

"http://api.sellauth.test/v1/shops/1/invoices?page=1"

from
integer
Example:

1

last_page
integer
Example:

1

last_page_url
string
Example:

"http://api.sellauth.test/v1/shops/1/invoices?page=1"

Example:
next_page_url
string
Example:

null

path
string
Example:

"http://api.sellauth.test/v1/shops/1/invoices"

per_page
integer
Example:

20

prev_page_url
string
Example:

null

to
integer
Example:

3

total
integer
Example:

3