GET
/
buyers

This endpoint requires the buyers.read scope. The buyers.billing-details.read scope is needed to see all personally identifiable information.

Authorizations

Authorization
string
headerrequired

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

Query Parameters

Please do not use this query parameter in a production application, as this API call is very inefficient and may negatively impact transaction performance.

Filters the results to only the buyers for which the display_name, email_address or external_identifier matches this value. This field allows for a case insensitive partial match, matching any buyer for which any of the fields partially or completely matches.

external_identifier
string

Filters the results to only the items for which the buyer has an external_identifier that exactly matches this value.

limit
integer
default: 20

Defines the maximum number of items to return for this request.

Required range: 1 < x < 100
cursor
string

A cursor that identifies the page of results to return. This is used to paginate the results of this API.

For the first page of results, this parameter can be left out. For additional pages, use the value returned by the API in the next_cursor field. Similarly the previous_cursor can be used to reverse backwards in the list.

Response

200 - application/json

A list of buyers.

items
object[]

A list of buyers.

limit
integer
default: 20

The limit applied to request. This represents the number of items that are at maximum returned by this request.

Required range: 1 < x < 100
next_cursor
string | null

The cursor that represents the next page of results. Use the cursor query parameter to fetch this page of items.

Required string length: 1 - 1000
previous_cursor
string | null

The cursor that represents the next page of results. Use the cursor query parameter to fetch this page of items.

Required string length: 1 - 1000