adjust_inventory
Set a product variant's inventory to a specific quantity, overwriting the current stock. Directly manage stock levels in Squarespace.
Instructions
MUTATES THE LIVE STORE. Set a variant's stock to an exact quantity.
This overwrites the current stock level for variant_id with the given
finite quantity (a "set" operation, not a delta). Sent with an
idempotency key. Returns the API result; a 204 is normalised to {}.
Use only when you intend to change real inventory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | Yes | ||
| variant_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||