The webhook payload for updating status directly. This webhook payload is triggered when there is a change in the status of a product. The status change can vary and includes updates such as "Inactive", "Active", and "Discontinued".
Event Sent
{
"type":"product_status_updated",
"action_date":"06/20/2025 02:01:59",
"payload": [
{
"product_id":102689,
"sku":"AER7339AUB",
"brand_id":1,
"status":"Active"
}
]
}
Payload Details
- type: Identifies the type of webhook event, in this case, product_status_updated.
- action_date: Timestamp indicating when the status update action was performed, formatted as MM/DD/YYY HH:MM:SS UTC-X:00.
- payload: An array containing the details of the product whose status has been updated.
Name | Type | Definition |
---|---|---|
product_id | number | The unique identifier of the product. |
sku | string | The stock keeping unit (SKU) associated with the product. |
brand_id | integer | The unique identifier of the brand. |
status | string | The new status of the product. |