Skip to main content

Resource codes for Billing REST API


Resource codes for Billing REST API

Introduces the resource codes for the Zuora Billing REST API.

The 6-digit resource code indicates the Billing REST API resource, typically a field of a Zuora object, on which the issue occurs. For example, 531003 refers to the termType field of the subscription object. The resource code that corresponds to an object without any field indicates that the issue is related to this object but not one specific field. One resource code might correspond to multiple API operations or resources. For more general information, see Error Handling.

Note that Zuora determines resource codes based on the request payload. Therefore, if GET and DELETE requests that do not contain payloads fail, you will get 500000 as the resource code, which indicates an unknown object and an unknown field. The error category code of these requests is valid and still follows the rules described in the Error Category Code section. In such case, you can refer to the returned error message to troubleshoot.

The following information is a full list of all effective resource codes of Zuora Billing REST API. You can also download this CSV file that includes all Billing resource codes for reference.