This action adds or removes stock for one product variant in your Squarespace store.
- API endpoint slug
- squarespace.adjust_stock_quantity
- Filter code method
- Squarespace.adjustStockQuantity.skip(string?: reason)
- Runtime method
- runAction("squarespace.adjust_stock_quantity", {})
Action fields
- 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
- 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)