供应商创建
Webhooksuppliers/create
供应商创建时触发。
需要 product 访问权限。最低支持版本:202007。
请求头
X-Shoplazza-Topicstring
触发本次推送的事件,例如 orders/create
示例:
orders/createX-Shoplazza-Hmac-Sha256string
请求体的 HMAC-SHA256 签名(base64 编码),使用应用的 Client Secret 生成,用于验证请求来自 Shoplazza
X-Shoplazza-Shop-Domainstring
产生该事件的店铺域名
示例:
example.myshoplaza.comX-Shoplazza-Api-Versionstring
序列化 payload 使用的 API 版本
示例:
2025-06X-Shoplazza-Deduplication-IDstring
本次推送的去重 ID,同一事件重发时保持不变,用于幂等去重
请求体
- 数据结构
- 示例
supplier object
contactstring联系人
contact_informationstring联系方式(邮箱 / 电话)
created_atstring创建时间
location_addressstring仓库详细地址
location_citystring仓库城市
location_countrystring仓库所在国家
location_country_codestring仓库所在国家代码
location_provincestring仓库所在州省
location_province_codestring仓库所在州省代码
office_addressstring办公室详细地址
office_citystring办公室城市
office_countrystring办公室所在国家
office_country_codestring办公室所在国家代码
office_provincestring办公室所在州省
office_province_codestring办公室所在州省代码
stateboolean供应商状态。false = 停用,true = 启用
supplier_idinteger供应商 ID
supplier_informationstring资质信息
supplier_nostring供应商编号
titlestring名称
updated_atstring更新时间
urlstringURL
{
"supplier": {
"contact": "string",
"contact_information": "string",
"created_at": "string",
"location_address": "string",
"location_city": "string",
"location_country": "string",
"location_country_code": "string",
"location_province": "string",
"location_province_code": "string",
"office_address": "string",
"office_city": "string",
"office_country": "string",
"office_country_code": "string",
"office_province": "string",
"office_province_code": "string",
"state": true,
"supplier_id": 0,
"supplier_information": "string",
"supplier_no": "string",
"title": "string",
"updated_at": "string",
"url": "string"
}
}