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