{
  "opencollection": "1.0.0",
  "info": {
    "name": "ServiceTitan Pricebook API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://auth.servicetitan.io/connect/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Services",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Services",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.servicetitan.io/pricebook/v2/{tenant}/services",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              },
              {
                "name": "modifiedOnOrAfter",
                "value": "",
                "type": "query"
              },
              {
                "name": "active",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List Services"
        },
        {
          "info": {
            "name": "Create Service",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.servicetitan.io/pricebook/v2/{tenant}/services",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Service"
        },
        {
          "info": {
            "name": "Get Service",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.servicetitan.io/pricebook/v2/{tenant}/services/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Service"
        },
        {
          "info": {
            "name": "Update Service",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.servicetitan.io/pricebook/v2/{tenant}/services/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Service"
        },
        {
          "info": {
            "name": "Delete Service",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.servicetitan.io/pricebook/v2/{tenant}/services/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete Service"
        }
      ]
    },
    {
      "info": {
        "name": "Materials",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Materials",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.servicetitan.io/pricebook/v2/{tenant}/materials",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              },
              {
                "name": "modifiedOnOrAfter",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List Materials"
        },
        {
          "info": {
            "name": "Create Material",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.servicetitan.io/pricebook/v2/{tenant}/materials",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Material"
        },
        {
          "info": {
            "name": "Get Material",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.servicetitan.io/pricebook/v2/{tenant}/materials/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Material"
        },
        {
          "info": {
            "name": "Update Material",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.servicetitan.io/pricebook/v2/{tenant}/materials/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Material"
        }
      ]
    },
    {
      "info": {
        "name": "Equipment",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Equipment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.servicetitan.io/pricebook/v2/{tenant}/equipment",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              },
              {
                "name": "modifiedOnOrAfter",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List Equipment"
        },
        {
          "info": {
            "name": "Get Equipment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.servicetitan.io/pricebook/v2/{tenant}/equipment/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Equipment"
        }
      ]
    },
    {
      "info": {
        "name": "Categories",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Pricebook Categories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.servicetitan.io/pricebook/v2/{tenant}/categories"
          },
          "docs": "List Pricebook Categories"
        }
      ]
    },
    {
      "info": {
        "name": "Discounts And Fees",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Discounts And Fees",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.servicetitan.io/pricebook/v2/{tenant}/discounts-and-fees"
          },
          "docs": "List Discounts And Fees"
        }
      ]
    }
  ],
  "bundled": true
}