---
title: "Origin-Service"
url: "https://developer.migros.ch/apis/origin-service-0/versions/fec4b3be-96fa-4f7a-ba01-b077b6167448"
---

# Origin-Service

OpenAPI specification document.

```json
{"components":{"schemas":{"ProductOrigin":{"additionalProperties":{"items":{"properties":{"origin_information":{"items":{"properties":{"origin_key":{"type":"string"},"origin_name":{"properties":{"de":{"type":"string"},"en":{"type":"string"},"fr":{"type":"string"},"it":{"type":"string"}},"type":"object"},"origin_type":{"type":"string"}},"type":"object"},"type":"array"},"product_id":{"type":"integer"},"region_key":{"type":"string"},"source_system":{"type":"string"},"valid_from":{"description":"Date from when the origin is valid. If valid immediatly, the date will be 1st of January of the year 1.","format":"date-time","type":"string"},"valid_to":{"description":"Date until when the origin is valid. If infitely valid, the date will be the 31th December of the year 9999.","format":"date-time","type":"string"}},"type":"object"},"type":"array"},"title":"Product Origins","type":"object"}},"securitySchemes":{"apiKeyAuth":{"in":"header","name":"X-Api-Key","type":"apiKey"}}},"externalDocs":{"description":"Details, examples and more information can be found here.","url":"https://kong-portal.mcap.gcp-dev.migros.cloud/mgb-developer-portal/origin/intro"},"info":{"contact":{"email":"arg_mgb-udp-business-services@mgb.ch","name":"MGB-UDP-Business-Services"},"description":"The Origin-Service (Herkunftsservice) provides origin data (Herkunftsangaben)\nfor Monoprodukte (currently that is vegetables and fruits only).\n\nThis API returns HTTP status code conforming to RFC 7231. The table below\nprovides additional background information for some selected status codes.\n(Unlisted status codes have no further meaning than explained in RFC 7231).\n\n| Status Code  | Additional information / underlying reason              |\n| ------------ | ------------------------------------------------------- |\n| 502          | Read from Bigtable failed for unspecific reason         |\n| 504          | Timeout or request canceled while reading from Bigtable |\n","title":"Origin-Service","version":"0.6.5"},"openapi":"3.0.1","paths":{"/migros/products/origin/v1/product-origin":{"get":{"description":"Return the origin of products.  The normal use case is to supply the products query parameter (see below) in which case this endpoints returns the origins of the requested products. Without products the first 200 origins are returned.","operationId":"getProductOrigins","parameters":[{"description":"Comma seperated list of product ids to get origins data for. Provide a maximum of 200 product IDs, if you have more, do several requests.","in":"query","name":"products","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductOrigin"}}},"description":"product-origin"}},"security":[{"apiKeyAuth":[]}],"summary":"Get origins of products","tags":["origin-distributor"]}}},"servers":[{"description":"URL of upstream","url":"https://api.migros.ch"}],"tags":[{"name":"origin-distributor"}],"x-company":"migros","x-edm-domain":"products","x-headmatter":{"readable_by":"*"},"x-kong-route-defaults":{"strip_path":false},"x-leanix-id":"1fd57b8c-6cfe-43f1-8f32-4bde47997939","x-link-get-access":"https://forms.office.com/e/zhzbEqAQ26","x-link-get-support":"mailto:9961fcb6.migros.onmicrosoft.com@ch.teams.ms"}
```
