---
url: "https://developer.migros.ch/apis/quality-data-8/versions/a330cc6d-f33b-4507-8cf4-5670df44909b"
---

OpenAPI specification document.

```json
{"components":{"parameters":{"Accept-Language":{"description":"Defines the language (de/fr/it/en) for this request as request header. Either use the query param \"lang\" or header \"Accept-Language\", not both.","in":"header","name":"Accept-Language","schema":{"default":"de","enum":["de","fr","it","en"],"type":"string"}},"lang":{"description":"Defines the language (de/fr/it/en) for this request as query parameter. Either use the query param \"lang\" or header \"Accept-Language\", not both.","in":"query","name":"lang","schema":{"default":"de","enum":["de","fr","it","en"],"type":"string"}},"limit":{"description":"Maximum number of results (max 2000).","in":"query","name":"limit","required":false,"schema":{"default":10,"maximum":2000,"minimum":0,"type":"integer"}},"offset":{"description":"Result set offset.","in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"type":"integer"}}},"responses":{"400":{"description":"If the request parameters are invalid."}},"schemas":{"AbstractCollection":{"description":"A generic collection of elements."},"AbstractSearchResultCollection":{"allOf":[{"$ref":"#/components/schemas/AbstractCollection"},{"properties":{"ids":{"description":"Ids only.\n\nIs filled instead of the usual property for content, with only the ids when a call is made with verbosity=id on a\nroute that supports it.","items":{"type":"string"},"type":"array"},"total_hits":{"description":"The total hits may exceed the actual count of results in the collection.\n\nIt represents the total number of results of a search and not only the\npotentially paginated subset.","nullable":true,"type":"integer"}},"type":"object"}],"description":"A collection of search result instances.","type":"object"},"AlcoholInformation":{"description":"Represents alcohol information.","properties":{"label":{"type":"string"},"operator":{"nullable":true,"type":"string"},"value":{"type":"string"}},"required":["label","value"],"type":"object"},"Allergen":{"properties":{"code":{"type":"string"},"contamination_code":{"description":"Code of the contamination.","nullable":true,"type":"string"},"contamination_label":{"description":"Label of the contamination.","nullable":true,"type":"string"},"label":{"description":"Descriptive label.","type":"string"}},"required":["code","label"],"type":"object"},"AllergensInformation":{"properties":{"allergens":{"description":"List of allergens.","items":{"$ref":"#/components/schemas/Allergen"},"nullable":true,"type":"array"},"trace_allergens_text":{"description":"Trace information.","nullable":true,"type":"string"}},"type":"object"},"Base":{"properties":{"description":{"description":"Base description.","nullable":true,"type":"string"},"operator":{"description":"Base operator.","nullable":true,"type":"string"},"quantity":{"description":"Base quantity.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/ValueWithUnit"}]}},"type":"object"},"ChemicalsCleaningAgent":{"description":"Information on a cleaning agent in the chemicals declaration..","properties":{"concentration":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/ChemicalsStatement"}]},"group":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/ChemicalsStatement"}]},"name":{"nullable":true,"type":"string"}},"type":"object"},"ChemicalsDeclaration":{"properties":{"biozid_number_ch":{"description":"PIM: biozidNummerCh.","nullable":true,"type":"string"},"chem_voc_concentration":{"description":"Concentration of chemical volatile organic compounds, in percent.","format":"float","nullable":true,"type":"number"},"chemical_quantity_limit":{"description":"Amount that gets dangerous, for risk analysis.\n\nPIM: chemMengenSchwelle","nullable":true,"type":"integer"},"childproof_closure":{"nullable":true,"type":"boolean"},"classification_ghs_class":{"description":"New GHS standard statements.","items":{"$ref":"#/components/schemas/ChemicalsStatement"},"nullable":true,"type":"array"},"cleaning_agents":{"description":"PIM: reinigungsinhaltsstoffe.","items":{"$ref":"#/components/schemas/ChemicalsCleaningAgent"},"nullable":true,"type":"array"},"container_content":{"properties":{"Unit":{"nullable":true,"type":"string"},"Value":{"nullable":true,"type":"integer"}},"type":"object"},"contains_nanomaterial":{"nullable":true,"type":"boolean"},"cpid_number":{"nullable":true,"type":"string"},"dangerous_goods_by_transport_regulations":{"nullable":true,"type":"boolean"},"declaration_number":{"type":"string"},"declaration_required_ingredients":{"description":"PIM: deklarationspflichtigeStoffe.","items":{"$ref":"#/components/schemas/ChemicalsMaterial"},"nullable":true,"type":"array"},"documents":{"items":{"$ref":"#/components/schemas/Document"},"type":"array"},"eu_hazard_statements":{"description":"New GHS european union extra hazard statements.","items":{"$ref":"#/components/schemas/ChemicalsStatement"},"nullable":true,"type":"array"},"extra_cleaning_agents":{"description":"PIM: weitereReinigungsInhaltsstoffe.","items":{"$ref":"#/components/schemas/ChemicalsCleaningAgent"},"nullable":true,"type":"array"},"extra_hazard_statements":{"description":"PIM: besondereGefahrenSaetze.","items":{"$ref":"#/components/schemas/ChemicalsStatement"},"nullable":true,"type":"array"},"hazard_classes":{"description":"PIM: gefahrenGutKlassen.","items":{"$ref":"#/components/schemas/ChemicalsStatement"},"nullable":true,"type":"array"},"hazard_pictograms":{"items":{"$ref":"#/components/schemas/Image"},"nullable":true,"type":"array"},"hazard_statements":{"description":"New GHS standard statements.","items":{"$ref":"#/components/schemas/ChemicalsStatement"},"nullable":true,"type":"array"},"is_main_declaration":{"type":"boolean"},"labeling_ghs_euh_complete":{"nullable":true,"type":"string"},"mpid":{"type":"string"},"notification_bag":{"nullable":true,"type":"string"},"notification_bag_except_trade":{"nullable":true,"type":"string"},"number_in_bundle":{"nullable":true,"type":"integer"},"packaging_exceeds_limited_quantity":{"description":"Whether the packaging of this product exceeds the Limited Quantity (LQ) that is set by transport agencies.\n\nPIM: gebindeGroesserLq","nullable":true,"type":"boolean"},"poison_cabinet":{"description":"PIM: giftSchrankAufbewahrung.","nullable":true,"type":"boolean"},"precautionary_statements":{"description":"New GHS standard statements.","items":{"$ref":"#/components/schemas/ChemicalsStatement"},"nullable":true,"type":"array"},"product_id":{"type":"string"},"release_date":{"format":"date-time","nullable":true,"type":"string"},"signal_word":{"description":"PIM: signalwort.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/ChemicalsStatement"}]},"status":{"type":"string"},"storage_class":{"description":"Information about storing / transporting the good.\n\nPIM: lagerKlasse","nullable":true,"oneOf":[{"$ref":"#/components/schemas/ChemicalsStatement"}]},"supplier_description":{"nullable":true,"type":"string"},"supplier_id":{"type":"string"},"svhc":{"nullable":true,"type":"boolean"},"tactile_hazard_warning":{"nullable":true,"type":"boolean"},"transport_category":{"description":"PIM: befoerderungsKategorie.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/ChemicalsStatement"}]},"tunnel_restriction":{"description":"PIM: tunnelrestriktionen.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/ChemicalsStatement"}]},"un_number":{"description":"United nations number.\n\nPIM: unNummer","nullable":true,"oneOf":[{"$ref":"#/components/schemas/ChemicalsStatement"}]},"updated_at":{"description":"Time when declaration was last indexed with modifications in ElasticSearch.\n\nOnly set on standalone chemicals declarations (not inside product).","format":"date-time","nullable":true,"type":"string"}},"required":["declaration_number","product_id","updated_at","status","is_main_declaration","supplier_id"],"type":"object"},"ChemicalsDeclarationCollection":{"description":"A collection of chemicals declaration instances.","properties":{"chemicals_declarations":{"items":{"$ref":"#/components/schemas/ChemicalsDeclaration"},"type":"array"},"total_hits":{"description":"The total hits may exceed the actual count of results in the collection.\n\nIt represents the total number of results of a search and not only the\npotentially paginated subset.","nullable":true,"type":"integer"}},"required":["chemicals_declarations","total_hits"],"type":"object"},"ChemicalsMaterial":{"description":"Information on a material in the chemicals declaration.","properties":{"cas_number":{"nullable":true,"type":"string"},"einecs_number":{"nullable":true,"type":"string"},"name":{"type":"string"}},"required":["name"],"type":"object"},"ChemicalsStatement":{"description":"Standardized information statement about chemical ingredients.","properties":{"code":{"description":"Standard code for this statement.","type":"string"},"label":{"description":"Natural language for this statement.","type":"string"}},"required":["code","label"],"type":"object"},"Declarations":{"description":"Declarations information.","properties":{"alcohol_information":{"description":"For QIM, you can find the following fields here:\n\n- QIM_GDSN_M545","nullable":true,"oneOf":[{"$ref":"#/components/schemas/AlcoholInformation"}]},"cosmetic_ingredients":{"description":"Cosmetic ingredients according to INCI (International Nomenclature of Cosmetic Ingredients)","nullable":true,"type":"string"},"cosmetic_materials":{"description":"Cosmetic Materials","nullable":true,"type":"string"},"declaration_number":{"description":"Unique declaration number.","nullable":true,"type":"string"},"distributor":{"description":"Distributor details.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/Distributor"}]},"feed_additives_statement":{"description":"Pet feed additives statement (german: Futtermittel Zusatzstoffe)","nullable":true,"type":"string"},"feed_analytical_constituents_statement":{"description":"Pet feed analytical constituents statement (german: Futtermittel Analytische Bestandteile)","nullable":true,"type":"string"},"feed_composition":{"description":"Pet feed composition (german: Futtermittel Zusammensetzung)","nullable":true,"type":"string"},"feed_composition_benefits":{"description":"Pet feed composition benefits (german: Futtermittel Zusammensetzung Auslobung Mehrwert)","nullable":true,"type":"string"},"feed_life_stage":{"description":"Pet feed life stage (german: Futtermittel Tieralterstufe)","nullable":true,"type":"string"},"feed_regulatory_permit_identification":{"description":"Pet feed regulatory permit identification (german: Futtermittel Zulassungsnummer)","nullable":true,"type":"string"},"feed_targeted_consumption_by":{"description":"List of pets targeted by the consumption of the product (german: Futtermittel Tierart) e.g. grown dogs","items":{"type":"string"},"nullable":true,"type":"array"},"feed_type":{"description":"Pet feed type (german: Futtermittelart)","nullable":true,"type":"string"},"feeding_instructions":{"description":"Pet feeding instructions (german: Futtermittel Fütterungsempfehlung)","nullable":true,"type":"string"},"feeding_instructions_hint":{"description":"Additional information for pet feeding instructions (german: Hinweis Futtermittel Fütterungsempfehlung)","nullable":true,"type":"string"},"general_information":{"description":"General information, warnings, labels and instructions.\n\nFor QIM, you can find the following fields here:\n\n- QIM_weitereZusatzangabenDeklaration\n- QIM_GDSN_M094\n- QIM_GDSN_M362\n- QIM_KuehlhinweisDeklaration\n- QIM_ProduktionshinweisDeklaration\n- QIM_DataNatuRerechlicheHinweise\n- QIM_GDSN_M127\n- QIM_GDSN_M145\n- QIM_WarnhinweisDeklaration\n- QIM_GDSN_M109\n- QIM_GDSN_M146\n- QIM_Deklaration_Heilmittelkategorie\n\nFrom PIM, these are things provided in the PIM `zusatzAngabe` field.","items":{"$ref":"#/components/schemas/GeneralInformation"},"nullable":true,"type":"array"},"golden_standard":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/GoldenStandard"}]},"gtins":{"description":"The GTIN that these declarations are about.","items":{"type":"string"},"nullable":true,"type":"array"},"ingredients_information":{"description":"Ingredient information.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/IngredientsInformation"}]},"language":{"description":"Language for the translated text fields.","enum":["de","fr","it","en"],"type":"string"},"most_relevant_gtin":{"description":"Whether or not this is the most relevant declaration based on the main gtin.\n\nThe most relevant declaration is the most recent with the main gtin of the product, if any exists,\notherwise the most recently valid one.","type":"boolean"},"nutrition_facts":{"description":"This section groups nutrient information. It contains information about the serving size and the portion and standard nutrient information.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/NutritionFacts"}]},"origins":{"description":"Product source information.\n\nFor declarations provided on the product, the origins are at the top level of the product.\nThe reason is that also products that don't have declarations still can have origin information.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/Origins"}]},"period_after_opening":{"description":"Identifies the useful lifetime of a product after its package has been opened for the first time.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/PeriodAfterOpening"}]},"product_details":{"description":"Detailed information about the product.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/ProductDetails"}]},"product_id":{"description":"The product ID that this declaration is about.\n\nIf there is no product, this value is not set.","nullable":true,"type":"string"},"product_name":{"description":"Product name as per the declarations information.\n\nThis is not necessarily the same as the name on the related product.","nullable":true,"type":"string"},"supplier":{"description":"Information about who is supplying this product to Migros.\n\nThere can be more than one stand-alone declaration for the same product id if Migros gets it from multiple suppliers.\n\nThe declarations exposed on the product are always the one of the main supplier, so this field is about the same supplier as `main_supplier` on the product.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/Supplier"}]},"tags":{"description":"Tags for flagging declarations.","items":{"type":"string"},"nullable":true,"type":"array"},"updated_at":{"description":"Time when this declaration was last updated in Elasticsearch.\n\nWhen a declaration has no changes after mapping the source data, it is not re-indexed and thus the timestamp\nstays on the old value.","format":"date-time","type":"string"}},"required":["language","updated_at"],"type":"object"},"DeclarationsCollection":{"allOf":[{"$ref":"#/components/schemas/AbstractSearchResultCollection"},{"properties":{"declarations":{"items":{"$ref":"#/components/schemas/Declarations"},"type":"array"}},"type":"object"}],"required":["total_hits"],"type":"object"},"Distributor":{"properties":{"address":{"description":"Address of the distributor.","nullable":true,"type":"string"},"name":{"description":"Name of the distributor.","nullable":true,"type":"string"},"package_disclaimer":{"description":"Consumer package disclaimer.","nullable":true,"type":"string"}},"type":"object"},"Document":{"properties":{"cdn_url":{"type":"string"},"classification":{"type":"string"},"file_name":{"type":"string"},"source_system_id":{"type":"string"},"status":{"type":"string"},"type":{"$ref":"#/components/schemas/ChemicalsStatement"},"valid_from":{"nullable":true,"type":"string"},"valid_to":{"nullable":true,"type":"string"}},"required":["source_system_id","cdn_url","file_name","status","classification","type"],"type":"object"},"GeneralInformation":{"description":"Represents one set of general information.","properties":{"label":{"type":"string"},"values":{"description":"Some information will only ever have one string, while others can have multiple values.","items":{"type":"string"},"type":"array"}},"required":["label","values"],"type":"object"},"GoldenStandard":{"description":"Golden Standard.","properties":{"category":{"nullable":true,"type":"string"},"compliant":{"nullable":true,"type":"boolean"}},"type":"object"},"Image":{"description":"An image and its properties.","properties":{"code":{"description":"Code for the image, useful for pictograms.","nullable":true,"type":"string"},"description":{"description":"Image description, useful for example as alt attribute.","nullable":true,"type":"string"},"original":{"description":"Full size image.","type":"string"},"stack":{"description":"Image URL with a placeholder for a Rokka {stack}.","type":"string"}},"type":"object"},"IngredientsInformation":{"properties":{"allergens_information":{"description":"Information about allergens.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/AllergensInformation"}]},"ingredients_text":{"description":"Ingredients declaration text.","nullable":true,"type":"string"},"substances_information":{"description":"Information about containing substances.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/SubstancesInformation"}]}},"type":"object"},"Nutrient":{"description":"Represents an entry in the nutrition facts.","properties":{"code":{"description":"Code from source system.\n\nUsed for legacy version output and debugging.","type":"string"},"name":{"type":"string"},"operator":{"nullable":true,"type":"string"},"pictogram_name":{"description":"Name of nutrient for display in the pictogram.","nullable":true,"type":"string"},"quantity":{"description":"Quantity information.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/NutrientQuantity"}]},"rating":{"description":"FSA rating information for this nutrient.\n\nThis is only set on the \"standard\" nutrition facts (not \"portion\") and only for selected nutrients, e.g. sugar, salt, fat.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/NutrientRating"}]},"rda":{"description":"Information about Recommended Dietary Allowances (RDA).","nullable":true,"oneOf":[{"$ref":"#/components/schemas/NutrientRda"}]}},"required":["code","name"],"type":"object"},"NutrientQuantity":{"properties":{"alternate":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/ValueWithUnit"}]},"numeric_value":{"example":0.1,"format":"float","type":"number"},"unit":{"example":"g","nullable":true,"type":"string"},"value":{"description":"Alternate quantity information.","example":"0.10 g","type":"string"}},"type":"object"},"NutrientRating":{"description":"Nutrition guidance about a nutrient.","properties":{"hex_color":{"type":"string"},"icon":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/Image"}]},"text":{"type":"string"},"value":{"description":"The hexadecimal color code for this rating that is also used in the icon.","type":"integer"}},"required":["value","text","hex_color"],"type":"object"},"NutrientRda":{"description":"Represents an entry in the nutrition facts.","properties":{"operator":{"description":"Recommended daily allowance operator.","nullable":true,"type":"string"},"percent":{"description":"Recommended daily allowance in percent.","format":"float","type":"number"}},"required":["percent"],"type":"object"},"NutritionFacts":{"properties":{"consumption_hint":{"description":"Information about amount consumed by adults.","nullable":true,"type":"string"},"reference_sizes":{"description":"Information about the nutrients per standard size and for one portion.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/NutritionReferenceSizes"}]},"serving_description":{"description":"Serving description.\n\nExample: \"pro 100 ml\"","nullable":true,"type":"string"}},"type":"object"},"NutritionReferenceSize":{"properties":{"additional_nutrients":{"description":"List of additional nutrients.","items":{"$ref":"#/components/schemas/Nutrient"},"nullable":true,"type":"array"},"base":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/Base"}]},"nutrients":{"description":"List of nutrients.","items":{"$ref":"#/components/schemas/Nutrient"},"nullable":true,"type":"array"},"preparation_description":{"description":"Preparation used for calculating the nutrition facts.","nullable":true,"type":"string"},"preparation_state":{"description":"Preparation state.","nullable":true,"type":"string"}},"type":"object"},"NutritionReferenceSizes":{"properties":{"portion":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/NutritionReferenceSize"}]},"standard":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/NutritionReferenceSize"}]}},"type":"object"},"Origins":{"description":"Collects information about the various source declarations of a product.","properties":{"catch_areas":{"description":"Areas where fish or sea food was caught.","items":{"type":"string"},"nullable":true,"type":"array"},"further_location_details":{"nullable":true,"type":"string"},"producing_country":{"description":"Name of country where the product is produced.\n\nFor products produced in several countries, this is the country where the largest part of the production cost incurred.\n\nDo not confuse this with the supplierCountry which is the country where Migros is importing the product from.","nullable":true,"type":"string"},"supplier_country":{"description":"Name of country of the supplier, that is which country Migros is importing a product from.\n\nDo not confuse this with the \"Herkunftsort\" for meat, which can be a region or even specific city.","nullable":true,"type":"string"},"type_of_rennet":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Package":{"properties":{"number_of_portions":{"description":"Number of portions per package.","nullable":true,"type":"string"},"number_of_portions_operator":{"description":"Operator for the number of portions per package.","nullable":true,"type":"string"},"type":{"description":"Type of package.","nullable":true,"type":"string"}},"type":"object"},"PeriodAfterOpening":{"properties":{"numeric_value":{"type":"integer"},"unit":{"type":"string"}},"required":["numeric_value","unit","value"],"type":"object"},"ProductDetails":{"properties":{"certification":{"description":"Certification body.","nullable":true,"type":"string"},"net_filled_quantity":{"description":"Net filled quantity.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/ValueWithUnit"}]},"package":{"description":"Package information.","nullable":true,"oneOf":[{"$ref":"#/components/schemas/Package"}]},"regulated_description":{"description":"A regulated way to describe the product, used mainly for basic content descriptions.","nullable":true,"type":"string"}},"type":"object"},"SafetySheet":{"properties":{"code":{"example":"9000996_22513145","type":"string"},"description":{"example":"Safety data sheet","type":"string"},"publication_date":{"example":"2015-10-21","format":"date","nullable":true,"type":"string"},"url":{"type":"string"}},"type":"object"},"SafetySheetCollection":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SafetySheet"},"type":"array"}},"required":["items"],"type":"object"},"SubstancesInformation":{"properties":{"origins":{"description":"Ingredient/substance countries of origin.","items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Supplier":{"properties":{"id":{"description":"ID of the supplier.","nullable":true,"type":"string"},"main":{"description":"Whether or not this is the main supplier for the product.","type":"boolean"},"name":{"description":"Name of the supplier.","nullable":true,"type":"string"}},"required":["main"],"type":"object"},"ValueWithUnit":{"properties":{"numeric_value":{"description":"Value as number for calculation or custom display.","format":"float","nullable":true,"type":"number"},"unit":{"description":"Unit of the value.","nullable":true,"type":"string"},"value":{"description":"Value as a string for display.","nullable":true,"type":"string"}},"type":"object"}},"securitySchemes":{"Kong-Api-Key":{"description":"Kong key-auth authentication","in":"header","name":"X-Api-Key","type":"apiKey"},"basicAuth":{"scheme":"basic","type":"http"}}},"info":{"contact":{"email":"arg_mgb-udp-products-services@mgb.ch","name":"MGB-UDP-Products-Services"},"description":"Get Quality Data of products. <a href=\"https://wiki.migros.net/display/MAPI/Declarations+Service\">See Wiki</a>","title":"Quality Data","version":"8"},"openapi":"3.0.0","paths":{"/migros/products/v8/declarations":{"get":{"description":"The result is sorted descending by 'valid_from'.\n\nPlease note that the 'valid_from' value of a declaration might be set to a future date: check its value if you\nare looking for the currently valid declaration.\n\nTo only get one declaration per product id, use the 'product_ids' parameter and 'relevance=mostrelevant-gtin'.\n\nWARNING: When using the 'gtins' parameter in conjunction with 'relevance=mostrelevant-gtin', you get no\ndeclaration for a gtin if that gtin is not the main gtin of the product and there is a declaration for the main\ngtin, as that declaration is considered the most relevant.","operationId":"get-declarations","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"description":"A comma separated list or an array of product ids to filter the declarations.","in":"query","name":"product_ids","schema":{"type":"string"}},{"description":"A comma separated list or an array of gtins to filter the declarations.","in":"query","name":"gtins","schema":{"type":"string"}},{"description":"'mostrelevant-gtin' limits the result to only the most relevant declaration for each product: the one that was published most recently and is for the main gtin of the product, resp just the most recent if there is no declaration for the main gtin. 'any' does not limit the results.","in":"query","name":"relevance","schema":{"default":"any","enum":["any","mostrelevant-gtin"],"type":"string"}},{"description":"The date and time used to only get declarations updated since a certain timestamp. The format is according to ISO 8601 and can include a time zone offset, e.g. 2018-01-01T06:00:00+01:00 (careful about the plus getting properly percent-encoded when passed). Default time zone is Swiss time.","in":"query","name":"updated_since","schema":{"type":"string"}},{"$ref":"#/components/parameters/lang"},{"$ref":"#/components/parameters/Accept-Language"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeclarationsCollection"}}},"description":"Returned when successful"},"400":{"$ref":"#/components/responses/400"}},"summary":"Returns a paged list of declarations and provides filtering functionality.","tags":["Declarations"]}},"/migros/products/v8/declarations/product-ids":{"get":{"description":"The result is an array of ids.","operationId":"get-declarations-product-ids","parameters":[{"description":"The date and time used to only get declarations updated since a certain timestamp. The format is according to ISO 8601 and can include a time zone offset, e.g. 2018-01-01T06:00:00+01:00 (careful about the plus getting properly percent-encoded when passed). Default time zone is Swiss time.","in":"query","name":"updated_since","schema":{"type":"string"}},{"$ref":"#/components/parameters/lang"},{"$ref":"#/components/parameters/Accept-Language"}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}},"description":"Returned when successful"},"400":{"$ref":"#/components/responses/400"}},"summary":"Returns all product ids that have food declarations.","tags":["Declarations"]}},"/migros/products/v8/products/chemicals-declarations":{"get":{"description":"Returns a paged list of chemicals declarations and provides search functionality.","operationId":"get-chemical-declarations","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/lang"},{"$ref":"#/components/parameters/Accept-Language"},{"description":"A comma separated list or an array of product ids to filter the declarations.","in":"query","name":"product_ids","schema":{"type":"string"}},{"description":"The date and time used to only get declarations updated since a certain timestamp. The format is according to ISO 8601 and can include a time zone offset, e.g. 2018-01-01T06:00:00+01:00 (careful about the plus getting properly percent-encoded when passed). Default time zone is Swiss time.","in":"query","name":"updated_since","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChemicalsDeclarationCollection"}}},"description":"Returned when successful"},"400":{"$ref":"#/components/responses/400"}},"summary":"Returns a paged list of chemicals declarations and provides search functionality.","tags":["Chemicals Declarations"]}},"/migros/products/v8/products/{id}/safety-sheet":{"get":{"description":"This endpoint is accessible only with the `PRODUCT_SAFETY_SHEET` role.","operationId":"get-safety-data-sheets-by-product","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/lang"},{"$ref":"#/components/parameters/Accept-Language"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SafetySheetCollection"}}},"description":"Returned when successful"},"400":{"$ref":"#/components/responses/400"}},"summary":"Returns the list of SafetyData Sheets for the given product.","tags":["Safety Sheet"]}}},"security":[{"Kong-Api-Key":[]},{"basicAuth":[]}],"servers":[{"description":"Public Kong Gateway URL","url":"https://api.migros.ch"}],"tags":[{"name":"Chemicals Declarations"},{"name":"Safety Sheet"},{"name":"Declarations"},{"name":"mapi"}],"x-active-from":"01-01-2024","x-company":"migros","x-edm-domain":"products","x-eol":"31-12-2049","x-headmatter":{"readable_by":"*"},"x-kong-route-defaults":{"protocols":["https"],"strip_path":false},"x-kong-service-defaults":{"connect_timeout":5000,"read_timeout":15000,"retries":2,"write_timeout":5000},"x-leanix-id":"350641a5-55a2-4641-8332-76d32846eb56","x-link-get-access":"https://forms.office.com/e/zhzbEqAQ26","x-link-get-support":"https://teams.microsoft.com/l/channel/19%3Aa7851e50d0194268ba0c7a0d7a63403b%40thread.tacv2/2.%20Support%20%F0%9F%92%A1?groupId=58b919a5-7d36-47f3-a77a-03cfd051098a&tenantId=35aa8c5b-ac0a-4b15-9788-ff6dfa22901f"}
```
