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
tenantIdrequiredeComStoreIdrequired
Responses
202Response
application/jsoneventsTriggeredrequired- Format: int32
Example150messagerequired- Example
"Successfully triggered inventory events"
401Unauthorized - Invalid or missing authentication
Unauthorized - Invalid or missing authentication
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"
403
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"
500
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"