GET/v1/tenants/{tenantId}/core/customers/b2b

Synchronize b2b_customers 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 customers: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
addressesrequired
Show item fields
cityrequired

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

idrequired

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

mainrequired

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

streetrequired

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

address_typerequired

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

country_iso_coderequired

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

post_coderequired

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

namerequired
statusrequired
versionrequired
  • Format: int64
account_manager_idoptional
business_registration_numberrequired
company_emailoptional
company_phoneoptional
company_web_addressoptional
country_iso_coderequired
created_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
currency_iso_coderequired
customer_numberrequired
customer_statusrequired
invoice_emailoptional
language_iso_coderequired
main_contact_emailoptional
main_contact_nameoptional
main_contact_phoneoptional
modified_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
retail_chain_idoptional
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"