Warehouse
id
long?
Warehouse ID - cannot be null in PUT/PATCH methods
📶 EQUALS
,ENUM
🔽 NONE
barcode
string?(180)
Bar code
📶 EQUALS
,ENUM
🔽 NONE
deleted
boolean
Category deleted - cannot be true in POST/PUT/PATCH methods
📶 EQUALS
, ENUM
🔽 BOTH
enabled
boolean
Warehouse enabled
📶 EQUALS
, ENUM
hexColor
string?(7)
Warehouse color
🔽 NONE
name
string(180)
Warehouse name
📶 EQUALS
,STRING
🔽 BOTH
versionDate
timestamp?
Last modification date and time
📶 EQUALS
,ENUM
,NUMBER
🔽 BOTH
{
"_cloudId": <integer>,
"barcode": <string>,
"deleted": <boolean>,
"enabled": <boolean>,
"hexColor": <string>,
"id": <long>,
"name": <string>,
"versionDate": <timestamp>
}
get
https://api.dotykacka.cz
/v2/clouds/:cloudId/warehouses
Get warehouses
get
https://api.dotykacka.cz
/v2/clouds/:cloudId/warehouses/:warehouseId
Get warehouse
post
https://api.dotykacka.cz/v2
/clouds/:cloudId/warehouses
Create new warehouse
put
https://api.dotykacka.cz/v2
/clouds/:cloudId/warehouses/:warehouseId
Replace a single warehouse
put
https://api.dotykacka.cz/v2
/clouds/:cloudId/warehouses
Replace many warehouses
patch
https://api.dotykacka.cz/v2
/clouds/:cloudId/warehouses/:warehouseId
Update a single warehouse
delete
https://api.dotykacka.cz/v2
/clouds/:cloudId/warehouses/:warehouseId
Delete a single warehouse
Response product with stock status is an extension for the Product response entity. That means all fields from the Product can also be found in the Product with stock status.
stockQuantityStatus
double
Quantity on warehouse
📶 NUMBER
stockStatusVersiondate
timestamp?
Last modification on warehouse
📶 EQUALS
,ENUM
,NUMBER
🔽 BOTH
{
// all filelds from the Product plus the following:
"_warehouseId": <long>,
"stockQuantityStatus": <double>,
"stockStatusVersiondate": <timestamp>,
}
get
https://api.dotykacka.cz
/v2/clouds/:cloudId/warehouses/:warehouseId/products
List of products with stock status
get
https://api.dotykacka.cz
/v2/clouds/:cloudId/warehouses/:warehouseId/products/:productId
Product with stock status
_closeDeliveryNoteIds
array<long>?
Array of Delivery Note IDs to be marked as closed when the stock-up completes successfully.invoiceNumber
string
Invoice number - must not be emptynote
string?
Custom noteupdatePurchasePrice
boolean
Update product purchase pricesitems
array[1,100]
Array of items to stock up (see below)externalId
string? [1]
External IDpurchasePrice
double?
Purchase pricequantity
double
Items quantitysellPrice
double?
Product sell price[1] One of
_productId
or externalId
must not be null.{
"_supplierId": <long>,
"_closeDeliveryNoteIds": <array of long>,
"invoiceNumber": <string>,
"note": <string>,
"updatePurchasePrice": <boolean>,
"items":[
{
"_productId": <long>,
"externalId": <string>,
"purchasePrice": <double>,
"quantity": <double>, // negative for corrections
"sellPrice": <double>
}
]
}
post
https://api.dotykacka.cz
/v2/clouds/:cloudId/warehouses/:warehouseId/stockups
Stockup to warehouse
invoiceNumber
string
Invoice number - must not be emptynote
string?
Custom noteupdatePurchasePrice
boolean
Update product purchase pricesitems
array[1,100]
Array of items to transfer (see below)externalId
string? [1]
External IDpurchasePrice
double?
Purchase pricequantity
double
Items quantity[1] One of
_productId
or externalId
must not be null.{
"_originWarehouseId": <long>,
"invoiceNumber": <string>,
"note": <string>,
"updatePurchasePrice": <boolean>,
"items":[
{
"_productId": <long>,
"externalId": <string>,
"purchasePrice": <double>,
"quantity": <double>
}
]
}
post
https://api.dotykacka.cz
/v2/clouds/:cloudId/warehouses/:warehouseId/transfers
Transfer to warehouse
items
array[1,100]
Array of items to sell (see below)externalId
string? [1]
External IDnote
string?
Custom notequantity
double
Items quantity[1] One of
_productId
or externalId
must not be null.{
"items": [
{
"_productId": <long>,
"externalId": <string>,
"note": <string>,
"quantity": <double>
}
]
}
post
https://api.dotykacka.cz
/v2/clouds/:cloudId/warehouses/:warehouseId/sales
Sale product on warehouse
Last modified 7mo ago