Search purchased products

Search for products purchased by given customer. Results matching all criteria are returned, in reverse purchase date order.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The ID of the customer to search purchased products for

integer
required

The specific page of results to retrieve

Query Params
integer
5 to 100
Defaults to 20

The number of results to show on a single page. Value should be between 5 and 100 inclusive. If not supplied or not valid, defaults to 20.

string

Used for matching search requests and responses where clients may be making multiple concurrent requests

Body Params

The search criteria

Details used for searching purchased products

string

The name of the purchased sales item. May be wildcarded to allow a partial match, e.g '%Subs%'.

string
enum

The purchase type.

Allowed:
date
full-date

Search for products purchased on or after this date Format must be YYYY-MM-DD.

date
full-date

Search for products purchased on or before this date Format must be YYYY-MM-DD.

string
enum

Search for purchased products with the given status.

boolean

If supplied, indicates whether to include in results only purchased products with, or only those without, a discount. If omitted, returns matching products regardless of discount.

Headers
string

The tenant ID for which the operation is being carried out. This will be automatically generated during the authentication process.

string

The ID of a user who is performing the operation. This will be automatically generated during the authentication process.

string
enum

The source of whether records are updated by HMAC or a USER. This will be automatically generated during the authentication process. For customers accessing the service the source will be set to CUSTOMER.

Allowed:
Responses

Language
LoadingLoading…
Response
Choose an example:
application/json