---
title: "Post Revoke Earned Cart Promotion"
method: POST
path: "/api_gateway/v1/promotions/revokeEarn"
---

# Post Revoke Earned Cart Promotion

`POST /api_gateway/v1/promotions/revokeEarn`

This API is used to revoke an already earned cart promotion

## Request body

- object
  - `RAW_BODY` string
  - `customerId` string — The customerId for which the earn should be revokes
  - `earnRevokeDetails` object — revoke details
    - string

## Response `200`

200

- object
  - `data` object
    - `code` integer
    - `message` string
  - `errors` object[]
    - `code` integer
    - `message` string
    - `promotionId` string
    - `earnIds` string[]

## Other responses

- `400` — 400

---

[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)
