younifyd
Menu

Create Campaign Store Budget

Create campaign store budget

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

Use it in a workflow

  1. Add a step and choose the Talon.One connector.
  2. Pick the Create Campaign Store Budget action (under management).
  3. Fill in the fields below, then reference the result from later steps as {{createCampaignStoreBudget.response.data}}.

Request

Path parameters

applicationIdinteger (int64)required

The ID of the Application. It is displayed in your Talon.One deployment URL.

campaignIdinteger (int64)required

The ID of the campaign. It is displayed in your Talon.One deployment URL.

Request body

Enter the body as JSON in the step's Body field.

actionstringrequired

One ofsetDiscount

storeLimitsarray<object>required

The set of budget limits for stores linked to the campaign.

storeIdinteger (int64)required

The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint.

limitnumberrequired

The value to set for the limit.

periodstring

One ofdailyweeklymonthlyyearly

json
{
  "action": "setDiscount",
  "storeLimits": [
    {
      "limit": 1000,
      "storeId": 17
    }
  ],
  "period": "daily"
}

Response

Returns 201 with a any. Read it in later steps with {{createCampaignStoreBudget.response.data.<field>}}.

Need more? See the Talon.One guide for connection setup and behaviour shared by every action.