GMV Max
Queue every unsynced spark code for sync
Queue every spark code for the shop that isn't already synced. Writes pending rows to gmv_max_spark_code_sync; the offline CRJ fires the TikTok /tt_video/authorize/ calls on its next run.
Returns immediately with {queued, skipped, message}. Shops without an active TikTok Business connection return 422 TIKTOK_NOT_CONNECTED. Single shop only.
post/gmv-max/spark-codes/sync-all
Headers
Idempotency-Keystring nullable
X-Dry-Runstring nullable
Request body
SparkCodeSyncAllRequestPublic required
POST /public/v1/gmv-max/spark-codes/sync-all — queue every unsynced code for the shop. Returns immediately with a queue count; the offline CRJ actually fires the TikTok calls.
Has no body fields (shop_id comes from x-shop-id); kept as a model so we can still extra="forbid" against accidental payloads.
Response
Codes queued for async sync.
{"stackTrail":"paths:/gmv-max/spark-codes/sync-all:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.