SellAuth

Invoices

Get Invoices

Retrieves the invoices.

GET
/v1/shops/{shopId}/invoices

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Request Body

application/jsonOptional
0string
Value in: "STRIPE" | "SQUARE" | "SUMUP" | "MOLLIE" | "SKRILL" | "AUTHORIZENET" | "LEMONSQUEEZY" | "NMI" | "ADYEN" | "SHOPIFY" | "MAZONPS" | "PAYPAL" | "PAYPALFF" | "CASHAPP" | "VENMO" | "BTC" | "LTC" | "MANUAL" | "Stripe" | "Square" | "SumUp" | "Mollie" | "Skrill" | "AuthorizeNet" | "LemonSqueezy" | "NMI" | "AmazonPS" | "PayPal" | "PayPalFF" | "Cashapp" | "Venmo" | "BTC" | "LTC"
pageinteger
perPageinteger

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

orderColumnstring
Value in: "id" | "price_usd" | "paid_usd" | "created_at" | "completed_at"
orderDirectionstring
Value in: "asc" | "desc"
idstring
statusesarray<string>
emailstring
gatewaysobject
created_at_startstring

Must be a valid date.

created_at_endstring

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

completed_at_startstring

Must be a valid date.

completed_at_endstring

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

product_namestring
variant_namestring
coupon_codestring
ipstring
discord_idstring
discord_usernamestring
deliverablestring
custom_fieldstring
archivedstring
manualstring
stripe_pi_idstring
paypal_order_idstring
cashapp_notestring
paypalff_notestring
venmo_notestring
customer_idstring

Path Parameters

shopIdRequiredinteger
curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/invoices" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "0": "PayPalFF",
    "page": 7,
    "perPage": 12,
    "orderColumn": "price_usd",
    "orderDirection": "asc",
    "id": "ad",
    "statuses": [
      "completed"
    ],
    "email": "alice.willms@example.net",
    "gateways": null,
    "created_at_start": "2025-07-28T11:08:58",
    "created_at_end": "2048-03-11",
    "completed_at_start": "2025-07-28T11:08:58",
    "completed_at_end": "2104-10-27",
    "product_name": "et",
    "variant_name": "pariatur",
    "coupon_code": "eligendi",
    "ip": "et",
    "discord_id": "magni",
    "discord_username": "sit",
    "deliverable": "maxime",
    "custom_field": "repellendus",
    "archived": null,
    "manual": null,
    "stripe_pi_id": "cumque",
    "paypal_order_id": "nobis",
    "cashapp_note": "quo",
    "paypalff_note": "error",
    "venmo_note": "adipisci",
    "customer_id": "id"
  }'

{
  "message": "No query results for model [App\\Models\\Shop] 1"
}

Get Invoice

Retrieves a specific invoice.

GET
/v1/shops/{shopId}/invoices/{invoiceId}

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
invoiceIdRequiredstring
curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/invoices/voluptatum" \
  -H "Authorization: Bearer <token>"

{
  "message": "No query results for model [App\\Models\\Shop] 1"
}

Archive Invoice

Marks an invoice as archived.

POST
/v1/shops/{shopId}/invoices/{invoiceId}/archive

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
invoiceIdRequiredstring
curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/invoices/ut/archive" \
  -H "Authorization: Bearer <token>"

Unarchive Invoice

Marks an invoice as unarchived.

POST
/v1/shops/{shopId}/invoices/{invoiceId}/unarchive

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
invoiceIdRequiredstring
curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/invoices/est/unarchive" \
  -H "Authorization: Bearer <token>"

Cancel Invoice

Marks an invoice as cancelled.

POST
/v1/shops/{shopId}/invoices/{invoiceId}/cancel

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
invoiceIdRequiredstring
curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/invoices/in/cancel" \
  -H "Authorization: Bearer <token>"

Refund Invoice

Marks an invoice as refunded.

POST
/v1/shops/{shopId}/invoices/{invoiceId}/refund

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
invoiceIdRequiredstring
curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/invoices/rerum/refund" \
  -H "Authorization: Bearer <token>"

Unrefund Invoice

Unmarks an invoice as refunded.

POST
/v1/shops/{shopId}/invoices/{invoiceId}/unrefund

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
invoiceIdRequiredstring
curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/invoices/odio/unrefund" \
  -H "Authorization: Bearer <token>"

Update Invoice Dashboard Note

Updates the invoice dashboard note.

PUT
/v1/shops/{shopId}/invoices/{invoiceId}/dashboard-note

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
invoiceIdRequiredstring
curl -X PUT "https://api.sellauth.com/v1/shops/{shopId}/invoices/illo/dashboard-note" \
  -H "Authorization: Bearer <token>"

GET
/v1/shops/{shopId}/invoices/{invoiceId}/pdf

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
invoiceIdRequiredstring
curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/invoices/voluptatibus/pdf" \
  -H "Authorization: Bearer <token>"

{
  "message": "No query results for model [App\\Models\\Shop] 1"
}

Process Invoice

Processes an invoice.

GET
/v1/shops/{shopId}/invoices/{invoiceId}/process

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
invoiceIdRequiredstring
curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/invoices/et/process" \
  -H "Authorization: Bearer <token>"

{
  "message": "No query results for model [App\\Models\\Shop] 1"
}

Replace Delivered

Replaces the delivered items of an invoice.

POST
/v1/shops/{shopId}/invoices/{invoiceId}/replace-delivered

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Request Body

application/jsonRequired
invoice_item_idRequiredinteger
replacementsRequiredobject

Path Parameters

shopIdRequiredinteger
invoiceIdRequiredstring
curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/invoices/id/replace-delivered" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "invoice_item_id": 7,
    "replacements": []
  }'