POST/v1/tenants/{tenantId}/ecom_stores/{eComStoreId}/inventory/trigger_events

Trigger inventory events

Queues InventoryUpdated notifications to this eCom store for every SKU in its assortment. They are sent gradually, up to 300 a minute, and repeat calls while a resync is in progress add nothing. Use this after initial inventory setup to ensure integrations are synchronized.

Parameters

tenantIdrequired
eComStoreIdrequired

Responses

202Response
application/json
eventsTriggeredrequired
  • Format: int32
Example150
messagerequired
Example"Successfully triggered inventory events"
401Unauthorized - Invalid or missing authentication

Unauthorized - Invalid or missing authentication

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"
403
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"
500
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"