Skip to Content
Docs
API referenceManagement API

Billing catalog rules

GET
/billing/catalog-rules

billing.catalog.v1.CatalogRulesService/GetCatalogRules (34-billing-catalog.md, API Surface).

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Response Body

A CatalogRules object

application/json
  1. response
id?string

ID is its prefixed id.

object?string

Object names the kind: customer, invoice, contract, …

Example Request
curl -X GET 'https://api.us.pontive.com/v1/billing/catalog-rules'
Example Response
{  "id": "string",  "object": "string"}
PATCH
/billing/catalog-rules

billing.catalog.v1.CatalogRulesService/UpdateCatalogRules (34-billing-catalog.md, API Surface).

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Header Parameters

X-Idempotency-Key?string

Idempotency key

If-Match?string

The ETag the document was read with, checked by billing-svc in the update: a stale one is refused 412 precondition_failed (D42)

Response Body

A CatalogRules object

application/json
  1. response
id?string

ID is its prefixed id.

object?string

Object names the kind: customer, invoice, contract, …

Example Request
curl -X PATCH 'https://api.us.pontive.com/v1/billing/catalog-rules'
Example Response
{  "id": "string",  "object": "string"}