sync-new-skus
Set up Inventory Sync for one or more SKUs — the "Sync New SKU" flow of the Inventory Sync page, for a whole batch at once. Creates the entry that holds each SKU's stock, records the on-hand quantity, and links every active listing and variation carrying that SKU to it.
This is the Inventory Sync tool, NOT the Product Catalog: use it for accounts that manage stock without the catalog. The entries it creates are internal and will not show up in get-products. Do not use create-product for this — that builds a real catalog product, which is not what Inventory Sync reads.
onHandQuantity is required for every SKU: the quantity is pushed out to every listing carrying that SKU, so there is no safe default. Idempotent — calling again relinks the existing entry instead of creating a duplicate. SKUs that match no active listing or variation are reported and the batch refused, unless ignoreUnmatched is set; run with dryRun: true first to check. Authenticated via bearer token.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"items": "<items>"
},
"name": "sync-new-skus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | The SKUs to sync, each with its own quantity | |
| dryRun | No | Report the resolution without writing anything | |
| sellerIds | No | Accounts to link across. Defaults to every account with Inventory Sync on; one with it off is refused. | |
| ignoreUnmatched | No | Create entries for SKUs matching no listing anyway |