Promotion

Activate/Deactivate/Delete promotions

Activate, deactivate or delete multiple promotions

post/shops/{SHOP_ID}/promotion_advance/delete_multi

Request

  • Base URL
    https://pos.pages.fm/api/v1
  • URL
    https://pos.pages.fm/api/v1/shops/{SHOP_ID}/promotion_advance/delete_multi
  • Auth
    API key in query parameter api_key

Path parameters

SHOP_IDinteger required
Example:4

Shop ID

Request body

idsstring[] required

Promotion IDs

type_action'DEACTIVE_PROMOTIONS' | 'ACTIVE_PROMOTIONS' | 'DELETE_PROMOTIONS' required

Action type

Example request

{
  "ids": [
    "0fe988a1-26a5-4772-b4b6-a9c17c9f40cd"
  ],
  "type_action": "DEACTIVE_PROMOTIONS"
}

Response

Success

successboolean

Success status

Changes

No recorded changes to this operation across all 15 revisions of this API.