Skip to content

(19) Size chart change

POST

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.

Media typeapplication/json
object
type
required

The ID of the webhook type.

integer
Allowed value: 19
tts_notification_id

The ID of this webhook notification.

string
seller_open_id

The open_id of the seller. For more information, refer to Authorization overview.

string
timestamp

The time when this webhook is triggered. Unix timestamp.

integer format: int64
data
object
size_chart_template_id

The ID of the size chart template that’s being changed.

string
size_chart_template_name

The name of the size chart template that’s being changed.

string
event_type

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
string
Allowed values: CREATE EDIT DELETE
update_time

The time when the change occurred. Unix timestamp.

integer format: int64
Example
{
"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
}
}

Return HTTP 200 to acknowledge receipt.