API
Search…
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

1
{
2
"_cloudId": <integer>,
3
"_parentProductId": <long>,
4
"_productId": <long>,
5
"deleted": <boolean>,
6
"id": <long>,
7
"quantity": <double>,
8
"unit": <enum>,
9
"versionDate": <timestamp>
10
}
Copied!
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
Last modified 1mo ago