List all promotions
List the promotions of the company with cursor-based pagination, oldest first, each one with its items. - Filter by status (scheduled, active, ended or cancelled), channel (documents or web), starts_at[gte|lte], ends_at[gte|lte] and updated[gte]. - Dates are ISO 8601; a day without time is read in the company time zone. - GET /promotions?status=active&channel=web returns what a web shop shows today.
Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.
In: header
Path Parameters
Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).
uuidQuery Parameters
Number of objects to return, between 1 and 100 (default 25).
251 <= value <= 100Cursor for forward pagination: pass the id of the last object on the previous page (the next_cursor of the previous response).
uuidCursor for backward pagination: pass the id of the first object on the current page.
uuidPromotion status today: scheduled, active, ended (by date) or cancelled. Exact match on status.
"scheduled" | "active" | "ended" | "cancelled"Sales channel the promotion applies to: documents or web. Exact match on channel.
"documents" | "web"First instant of the promotion (ISO 8601). A day without time is read in the company time zone. Greater than or equal to the given value.
date-timeFirst instant of the promotion (ISO 8601). A day without time is read in the company time zone. Less than or equal to the given value.
date-timeLast included instant of the promotion (ISO 8601). A day without time is read in the company time zone. Greater than or equal to the given value.
date-timeLast included instant of the promotion (ISO 8601). A day without time is read in the company time zone. Less than or equal to the given value.
date-timeLast update date (ISO 8601). Greater than or equal to the given value.
date-timeHeaders
Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.
dateResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json