aid_discounts_rules_search_post
Discount Rules
Search for discount rules
Search for active discounts given current date matching queries
scopes:
- admin:discounts
- read:discounts
POST
aid_discounts_rules_search_post
Authorizations
Path Parameters
An id that uniquely identifies the account.
Required string length:
9Query Parameters
A limit on the number of objects to be returned
Required range:
1 <= x <= 1000cursor for use in pagination. starting_after is an object ID
that defines your place in the list. For instance, if you make
a list request and receive 100 objects, end the result contains
paging_token=pt1, your subsequent call can include
starting_after=pt1 in order to fetch the next page of the list.
Body
application/json
Filter to use when searching for matching rules
Maximum array length:
1Available options:
customer_id#$.requirement.item.items[*].id, customer_id#$.requirement.item.items[*].group_id Select the properties from matching discount rules to include in the result data
Available options:
$.campaign_id, $.created_at, $.created_by, $.description, $.id, $.limitation, $.links, $.metadata, $.name, $.private, $.receipt_text, $.requirement, $.reward, $.type, $.updated_at, $.updated_by, $.visible_from Last modified on June 24, 2026