{
  "opencollection": "1.0.0",
  "info": {
    "name": "Elead Vehicle Sales APIs Activities Customers API",
    "version": "1.2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "client_id",
      "value": "{{client_id}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Customers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a prospect/customer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.fortellis.io/sales/v1/elead/customers",
            "headers": [
              {
                "name": "Request-Id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a prospect/customer and returns the uniquely assigned Elead customer Id."
        },
        {
          "info": {
            "name": "Search customers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fortellis.io/sales/v1/elead/customers/search",
            "headers": [
              {
                "name": "Request-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "firstName",
                "value": "",
                "type": "query"
              },
              {
                "name": "lastName",
                "value": "",
                "type": "query"
              },
              {
                "name": "phoneNumber",
                "value": "",
                "type": "query"
              },
              {
                "name": "emailAddress",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search prospects/customers by first name, last name, phone number, or email address."
        },
        {
          "info": {
            "name": "Get customer by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fortellis.io/sales/v1/elead/customers/:customerId",
            "headers": [
              {
                "name": "Request-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get customer by Id"
        },
        {
          "info": {
            "name": "Update a customer",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.fortellis.io/sales/v1/elead/customers/:customerId",
            "headers": [
              {
                "name": "Request-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a customer"
        },
        {
          "info": {
            "name": "Get customer owned vehicles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fortellis.io/sales/v1/elead/customers/:customerId/vehicles",
            "headers": [
              {
                "name": "Request-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get customer owned vehicles"
        }
      ]
    }
  ],
  "bundled": true
}