{
  "opencollection": "1.0.0",
  "info": {
    "name": "VTex Anti-fraud Provider Account Warehouses API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Warehouses",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "VTex List all warehouses",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{providerApiEndpoint}/api/logistics/pvt/configuration/warehouses",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ]
          },
          "docs": "Lists information about all warehouses set up in your store."
        },
        {
          "info": {
            "name": "VTex Create/update warehouse",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{providerApiEndpoint}/api/logistics/pvt/configuration/warehouses",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              },
              {
                "name": "Content-Type",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates or updates your store's warehouses."
        },
        {
          "info": {
            "name": "VTex List warehouse by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{providerApiEndpoint}/api/logistics/pvt/configuration/warehouses/:warehouseId",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "warehouseId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Lists the information of a given warehouse, searching by warehouse ID."
        },
        {
          "info": {
            "name": "VTex Remove warehouse",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{providerApiEndpoint}/api/logistics/pvt/configuration/warehouses/:warehouseId",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "warehouseId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes given warehouse by warehouse ID."
        },
        {
          "info": {
            "name": "VTex Activate warehouse",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{providerApiEndpoint}/api/logistics/pvt/configuration/warehouses/:warehouseId/activation",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "warehouseId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Activates a given warehouse, by warehouse ID."
        },
        {
          "info": {
            "name": "VTex Deactivate warehouse",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{providerApiEndpoint}/api/logistics/pvt/configuration/warehouses/:warehouseId/deactivation",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "warehouseId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deactivates a given warehouse by warehouse ID."
        }
      ]
    }
  ],
  "bundled": true
}