Get a list of promo codes
/api/crm/v2/special_offers_promo_codesv2specialOffersPromoCodes.defaultAuthorization
api-token + language + role
Query parameters
Branch to filter the list by. Without it, only filters are returned, without the list. For partners with a single branch, the server sets it automatically.
Example: 8778
Example: 1
Example: 1
Responses
OK
Values:successerror
Example: success
Example: 8920
Example: select
Example: 8920
Example: Green Basket | Kaliningrad
How the interface handles the filter; a regular filter does not have mode.
force_shown — always displayed, cannot be hidden.
value_required — entry point to the section: always displayed, cannot have an empty value (until a value is selected, the list is empty; there is no "all" option), global reset does not clear it.
Values:force_shownvalue_required
Example: value_required
Example: example
Example: select
Example: example
Example: All
How the interface handles the filter; a regular filter does not have mode.
force_shown — always displayed, cannot be hidden.
value_required — entry point to the section: always displayed, cannot have an empty value (until a value is selected, the list is empty; there is no "all" option), global reset does not clear it.
Values:force_shownvalue_required
Example: value_required
Example: 1
Example: CODE1933
Example: 2
Example: 0
Example: 2024-05-02 08:31:16
Example: 2024-05-02 08:31:16
Example: 2.02
Example: 3
Example: 8778
Example: 152410
Number of items per page
Example: 30
Current page number; limited so that the offset does not exceed 1000
Example: 1
Is there a next page
Example: true
Is there a previous page
Example: false
Example: Europe/Kaliningrad