Stock Packaging

Stock packaging schema

_cloudId integer Cloud ID

_productId long Product ID - stock item product 📶 EQUALS,ENUM

deleted boolean Stock packaging deleted - cannot be true in POST/PUT/PATCH methods 📶 EQUALS, ENUM 🔽 BOTH

ean string[]? EAN codes 📶 EQUALS, ENUM

id long? Stock packaging ID - cannot be null in PUT/PATCH methods 📶 EQUALS,ENUM

name string(400) Product name 📶 STRING🔽 BOTH

plu string[]? PLU codes 📶 EQUALS, ENUM

quantity double Quantity of stock packaging

unit enum Unit of stock packaging must be in the same group as the stock item product with _productId

versionDate timestamp? Last modification date and time 📶 EQUALS, ENUM, NUMBER 🔽 BOTH

Stock packaging response

{
    "_cloudId": <integer>,
    "_productId": <long>,
    "deleted": <boolean>
    "ean": <string[]>,
    "id": <long>,
    "name": <string>,
    "plu": <string[]>,
    "quantity": <double>,
    "unit": <enum>,
    "versionDate": <timestamp>
}

Get stock packagings

GET https://api.dotykacka.cz/v2/clouds/:cloudId/stock-packagings

Path Parameters

Query Parameters

Headers

Get stock packaging

GET https://api.dotykacka.cz/v2/clouds/:cloudId/stock-packagings/:stockPackagingId

Path Parameters

Headers

Create stock packagings

POST https://api.dotykacka.cz/v2/clouds/:cloudId/stock-packagings

Path Parameters

Headers

Request Body

Replace or create stock packagings

PUT https://api.dotykacka.cz/v2/clouds/:cloudId/stock-packagings

Path Parameters

Headers

Request Body

Replace or create stock packaging

PUT https://api.dotykacka.cz/v2/clouds/:cloudId/stock-packagings/:stockPackagingId

Path Parameters

Headers

Request Body

Partial update of stock packaging

PATCH https://api.dotykacka.cz/v2/clouds/:cloudId/stock-packagings/:stockPackagingId

Path Parameters

Headers

Delete stock packaging

DELETE https://api.dotykacka.cz/v2/clouds/:cloudId/stock-packagings/:stockPackagingId

Path Parameters

Headers

Options stock packagings

OPTIONS https://api.dotykacka.cz/v2/clouds/:cloudId/stock-packagings

Path Parameters

Headers

Options stock packaging

OPTIONS https://api.dotykacka.cz/v2/clouds/:cloudId/stock-packagings/:stockPackagingId

Path Parameters

Headers

Last updated