Generated the following references: - `entities` - `inventory` - `js-client` - `pricing` - `product` - `services` - `stock-location` - `workflows` Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
39 lines
810 B
Plaintext
39 lines
810 B
Plaintext
---
|
|
displayed_sidebar: servicesSidebar
|
|
---
|
|
|
|
import ParameterTypes from "@site/src/components/ParameterTypes"
|
|
|
|
# AdminGetDiscountsDiscountRuleParams
|
|
|
|
Filters to apply on discounts' rules.
|
|
|
|
## Constructors
|
|
|
|
#### constructor
|
|
|
|
`**new AdminGetDiscountsDiscountRuleParams**()`
|
|
|
|
## Properties
|
|
|
|
<ParameterTypes parameters={[
|
|
{
|
|
"name": "allocation",
|
|
"type": "[AllocationType](../enums/AllocationType.mdx)",
|
|
"description": "Allocation to filter discount rules by.",
|
|
"optional": true,
|
|
"defaultValue": "",
|
|
"expandable": false,
|
|
"children": []
|
|
},
|
|
{
|
|
"name": "type",
|
|
"type": "[DiscountRuleType](../enums/DiscountRuleType.mdx)",
|
|
"description": "Type to filter discount rules by.",
|
|
"optional": true,
|
|
"defaultValue": "",
|
|
"expandable": false,
|
|
"children": []
|
|
}
|
|
]} />
|