Reseller Tiers
List Tiers
Returns the shop's reseller tiers with their overrides and member counts.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Path Parameters
shopIdRequiredintegerThe shop ID.
Create Tier
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/jsonRequirednameRequiredstringThe tier name.
discount_percentageRequirednumberDiscount resellers on this tier get on reseller orders.
is_publicRequiredbooleanPublic tiers are shown on the storefront reseller page.
sort_orderintegerMust be at least 0. Must not be greater than 1000.
min_spent_usdnumberAuto-advancement threshold: lifetime reseller spend in USD. Null disables this threshold.
min_sales_countintegerAuto-advancement threshold: lifetime completed reseller orders. Null disables this threshold.
image_idintegerOptional image shown alongside the tier on the storefront.
Path Parameters
shopIdRequiredintegerThe shop ID.
Delete Tier
Deletes a tier. Its members fall back to the default tier. The default tier cannot be deleted.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Path Parameters
shopIdRequiredintegerThe shop ID.
tierIdRequiredintegerThe tier ID.
Update Tier
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/jsonRequirednameRequiredstringMust not be greater than 100 characters.
discount_percentageRequirednumberMust be at least 0. Must not be greater than 100.
is_publicRequiredbooleansort_orderintegerMust be at least 0. Must not be greater than 1000.
min_spent_usdnumberMust be at least 0. Must not be greater than 99999999.
min_sales_countintegerMust be at least 0. Must not be greater than 100000000.
image_idstringPath Parameters
shopIdRequiredintegerThe shop ID.
tierIdRequiredintegerThe tier ID.
Set Tier Overrides
Replaces the tier's per-product/per-variant discount overrides. A variant-level override wins over the product-level one. An override of 0 disables the discount.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/jsonRequiredoverridesRequiredarray<object>The overrides. Omit variant_id (or pass null) for a product-level override.
Path Parameters
shopIdRequiredintegerThe shop ID.
tierIdRequiredintegerThe tier ID.