Back to Medusa

UpdateCampaignBudgetDTO

www/apps/resources/references/promotion/interfaces/promotion.UpdateCampaignBudgetDTO/page.mdx

2.14.21.1 KB
Original Source

import { TypeList } from "docs-ui"

UpdateCampaignBudgetDTO

The attributes to update in the campaign budget.

<TypeList types={[{"name":"id","type":"string","description":"The ID of the campaign budget.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"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":"currency_code","type":"null \| string","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":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="UpdateCampaignBudgetDTO"/>