younifyd
Menu

Import Campaign Store Budget

Import campaign store budgets

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

Use it in a workflow

  1. Add a step and choose the Talon.One connector.
  2. Pick the Import Campaign Store Budget action (under management).
  3. Fill in the fields below, then reference the result from later steps as {{importCampaignStoreBudget.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.

Query parameters

actionstring

The action that this budget is limiting.

One ofsetDiscount

periodstring

The period to which the limit applies. **Note**: For budgets with no period, set this to `overall`.

One ofoveralldailyweeklymonthlyyearly

Request body

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

upFilestring (csv)

The file containing the data that is being imported.

json
{
  "upFile": "string"
}

Response

Returns 201 with an object. Read it in later steps with {{importCampaignStoreBudget.response.data.<field>}}.

idinteger (int64)

The internal ID of this entity.

createdstring (date-time)

The time this entity was created.

accountIdinteger (int64)

The ID of the account that owns this entity.

userIdinteger (int64)

The ID of the user associated with this entity.

entitystring

The name of the entity that was imported.

amountinteger (int64)

The number of values that were imported.

json
{
  "id": 6,
  "created": {},
  "accountId": 3886,
  "userId": 388,
  "entity": "AttributeAllowedList",
  "amount": 10
}

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

Import Campaign Store Budget — Talon.One — Documentation