v1

latestOpenAPI 3.0.42026-07-2685196386.6 KB
Affiliate

Search affiliates.

Searches affiliates by the query parameter and applies filtering/sorting/pagination. The query is matched against affiliate email, affiliate link/code, affiliate ID, and customer ID. Requires the stores.affiliates.view permission.

get/stores/{storeId}/affiliates/search

Path parameters

storeIdstring uuid required

The unique identifier of the store.

Query parameters

querystring

Free-text query used by the search endpoint.

isEnabledboolean

Filter by affiliate enabled status.

emailstring

Filter by affiliate email address (contains).

linkstring

Filter by affiliate link/code (contains).

balanceFromnumber double

Minimum affiliate balance (inclusive).

balanceTonumber double

Maximum affiliate balance (inclusive).

returnPercentageFrominteger

Minimum return percentage (inclusive).

returnPercentageTointeger

Maximum return percentage (inclusive).

percentageOffFrominteger

Minimum discount percentage (inclusive).

percentageOffTointeger

Maximum discount percentage (inclusive).

referredOrdersFrominteger

Minimum referred delivered orders (inclusive).

referredOrdersTointeger

Maximum referred delivered orders (inclusive).

allTimeEarnedFromnumber double

Minimum all-time earned amount (inclusive).

allTimeEarnedTonumber double

Maximum all-time earned amount (inclusive).

payoutCountFrominteger

Minimum payout count (inclusive).

payoutCountTointeger

Maximum payout count (inclusive).

dateFromstring date-time

Filter affiliates created from this date/time (inclusive).

dateTostring date-time

Filter affiliates created before this date/time (inclusive).

Filtersstring
Sortsstring
Pageinteger
PageSizeinteger

Response

The object was successfully returned.

successboolean required

Indicates whether the operation was successful

pagesinteger required

The total number of pages available in the paginated response.