Retrieve a product rate plan charge

Retrieves basic information about a product rate plan charge.

Request
path Parameters
product-rate-plan-charge-key
required
string

The unique number or ID of the product rate plan charge to be retrieved.

query Parameters
show-charge-definitions
boolean

Specifies whether to include the product charge definitions of this charge in the response.

Note: This parameter is applicable only if the Attribute-based Pricing feature is enabled. The Attribute-based Pricing feature in the Early Adopter phase. We are actively soliciting feedback from a small set of early adopters. If you are interested, please reach out to your CSM.

header Parameters
Accept-Encoding
string

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-Encoding
string

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.

Authorization
string

The value is in the Bearer {token} format where {token} is a valid OAuth token generated by calling Create an OAuth token.

Zuora-Track-Id
string <= 64 characters

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-Ids
string

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.

Responses
200
get/v1/product-rate-plan-charges/{product-rate-plan-charge-key}
Request samples
Response samples
application/json
{
  • "id": "edca018c566983fa11f6d38381b10000",
  • "name": "Attribute based pricing charge with formula",
  • "type": "Recurring",
  • "model": "FlatFee",
  • "uom": null,
  • "pricingSummary": [
    ],
  • "pricing": [
    ],
  • "defaultQuantity": null,
  • "applyDiscountTo": null,
  • "discountLevel": null,
  • "discountClass": null,
  • "applyToBillingPeriodPartially": false,
  • "productDiscountApplyDetails": [ ],
  • "endDateCondition": "Subscription_End",
  • "upToPeriods": null,
  • "upToPeriodsType": null,
  • "billingDay": "DefaultFromCustomer",
  • "listPriceBase": "Per_Billing_Period",
  • "specificListPriceBase": null,
  • "billingTiming": "IN_ADVANCE",
  • "ratingGroup": null,
  • "billingPeriod": "Month",
  • "billingPeriodAlignment": "AlignToCharge",
  • "specificBillingPeriod": null,
  • "smoothingModel": null,
  • "numberOfPeriods": null,
  • "overageCalculationOption": null,
  • "overageUnusedUnitsCreditOption": null,
  • "unusedIncludedUnitPrice": null,
  • "usageRecordRatingOption": null,
  • "priceChangeOption": null,
  • "priceIncreasePercentage": null,
  • "useTenantDefaultForPriceChange": true,
  • "taxable": false,
  • "taxCode": "",
  • "taxMode": null,
  • "isPrepaid": false,
  • "prepaidOperationType": null,
  • "prepaidUom": null,
  • "prepaidQuantity": null,
  • "prepaidTotalQuantity": null,
  • "validityPeriodType": "SUBSCRIPTION_TERM",
  • "drawdownRate": null,
  • "drawdownUom": null,
  • "creditOption": "TimeBased",
  • "isRollover": false,
  • "rolloverPeriods": 0,
  • "rolloverPeriodLength": 0,
  • "rolloverApply": "ApplyLast",
  • "triggerEvent": "ContractEffective",
  • "description": "",
  • "revRecCode": null,
  • "revRecTriggerCondition": null,
  • "revenueRecognitionRuleName": "Recognize upon invoicing",
  • "useDiscountSpecificAccountingCode": null,
  • "excludeItemBookingFromRevenueAccounting": false,
  • "excludeItemBillingFromRevenueAccounting": false,
  • "financeInformation": {
    },
  • "deliverySchedule": null,
  • "isStackedDiscount": false,
  • "productRatePlanChargeNumber": null,
  • "formula": "lookup(\"soldToRegion__c\" = fieldLookup(\"subscription\", \"soldToRegion__c\"))",
  • "success": true
}