{
  "opencollection": "1.0.0",
  "info": {
    "name": "Nutshell Products API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Products",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a product",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.nutshell.com/rest/products/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Get a product"
        },
        {
          "info": {
            "name": "Delete a product",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.nutshell.com/rest/products/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Delete a product"
        },
        {
          "info": {
            "name": "Undelete a product",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.nutshell.com/rest/products/:id/undelete",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Undelete a product"
        },
        {
          "info": {
            "name": "List all products",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.nutshell.com/rest/products",
            "params": [
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "Filter for matching name or sku"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "List all products"
        },
        {
          "info": {
            "name": "Get lead product",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.nutshell.com/rest/productmaps/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ProductMap ID"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "A product map is an instance of a product attached to a lead, including quantity and custom pricing information. This endpoint returns a single mapping between a particular product and lead."
        },
        {
          "info": {
            "name": "Update a lead's product information.",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.nutshell.com/rest/productmaps/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ProductMap ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "A product map is an instance of a product attached to a lead, including quantity and custom pricing information which this endpoint allows you to modify."
        },
        {
          "info": {
            "name": "Delete a product on a lead",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.nutshell.com/rest/productMaps/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Delete a product on a lead"
        },
        {
          "info": {
            "name": "Get lead products",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.nutshell.com/rest/productmaps",
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "A product map is an instance of a product attached to a lead, including quantity and custom pricing information. This endpoint returns all mappings between products and leads."
        }
      ]
    }
  ],
  "bundled": true
}