Skip to main content

(19) Size chart change

1. Trigger scenario

This webhook is triggered when a product size chart is created, edited, or deleted. Prerequisite: The "Product Basic" API scope is enabled in Partner Center. For more information, refer to Access Scope.

2. Data business parameters

Parameter NameData TypeSampleDescription
typeint19The ID of this webhook topic, which is 19.
tts_notification_idstring"7327112393057371910"The ID of this webhook notification.
seller_open_idstring"VIyStQAAAADCBQ40s4TzOSSOEIW-bM5O9cod3vK8OytW8m-bnBYlXw"The open_id of the seller. For more information, refer to Authorization overview.
timestampint1644412885The time when this webhook is triggered. Unix timestamp.
dataobject
└ size_chart_template_idstring"789078671231"The ID of the size chart template that's being changed.
└ size_chart_template_namestring"600001"The name of the size chart template that's being changed.
└ event_typestring"EDIT"The change that occurred for the size chart. Possible values: - CREATE: A new size chart is created - EDIT: The size chart is edited - DELETE: The size chart is deleted
└ update_timeint1644412845The time when the change occurred. Unix timestamp.

Event example

JSONWord Wrap

{
"type": 19,
"seller_open_id": "VIyStQAAAADCBQ40s4TzOSSOEIW-bM5O9cod3vK8OytW8m-bnBYlXw",
"tts_notification_id": "7327112393057371910",
"timestamp": 1644412885,
"data": {
"size_chart_template_id": "789078671231",
"size_chart_template_name": "600001",
"event_type": "EDIT",
"update_time": 1644412845
}
}