Support
Dashboard
About SparkLayer
Schedule Demo
📘
Help Docs
⚙️
Tech Docs
🎆
Ignite Docs
Navigate through spaces
Ctrl
K
Intro
API Authentication
Pricing API
Pricing API Docs
Purchasing API
Purchasing API Docs
Files API
Files API Docs
Core API
Core API Docs
Stock API Docs
Stock Levels - Bulk operations
POST
Get stock levels at all connected locations for the provided SKUs
POST
Batch update stock levels for the provided SKUs
POST
Batch delete stock levels for the provided SKUs
Stock Locations
Sync Logging API Docs
JavaScript SDK
Headless
Spark JS
Templates
Template Objects
Docs powered by
Archbee
Core API
...
Stock API Docs
Stock Levels - Bulk operations
Get stock levels at all connected locations for the provided SKUs
POST
Try it
Header Parameters
Site-Id
string
*
Body Parameters
body
BatchFetchStock
*
skus
string[]
filter
object
Responses
200
Successful response
object[]
sku
string
stock_levels
StockLevel[]
All Of
BaseStockLevel +
default
Error Response
PREVIOUS
Delete Customer Group
NEXT
Batch update stock levels for the provided SKUs
Docs powered by
Archbee
Curl
JS
Ruby
Python
1
curl
--location
--request
POST
'/api/v1/batch-fetch-stock'
\
2
--header
'Accept: application/json'
\
3
--header
'Content-Type: application/json'
curl --location --request POST '/api/v1/batch-fetch-stock' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json'
Responses
200
default
1
// Successful response
2
[
3
{
4
"sku"
:
"SKU-1"
,
5
"stock_levels"
:
{
}
6
}
7
]
// Successful response [ { "sku": "SKU-1", "stock_levels": {} } ]