{
  "opencollection": "1.0.0",
  "info": {
    "name": "CSG Forte REST Customers API",
    "version": "3.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Customers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List customers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.forte.net/v3/organizations/:organizationId/locations/:locationId/customers",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path"
              },
              {
                "name": "locationId",
                "value": "",
                "type": "path"
              },
              {
                "name": "first_name",
                "value": "",
                "type": "query"
              },
              {
                "name": "last_name",
                "value": "",
                "type": "query"
              },
              {
                "name": "customer_token",
                "value": "",
                "type": "query"
              },
              {
                "name": "page_index",
                "value": "",
                "type": "query"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of customer records for the specified location."
        },
        {
          "info": {
            "name": "Create a customer record",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.forte.net/v3/organizations/:organizationId/locations/:locationId/customers",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path"
              },
              {
                "name": "locationId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new customer record for storing payment method tokens and billing information."
        },
        {
          "info": {
            "name": "Get customer details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.forte.net/v3/organizations/:organizationId/locations/:locationId/customers/:customerId",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path"
              },
              {
                "name": "locationId",
                "value": "",
                "type": "path"
              },
              {
                "name": "customerId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns a specific customer record including stored payment methods."
        },
        {
          "info": {
            "name": "Update a customer record",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.forte.net/v3/organizations/:organizationId/locations/:locationId/customers/:customerId",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path"
              },
              {
                "name": "locationId",
                "value": "",
                "type": "path"
              },
              {
                "name": "customerId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing customer record."
        },
        {
          "info": {
            "name": "Delete a customer record",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.forte.net/v3/organizations/:organizationId/locations/:locationId/customers/:customerId",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path"
              },
              {
                "name": "locationId",
                "value": "",
                "type": "path"
              },
              {
                "name": "customerId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Permanently removes a customer record and all associated payment methods."
        }
      ]
    }
  ],
  "bundled": true
}