Skip to main content
GET
Get offers by filters

Authorizations

Authorization
string
header
required

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

Query Parameters

Name
string

Only offers with this name.

Maximum string length: 255
UnifiedCampaignId
string

Only offers that belong to the TurboFlow campaign with this id.

Maximum string length: 64
OfferTypes
string[]

Only offers of these types, as listed by the offer types call. An unsupported type fails the call with 400.

OfferStatus
enum<string>

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.

Available options:
Imported,
Published
OfferDisplayStatus
enum<string>

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.

Available options:
Imported,
Active,
Expired,
Scheduled
ValidFromStartDate
string<date-time>

Only offers whose validFrom is on or after this date.

ValidFromEndDate
string<date-time>

Only offers whose validFrom is on or before this date.

ValidToStartDate
string<date-time>

Only offers whose validTo is on or after this date.

ValidToEndDate
string<date-time>

Only offers whose validTo is on or before this date.

OfferIds
string[]

Only offers with these ids.

includedRelations
enum<string>[]

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: 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.
  • Affiliations: fill the discount's product and category affiliations.

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,
Affiliations
limit
integer<int32>

Page size. Used only together with offset, or with updatedSince.

offset
integer<int32>

Number of matching offers to skip. Used only together with limit. Not allowed together with cursor.

updatedSince
string<date-time>

Only offers created, changed or deleted at or after this UTC time. Keep the same value for every page of a sync.

cursor
integer<int32>

nextCursor from the previous response, to get the next page of a delta sync. Requires updatedSince and replaces offset; omit it for the first page.

Response

The matching offers, and totalAmount when paging with limit and offset. With updatedSince, the page also holds deleted offers, and nextCursor for the next page or null when there are no more.

One page of a list, with the total count when paging.

data
object[]
required

Current data. Never null, but can be empty. Can be paged.

totalAmount
integer<int32> | null

Total amount of data that match the query.

currentPage
integer<int32>

Number of current page, starting from 0

nextCursor
integer<int32> | null

The position after the last item on this page, for a delta sync with updatedSince. Pass it unchanged as the cursor query parameter to get the next page; do not compute it yourself. Null when there are no more pages: the page has fewer items than limit, or the request did not use updatedSince and limit. After a full last page, the next page is empty and its nextCursor is null.

Last modified on August 10, 2026