# List of volume discounts Endpoint: GET /api/volume-discounts Version: 1.0.0 Security: shoptetAccessToken, shoptetPrivateApiToken ## Query parameters: - `customerGroupCode` (string) customer group code, possible values can be get by customer group list endpoint Example: "retail" ## Header parameters: - `Content-Type` (string, required) ## Response 200 fields (application/json): - `data` (object, required) - `data.discounts` (array, required) - `data.discounts.id` (integer, required) discount ID - `data.discounts.amount` (string, required) amount of volume discount - `data.discounts.priceRatio` (any, required) discount in the form of coefficient (0.7 = 70 % of the original price, i.e. 30 % discount) - `data.discounts.currency` (string,null, required) currency of volume discount - `data.discounts.customerGroups` (array,null, required) customer groups connected to discount - `data.discounts.customerGroups.code` (string, required) customer group code - `data.discounts.customerGroups.name` (string, required) customer group name - `data.paginator` (object, required) - `data.paginator.totalCount` (integer, required) total number of available records - `data.paginator.page` (integer, required) current page - `data.paginator.pageCount` (integer, required) total available of pages - `data.paginator.itemsOnPage` (integer, required) number of currently returned records - `data.paginator.itemsPerPage` (integer, required) required number of records per page - `errors` (array,null, required) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced