API
Search…
⌃K

Product Ingredient

Product Ingredient schema

id long? Product Ingredient ID - cannot be null in PUT/PATCH methods 📶 EQUALS,ENUM
_cloudId long Cloud ID
_parentProductId long Parent product ID which the ingredient belongs to 📶 EQUALS,ENUM
_productId long Product ID for the ingredient 📶 EQUALS,ENUM
deleted boolean Ingredient deleted 📶 EQUALS, ENUM 🔽 BOTH
quantity double Product amount for the ingredient
unit enum Ingredient unit 📶 EQUALS
versionDate timestamp? Last modification date and time 📶 EQUALS, ENUM, NUMBER 🔽 BOTH

JSON response

{
"_cloudId": <integer>,
"_parentProductId": <long>,
"_productId": <long>,
"deleted": <boolean>,
"id": <long>,
"quantity": <double>,
"unit": <enum>,
"versionDate": <timestamp>
}
get
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-ingredients
Get product ingredients
get
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-ingredients/:entityId
Get product ingredient by ID
post
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-ingredients
Create new product ingredients
put
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-ingredients
Replace or create product ingredients
put
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-ingredients/:entityId
Replace or create product ingredient
patch
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-ingredients/:entityId
Partial update of product ingredient
delete
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-ingredients/:entityId
Delete product ingredient
options
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-ingredients
Options product ingredients
options
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-ingredients/:entityId
Options product ingredient