# set\_stock

Source: <https://telegafirst.com/docs/mcp-tool-set-stock>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: 3a744cf2f5e98132bb3c85cddb8f02ab3adba4016719bb8b3cbe2d4796eaa935
Version: 7

# 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 | "1.0.34" |
| 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)
