Deactivate coupon
curl --request POST \
--url https://{host}/promotion/v3/customers/{customerId}/coupons/{couponId}/deactivate \
--header 'Authorization: <api-key>'import requests
url = "https://{host}/promotion/v3/customers/{customerId}/coupons/{couponId}/deactivate"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://{host}/promotion/v3/customers/{customerId}/coupons/{couponId}/deactivate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{host}/promotion/v3/customers/{customerId}/coupons/{couponId}/deactivate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{host}/promotion/v3/customers/{customerId}/coupons/{couponId}/deactivate"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{host}/promotion/v3/customers/{customerId}/coupons/{couponId}/deactivate")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/promotion/v3/customers/{customerId}/coupons/{couponId}/deactivate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"offerId": "e8c99e8c-09cd-443b-8435-eaa4ceb40669",
"couponId": "62e0358c-9483-498d-9fb9-061cf49562d9",
"posCouponId": null,
"offerType": "appCoupon",
"offerContent": {
"title": "10% Off Coca-Cola & Fanta – Chain 1 Deal",
"description": "Refresh your day with a cool discount! For a limited time, get 10% off Coca-Cola or Fanta when purchased without any other offers. This exclusive deal for Chain 1 is your ticket to crisp, bubbly savings—no stacking needed.",
"brand": "Coca-Cola Refreshments",
"imageUrl": "https://example.com/assets/coke_fanta_discount.jpg",
"discountLabel": "10% Off Coca-Cola & Fanta",
"normalPriceLabel": null,
"pricePerUnitLabelEnabled": true,
"unitOfMeasure": "L",
"conditionLabel": "Buy 1 Coca-Cola or Fanta",
"receiptDisplayText": "10% off Coca-Cola or Fanta",
"tags": [],
"icons": [],
"autogenerateDiscountLabel": null
},
"validFrom": "2026-11-18T00:00:00Z",
"validTo": "2026-11-24T00:00:00Z",
"activationTime": null,
"storeIds": [],
"chainIds": [],
"isRedeemed": false,
"prices": {
"currency": "EUR",
"normalPrice": 5,
"price": 4.5,
"normalPricePerUnit": 10,
"pricePerUnit": 9
},
"discount": null,
"redemptionLimit": 1,
"redeemedCount": 0,
"displayPriority": 5,
"deletedAt": null,
"assignedBy": null
}{
"name": "<string>",
"message": "<string>",
"details": null
}{
"name": "<string>",
"message": "<string>",
"details": null
}{
"name": "<string>",
"message": "<string>",
"details": null
}Deactivate coupon
Your backend or the app calls this when the customer no longer wants to use a coupon. Deactivation tells your POS or coupon
integration to stop accepting the coupon, so it can no longer be picked up in store. Deactivating a coupon that is not active
returns it unchanged. The returned coupon carries no store, chain or discount details. couponId is the coupon’s id as
returned by the list call.
Deactivation can be disabled for an environment; then every call fails with 400.
Where your environment uses households, a coupon of the customer’s household can be deactivated by any customer in the household.
POST
/
v3
/
customers
/
{customerId}
/
coupons
/
{couponId}
/
deactivate
Deactivate coupon
curl --request POST \
--url https://{host}/promotion/v3/customers/{customerId}/coupons/{couponId}/deactivate \
--header 'Authorization: <api-key>'import requests
url = "https://{host}/promotion/v3/customers/{customerId}/coupons/{couponId}/deactivate"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://{host}/promotion/v3/customers/{customerId}/coupons/{couponId}/deactivate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{host}/promotion/v3/customers/{customerId}/coupons/{couponId}/deactivate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{host}/promotion/v3/customers/{customerId}/coupons/{couponId}/deactivate"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{host}/promotion/v3/customers/{customerId}/coupons/{couponId}/deactivate")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/promotion/v3/customers/{customerId}/coupons/{couponId}/deactivate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"offerId": "e8c99e8c-09cd-443b-8435-eaa4ceb40669",
"couponId": "62e0358c-9483-498d-9fb9-061cf49562d9",
"posCouponId": null,
"offerType": "appCoupon",
"offerContent": {
"title": "10% Off Coca-Cola & Fanta – Chain 1 Deal",
"description": "Refresh your day with a cool discount! For a limited time, get 10% off Coca-Cola or Fanta when purchased without any other offers. This exclusive deal for Chain 1 is your ticket to crisp, bubbly savings—no stacking needed.",
"brand": "Coca-Cola Refreshments",
"imageUrl": "https://example.com/assets/coke_fanta_discount.jpg",
"discountLabel": "10% Off Coca-Cola & Fanta",
"normalPriceLabel": null,
"pricePerUnitLabelEnabled": true,
"unitOfMeasure": "L",
"conditionLabel": "Buy 1 Coca-Cola or Fanta",
"receiptDisplayText": "10% off Coca-Cola or Fanta",
"tags": [],
"icons": [],
"autogenerateDiscountLabel": null
},
"validFrom": "2026-11-18T00:00:00Z",
"validTo": "2026-11-24T00:00:00Z",
"activationTime": null,
"storeIds": [],
"chainIds": [],
"isRedeemed": false,
"prices": {
"currency": "EUR",
"normalPrice": 5,
"price": 4.5,
"normalPricePerUnit": 10,
"pricePerUnit": 9
},
"discount": null,
"redemptionLimit": 1,
"redeemedCount": 0,
"displayPriority": 5,
"deletedAt": null,
"assignedBy": null
}{
"name": "<string>",
"message": "<string>",
"details": null
}{
"name": "<string>",
"message": "<string>",
"details": null
}{
"name": "<string>",
"message": "<string>",
"details": null
}Authorizations
Headers
Path Parameters
Response
The deactivated coupon.
Coupon details
Last modified on August 10, 2026