Gets the detailed stock units of the sku
curl --request GET \
--url https://api.bold-factory.com/v1/items/skus/{skuReference}/stock/units \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": "<string>",
"skuId": "<string>",
"sku": {
"id": "<string>",
"code": "<string>",
"externalReference": "<string>",
"name": "<string>",
"managesLots": true,
"stock": 123,
"unit": {
"id": "<string>",
"code": "<string>",
"name": "<string>"
},
"displayDecimalPlaces": 123
},
"locationId": "<string>",
"location": {
"id": "<string>",
"externalReference": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"lastModifiedAt": "2023-11-07T05:31:56Z",
"lastModifiedBy": "<string>"
},
"lotId": "<string>",
"lot": {
"type": "Merged",
"firstLotId": "<string>",
"firstQuantity": 123,
"secondLotId": "<string>",
"secondQuantity": 123,
"id": "<string>",
"skuId": "<string>",
"sku": {
"id": "<string>",
"code": "<string>",
"externalReference": "<string>",
"name": "<string>",
"managesLots": true,
"stock": 123,
"unit": {
"id": "<string>",
"code": "<string>",
"name": "<string>"
},
"displayDecimalPlaces": 123
},
"code": "<string>",
"stock": 123,
"costPerUnit": {
"amount": 123,
"currency": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"lastModifiedAt": "2023-11-07T05:31:56Z",
"lastModifiedBy": "<string>"
},
"amount": 123
}
],
"totalCount": 123
}SKUs
Gets the detailed stock units of the sku
Requires Warehouse.Skus.Read permissions
GET
/
v1
/
items
/
skus
/
{skuReference}
/
stock
/
units
Gets the detailed stock units of the sku
curl --request GET \
--url https://api.bold-factory.com/v1/items/skus/{skuReference}/stock/units \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": "<string>",
"skuId": "<string>",
"sku": {
"id": "<string>",
"code": "<string>",
"externalReference": "<string>",
"name": "<string>",
"managesLots": true,
"stock": 123,
"unit": {
"id": "<string>",
"code": "<string>",
"name": "<string>"
},
"displayDecimalPlaces": 123
},
"locationId": "<string>",
"location": {
"id": "<string>",
"externalReference": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"lastModifiedAt": "2023-11-07T05:31:56Z",
"lastModifiedBy": "<string>"
},
"lotId": "<string>",
"lot": {
"type": "Merged",
"firstLotId": "<string>",
"firstQuantity": 123,
"secondLotId": "<string>",
"secondQuantity": 123,
"id": "<string>",
"skuId": "<string>",
"sku": {
"id": "<string>",
"code": "<string>",
"externalReference": "<string>",
"name": "<string>",
"managesLots": true,
"stock": 123,
"unit": {
"id": "<string>",
"code": "<string>",
"name": "<string>"
},
"displayDecimalPlaces": 123
},
"code": "<string>",
"stock": 123,
"costPerUnit": {
"amount": 123,
"currency": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"lastModifiedAt": "2023-11-07T05:31:56Z",
"lastModifiedBy": "<string>"
},
"amount": 123
}
],
"totalCount": 123
}Updates the warehouse info of the skuGets the stock history of the sku, optionally filtered by location and lot
⌘I