Get customer groups with paginated prices for a user or organisation
Returns customer groups accessible to the given user (direct + organisations + ancestor organisations) OR to the given organisation (direct + ancestor organisations), for the given store group. Exactly one of user_id or organisation_id must be provided. Product variant customer group prices for the given market are paginated and nested under their customer group. Repeat parent_number to filter prices to variants under any of the given parent product numbers.
/api/v1/{app_id}/customer-groups/store-groups/{store_group_id}/markets/{market_id}/pricesAuthorizationAPI key · headerrequiredBearer token (format: "Bearer {token}")
app_idstringrequireduuid of the app
store_group_idstringrequireduuid of the store group
market_idstringrequireduuid of the market
user_idstringuuid of the user (mutually exclusive with organisation_id)
organisation_idstringuuid of the organisation (mutually exclusive with user_id)
parent_numberstring[]filter by parent product number (repeatable)
pageintegerPage number
per_pageintegerNumber of prices per page
Customer groups with nested paginated prices
customer_groupsCustomerGroupPrices[]Show propertiesHide properties
CustomerGroupPricesapp_idstringcreated_atstringdiscount_percentageintegerdiscount_percentage_decimalsintegeridstringnamestringpricesCustomerGroupProductPrice[]Show propertiesHide properties
CustomerGroupProductPricecreated_atstringidstringprice_amountnumberproduct_numberstringproduct_variant_idstringupdated_atstringvariant_numberstringslugstringstore_group_idstringtypestringupdated_atstringpageintegerpage_sizeintegertotal_itemsintegertotal_pagesintegerInvalid request
detailsstring[] | nullmessagestringsuccessbooleanUnauthorized access
detailsstring[] | nullmessagestringsuccessbooleanInternal server error
detailsstring[] | nullmessagestringsuccessboolean