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

Name
Type
Description

cloudId*

integer

Query Parameters

Name
Type
Description

sort

string

filter

string

page

integer

limit

integer

Headers

Name
Type
Description

Authorization*

string

Bearer accessToken

Get stock packaging

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

Path Parameters

Name
Type
Description

cloudId*

integer

stockPackagingId*

long

Headers

Name
Type
Description

Authorization*

string

Bearer accessToken

Create stock packagings

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

Path Parameters

Name
Type
Description

cloudId*

integer

Headers

Name
Type
Description

Auhtorization*

string

Bearer accessToken

Request Body

Name
Type
Description

*

array

Array of StockPackaging of max size 100.

Replace or create stock packagings

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

Path Parameters

Name
Type
Description

cloudId*

integer

Headers

Name
Type
Description

If-Match*

string

Etag to update only if not changed.

Authorization*

string

Bearer accessToken

Request Body

Name
Type
Description

*

array

Array of StockPackaging of maxim size 100

Replace or create stock packaging

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

Path Parameters

Name
Type
Description

cloudId*

integer

stockPackagingId*

long

Headers

Name
Type
Description

If-Match*

string

Etag to update only if not changed.

Authorization*

string

Bearer accessToken

Request Body

Name
Type
Description

*

object

StockPackaging

Partial update of stock packaging

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

Path Parameters

Name
Type
Description

cloudId*

integer

stockPackagingId*

long

Headers

Name
Type
Description

If-Match*

string

Etag to update only if not changed.

Authorization*

string

Bearer accessToken

Delete stock packaging

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

Path Parameters

Name
Type
Description

cloudId*

integer

stockPackagingId*

long

Headers

Name
Type
Description

Authorization*

string

Bearer accessToken

Options stock packagings

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

Path Parameters

Name
Type
Description

cloudId*

integer

Headers

Name
Type
Description

Authorization*

string

Bearer accessToken

Options stock packaging

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

Path Parameters

Name
Type
Description

cloudId*

integer

stockPackagingId*

long

Headers

Name
Type
Description

Authorization*

string

Bearer accessToken

Last updated