|
1
|
{"slug":"/references/promotion/interfaces/promotion.CreateCampaignBudgetDTO","title":"CreateCampaignBudgetDTO","frontmatter":{"displayed_sidebar":"promotionReference"},"toc":[],"blocks":[{"kind":"markdown","html":"The campaign budget to be created."},{"kind":"typeList","sectionTitle":"CreateCampaignBudgetDTO","types":[{"name":"type","type":"[CampaignBudgetTypeValues](/references/promotion/types/promotion.CampaignBudgetTypeValues)","description":"The type of the campaign budget.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"limit","type":"`null` \\| `number`","description":"The limit of the campaign budget.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"used","type":"`number`","description":"How much is used of the campaign budget.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`null` \\| `string`","description":"The currency of the campaign.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`null` \\| `string`","description":"The attribute that the budget limit is applied to. By default,\nthe budget is applied globally. If the type is `use_by_attribute`, this field indicates the \nattribute the budget is tracked by. For example, `customer_id` means the budget is tracked per customer.","optional":true,"defaultValue":"","example":"customer_id","expandable":false,"children":[],"since":"2.11.0"}]}]} |