Product Charge Definitions

List product charge definitions

Retrieves basic information about the product charge definitions.

Note: This operation requires the Attribute-based Pricing feature to be enabled, which is in the Early Adopter phase.

get/v1/product-charge-definitions

Query parameters

chargestring

The unique number or ID of the charge for which the product charge definitions are to be retrieved.

rateplanstring

The unique number or ID of the product rate plan for which the product charge definitions are to be retrieved.

hide-inherited-valuesboolean

The flag that controls whether the response will merge the default charge definition fields for those fields that are not overridden.

Headers

Accept-Encodingstring

Include the Accept-Encoding: gzip header to compress responses as a gzipped file. It can significantly reduce the bandwidth required for a response.

If specified, Zuora automatically compresses responses that contain over 1000 bytes of data, and the response contains a Content-Encoding header with the compression algorithm so that your client can decompress it.

Content-Encodingstring

Include the Content-Encoding: gzip header to compress a request. With this header specified, you should upload a gzipped file for the request payload instead of sending the JSON payload.

Zuora-Track-Idstring

A custom identifier for tracing the API call. If you set a value for this header, Zuora returns the same value in the response headers. This header enables you to associate your system process identifiers with Zuora API calls, to assist with troubleshooting in the event of an issue.

The value of this field must use the US-ASCII character set and must not include any of the following characters: colon (:), semicolon (;), double quote ("), and quote (').

Zuora-Entity-Idsstring

An entity ID. If you have Zuora Multi-entity enabled and the OAuth token is valid for more than one entity, you must use this header to specify which entity to perform the operation in. If the OAuth token is only valid for a single entity, or you do not have Zuora Multi-entity enabled, you should not set this header.

Zuora-Versionstring

The minor API version.

For a list of available minor versions, see API upgrades.

Response

OK

successboolean

Indicates whether the request succeeded.

Changes