Hello, I need to work with the CRM Objects API to update ‘Berth Object’ schema to exclude the ‘Berth Code’ property from the searchableProperties and secondaryDisplayProperties. I am unsure as to how to do this as we do not have a designated hubspot devleoper… any help would be greatly appreciated.
@MTatlow wrote:
Hello, I need to work with the CRM Objects API to update ‘Berth Object’ schema to exclude the ‘Berth Code’ property from the searchableProperties and secondaryDisplayProperties. I am unsure as to how to do this as we do not have a designated hubspot devleoper… any help would be greatly appreciated.
retrieve the current schema by sending a GET request to the appropriate endpoint for your ‘Berth Object’ to view the existing properties and their configurations. Once you have this information, prepare a PATCH request to update the schema. In the request body, exclude ‘Berth Code’ from both searchableProperties and secondaryDisplayProperties, ensuring that only the desired properties remain listed. After making the update, verify the changes by fetching the schema again to confirm that ‘Berth Code’ is no longer included in these fields. Don’t forget to include your HubSpot API key or OAuth token in the request headers for authentication.