{
  "opencollection": "1.0.0",
  "info": {
    "name": "VTex Anti-fraud Provider Account Polygons API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Polygons",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "VTex List paged polygons",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{providerApiEndpoint}/api/logistics/pvt/configuration/geoshape",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "perPage",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Lists stored polygons."
        },
        {
          "info": {
            "name": "VTex Create/update polygon",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{providerApiEndpoint}/api/logistics/pvt/configuration/geoshape",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates or updates your store's polygons by geoshape coordinates and polygon name."
        },
        {
          "info": {
            "name": "VTex List polygon by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{providerApiEndpoint}/api/logistics/pvt/configuration/geoshape/:polygonName",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "polygonName",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Lists your store's polygons by searching through polygon name"
        },
        {
          "info": {
            "name": "VTex Delete polygon",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{providerApiEndpoint}/api/logistics/pvt/configuration/geoshape/:polygonName",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "polygonName",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes polygon set up in your store, by polygon name."
        }
      ]
    }
  ],
  "bundled": true
}