{ "opencollection": "1.0.0", "info": { "name": "m3ter Account Product API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Product", "type": "folder" }, "items": [ { "info": { "name": "Retrieve Product", "type": "http" }, "http": { "method": "GET", "url": "https://api.m3ter.com/organizations/:orgId/products/:id", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service." }, { "name": "id", "value": "", "type": "path", "description": "The unique identifier (UUID) of the Product to retrieve." } ] }, "docs": "Retrieve a Product with the given UUID.\n\nThis endpoint retrieves the details of a specific Product within a specified Organization, using the Product UUID." }, { "info": { "name": "Update Product", "type": "http" }, "http": { "method": "PUT", "url": "https://api.m3ter.com/organizations/:orgId/products/:id", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service." }, { "name": "id", "value": "", "type": "path", "description": "The unique identifer (UUID) of the Product to update." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a Product with the given UUID.\n\nThis endpoint updates the details of a specific Product within a specified Organization, using the Product UUID. The updated details are provided in the request body.\n\n**Note:** If you have created Custom Fields for a Product, when you use this endpoint to update the Product use the `customFields` parameter to preserve those Custom Fields. If you omit them from the update request, they will be lost." }, { "info": { "name": "Delete Product", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.m3ter.com/organizations/:orgId/products/:id", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service." }, { "name": "id", "value": "", "type": "path", "description": "The unique identifer (UUID) of the Product to delete." } ] }, "docs": "Delete a Product with the given UUID.\n\nThis endpoint deletes a specific Product within a specified Organization, using the Product UUID." }, { "info": { "name": "List Products", "type": "http" }, "http": { "method": "GET", "url": "https://api.m3ter.com/organizations/:orgId/products", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service." }, { "name": "pageSize", "value": "", "type": "query", "description": "Specifies the maximum number of Products to retrieve per page." }, { "name": "nextToken", "value": "", "type": "query", "description": "The `nextToken` for multi-page retrievals. It is used to fetch the next page of Products in a paginated list." }, { "name": "ids", "value": "", "type": "query", "description": "List of specific Product UUIDs to retrieve. " } ] }, "docs": "Retrieve a list of Products.\n\nThis endpoint retrieves a list of all the Products within a specified Organization. The list can be paginated, and supports filtering by specific Product IDs.\n" }, { "info": { "name": "Create Product", "type": "http" }, "http": { "method": "POST", "url": "https://api.m3ter.com/organizations/:orgId/products", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new Product.\n\nThis endpoint creates a new Product within the specified Organization. The details of the Product are provided in the request body." } ] } ], "bundled": true }