Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Sort order, use: created_at for descending order use '-' e.g. &sort=-created_at
Number of documents
Partial attributes as specified, e.g. fields[purchases]=amount_in_cents
Filter by active purchases (not deactivated), for example ?filter[active]=true
Filter by deactivated purchases, for example ?filter[deactivated]=true
Filter by referrer, for example ?filter[referrer_cont]=•••••
Filter by coupon code, for example ?filter[coupon_code_eq]=•••••
Filter by site_id, for example ?filter[site_id]=111
Filter by customer_id, for example ?filter[customer_id]=456789