Warehouse
Last updated
Was this helpful?
Last updated
Was this helpful?
id
long?
Warehouse ID - cannot be null in PUT/PATCH methods
📶 EQUALS
,ENUM
🔽 NONE
_cloudId
integer
🔽 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
GET
https://api.dotykacka.cz/v2/clouds/:cloudId/warehouses
cloudId*
integer
sort
string
filter
string
page
integer
limit
integer
If-None-Match
string
ETag to return results only if changed.
Authorization*
string
Bearer accessToken
GET
https://api.dotykacka.cz/v2/clouds/:cloudId/warehouses/:warehouseId
warehouseId*
integer
cloudId*
integer
If-None-Match
string
ETag to return results only if changed.
Authorization*
string
Bearer accessToken
POST
https://api.dotykacka.cz/v2/clouds/:cloudId/warehouses
Create a list of new warehouses.
cloudId*
integer
ID of the cloud.
Authorization*
string
Bearer accessToken
PUT
https://api.dotykacka.cz/v2/clouds/:cloudId/warehouses/:warehouseId
Replace a single warehouse identified by its ID.
cloudId*
integer
ID of the cloud.
warehouseId*
integer
ID of the warehouse to replace.
Authorization*
string
Bearer accessToken
If-Match
string
ETag to update only if not changed.
PUT
https://api.dotykacka.cz/v2/clouds/:cloudId/warehouses
Replace a list of warehouses.
cloudId*
integer
ID of the cloud.
Authorization*
string
Bearer accessToken
If-Match
string
ETag to update only if not changed.
PATCH
https://api.dotykacka.cz/v2/clouds/:cloudId/warehouses/:warehouseId
Update a single warehouse identified by its ID.
cloudId*
integer
ID of the cloud.
warehouseId*
integer
ID of the warehouse to patch.
Authorization*
string
Bearer accessToken
If-Match*
string
ETag to update only if not changed.
DELETE
https://api.dotykacka.cz/v2/clouds/:cloudId/warehouses/:warehouseId
Delete a single warehouse identified by its ID.
cloudId*
integer
ID of the cloud.
warehouseId*
integer
ID of the warehouse to delete.
Authorization*
string
Bearer accessToken
If-Match
string
ETag ignored (temporarily) when deleting an entity.
purchasePriceWithoutVat
double?
Purchase price without VAT (if the product has been stocked up previously; null otherwise)
🔽 NONE
stockQuantityStatus
double
Quantity on warehouse
📶 NUMBER
stockStatusVersiondate
timestamp?
Last modification on warehouse
📶 EQUALS
,ENUM
,NUMBER
🔽 BOTH
GET
https://api.dotykacka.cz/v2/clouds/:cloudId/warehouses/:warehouseId/products
warehouseId*
integer
cloudId*
integer
sort
string
filter
string
page
string
limit
string
Authorization*
string
Bearer accessToken
If-None-Match
string
ETag to return results only if changed.
GET
https://api.dotykacka.cz/v2/clouds/:cloudId/warehouses/:warehouseId/products/:productId
productId*
string
warehouseId*
integer
cloudId*
integer
Authorization*
string
Bearer accessToken
If-None-Match
string
ETag to return results only if changed.
currency
string?
Currency to be set for the operation (default if not specified: CZK)
invoiceNumber
string
Invoice number - must not be empty
note
string?
Custom note
updatePurchasePrice
boolean
Update product purchase prices
items
array[1,100]
Array of items to stock up (see below)
externalId
string? [1]
External ID
purchasePrice
double?
Purchase price
quantity
double
Items quantity
sellPrice
double?
Product sell price
[1] One of _productId
or externalId
must not be null.
POST
https://api.dotykacka.cz/v2/clouds/:cloudId/warehouses/:warehouseId/stockups
warehouseId*
string
cloudId*
integer
Authorization*
string
Bearer accessToken
object
Stockup Schema
currency
string?
Currency to be set for the operation (default if not specified: CZK)
invoiceNumber
string
Invoice number - must not be empty
note
string?
Custom note
updatePurchasePrice
boolean
Update product purchase prices
items
array[1,100]
Array of items to transfer (see below)
externalId
string? [1]
External ID
purchasePrice
double?
Purchase price
quantity
double
Items quantity
[1] One of _productId
or externalId
must not be null.
POST
https://api.dotykacka.cz/v2/clouds/:cloudId/warehouses/:warehouseId/transfers
warehouseId*
integer
cloudId*
integer
Authorization*
string
Bearer accessToken
object
Transfare Schema
currency
string?
Currency to be set for the operation (default if not specified: CZK)
items
array[1,100]
Array of items to sell (see below)
externalId
string? [1]
External ID
note
string?
Custom note
quantity
double
Items quantity
[1] One of _productId
or externalId
must not be null.
POST
https://api.dotykacka.cz/v2/clouds/:cloudId/warehouses/:warehouseId/sales
warehouseId*
integer
cloudId*
integer
Authorization*
string
Bearer accessToken
object
Warehouse Sale Schema
note
string?
Custom note.
stockTakingDate
timestamp
The date and time of the stock-taking.
items
array
Array of items for the stock-taking (see below)
_productId
long
The product ID.
quantity
BigDecimal
The new quantity of the product in the warehouse.
Stock-taking request
POST
https://api.dotykacka.cz/v2/clouds/:cloudId/warehouses/:warehouseId/stock-takings
Perform the stock-taking action for the specified warehouse and products. The stockTakingDate
must be after the last stock-taking date (see the next endpoint) and it cannot be in the future.
This endpoint is asynchronous - the status of the operation can be monitored by a GET request on the statusWebhookUrl
from the response.
cloudId*
integer
warehouseId*
integer
Authorization*
string
Bearer accessToken
object
Stock-taking schema
statusWebhookUrl
Possible values of the status
field:
PROCESSING
FINISHED
FAILED
Possible values of the reason
field:
STOCK_TAKING_DATE_IN_FUTURE
PRODUCT_DOES_NOT_EXIST
PRODUCT_STOCK_TAKING_IN_FUTURE
PRODUCT_STOCK_TAKING_AFTER_DATE
UNEXPECTED
Examples:
_productIds
array
Array of product IDs to get the last stock-taking dates for.
Get last stock-taking dates request
POST
https://api.dotykacka.cz/v2/clouds/:cloudId/warehouses/:warehouseId/stock-taking-dates
Get last stock-taking dates for the specified warehouse and products. These dates can be used to prepare a valid stockTakingDate
for the stock-taking endpoint.
cloudId*
integer
warehouseId*
integer
Authorization*
string
Bearer accessToken
object
Get stock-taking dates schema
Note: Only the products that participated in any stock-taking in the history are included in the response. Products without any stock-taking will not be mentioned in the response.
Response product with stock status is an extension for the response entity. That means all fields from the can also be found in the .
_warehouseId
long
ID
📶 EQUALS
,ENUM
_supplierId
long?
_closeDeliveryNoteIds
array<long>?
Array of IDs to be marked as closed when the stock-up completes successfully.
_productId
long? [1]
_originWarehouseId
long
_productId
long? [1]
_productId
long? [1]