curl --request POST \
--url http://localhost/api/catalogue-items \
--header 'Content-Type: application/json' \
--data '
{
"identification": {
"seller": {
"pink_id": "<string>",
"gln": "<string>"
},
"pink_id": "<string>",
"seller_catalogue_item_id": "<string>",
"gtin": 123
},
"product_name": "<string>",
"units": [
{
"order_unit": "pc",
"price_unit": "pc",
"factor": 1,
"factor_is_estimated": false,
"prices": [
{
"price": {
"amount": 123,
"currency": "EUR"
},
"discounted": false
}
]
}
],
"available": true,
"food_information": {
"product_name": "<string>",
"ingredients": [
"<string>"
],
"allergens": [
"<string>"
],
"nutrition_values": {},
"net_quantity": "<string>",
"durability_date": "<string>",
"storage_conditions": "<string>",
"origin": "<string>",
"usage_instructions": "<string>",
"alcohol_content": 123
}
}
'{
"message": "Catalogue item created successfully",
"transmission_id": "<string>",
"": "<string>"
}curl --request POST \
--url http://localhost/api/catalogue-items \
--header 'Content-Type: application/json' \
--data '
{
"identification": {
"seller": {
"pink_id": "<string>",
"gln": "<string>"
},
"pink_id": "<string>",
"seller_catalogue_item_id": "<string>",
"gtin": 123
},
"product_name": "<string>",
"units": [
{
"order_unit": "pc",
"price_unit": "pc",
"factor": 1,
"factor_is_estimated": false,
"prices": [
{
"price": {
"amount": 123,
"currency": "EUR"
},
"discounted": false
}
]
}
],
"available": true,
"food_information": {
"product_name": "<string>",
"ingredients": [
"<string>"
],
"allergens": [
"<string>"
],
"nutrition_values": {},
"net_quantity": "<string>",
"durability_date": "<string>",
"storage_conditions": "<string>",
"origin": "<string>",
"usage_instructions": "<string>",
"alcohol_content": 123
}
}
'{
"message": "Catalogue item created successfully",
"transmission_id": "<string>",
"": "<string>"
}CatalogueItem
Show child attributes
Show child attributes
The unique identifier for the unit. This is used to reference the unit in other parts of the system
pc, box, ctn, plt, pack, bundle, kg, g, mg, t, l, ml, m3 The unit in which the price is expressed. This is typically the same as the order unit, but can differ in some cases (e.g. bulk items)
pc, box, ctn, plt, pack, bundle, kg, g, mg, t, l, ml, m3 Ratio of the order unit to the price unit. (e.g. 1.5 means 1.5 order units per price unit)
If true, the factor is an estimate and may not be completely accurate
Show child attributes
Food information data according to EU regulation 1169/2011
Show child attributes
Product name according to EU food information regulations
List of ingredients
Allergens present in the product
Net quantity of the food
Date of minimum durability or 'use by' date
Special storage conditions and/or conditions of use
Country of origin or place of provenance
Instructions for use
Alcoholic strength by volume for beverages containing more than 1.2%