{
  "opencollection": "1.0.0",
  "info": {
    "name": "m3ter Account Counter API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Counter",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Counters",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.m3ter.com/organizations/:orgId/counters",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "UUID of the organization"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Number of Counters to retrieve per page"
              },
              {
                "name": "nextToken",
                "value": "",
                "type": "query",
                "description": "NextToken for multi page retrievals."
              },
              {
                "name": "ids",
                "value": "",
                "type": "query",
                "description": "List of Counter IDs to retrieve."
              },
              {
                "name": "codes",
                "value": "",
                "type": "query",
                "description": "List of Counter codes to retrieve. These are unique short codes to identify each Counter."
              },
              {
                "name": "productId",
                "value": "",
                "type": "query",
                "description": "List of Products UUIDs to retrieve Counters for."
              }
            ]
          },
          "docs": "Retrieve a list of Counter entities that can be filtered by Product, Counter ID, or Codes."
        },
        {
          "info": {
            "name": "Create Counter",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.m3ter.com/organizations/:orgId/counters",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "UUID of the Organization. The Organization represents your company as a direct customer of m3ter."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new Counter."
        },
        {
          "info": {
            "name": "Retrieve Counter",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.m3ter.com/organizations/:orgId/counters/:id",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "UUID of the Organization. The Organization represents your company as a direct customer of m3ter."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The UUID of the Counter to retrieve."
              }
            ]
          },
          "docs": "Retrieve a Counter for the given UUID."
        },
        {
          "info": {
            "name": "Update Counter",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.m3ter.com/organizations/:orgId/counters/:id",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "UUID of the Organization. The Organization represents your company as a direct customer of m3ter."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The UUID of the Counter to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Counter for the given UUID."
        },
        {
          "info": {
            "name": "Delete Counter",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.m3ter.com/organizations/:orgId/counters/:id",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "UUID of the Organization. The Organization represents your company as a direct customer of m3ter."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The UUID of the Counter to delete."
              }
            ]
          },
          "docs": "Delete a Counter for the given UUID."
        }
      ]
    }
  ],
  "bundled": true
}