Notification of a sales restriction update
What your webhook implementation will receive when item sales restrictions are updated
Body
Required
-
The SKU of the item with updated availability
-
The unique identifier for the business location.
-
The available count of the item. null indicates no restriction
-
The timestamp when the count was last updated
-
The restriction status of the item
Values are
RESTRICTED
orNOT_RESTRICTED
. -
Notification type
Default value is
ITEM
.
Request examples
item restricted
{
"sku": "UGG-BB-PUR-06",
"type": "ITEM",
"count": 5,
"status": "RESTRICTED",
"countUpdatedAt": "2024-04-04T09:42:00.000+00:00",
"businessLocationId": 247158188015618
}
{
"sku": "UGG-BB-PUR-06",
"type": "ITEM",
"count": null,
"status": "NOT_RESTRICTED",
"countUpdatedAt": "2024-04-04T09:42:00.000+00:00",
"businessLocationId": 247158188015618
}