快工助手跨境电商知识与商机助手

Create Product API now supports an idempotency key

TikTok Shop 官方资料 · TikTok Shop Partner Center 开发者文档 · 适合开发者

stable本次发布有变化全部展示

来自 TikTok Shop 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
TikTok Shop / profile.tiktok.docs_api
语言
en-US
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/tiktok_shopaudience/developercategory/api_doctopic/compliancetopic/developer

资料正文

§1 Create Product API now supports an idempotency key

#

§2 Summary

Summary

The Create Product endpoint now supports an idempotency key. This can help duplicate products being created when an API call is retried with the same parameters. We recommend that you generate v4 UUIDs for use as keys with a maximum length of 128 characters.

#

§3 Change Details

Change Details

A new key named idempotency_key can now be supplied in the body of the Create Product request so that you can prevent duplicate products being created whenever the API request is retried. It is a unique key to recognize a request and prevent duplicate processing of the same request, especially in cases of connection issues. Ensure this key is unique within the shop for each request to avoid accidental duplicates. It can be used to track requests across the shop. Maximum length is 128 characters. Note: We recommend that you generate v4 UUIDs for use as keys. There are no changes to the responses and error messages.

#

§4 Required Actions

Required Actions

If you experience issues where the retry logic creates duplicate products, it is highly recommended you adopt this change.

#

§5 Markets and Versions

Markets and Versions

This change applies to all markets and v202309 of Create Product.

#