Happy Business Starts Here

Highlighted
Tutor

Custom properties

I am trying to create an account using the resource /v1/accounts but I am getting and error

{
  "success"false,
  "processId""799975CF22560587",
  "reasons": [
    {
      "code"51000022,
      "message""Missing required valueSmiley SadSubscription's Commissionable)"
    }
  ]
}
I am told that this error is because of a custom property 'Commision__c'. Being new to Zuora and new to this environment I am not sure how I see where this custom property is defined and how to see what a valid value would be (type, value, etc.). Ideas?
 
2 REPLIES 2
Zuora Staff

Re: Custom properties

Hi @kevburt ! Welcome to the Zuora family. We have some exciting projects in the hopper for developers right now so it's an exciting time to join!

 

Anytime you see a "__c" that means it's a custom field. You can check out all the custom fields defined in your Zuora tenant via these instructions: https://knowledgecenter.zuora.com/BB_Introducing_Z_Business/Manage_Custom_Fields

 

We also have a nifty new Settings API that you might want to check out too. It's still "in development" but we've pushed what we have so far to most Zuora tenants so early adopters can check it out if they want to. I don't think Custom Field settings are exposed in that quite yet, but I believe there are plans to add that in the future. @kurtlu, the product manager, can confirm or deny.

Highlighted
Zuora Staff

Re: Custom properties

Hi @kevburt ,

 

The easiest way I have found to get the list of custom fields available (other than looking in the UI) is to use the describe call.

https://www.zuora.com/developer/api-reference/#operation/GET_Describe

 

You can also access this via your browser:

https://apisandbox.zuora.com/apps/api/describe/account?format=html

 

This will give you a list of all fields (built in or custom) and other information for them.

 

I hope this helps!

 

Thank you,

Adam

Adam Godfrey
Zuora Global Services | Zuora Certified Consultant
Tags (2)