About Store

This document serves as the usage guide for the Store related METRO public APIs. External companies or developers that have been provided the necessary access can use this guide to understand METRO Store APIs.You will need the JWT token to access this endpoint.

Get List of Stores

GET stores/api/v{version}/store?site={MCC site name}&lang={language name}

This API provides the list of Stores as response based on particular Metro Cash and Carry Website.

The mandatory params for this URL are version(E.g. 1. Currently only version 1 available) and site(MCC site name, e.g. DE-Metro, CZ-Makro). The optional param is language name(the default value is the language of your MCC website).

This call will return a list containing following attributes.

Sample response:

JSON
                {
                  "@odata.context": "string",
                  "value": [
                    {
                      "Id": "string",
                      "AddressSupplement": "string",
                      "BackofficeMail": "string",
                      "City": "string",
                      "ContactEmail2": "string",
                      "ContactEmail": "string",
                      "ContactPhone2": "string",
                      "ContactPhone3": "string",
                      "ContactPhone": "string",
                      "Country": "string",
                      "DisplayOnForms": true,
                      "Fax": "string",
                      "HouseNumber": "string",
                      "ManagerGender": "string",
                      "ManagerImage": "string",
                      "ManagerName": "string",
                      "Street": "string",
                      "Zip": "string",
                      "FirstBannerImage": "string",
                      "FirstBannerLink": "string",
                      "SecondBannerImage": "string",
                      "SecondBannerLink": "string",
                      "CataloguesTitle": "string",
                      "AdditionalInfo": "string",
                      "ExternalId": "string",
                      "Gmap": "string",
                      "HourFormat": "string",
                      "MessageFromStoreManagerText": "string",
                      "MessageFromStoreManagerTitle": "string",
                      "Name": "string",
                      "StoreCity": "string",
                      "StoreID": 0,
                      "StoreRssName": "string",
                      "OpeningHoursVisible": true,
                      "TelephoneNumberVisible": true,
                      "Url": "string"
                    }
                  ]
                }
                
              

Get Store by id

GET stores/api/v{version}/store({store Id})?site={MCC site name}

The mandatory params for this URL are version(E.g. 1. Currently only version 1 available),storeId(e.g. store uuid) and site(MCC site name, e.g. DE-Metro, CZ-Makro). The optional param is language name(the default value is the language of your MCC website).

This API will get the Store details based on store id

Sample response:

JSON
                {
                  "@odata.context": "string",
                  "value": [
                    {
                      "Id": "string",
                      "AddressSupplement": "string",
                      "BackofficeMail": "string",
                      "City": "string",
                      "ContactEmail2": "string",
                      "ContactEmail": "string",
                      "ContactPhone2": "string",
                      "ContactPhone3": "string",
                      "ContactPhone": "string",
                      "Country": "string",
                      "DisplayOnForms": true,
                      "Fax": "string",
                      "HouseNumber": "string",
                      "ManagerGender": "string",
                      "ManagerImage": "string",
                      "ManagerName": "string",
                      "Street": "string",
                      "Zip": "string",
                      "FirstBannerImage": "string",
                      "FirstBannerLink": "string",
                      "SecondBannerImage": "string",
                      "SecondBannerLink": "string",
                      "CataloguesTitle": "string",
                      "AdditionalInfo": "string",
                      "ExternalId": "string",
                      "Gmap": "string",
                      "HourFormat": "string",
                      "MessageFromStoreManagerText": "string",
                      "MessageFromStoreManagerTitle": "string",
                      "Name": "string",
                      "StoreCity": "string",
                      "StoreID": 0,
                      "StoreRssName": "string",
                      "OpeningHoursVisible": true,
                      "TelephoneNumberVisible": true,
                      "Url": "string"
                    }
                  ]
                }