Skip to content

(50) SKU status change

POST

This webhook is triggered when the SKU status of an existing product changes. Typical scenarios include:

  • A new SKU is added under an existing product.
  • An existing SKU is deleted from an existing product.
  • An existing SKU is activated.
  • An existing SKU is deactivated.

Prerequisite: The merchant has subscribed to the corresponding webhook topic and the related product change event is successfully consumed by the webhook delivery pipeline.

Media typeapplication/json
object
type
required

The ID of the webhook type.

integer
Allowed value: 50
tts_notification_id

The ID of this webhook notification.

string
shop_id

The shop ID.

string
timestamp

The time when this webhook is triggered. Unix timestamp.

integer format: int64
data

The business payload of this webhook.

object
product_id

The ID of the product whose SKU status changed.

string
skus

The list of SKUs whose status changed.

Array<object>
object
sku_id

The ID of the SKU whose status changed.

string
status

The new SKU status. Possible values: CREATED, DELETED, ACTIVATED, DEACTIVATED.

string
Allowed values: CREATED DELETED ACTIVATED DEACTIVATED
deactivation_source

The source of deactivation. This field is returned only when status is DEACTIVATED. Possible values: SELLER, PLATFORM, COMBO_RELATION.

string
Allowed values: SELLER PLATFORM COMBO_RELATION
update_time

The time when the change occurred. Unix timestamp.

integer format: int64

Return HTTP 200 to acknowledge receipt.