website logo
SupportDashboardAbout SparkLayerSchedule Demo
📘Help Docs
⚙️Tech Docs
Navigate through spaces
⌘K
Introduction
API Authentication
Pricing API
Pricing API Docs
Core API
Core API Docs
Sync Logging API Docs
Purchasing API Docs
JavaScript SDK
Headless
JS SDK Docs
Spark Options
GraphQl
Docs powered by
Archbee
Core API
...
Core API Docs
Variant Stock

Update Product Stock

PATCH
PATH PARAMETERS
SKU
string
*
Product Variant SKU
HEADER PARAMETERS
Site-Id
string
*
Example: jones-climbing
Spark Layer Site ID
BODY PARAMETERS
body
array
*
stock_location_id
string
Example: sl_123
Stock Location ID (internal or external ID)
stock_level
integer<int32>
Example: 9
Quantity of stock held at the location
restock_date
string<date>
Example: 2020-01-01
Restock Date
min_stock_level
integer<int32>
Example: -9
Allow pre-ordering / overselling up to this qty. For example, if set to -9 and stock level was 0, 9 units could be sold.
RESPONSES
204
Empty Response
default
Error Response




Updated 18 Sep 2023
Did this page help you?
PREVIOUS
Get Product Stock
NEXT
Create a Customer
Docs powered by
Archbee