Examples
Get LUCID Fields
Get LUCID Fields
Set cookie: session_id value what we got from authenticate
GET /api/v1/models/product_product
Headers:
{ "Content-Type": "application/json", "Cookie": "session_id=4e21fd7bf236b7d283b471254b8c94a57c8a3a08"}Request Body:
{ "fields": [ "mandatory_lucid", "report_lucid", "weight", "mono_material", "mono_package_material", "package_material", "ppk_list", "pet_list", "pe_list", "pp_list", "glas_list", "metal_list", "other_packages_list" ], "limit": 1, "domain": [["id", "in", [2]]]}Response:
{ "mandatory_lucid": "1", "report_lucid": "1", "weight": 0.0, "mono_material": "1", "mono_package_material": "2", "package_material": "0", "ppk_list": false, "pet_list": "0", "pe_list": "3", "pp_list": false, "glas_list": false, "metal_list": false, "other_packages_list": false}Get Additional Product Fields
Get New Fields From General Tab
Set cookie: session_id value what we got from authenticate
GET /api/v1/models/product_product
Headers:
{ "Content-Type": "application/json", "Cookie": "session_id=4e21fd7bf236b7d283b471254b8c94a57c8a3a08"}Request Body:
{ "fields": [ "surcharge_amount", "to_go_taxes_id", "visibility_options", "preparation_time", "short_description", "comment", "additional_information" ], "limit": 1, "domain": [["id", "in", [2]]]}Response:
{ "surcharge_amount": 0.0, "to_go_taxes_id": null, "visibility_options": false, "preparation_time": 5.0, "short_description": false, "comment": false, "additional_information": false}Get New Fields From Sales Tab
Set cookie: session_id value what we got from authenticate
GET /api/v1/models/product_product
Headers:
{ "Content-Type": "application/json", "Cookie": "session_id=4e21fd7bf236b7d283b471254b8c94a57c8a3a08"}Request Body:
{ "fields": [ "sales_units", "sales_quantity", "package_contents", "individual_sale", "delivery_before_stay", "extra_product_media_shop" ], "limit": 1, "domain": [["id", "in", [2]]]}Response:
{ "sales_units": false, "sales_quantity": 0.0, "package_contents": false, "individual_sale": false, "delivery_before_stay": false, "extra_product_media_shop": null}Get Additives And Allergens Information
Get Information About Existing Additives And Allergens Components
Set cookie: session_id value what we got from authenticate
GET /api/v1/models/additives_allergens_component
Headers:
{ "Content-Type": "application/json", "Cookie": "session_id=4e21fd7bf236b7d283b471254b8c94a57c8a3a08"}Request Body:
{
}Response:
{ "id": 1, "name": "Glutenhaltiges Getreide und -erzeugnisse", "translation": { "de_DE": { "name": "Glutenhaltiges Getreide und -erzeugnisse" } }}Get Nutritional Information
Get Information About Nutritionals
Set cookie: session_id value what we got from authenticate
GET /api/v1/models/nutritional_designation
Headers:
{ "Content-Type": "application/json", "Cookie": "session_id=4e21fd7bf236b7d283b471254b8c94a57c8a3a08"}Request Body:
{
}Response:
{ "id": 1, "name": "Energie (kJ)", "translation": { "de_DE": { "name": "Energie (kJ)" } }}