---
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"/>
