GET/v1/tenants/{tenantId}/core/campaigns
Synchronize campaigns Experimental
Live entity representations and retained deletions, ordered by modification/deletion timestamp and ID. Use an overlap window when polling from a completed sync_through checkpoint. Requires campaigns:read or core:read. Save sync_through after the final page succeeds, then subtract a configurable overlap window for the next poll.
Parameters
tenantIdrequiredsinceoptionalInclusive ISO 8601 timestamp with offset. Omit to synchronize everything. Cannot be combined with cursor.
cursoroptionalOpaque next_cursor from the previous page. Pass it back unchanged to continue the same collection.
limitoptionalCombined entities and deletions per page: default 100, maximum 500. May change between pages.
- Format: int32
Responses
application/jsonitemsrequiredShow item fields
Exactly one of these shapes is allowed.
deleted
typerequired- Allowed values
"deleted" idrequiredchanged_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"deleted_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
entity
typerequired- Allowed values
"entity" datarequiredShow child fields
idrequiredcoderequiredlinesrequiredShow item fields
idrequiredFurther nesting is omitted. See the schema for the full definition.
basic_gross_unit_priceoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"basic_net_unit_priceoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"campaign_gross_unit_priceoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"campaign_net_unit_priceoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"product_idrequiredFurther nesting is omitted. See the schema for the full definition.
requires_loyalty_membershiprequiredFurther nesting is omitted. See the schema for the full definition.
sku_idrequiredFurther nesting is omitted. See the schema for the full definition.
sku_numberrequiredFurther nesting is omitted. See the schema for the full definition.
namerequiredstatusrequiredversionrequired- Format: int64
campaign_typerequiredcompany_idrequiredcreated_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"currency_iso_coderequiredloyalty_program_idoptionalmodified_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"order_delivery_dateoptional- Format: date
Example"2026-01-14"order_endrequired- Format: date
Example"2026-01-14"order_startrequired- Format: date
Example"2026-01-14"product_scopesrequiredShow item fields
idrequiredFurther nesting is omitted. See the schema for the full definition.
brand_idoptionalFurther nesting is omitted. See the schema for the full definition.
main_product_group_idoptionalFurther nesting is omitted. See the schema for the full definition.
product_category_idoptionalFurther nesting is omitted. See the schema for the full definition.
sub_product_group_idoptionalFurther nesting is omitted. See the schema for the full definition.
retail_chain_idsrequiredtime_zonerequiredvalid_fromrequired- Format: date
Example"2026-01-14"valid_from_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"valid_torequired- Format: date
Example"2026-01-14"valid_to_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
changed_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
next_cursorrequiredsync_throughrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
400Response
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
401Response
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
403Response
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"