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
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
idrequiredaddressesrequiredShow item fields
cityrequiredFurther nesting is omitted. See the schema for the full definition.
idrequiredFurther nesting is omitted. See the schema for the full definition.
mainrequiredFurther nesting is omitted. See the schema for the full definition.
streetrequiredFurther nesting is omitted. See the schema for the full definition.
address_typerequiredFurther nesting is omitted. See the schema for the full definition.
country_iso_coderequiredFurther nesting is omitted. See the schema for the full definition.
post_coderequiredFurther nesting is omitted. See the schema for the full definition.
namerequiredstatusrequiredversionrequired- Format: int64
account_manager_idoptionalbusiness_registration_numberrequiredcompany_emailoptionalcompany_phoneoptionalcompany_web_addressoptionalcountry_iso_coderequiredcreated_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"currency_iso_coderequiredcustomer_numberrequiredcustomer_statusrequiredinvoice_emailoptionallanguage_iso_coderequiredmain_contact_emailoptionalmain_contact_nameoptionalmain_contact_phoneoptionalmodified_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_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"