curl --request GET \
--url https://{host}/coupon/api/v1/customers/{customerId}/couponsimport requests
url = "https://{host}/coupon/api/v1/customers/{customerId}/coupons"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{host}/coupon/api/v1/customers/{customerId}/coupons', 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}/coupon/api/v1/customers/{customerId}/coupons",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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}/coupon/api/v1/customers/{customerId}/coupons"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{host}/coupon/api/v1/customers/{customerId}/coupons")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/coupon/api/v1/customers/{customerId}/coupons")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"availableCoupons": [
{
"campaignId": "ad5a00f1-eecc-4851-8c56-089c4611cd08",
"couponId": "1b63e4f4-b576-4ffe-b1f6-7972f328f962",
"dateToPickUp": "2026-12-06T12:20:11.7900703Z",
"reservedBy": "pos-475-2",
"reservedUntil": "2026-11-06T12:22:11.7900718Z",
"receiptDisplayText": "10% off Coca-Cola products",
"campaignType": "appCoupon",
"discount": {
"priority": 5,
"allowOtherDiscountsOnTop": false,
"itemsApplicationType": "NonDiscountedItems",
"impactLevel": "Line",
"maxDiscountAmount": 5,
"maxDiscountAmountPerCoupon": 0,
"maxNumberApplyPerReceipt": 1,
"maxNumberApplyPerReceiptDecimal": 1,
"applyOnHighestPrice": false,
"applicationType": "OnThreshold",
"discountType": "SimpleLine",
"checkoutTypes": null,
"rewardRedemptionSettings": null,
"rules": [
{
"type": "Percentage",
"value": 0.1,
"thresholdType": "Quantity",
"thresholdValue": 1,
"affiliations": [
{
"type": "Product",
"id": "coca-cola",
"applicationType": "Include"
}
]
}
]
},
"content": {
"iconTags": [],
"title": "10% Off Coca-Cola",
"description": "Get 10% off on all Coca‑Cola products.",
"brand": "Coca‑Cola",
"imageUrl": "https://example.com/images/coca-cola-discount.png",
"discountLabel": "10% OFF",
"normalPriceLabel": "Regular Price",
"pricePerUnitLabelEnabled": null,
"unitOfMeasure": "EA",
"conditionLabel": "Valid on Coca‑Cola products only",
"receiptDisplayText": "10% off Coca‑Cola products",
"tags": null,
"icons": null,
"autogenerateDiscountLabel": null
},
"storeIds": null,
"chainIds": [
"chain-001"
],
"fundedBy": null
}
]
}Get customer coupons (v1)
The v1 shape of the coupon list, kept for existing integrations; new integrations use GET /v2/customers/{customerId}/coupons. It returns the same coupons under the same rules, with the offer’s id in campaignId, its type in campaignType, and the discount in the v2 shape of the Offer API.
The POS calls it for a checked-in customer, at check-in or at subtotal. Pass storeId to get only the coupons valid in that store, includeOfferData=true to get the offer’s discount rules, content and receipt text with each coupon, and purchaseTime and idempotencyKey to replay an earlier purchase as of its time. A coupon another system has reserved is still listed, with reservedBy and reservedUntil filled in: skip it.
curl --request GET \
--url https://{host}/coupon/api/v1/customers/{customerId}/couponsimport requests
url = "https://{host}/coupon/api/v1/customers/{customerId}/coupons"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{host}/coupon/api/v1/customers/{customerId}/coupons', 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}/coupon/api/v1/customers/{customerId}/coupons",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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}/coupon/api/v1/customers/{customerId}/coupons"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{host}/coupon/api/v1/customers/{customerId}/coupons")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/coupon/api/v1/customers/{customerId}/coupons")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"availableCoupons": [
{
"campaignId": "ad5a00f1-eecc-4851-8c56-089c4611cd08",
"couponId": "1b63e4f4-b576-4ffe-b1f6-7972f328f962",
"dateToPickUp": "2026-12-06T12:20:11.7900703Z",
"reservedBy": "pos-475-2",
"reservedUntil": "2026-11-06T12:22:11.7900718Z",
"receiptDisplayText": "10% off Coca-Cola products",
"campaignType": "appCoupon",
"discount": {
"priority": 5,
"allowOtherDiscountsOnTop": false,
"itemsApplicationType": "NonDiscountedItems",
"impactLevel": "Line",
"maxDiscountAmount": 5,
"maxDiscountAmountPerCoupon": 0,
"maxNumberApplyPerReceipt": 1,
"maxNumberApplyPerReceiptDecimal": 1,
"applyOnHighestPrice": false,
"applicationType": "OnThreshold",
"discountType": "SimpleLine",
"checkoutTypes": null,
"rewardRedemptionSettings": null,
"rules": [
{
"type": "Percentage",
"value": 0.1,
"thresholdType": "Quantity",
"thresholdValue": 1,
"affiliations": [
{
"type": "Product",
"id": "coca-cola",
"applicationType": "Include"
}
]
}
]
},
"content": {
"iconTags": [],
"title": "10% Off Coca-Cola",
"description": "Get 10% off on all Coca‑Cola products.",
"brand": "Coca‑Cola",
"imageUrl": "https://example.com/images/coca-cola-discount.png",
"discountLabel": "10% OFF",
"normalPriceLabel": "Regular Price",
"pricePerUnitLabelEnabled": null,
"unitOfMeasure": "EA",
"conditionLabel": "Valid on Coca‑Cola products only",
"receiptDisplayText": "10% off Coca‑Cola products",
"tags": null,
"icons": null,
"autogenerateDiscountLabel": null
},
"storeIds": null,
"chainIds": [
"chain-001"
],
"fundedBy": null
}
]
}Headers
Query Parameters
Response
The coupons the customer can use now, with the store filter applied. Empty when there are none.