# Mirakl Catalog Manager APIs {% partial file="/partial-content/product/mcm/rest/front/openapi-description.md" /%} ## Servers URL to be replaced by your Mirakl instance URL ``` https://your-instance.mirakl.net ``` ## Security ### front_api_key Type: apiKey In: header Name: Authorization ## Download OpenAPI description [Mirakl Catalog Manager APIs](https://developer.mirakl.com/_spec/content/product/mcm/rest/front/openapi3.yaml) ## Platform Settings ### AF01 - List all custom fields - [GET /api/additional_fields](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/platform-settings/af01.md): Call FrequencyRecommended usage: Once per dayMaximum usage: Once per dayRead MoreMore contextLocalizationThis resource supports locale parameter (see documentation)Localized output fields will be highlighted with an icon: ### CH11 - List all enabled channels - [GET /api/channels](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/platform-settings/ch11.md): Results are sorted by codeCall FrequencyRecommended usage: Once per dayMaximum usage: Once per dayLocalizationThis resource supports locale parameter (see documentation)Localized output fields will be highlighted with an icon: ### CUR01 - List currency codes and labels - [GET /api/currencies](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/platform-settings/cur01.md): List currency codes and labels activated on the platformCall FrequencyRecommended usage: Once per dayMaximum usage: Once per dayLocalizationThis resource supports locale parameter (see documentation)Localized output fields will be highlighted with an icon: ### DO01 - List all document types - [GET /api/documents](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/platform-settings/do01.md): Call FrequencyRecommended usage: Once per dayMaximum usage: Once per dayRead MoreMore contextLocalizationThis resource supports locale parameter (see documentation)Localized output fields will be highlighted with an icon: ### L01 - List locale codes and labels - [GET /api/locales](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/platform-settings/l01.md): List locale codes and labels from your platform to automate product format exports (API H01, PM01, VL01) from your PIM systemCall FrequencyRecommended usage: Once per dayMaximum usage: Once per day ### PC01 - List platform configurations - [GET /api/platform/configuration](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/platform-settings/pc01.md): List platform configurations such as general information, modules and features activated. Note: This configuration represents modules and major features enabled during platform setup. This differs from the PC02 API which export the platform business settings configurable by the operator in the back office. ## Products ### CM11 - Export Source Product Data Sheet status - [GET /api/mcm/products/sources/status/export](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/products/cm11.md): Delta export of the source product data sheet status in JSON format.Define a cron job in your system that periodically calls this API and sets the previous request date as the updated_since query parameter.Call FrequencyRecommended usage: - Differential: every 15 minutesMaximum usage: - Differential: every 5 minutes - Full: every 4 hoursRead MoreMore contextError troubleshooting ### H11 - List Catalog categories (parents and children) related to a Catalog category - [GET /api/hierarchies](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/products/h11.md): Call FrequencyRecommended usage: Every hourMaximum usage: Every hour ### P41 - Import products to the operator information system - [POST /api/products/imports](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/products/p41.md): Returns the import identifier to track the status of the importCall FrequencyRecommended usage: Every hour, for each sellerMaximum usage: Every 15 minutes, for each sellerRead MoreMore context ### P51 - Get information about product import statuses - [GET /api/products/imports](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/products/p51.md): If the last_request_date param is not set the api returns all product imports.Call FrequencyRecommended usage: Every 5 minutesMaximum usage: Once per minuteRead MoreMore contextPaginationThis resource supports offset pagination (see documentation)Sort fieldssort field can have the following values:dateCreated (Default) - Sort by creation date (asc by default) ### P42 - Get the import status for a product import - [GET /api/products/imports/{import}](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/products/p42.md): Call FrequencyRecommended usage: Once per minute until getting the import final statusMaximum usage: Once per minute ### P44 - Get the error report file for a product import ("Non-integrated products report") - [GET /api/products/imports/{import}/error_report](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/products/p44.md): This API returns either a CSV file (MCM enabled) or a file in a format defined by the operator (MCM disabled).Call FrequencyRecommended usage: Each time an error report is neededMaximum usage: Each time an error report is neededRead MoreMore context ### P45 - Get the product integration report file for a product import ("Added products report") - [GET /api/products/imports/{import}/new_product_report](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/products/p45.md): This API returns either a CSV file (MCM enabled) or a file in a format defined by the operator (MCM disabled).Call FrequencyRecommended usage: Each time an integration report is neededMaximum usage: Each time an integration report is needed ### P46 - Get the transformed file for a product import ("File in operator format") - [GET /api/products/imports/{import}/transformed_file](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/products/p46.md): This API returns a CSV file.Call FrequencyRecommended usage: Each time a transformed file is availableMaximum usage: Each time a transformed file is available ### P47 - Get the transformation error report file for a product import ("Source file error report") - [GET /api/products/imports/{import}/transformation_error_report](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/products/p47.md): This API returns a CSV, XLSX or XML file, depending on the file format provided by the seller.Call FrequencyRecommended usage: Each time an error report is neededMaximum usage: Each time an error report is needed ### PM11 - Get the product attribute configuration - [GET /api/products/attributes](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/products/pm11.md): Retrieves all attributes for parents and children of the requested hierarchyCall FrequencyRecommended usage: Every hourMaximum usage: Every hour ### VL11 - Get information about operator's value lists - [GET /api/values_lists](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/products/vl11.md): Call FrequencyRecommended usage: Every hourMaximum usage: Every hour ## Users ### RO02 - List shop roles - [GET /api/users/shops/roles](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/users/ro02.md): Call FrequencyRecommended usage: On each user role viewMaximum usage: On each user role viewRead MoreMore context ## Stores ### S30 - List shop's documents - [GET /api/shops/documents](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/stores/s30.md): You must specify at least one of the following parameters: shop_ids, updated_sinceCall FrequencyRecommended usage: At each display of a page that includes documents from a store (for example: during the KYC process)Maximum usage: At each display of a page that includes documents from a store (for example: during the KYC process) ### S32 - Upload business documents to associate with a shop - [POST /api/shops/documents](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/stores/s32.md): Document filenames must be distinct and there can be only one file per document type.Only documents of the following types are supported: csv, doc, docx, gif, html, jpeg, latex, mp4, odp, odc, odg, ods, odt, pdf, png, pps, ppsx, ppt, pptx, quicktime, rtf, text, tiff, xls, xlsx, xml, zipYou can upload a maximum of 50 business documents for each shop. These documents are not order related documents.Call FrequencyRecommended usage: At each business document upload to a shopMaximum usage: 50 business documents per callRead MoreMore context ### S31 - Download documents for one or multiple shops - [GET /api/shops/documents/download](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/stores/s31.md): It is mandatory to specify either the shop_ids or the document_ids. If a list of document identifiers is specified only these documents are downloaded. If more than one document id is specified, the documents will be wrapped in a ZIP archive If only one document id is specified the document will not be zipped If a list of shop identifiers is specified, all documents from those shops are downloaded. Use a list of shop document type codes to retrieve specific types from those shops. In this case, the output of the API will always be a ZIP archive even if there is only one document to retrieve. When documents are retrieved, they're wrapped into a ZIP archive except when only one document id is specified. The tree structure of this archive is as follow: documents-timestamp.zip | |__ shop_id_x/ | |__ foo.txt | |__ bar.txt | |__ baz.pdf | |__ shop_id_y/ | |__ image.png | |__ image(1).png Returns a 404 if at least one document id, one shop id or one document type code is invalidCall FrequencyRecommended usage: After each S30 call, when you want to download documents from a storeMaximum usage: After each S30 call, when you want to download documents from a storeRead MoreMore context ### S33 - Delete a shop document - [DELETE /api/shops/documents/{document_id}](https://developer.mirakl.com/content/product/mcm/rest/front/openapi3/stores/s33.md): Call FrequencyRecommended usage: At each document deletion from one storeMaximum usage: At each document deletion from one storeRead MoreMore context