{
  "opencollection": "1.0.0",
  "info": {
    "name": "m3ter Account CounterPricing API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "CounterPricing",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List CounterPricings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.m3ter.com/organizations/:orgId/counterpricings",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "UUID of the Organization. The Organization represents your company as a direct customer of the m3ter."
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Number of CounterPricings to retrieve per page."
              },
              {
                "name": "nextToken",
                "value": "",
                "type": "query",
                "description": "`nextToken` for multi page retrievals."
              },
              {
                "name": "date",
                "value": "",
                "type": "query",
                "description": "Date on which to retrieve active CounterPricings."
              },
              {
                "name": "planId",
                "value": "",
                "type": "query",
                "description": "UUID of the Plan to retrieve CounterPricings for."
              },
              {
                "name": "planTemplateId",
                "value": "",
                "type": "query",
                "description": "UUID of the Plan Template to retrieve CounterPricings for."
              },
              {
                "name": "ids",
                "value": "",
                "type": "query",
                "description": "List of CounterPricing IDs to retrieve."
              }
            ]
          },
          "docs": "Retrieve a list of CounterPricing entities filtered by date, Plan ID, Plan Template ID, or CounterPricing ID."
        },
        {
          "info": {
            "name": "Create CounterPricing",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.m3ter.com/organizations/:orgId/counterpricings",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new CounterPricing.\n\n**Note:** Either `planId` or `planTemplateId` request parameters are required for this call to be valid. If you omit both, then you will receive a validation error."
        },
        {
          "info": {
            "name": "Retrieve CounterPricing",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.m3ter.com/organizations/:orgId/counterpricings/:id",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The UUID of the CounterPricing to retrieve."
              }
            ]
          },
          "docs": "Retrieve a CounterPricing for the given UUID."
        },
        {
          "info": {
            "name": "Update CounterPricing",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.m3ter.com/organizations/:orgId/counterpricings/:id",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The UUID of the CounterPricing to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update CounterPricing for the given UUID.\n\n**Note:** Either `planId` or `planTemplateId` request parameters are required for this call to be valid. If you omit both, then you will receive a validation error."
        },
        {
          "info": {
            "name": "Delete CounterPricing",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.m3ter.com/organizations/:orgId/counterpricings/:id",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The UUID of the CounterPricing to delete."
              }
            ]
          },
          "docs": "Delete a CounterPricing for the given UUID."
        }
      ]
    }
  ],
  "bundled": true
}