Retrieve a list of sale discounts
Retrieve a list of sale discounts
Authorizations:Token, JWT
Query Parameters
page | integerDefault: 1 The collection page number |
itemsPerPage | integer[0 .. 100]Default: 30 The number of items per page |
pagination | booleanEnable or disable pagination |
Responses
200Sale Discount collection
Response schema:
Sale Discount collection Array
apply_to_wholesale | boolean |
enabled | booleanDefault: true |
value | number |
date_range_begin | string |
date_range_end | string |
show_in_separate_section | boolean |
meta_description_type | stringDefault: "A" Enum: "A" "C" |
specific_products | boolean |
name | string |
meta_tags | string |
meta_description | string |
meta_title | string |
clean_url | string |
product_classes | Array of integers |
memberships | Array of integers |
products | Array of integers |
categories | Array of integers |
og_meta | string |
use_custom_og | boolean |
id | integer>= 1 |
401Unauthorized
Response schema:
Unauthorized type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
title | stringExample: "An error occurred" |
detail | string or nullExample: "Cannot find entity" |
instance | string or null |
500Internal error
Response schema:
Internal error type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
title | stringExample: "An error occurred" |
detail | string or nullExample: "Cannot find entity" |
instance | string or null |