# set\_stock

Source: <https://telegafirst.com/docs/mcp-tool-set-stock>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: 8776f64a5ff82dfd3d687f3c1edcc2899108e682c1881a3462b0baf5d2fe471b
Version: 2

# set\_stock

Set the stock of a product or of one of its combinations (combination\_key; required when the product has combinations): on\_hand is the units available, 0 closes it, null removes the limit. Refused with a conflict when the new limit is below the units currently held by buyers.

## Права и условия

required\_scopes: ALL.

| Поле | Значение |
| - | - |
| description | "Set the stock of a product or of one of its combinations (combination\_key; required when the product has combinations): on\_hand is the units available, 0 closes it, null removes the limit. Refused with a conflict when the new limit is below the units currently held by buyers." |
| domain | "catalog" |
| name | "set\_stock" |
| platform\_version | "42248466c94e00eec0d71429ed34a30fd211e9b0" |
| required\_scopes | \["catalog:write"] |
| risk | "destructive" |
| scope | "catalog:write" |
| title | "Set Stock" |

## Входные параметры

[set\_stock: inputSchema](https://telegafirst.com/docs/schema-6b1f83fadde710fbe60039bfe4a67cebbaf654eea64f6ef3a7da1615ae43a5c2)

## Результат

[set\_stock: outputSchema](https://telegafirst.com/docs/schema-77dc5f34b8b30104b057e0871a5c5bdc29d7c9ffecdd034995cd696f6b47a90e)
