Product Ingredient
Last updated
Was this helpful?
Last updated
Was this helpful?
id
long?
Product Ingredient ID - cannot be null in PUT/PATCH methods
📶 EQUALS
,ENUM
_cloudId
long
_parentProductId
long
Parent which the ingredient belongs to
📶 EQUALS
,ENUM
_productId
long
for the ingredient
📶 EQUALS
,ENUM
deleted
boolean
Ingredient deleted
📶 EQUALS
, ENUM
🔽 BOTH
quantity
double
Product amount for the ingredient
unit
enum
Ingredient
📶 EQUALS
versionDate
timestamp?
Last modification date and time
📶 EQUALS
, ENUM
, NUMBER
🔽 BOTH
GET
https://api.dotykacka.cz/v2/clouds/:cloudId/product-ingredients
Get a custom-sorted paginated list of product ingredients matching the filter criteria.
cloudId*
integer
ID of the cloud.
filter
string
Filter conditions.
sort
string
Sort parameter.
page
integer
Page to start with.
limit
integer
Page size (100 records maximum)
Authorization*
string
Bearer accessToken
If-None-Match
string
ETag to return results only if changed.
GET
https://api.dotykacka.cz/v2/clouds/:cloudId/product-ingredients/:entityId
Get a single product ingredient identified by its ID.
cloudId*
integer
ID of the cloud.
entityId*
integer
ID of the product ingredient to get.
Authorization*
string
Bearer accessToken
If-None-Match
string
ETag to return results only if changed.
POST
https://api.dotykacka.cz/v2/clouds/:cloudId/product-ingredients
Create a list of new product ingredients.
cloudId*
integer
ID of the cloud.
Authorization*
string
Bearer accessToken
PUT
https://api.dotykacka.cz/v2/clouds/:cloudId/product-ingredients
Replace a list of product ingredients.
cloudId*
integer
ID of the cloud.
Authorization*
string
Bearer accessToken
If-Match
string
ETag to update only if not changed.
PUT
https://api.dotykacka.cz/v2/clouds/:cloudId/product-ingredients/:entityId
Replace a single product ingredient identified by its ID.
cloudId*
integer
ID of the cloud.
entityId*
integer
ID of the product ingredient to replace.
Authorization*
string
Bearer accessToken
If-Match
string
ETag to update only if not changed.
PATCH
https://api.dotykacka.cz/v2/clouds/:cloudId/product-ingredients/:entityId
Update a single product ingredient identified by its ID.
cloudId*
integer
ID of the cloud.
entityId*
integer
ID of the product ingredient to update.
Authorization*
string
Bearer accessToken
If-Match*
string
ETag to update only if not changed.
DELETE
https://api.dotykacka.cz/v2/clouds/:cloudId/product-ingredients/:entityId
Delete a single product ingredient identified by its ID.
cloudId*
string
ID of the cloud.
entityId*
string
ID of the product ingredient to delete.
Authorization*
string
Bearer accessToken
If-Match
string
ETag ignored (temporarily) when deleting an entity.
OPTIONS
https://api.dotykacka.cz/v2/clouds/:cloudId/product-ingredients
cloudId*
integer
ID of the cloud.
Authorization*
string
Bearer accessToken
OPTIONS
https://api.dotykacka.cz/v2/clouds/:cloudId/product-ingredients/:entityId
cloudId*
integer
ID of the cloud.
entityId*
integer
ID of the product ingredient to get the options for.
Authorization*
string
Bearer accessToken