{
  "opencollection": "1.0.0",
  "info": {
    "name": "Togai Apis Accounts Customers API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Customers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Customers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.togai.com/customers",
            "params": [
              {
                "name": "nextToken",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of customers with pagination and sort."
        },
        {
          "info": {
            "name": "Create a Customer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.togai.com/customers",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This API let’s you to create customers and corresponding accounts."
        },
        {
          "info": {
            "name": "Get a Customer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.togai.com/customers/:customer_id",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get customer information using customer_id."
        },
        {
          "info": {
            "name": "Update a Customer",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.togai.com/customers/:customer_id",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This API let’s you to update a customer’s information using customer_id."
        },
        {
          "info": {
            "name": "Delete a Customer",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.togai.com/customers/:customer_id",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This API let’s you to delete a customer using customer_id."
        },
        {
          "info": {
            "name": "Create a Contact for the Customer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.togai.com/customers/:customer_id/contacts",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This API let’s you to create a contact for the customer"
        }
      ]
    }
  ],
  "bundled": true
}