curl --request GET \
--url https://{host}/promotion/v2/campaigns \
--header 'Authorization: <api-key>'import requests
url = "https://{host}/promotion/v2/campaigns"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://{host}/promotion/v2/campaigns', 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/v2/campaigns",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
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/v2/campaigns"
req, _ := http.NewRequest("GET", 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.get("https://{host}/promotion/v2/campaigns")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/promotion/v2/campaigns")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"unifiedCampaignId": "c9678e0a-6a42-4801-a10f-141beb76ed20",
"campaignId": "ecaf08f4-38d8-42d8-b818-67b7db42a639",
"campaignName": "coca_cola_10p_off",
"validFrom": "2026-11-05T00:00:00Z",
"validTo": "2026-11-11T00:00:00Z",
"previewVisibleFrom": null,
"campaignType": "appCoupon",
"scope": "Individual",
"content": {
"iconTags": [],
"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": "Non-member price 5EUR",
"pricePerUnitLabelEnabled": true,
"unitOfMeasure": "L",
"conditionLabel": "Buy 1 Coca-Cola or Fanta",
"receiptDisplayText": "10% off Coca-Cola or Fanta",
"tags": [],
"icons": [],
"autogenerateDiscountLabel": null
},
"prices": {
"currency": "EUR",
"normalPrice": 5,
"price": 4.5,
"normalPricePerUnit": 10,
"pricePerUnit": 9
},
"discount": null,
"status": "Active",
"redemptionLimit": 1,
"totalCoupons": null,
"statistics": null,
"chainIds": null,
"storeIds": null,
"isDefault": false,
"offerSynchronized": true,
"fundedBy": "Coca-Cola Refreshments",
"audience": null,
"metadata": null,
"authorName": "Integration",
"isTemplate": false,
"displayPriority": 5,
"preactivated": false,
"ignoreOnPos": false,
"defaultValidForDays": null,
"rewardRedemptionSettings": null,
"modifiedDate": "2026-11-04T12:20:15.4742815Z",
"modifiedBy": "Integration"
}
],
"totalAmount": 1,
"currentPage": 0
}{
"name": "<string>",
"message": "<string>",
"details": null
}Get offers by filters
Lists the offers that match the filters. Without filters every offer is returned. Store and chain lists, the discount and
the statistics are left out unless requested with includedRelations.
limit and offset page the result and switch on the totalAmount count; given only one of them, or neither, all matching
offers are returned.
curl --request GET \
--url https://{host}/promotion/v2/campaigns \
--header 'Authorization: <api-key>'import requests
url = "https://{host}/promotion/v2/campaigns"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://{host}/promotion/v2/campaigns', 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/v2/campaigns",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
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/v2/campaigns"
req, _ := http.NewRequest("GET", 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.get("https://{host}/promotion/v2/campaigns")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/promotion/v2/campaigns")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"unifiedCampaignId": "c9678e0a-6a42-4801-a10f-141beb76ed20",
"campaignId": "ecaf08f4-38d8-42d8-b818-67b7db42a639",
"campaignName": "coca_cola_10p_off",
"validFrom": "2026-11-05T00:00:00Z",
"validTo": "2026-11-11T00:00:00Z",
"previewVisibleFrom": null,
"campaignType": "appCoupon",
"scope": "Individual",
"content": {
"iconTags": [],
"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": "Non-member price 5EUR",
"pricePerUnitLabelEnabled": true,
"unitOfMeasure": "L",
"conditionLabel": "Buy 1 Coca-Cola or Fanta",
"receiptDisplayText": "10% off Coca-Cola or Fanta",
"tags": [],
"icons": [],
"autogenerateDiscountLabel": null
},
"prices": {
"currency": "EUR",
"normalPrice": 5,
"price": 4.5,
"normalPricePerUnit": 10,
"pricePerUnit": 9
},
"discount": null,
"status": "Active",
"redemptionLimit": 1,
"totalCoupons": null,
"statistics": null,
"chainIds": null,
"storeIds": null,
"isDefault": false,
"offerSynchronized": true,
"fundedBy": "Coca-Cola Refreshments",
"audience": null,
"metadata": null,
"authorName": "Integration",
"isTemplate": false,
"displayPriority": 5,
"preactivated": false,
"ignoreOnPos": false,
"defaultValidForDays": null,
"rewardRedemptionSettings": null,
"modifiedDate": "2026-11-04T12:20:15.4742815Z",
"modifiedBy": "Integration"
}
],
"totalAmount": 1,
"currentPage": 0
}{
"name": "<string>",
"message": "<string>",
"details": null
}Authorizations
Query Parameters
Only offers with this publication status. Whether an offer has been published.
Imported: the offer exists but is not published; it is a draft and has no coupons in the app.Published: the offer is published.
This list is not final. Lobyco may add a value at any time, and a consumer must not fail on a value it does not know.
Imported, Published Only offers in this display status, which follows from the publication status and the validity dates at the time of the call. Where an offer stands for customers, from its publication status and its validity dates at the time of the call.
Imported: not published; a draft with no coupons in the app.Scheduled: published, but its start date is still ahead.Active: published and between its start and end dates.Expired: its end date has passed, whether or not it was published.
This list is not final. Lobyco may add a value at any time, and a consumer must not fail on a value it does not know.
Imported, Active, Expired, Scheduled Extra details to include for each offer. Omitted, storeIds, chainIds, discount and statistics are null.
Extra details that can be requested for each offer.
StoresAndChains: fillstoreIdsandchainIdswith the stores and chains the offer applies to.Statistics: fillstatisticswith the offer's coupon counts.Discount: filldiscountwith the offer's discount and its rules.
This list is not final. Lobyco may add a value at any time, and a consumer must not fail on a value it does not know.
StoresAndChains, Statistics, Discount Response
The matching offers, and totalAmount when paging.