---
title: "Update a Loyalty Promotion"
method: PUT
path: "/v3/promotions/{promotion_id}"
---

# Update a Loyalty Promotion

`PUT /v3/promotions/{promotion_id}`

Endpoint for PUT /api_gateway/v1/promotions/%7Bpromotion_id%7D

## Path parameters

- `promotion_id` string, required

## Headers

- `X-CAP-API-AUTH-ORG-ID` string
- `user-agent` string
- `Authorization` string

## Request body

- object — Request body as an object
  - `name` string
  - `orgId` integer
  - `priority` integer
  - `active` boolean
  - `messageLabel` string
  - `type` string
  - `condition` object
    - `type` string
    - `cartCondition` object
      - `kpi` string
      - `operator` string
      - `value` integer
  - `action` object
    - `type` string
    - `cartBasedAction` object
      - `type` string
      - `value` integer
  - `createdBy` integer
  - `createdOn` integer
  - `lastUpdatedBy` integer
  - `startDate` integer
  - `endDate` integer
  - `campaignId` integer
  - `mode` string
  - `promotionRestrictions` object
    - `Code` object[]
      - `kpi` string
      - `limit` integer
  - `isStackable` boolean

## Response `201`

Created

- object

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
