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

tenantIdrequired
sinceoptional

Inclusive ISO 8601 timestamp with offset. Omit to synchronize everything. Cannot be combined with cursor.

cursoroptional

Opaque next_cursor from the previous page. Pass it back unchanged to continue the same collection.

limitoptional

Combined entities and deletions per page: default 100, maximum 500. May change between pages.

  • Format: int32

Responses

200Response
application/json
itemsrequired
Show item fields

Exactly one of these shapes is allowed.

deleted
typerequired
Allowed values"deleted"
idrequired
changed_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"
datarequired
Show child fields
idrequired
coderequired
linesrequired
Show item fields
idrequired

Further nesting is omitted. See the schema for the full definition.

basic_gross_unit_priceoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
basic_net_unit_priceoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
campaign_gross_unit_priceoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
campaign_net_unit_priceoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
product_idrequired

Further nesting is omitted. See the schema for the full definition.

requires_loyalty_membershiprequired

Further nesting is omitted. See the schema for the full definition.

sku_idrequired

Further nesting is omitted. See the schema for the full definition.

sku_numberrequired

Further nesting is omitted. See the schema for the full definition.

namerequired
statusrequired
versionrequired
  • Format: int64
campaign_typerequired
company_idrequired
created_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
currency_iso_coderequired
loyalty_program_idoptional
modified_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_scopesrequired
Show item fields
idrequired

Further nesting is omitted. See the schema for the full definition.

brand_idoptional

Further nesting is omitted. See the schema for the full definition.

main_product_group_idoptional

Further nesting is omitted. See the schema for the full definition.

product_category_idoptional

Further nesting is omitted. See the schema for the full definition.

sub_product_group_idoptional

Further nesting is omitted. See the schema for the full definition.

retail_chain_idsrequired
time_zonerequired
valid_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_cursorrequired
sync_throughrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
400Response
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"
401Response
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"
403Response
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"