Skip to main content
GET
Get offer by id

Authorizations

Authorization
string
header
required

Opaque Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Path Parameters

campaignId
string
required

Query Parameters

includedRelations
enum<string>[]

Extra details to include. Omitted, storeIds, chainIds, discount and statistics are null.

Extra details that can be requested for each offer.

  • StoresAndChains: fill storeIds and chainIds with the stores and chains the offer applies to.
  • Statistics: fill statistics with the offer's coupon counts.
  • Discount: fill discount with 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.

Available options:
StoresAndChains,
Statistics,
Discount

Response

The offer.

An offer as stored, with the relations that were requested.

campaignId
string
required

The id of the offer.

Required string length: 1 - 255
campaignName
string
required

The offer's name, as shown in Lobyco Nexus.

Required string length: 1 - 255
unifiedCampaignId
string | null

The id of the TurboFlow offer the offer belongs to.

Maximum string length: 64
validFrom
string<date-time> | null

Date when any coupons for this offer become available to pick up in store.

validTo
string<date-time> | null

Date when all coupons for this offer stop being available to pick up in the store.

previewVisibleFrom
string<date-time> | null

Date when Coupons will be returned in API and visible in the app. Optional. When not specified, ValidFrom is used.

campaignType
string | null

The offer's type, which determines how its coupons reach customers and where they are used will be used. Types used so far: game, appCoupon, gift, preferredStore, memberOffer, stampCard, stickersCampaign, segmentedAppCoupon.

Maximum string length: 255
scope
enum<string>

Who owns the offer's coupons: one customer (Individual) or a household (Household), where everyone in the household sees the coupon and any of them can use it.

Available options:
Individual,
Household
content
object | null

What the customer sees for the offer. Null when not requested

prices
object | null

Price Info consists of currency (ISO-4217 currency code - 3 characters, for example, DKK, ISK, EUR etc.), normal price for the whole product and normal price per unit (per kilo for example). Can be null, if offer is not for specific products.

discount
object | null

Information about discount tied to the offer, its value and threshold

status
enum<string>

Specifies if offer is a draft, that is not displayed in app. Or is the offer published and displayed in the app.

Available options:
Imported,
Active,
Expired,
Scheduled
redemptionLimit
integer<int32>

Specifies how many times coupon can be redeemed in store. Each redemption is a separate purchase. Amount of time a coupon can be used in one purchase is controlled by Discount model.

totalCoupons
integer<int32> | null

Total amount of possible coupons in the offer. When it is null, unlimited amount of coupons can be assigned.

statistics
object | null

Statistical data about offer. Can be null if not requested.

chainIds
string[] | null

List of Chain Ids where offer is available. Mutually exclusive with StoreIds. Can be null if not requested

storeIds
string[] | null

List of Store Ids where offer is available. Mutually exclusive with ChainIds. Can be null if not requested

isDefault
boolean | null

Can be true only for personal offers ("personalOffer", "relevantOffer"). When true, this offer will be returned for a customer who has no coupons assigned in personal offers.

offerSynchronized
boolean

Specifies if offer was successfully synchronized into customer system

fundedBy
string | null

Specifies who this offer is funded by. Retailers can use any values they need, or keep it empty

Maximum string length: 100
audience
object | null

The audience the offer is limited to. Null when the offer is for every customer.

metadata
object | null

Allows to store any arbitrary data in Offer, returned by every read and sent to your POS or coupon integration on activation. Can be null.

authorName
string | null

The name of the person/entity that created the offer."

Maximum string length: 64
isTemplate
boolean

Specifies if the offer is template, meaning it can be used as a base for other offers during creation

displayPriority
integer<int32>

Controlls the order in which coupons are returned to the mobile app. Lower number means higher priority

preactivated
boolean

Specifies if coupons for this offer require activation, or are working on POS without activation

ignoreOnPos
boolean

Specifies if coupons should be visible and processed by POS.

defaultValidForDays
integer<int32> | null

Default number of days a Triggered coupon is valid for, when no explicit value is specified during assignment

rewardRedemptionSettings
object | null

Settings related to the redemption of a reward granted by an offer. Applicable only for Bonus type offers.

modifiedDate
string<date-time> | null

The date and time when the offer was modified. Changes every time the offer is updated.

modifiedBy
string | null

The name of the person/entity that last updated the offer.

Maximum string length: 64
Last modified on August 10, 2026