Skip to main content
POST

Authorizations

Authorization
string
header
required

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

Body

application/json

The offer to create or update. campaignId is required.

An offer to create or update.

unifiedCampaignId
string | null

The id of the TurboFlow campaign the offer belongs to.

Maximum string length: 64
campaignId
string | null

The id of the offer.

Maximum string length: 255
campaignName
string | null

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

Maximum string length: 255
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. Cannot be cleared after being set.

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. If not specified during creation, default type will be used.

Maximum string length: 255
scope
enum<string> | null

Who owns the offer's coupons: one customer (Individual) or a household (Household). Household requires the Households feature to be enabled and cannot be combined with bonus rules. Cannot be changed after the offer is published. When not specified, defaults to last stored value on update, or Individual on create.

Available options:
Individual,
Household
content
object | null

What the customer sees for the offer

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

redemptionLimit
integer<int32> | null

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. When not specified, defaults to last stored value on update, or 1 on create. Use 0 to indicate that coupon can be redeemed unlimtied amount of times. If value is not equal to 1, we recommned providing Idempotency key during redemption, or weird behavior might happen.

totalCoupons
integer<int32> | null

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

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.

chainIds
string[] | null

List of Chain Ids where offer is available. Mutually exclusive with StoreIds.

storeIds
string[] | null

List of Store Ids where offer is available. Mutually exclusive with ChainIds.

offerSynchronized
boolean | null

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.

isTemplate
boolean | null

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

displayPriority
integer<int32> | null

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

preactivated
boolean | null

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

ignoreOnPos
boolean | null

Specifies if coupons should be visible and processed by POS.

published
boolean | null

When set to true, offer will be also published during upsert. When set to false, Offer will be moved to draft. When not specified, offer status will not be checked.

defaultValidForDays
integer<int32> | null

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

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

Name of the user on whose behalf the upsert is made. Recorded as the campaign's author on create and as the last modifier on update, and as the actor of any publish or stop the request triggers. When not specified, "Integration" is used.

Maximum string length: 64

Response

The offer as stored after the call.

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