Generated the following references: - `inventory` - `js_client` - `medusa` - `medusa_config` - `medusa_react` - `modules` - `payment` - `pricing` - `product` - `services` - `stock_location` - `tax_calculation` - `types` - `workflows` Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
16 lines
3.8 KiB
Plaintext
16 lines
3.8 KiB
Plaintext
---
|
|
displayed_sidebar: homepage
|
|
---
|
|
|
|
import TypeList from "@site/src/components/TypeList"
|
|
|
|
# ApplicationMethodsMethodPostReq
|
|
|
|
## constructor
|
|
|
|
___
|
|
|
|
## Properties
|
|
|
|
<TypeList types={[{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"max_quantity","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ApplicationMethodType](../enums/medusa.ApplicationMethodType.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"FIXED","type":"`\"fixed\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PERCENTAGE","type":"`\"percentage\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"target_type","type":"[ApplicationMethodTargetType](../enums/medusa.ApplicationMethodTargetType.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"ORDER","type":"`\"order\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"SHIPPING_METHODS","type":"`\"shipping_methods\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ITEMS","type":"`\"items\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"allocation","type":"[ApplicationMethodAllocation](../enums/medusa.ApplicationMethodAllocation.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"EACH","type":"`\"each\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ACROSS","type":"`\"across\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"target_rules","type":"[PromotionRule](medusa.PromotionRule.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"operator","type":"[PromotionRuleOperator](../enums/medusa.PromotionRuleOperator.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"buy_rules","type":"[PromotionRule](medusa.PromotionRule.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"operator","type":"[PromotionRuleOperator](../enums/medusa.PromotionRuleOperator.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"apply_to_quantity","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"buy_rules_min_quantity","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ApplicationMethodsMethodPostReq"/>
|