---
title: "Create campaign store budget"
method: POST
path: "/v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets"
tags: ["Store budgets"]
---

# Create campaign store budget

`POST /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets`

## Request

- Base URL: `https://yourbaseurl.talon.one`
- URL: `https://yourbaseurl.talon.one/v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/talon/apis/management-api/docs/v1/applications/:applicationId/campaigns/:campaignId/stores/budgets/post.ts> (a function with typed inputs; its response is checked against the schema)

> [!note] Management API endpoints are **not** meant to be used in real-time integrations that directly serve your end users. Rate limit: 3 requests per second.

Create a new store budget for a given campaign.

## Path parameters

- `applicationId` integer, required
- `campaignId` integer, required

## Request body

- NewCampaignStoreBudget
  - `action` 'setDiscount', required
  - `storeLimits` NewCampaignStoreBudgetStoreLimit[], required: The set of budget limits for stores linked to the campaign.
    - `storeId` integer, required: The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint.
    - `limit` number, required: The value to set for the limit.
  - `period` 'daily' | 'weekly' | 'monthly' | 'yearly'

## Response `201`

Created

## Other responses

- `400`: Bad request
- `409`: Conflict

---

[API](https://skmtc.dev/talon/apis/management-api.md) - [All operations](https://skmtc.dev/talon/apis/management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talon/apis/management-api/revisions/7ef1b9504c3a?raw)
