GET
/
orders

Guide to Query Params

For the GET /orders endpoint, there are a few unique query parameters available for you to use. Here is a detailed example of how to use the query parameters to get the most out of our API.

  • The page and limit query parameters need to be positive integers.
  • The sort query parameter needs to be a comma separated list of key-value pairs such as created_at:ASC,type:ASC, where the key is a field described below, and the value is either ASC or DESC.
  • The filter query parameter needs to be a comma separated list of key-value pairs such as status:COMPLETED,type:PRODUCT, where the key is a field described below, and the value is a possible value for the respective field.
  • The search query parameter needs to be an email to search for all the invoices from.

Here are all the possible fields for the search and filter parameters: uniqid, recurring_billing_id, type, origin, shop_id, customer_id, product_id, affiliate_revenue_customer_id, gateway, blockchain, paypal_apm, stripe_apm, total, total_display, coupon_id, customer_email, paypal_payer_email, paypal_capture_id, paypal_subscription_id, stripe_id, stripe_invoice_id, binance_invoice_id, cashapp_note, crypto_address, status, void_details, created_at, updated_at

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Sellix-Merchant
string

The name of the store to perform actions on via the API

Query Parameters

page
integer

If pagination is desired, the page to fetch of the response

limit
integer

The number of resources to include in a page

sort
string

How to sort the resources in the response.

filter
string

Which requirements to apply to returned resources.

search
string

A specific value to search the response for.

Response

200 - application/json
status
integer

The status of the response

data
object
error
string
message
string
env
string