Explore Plans
Mobile menu Close menu
Squarespace

Adjust stock quantity

This action adds or removes stock for one product variant in your Squarespace store.

Developer info

API endpoint slug
squarespace.adjust_stock_quantity
Filter code method
Squarespace.adjustStockQuantity.skip(string?: reason)
Runtime method
runAction("squarespace.adjust_stock_quantity", {})

Action fields

Variant Dropdown list

Label
Which product variant?
Helper text
Variants are listed alphabetically, up to the first 100.
Slug
variant_id
Required
true
Can have default value
false

Quantity change Text input

Label
Quantity change
Helper text
A whole number. Use a positive number to add stock (10) and a negative one to remove it (-5).
Slug
quantity_change
Required
true
Can have default value
true
Filter code method
Squarespace.adjustStockQuantity.setQuantityChange(string: quantity_change)