AdminGetDiscountsParams
Parameters used to filter and configure the pagination of the retrieved discounts.
Properties
expandstringComma-separated relations that should be expanded in the returned data.
fieldsstringComma-separated fields that should be included in the returned data.
is_disabledbooleanFilter discounts by whether they're disabled.
is_dynamicbooleanFilter discounts by whether they're dynamic.
limitnumberLimit the number of items returned in the list.
Default: 20
offsetnumberThe number of items to skip when retrieving a list.
Default: 0
qstringSearch terms to search discounts' code fields.
Filter discounts by their associated rule.
Was this section helpful?