Promotions

Update Promotion Stack

This methods allows for editing an existing stack.

put/v1/promotions/{campaignId}/stacks/{stackId}

Request

  • Base URL
    https://api.voucherify.io
  • URL
    https://api.voucherify.io/v1/promotions/{campaignId}/stacks/{stackId}
  • Auth
    • API key in header X-App-Id and API key in header X-App-Token
    • or OAuth 2
      Implicit: https://api.voucherify.io/v1/oauth/token
      Scopes: api, promotions

Request body

namestring

Promotion stack name.

category_idstring

Promotion stack category ID.

Response

Returns a promotion stack with updated parameters if the update was successful.

namestring required

Promotion stack name.

idstring required

Unique promotion stack ID.

created_atstring date-time required

Timestamp representing the date and time when the promotion stack was created. The value is shown in the ISO 8601 format.

updated_atstring date-time required

Timestamp representing the date and time when the promotion stack was updated. The value is shown in the ISO 8601 format.

campaign_idstring required

Promotion stack's parent campaign's unique ID.

object'promotion_stack' required

The type of the object represented by JSON.

category_idstring nullable required

Promotion stack category ID.

Changes

No recorded changes to this operation across all 1 revision of this API.