{
  "info" : {
    "name" : "Mirakl Catalog Manager APIs - Front",
    "schema" : "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variables" : [ ],
  "item" : [ {
    "name" : "Platform Settings",
    "item" : [ {
      "name" : "AF01 - List all custom fields",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/additional_fields",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "additional_fields" ],
          "variable" : null,
          "query" : [ {
            "key" : "entities",
            "value" : "",
            "disabled" : true
          } ]
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "body" : null
      },
      "response" : [ ]
    }, {
      "name" : "CH11 - List all enabled channels",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/channels",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "channels" ],
          "variable" : null,
          "query" : null
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "body" : null
      },
      "response" : [ ]
    }, {
      "name" : "CUR01 - List currency codes and labels",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/currencies",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "currencies" ],
          "variable" : null,
          "query" : null
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "body" : null
      },
      "response" : [ ]
    }, {
      "name" : "DO01 - List all document types",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/documents",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "documents" ],
          "variable" : null,
          "query" : [ {
            "key" : "entities",
            "value" : "",
            "disabled" : true
          } ]
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "body" : null
      },
      "response" : [ ]
    }, {
      "name" : "L01 - List locale codes and labels",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/locales",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "locales" ],
          "variable" : null,
          "query" : null
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "body" : null
      },
      "response" : [ ]
    }, {
      "name" : "PC01 - List platform configurations",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/platform/configuration",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "platform", "configuration" ],
          "variable" : null,
          "query" : null
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "body" : null
      },
      "response" : [ ]
    } ]
  }, {
    "name" : "Products",
    "item" : [ {
      "name" : "CM11 - Export Source Product Data Sheet status",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/mcm/products/sources/status/export",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "mcm", "products", "sources", "status", "export" ],
          "variable" : null,
          "query" : [ {
            "key" : "updated_since",
            "value" : "",
            "disabled" : true
          }, {
            "key" : "updated_to",
            "value" : "",
            "disabled" : true
          }, {
            "key" : "status",
            "value" : "",
            "disabled" : true
          }, {
            "key" : "provider_unique_identifier",
            "value" : "",
            "disabled" : true
          }, {
            "key" : "unique_identifier",
            "value" : "",
            "disabled" : true
          }, {
            "key" : "provider_id",
            "value" : "",
            "disabled" : false
          } ]
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "body" : null
      },
      "response" : [ ]
    }, {
      "name" : "H11 - List Catalog categories (parents and children) related to a Catalog category",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/hierarchies",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "hierarchies" ],
          "variable" : null,
          "query" : [ {
            "key" : "hierarchy",
            "value" : "",
            "disabled" : true
          }, {
            "key" : "max_level",
            "value" : "",
            "disabled" : true
          } ]
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "body" : null
      },
      "response" : [ ]
    }, {
      "name" : "P41 - Import products to the operator information system",
      "request" : {
        "method" : "post",
        "url" : {
          "raw" : "{{URL}}/api/products/imports",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "products", "imports" ],
          "variable" : null,
          "query" : null
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        }, {
          "key" : "Content-Type",
          "value" : "multipart/form-data"
        } ],
        "body" : {
          "formdata" : [ {
            "key" : "conversion_options",
            "type" : "text",
            "contentType" : null,
            "value" : null,
            "description" : "Options used for product file conversion when conversion_type is <code>AI_CONVERTER</code>"
          }, {
            "key" : "conversion_type",
            "type" : "text",
            "contentType" : null,
            "value" : null,
            "description" : "Product file conversion type. If Catalog Transformer is enabled but the conversionType is not specified, then the default configuration from the shop settings will be used"
          }, {
            "key" : "file",
            "type" : "file",
            "contentType" : null,
            "value" : null,
            "description" : null
          }, {
            "key" : "operator_format",
            "type" : "text",
            "contentType" : null,
            "value" : null,
            "description" : "Force the use of the operator product format"
          }, {
            "key" : "shop",
            "type" : "text",
            "contentType" : null,
            "value" : null,
            "description" : "Shop identifier"
          } ],
          "mode" : "formdata"
        }
      },
      "response" : [ ]
    }, {
      "name" : "P42 - Get the import status for a product import",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/products/imports/:import",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "products", "imports", ":import" ],
          "variable" : [ {
            "key" : ":import",
            "value" : "value"
          } ],
          "query" : null
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "body" : null
      },
      "response" : [ ]
    }, {
      "name" : "P44 - Get the error report file for a product import (\"Non-integrated products report\")",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/products/imports/:import/error_report",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "products", "imports", ":import", "error_report" ],
          "variable" : [ {
            "key" : ":import",
            "value" : "value"
          } ],
          "query" : null
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/octet-stream"
        } ],
        "body" : null
      },
      "response" : [ ]
    }, {
      "name" : "P45 - Get the product integration report file for a product import (\"Added products report\")",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/products/imports/:import/new_product_report",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "products", "imports", ":import", "new_product_report" ],
          "variable" : [ {
            "key" : ":import",
            "value" : "value"
          } ],
          "query" : null
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/octet-stream"
        } ],
        "body" : null
      },
      "response" : [ ]
    }, {
      "name" : "P46 - Get the transformed file for a product import (\"File in operator format\")",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/products/imports/:import/transformed_file",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "products", "imports", ":import", "transformed_file" ],
          "variable" : [ {
            "key" : ":import",
            "value" : "value"
          } ],
          "query" : null
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "text/csv"
        } ],
        "body" : null
      },
      "response" : [ ]
    }, {
      "name" : "P47 - Get the transformation error report file for a product import (\"Source file error report\")",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/products/imports/:import/transformation_error_report",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "products", "imports", ":import", "transformation_error_report" ],
          "variable" : [ {
            "key" : ":import",
            "value" : "value"
          } ],
          "query" : null
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/octet-stream"
        } ],
        "body" : null
      },
      "response" : [ ]
    }, {
      "name" : "P51 - Get information about product import statuses",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/products/imports",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "products", "imports" ],
          "variable" : null,
          "query" : [ {
            "key" : "last_request_date",
            "value" : "",
            "disabled" : true
          }, {
            "key" : "status",
            "value" : "",
            "disabled" : true
          }, {
            "key" : "has_transformed_file",
            "value" : "",
            "disabled" : true
          }, {
            "key" : "shop_id",
            "value" : "",
            "disabled" : true
          } ]
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "body" : null
      },
      "response" : [ ]
    }, {
      "name" : "PM11 - Get the product attribute configuration",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/products/attributes",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "products", "attributes" ],
          "variable" : null,
          "query" : [ {
            "key" : "hierarchy",
            "value" : "",
            "disabled" : true
          }, {
            "key" : "max_level",
            "value" : "",
            "disabled" : true
          }, {
            "key" : "channels",
            "value" : "",
            "disabled" : true
          }, {
            "key" : "with_roles",
            "value" : "",
            "disabled" : true
          } ]
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "body" : null
      },
      "response" : [ ]
    }, {
      "name" : "VL11 - Get information about operator's value lists",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/values_lists",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "values_lists" ],
          "variable" : null,
          "query" : [ {
            "key" : "code",
            "value" : "",
            "disabled" : true
          } ]
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "body" : null
      },
      "response" : [ ]
    } ]
  }, {
    "name" : "Stores",
    "item" : [ {
      "name" : "S30 - List shop's documents",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/shops/documents",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "shops", "documents" ],
          "variable" : null,
          "query" : [ {
            "key" : "shop_ids",
            "value" : "",
            "disabled" : true
          }, {
            "key" : "include_deleted",
            "value" : "",
            "disabled" : true
          }, {
            "key" : "updated_since",
            "value" : "",
            "disabled" : true
          } ]
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "body" : null
      },
      "response" : [ ]
    }, {
      "name" : "S31 - Download documents for one or multiple shops",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/shops/documents/download",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "shops", "documents", "download" ],
          "variable" : null,
          "query" : [ {
            "key" : "shop_ids",
            "value" : "",
            "disabled" : true
          }, {
            "key" : "document_ids",
            "value" : "",
            "disabled" : true
          }, {
            "key" : "type_codes",
            "value" : "",
            "disabled" : true
          } ]
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/octet-stream"
        } ],
        "body" : null
      },
      "response" : [ ]
    }, {
      "name" : "S32 - Upload business documents to associate with a shop",
      "request" : {
        "method" : "post",
        "url" : {
          "raw" : "{{URL}}/api/shops/documents",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "shops", "documents" ],
          "variable" : null,
          "query" : null
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        }, {
          "key" : "Content-Type",
          "value" : "multipart/form-data"
        } ],
        "body" : {
          "formdata" : [ {
            "key" : "files",
            "type" : "file",
            "contentType" : null,
            "value" : null,
            "description" : null
          }, {
            "key" : "shop_documents",
            "type" : "text",
            "contentType" : "application/json",
            "value" : "{\n  \"shop_documents\": [\n    {\n      \"file_name\": \"filename1.txt\",\n      \"type_code\": \"PASSPORT\"\n    },\n    {\n      \"file_name\": \"filename2.txt\"\n      \"type_code\": \"ID_DOCUMENT\"\n    }\n  ]\n}\n",
            "description" : "A descriptor associated to the files"
          }, {
            "key" : "shop_id",
            "type" : "text",
            "contentType" : null,
            "value" : null,
            "description" : "the shop identifier to add the documents to"
          } ],
          "mode" : "formdata"
        }
      },
      "response" : [ ]
    }, {
      "name" : "S33 - Delete a shop document",
      "request" : {
        "method" : "delete",
        "url" : {
          "raw" : "{{URL}}/api/shops/documents/:document_id",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "shops", "documents", ":document_id" ],
          "variable" : [ {
            "key" : ":document_id",
            "value" : "value"
          } ],
          "query" : null
        },
        "headers" : [ ],
        "body" : null
      },
      "response" : [ ]
    } ]
  }, {
    "name" : "Users",
    "item" : [ {
      "name" : "RO02 - List shop roles",
      "request" : {
        "method" : "get",
        "url" : {
          "raw" : "{{URL}}/api/users/shops/roles",
          "host" : [ "{{URL}}" ],
          "path" : [ "", "api", "users", "shops", "roles" ],
          "variable" : null,
          "query" : null
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "body" : null
      },
      "response" : [ ]
    } ]
  } ],
  "auth" : {
    "type" : "bearer",
    "bearer" : [ {
      "key" : "token",
      "value" : "{{FRONT_BEARER_TOKEN}}",
      "type" : "string"
    } ],
    "apikey" : null
  }
}