{
  "opencollection": "1.0.0",
  "info": {
    "name": "Avalara AvaTax DistanceThresholds API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "DistanceThresholds",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Avalara ListDistanceThresholds",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{{baseurl}}/api/v2/companies/:companyId/distancethresholds",
            "headers": [
              {
                "name": "X-Avalara-Client",
                "value": "AvaTax Postman Collection"
              }
            ],
            "params": [
              {
                "name": "companyId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Lists all DistanceThreshold objects that belong to this company.\n            \nA company-distance-threshold model indicates the distance between a company\nand the taxing borders of various countries.  Distance thresholds are necessary\nto correctly calculate some value-added taxes.\n\n### Security Policies\n\n* This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSuppo"
        },
        {
          "info": {
            "name": "Avalara CreateDistanceThreshold",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://{{baseurl}}/api/v2/companies/:companyId/distancethresholds",
            "headers": [
              {
                "name": "Content-Type",
                "value": "application/json"
              },
              {
                "name": "X-Avalara-Client",
                "value": "AvaTax Postman Collection"
              }
            ],
            "params": [
              {
                "name": "companyId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create one or more DistanceThreshold objects for this company.\n            \nA company-distance-threshold model indicates the distance between a company\nand the taxing borders of various countries.  Distance thresholds are necessary\nto correctly calculate some value-added taxes.\n\n### Security Policies\n\n* This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.\n"
        },
        {
          "info": {
            "name": "Avalara GetDistanceThreshold",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{{baseurl}}/api/v2/companies/:companyId/distancethresholds/:id",
            "headers": [
              {
                "name": "X-Avalara-Client",
                "value": "AvaTax Postman Collection"
              }
            ],
            "params": [
              {
                "name": "companyId",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves a single DistanceThreshold object defined by this URL.\n            \nA company-distance-threshold model indicates the distance between a company\nand the taxing borders of various countries.  Distance thresholds are necessary\nto correctly calculate some value-added taxes.\n\n### Security Policies\n\n* This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSuppo"
        },
        {
          "info": {
            "name": "Avalara UpdateDistanceThreshold",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://{{baseurl}}/api/v2/companies/:companyId/distancethresholds/:id",
            "headers": [
              {
                "name": "Content-Type",
                "value": "application/json"
              },
              {
                "name": "X-Avalara-Client",
                "value": "AvaTax Postman Collection"
              }
            ],
            "params": [
              {
                "name": "companyId",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Replace the existing DistanceThreshold object at this URL with an updated object.\n            \nA company-distance-threshold model indicates the distance between a company\nand the taxing borders of various countries.  Distance thresholds are necessary\nto correctly calculate some value-added taxes.\n            \nAll data from the existing object will be replaced with data in the object you PUT.\nTo set a field's value to null, you may either set its value to null or omit that field from the object y"
        },
        {
          "info": {
            "name": "Avalara DeleteDistanceThreshold",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://{{baseurl}}/api/v2/companies/:companyId/distancethresholds/:id",
            "headers": [
              {
                "name": "X-Avalara-Client",
                "value": "AvaTax Postman Collection"
              }
            ],
            "params": [
              {
                "name": "companyId",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Marks the DistanceThreshold object identified by this URL as deleted.\n            \nA company-distance-threshold model indicates the distance between a company\nand the taxing borders of various countries.  Distance thresholds are necessary\nto correctly calculate some value-added taxes.\n\n### Security Policies\n\n* This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.\n"
        },
        {
          "info": {
            "name": "Avalara QueryDistanceThresholds",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{{baseurl}}/api/v2/distancethresholds",
            "headers": [
              {
                "name": "X-Avalara-Client",
                "value": "AvaTax Postman Collection"
              }
            ]
          },
          "docs": "Lists all DistanceThreshold objects that belong to this account.\n            \nA company-distance-threshold model indicates the distance between a company\nand the taxing borders of various countries.  Distance thresholds are necessary\nto correctly calculate some value-added taxes.\n            \nSearch for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) .\nPaginate your resu"
        }
      ]
    }
  ],
  "bundled": true
}