Skip to main content
GET
Browse Profile Transactions

Filtering

This endpoint accepts filter and sort query parameters. See Filtering, sorting, and search for paging and for the shared search_with, custom_field, and json_contains filters.

Examples

Operators

Filter attributes

Each attribute above is also a valid sort key, for example ?sort=-deliver_at for descending order. Dot notation filters on a related record. Use not_has to exclude rows that have a matching related record. Related attributes are filter only, not sort keys.

Search attributes

filter[search] runs one partial match term across profile_id, external_id, receipt_ref, linked_receipt_ref. A record matches when any one of those attributes contains the term.

Custom field filters

Transaction records carry custom fields, so this endpoint also accepts filter[custom_field][namespace:handle].

Optional Parameters

?include=product Will add product_variant data to the returned payload. This can be useful, if access to product variant data such as barcode, sku, and customisation options are needed on the transaction.

Path Parameters

profile
string<uuid>
required

The profile ID

Query Parameters

page[size]
string

Response

Array of Transaction

data
Transaction · object[]
required