Skip to main content
Skip to main content
You're viewing the documentation for v1, which isn't the latest Medusa version.Latest documentation

CampaignBudgetDTO

The campaign budget details.

Properties

idstringRequired
The ID of the campaign budget.
The type of the campaign budget:
  • spend indicates that the budget is limited by the amount discounted by the promotions in the associated campaign.
  • usage indicates that the budget is limited by the number of times the promotions of the associated campaign have been used.
limitnull | number
The limit of the campaign budget.
usednumber
The usage from the campaign budget's limit:
  • If the budget's type is spend, the value of this attribute is the amount discounted so far by the promotions in the associated campaign.
  • If the budget's type is usage, the value of this attribute is the number of times the promotions of the associated campaign have been used so far.
Was this section helpful?