{
  "opencollection": "1.0.0",
  "info": {
    "name": "VTex Anti-fraud Provider Account Freight Values API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Freight Values",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "VTex Create/update freight values",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{providerApiEndpoint}/api/logistics/pvt/configuration/freights/:carrierId/values/update",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "carrierId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates or updates the freight values of your store's carriers. Learn more in [Shipping rate template](https://help.vtex.com/en/tutorial/planilha-de-frete--tutorials_127#)."
        },
        {
          "info": {
            "name": "VTex List freight values",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{providerApiEndpoint}/api/logistics/pvt/configuration/freights/:carrierId/:cep/values",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "carrierId",
                "value": "",
                "type": "path",
                "description": "Carrier ID"
              },
              {
                "name": "cep",
                "value": "",
                "type": "path",
                "description": "Postal code."
              }
            ]
          },
          "docs": "Lists freight values apointed to your store's carriers, searching by carrier ID and postal code (`cep`)."
        }
      ]
    }
  ],
  "bundled": true
}