CData Python Connector for Zoho CRM

Build 25.0.9454

PriceBooks

Maintains price book records that apply custom price tiers to products; not available in free or standard editions.

Table-Specific Information

The PriceBooks table is only accessible when connected to a ZohoCRM Enterprise Edition account. If using a different edition, this table may not be available.

Select

This table supports COQL for filtering, meaning that most filters comparing columns to values are submitted server-side.

Insert

The following example demonstrates a basic insert operation:

-- Insert a new price book with a name and set it to active
INSERT INTO PriceBooks (PriceBookName, Active) VALUES ('pricebook_2018', true)

Required fields: PriceBookName is required. This is the name of the price book and must be provided to create a new record.

Any field which is not read-only (ReadOnly = false in the table schema) can be inserted.

Delete

You must specify the Id column in the WHERE clause to delete a record. The following example demonstrates a delete operation:

-- Delete a price book by its unique ID
DELETE FROM PriceBooks WHERE Id = '3152079000000153079'

Update

You must specify the Id column in the WHERE clause to update a record. The following example demonstrates an update operation:

-- Update the description for a specific price book using its ID
UPDATE PriceBooks SET Description = 'Changed from the API.' WHERE Id = '3152079000000488023'

Required fields: Id is required. The update must target a specific record.

Any field which is not read-only (ReadOnly = false in the table schema) can be updated.

Columns

Name Type ReadOnly Description
Id [KEY] String True

Unique identifier for the price book.

PriceBookOwner_Id String False

Unique identifier for the owner of the price book.

PriceBookOwner_FirstName String True

First name of the price book owner.

PriceBookOwner_LastName String True

Last name of the price book owner.

PriceBookOwner_Email String True

Email address of the price book owner.

PriceBookOwner_Name String True

Full name of the price book owner.

CreatedBy_Id String False

Unique identifier for the user who created the price book.

CreatedBy_FirstName String True

First name of the user who created the price book.

CreatedBy_LastName String True

Last name of the user who created the price book.

CreatedBy_Email String True

Email address of the user who created the price book.

CreatedBy_Name String True

Full name of the user who created the price book.

ModifiedBy_Id String False

Unique identifier for the user who last modified the price book.

ModifiedBy_FirstName String True

First name of the user who last modified the price book.

ModifiedBy_LastName String True

Last name of the user who last modified the price book.

ModifiedBy_Email String True

Email address of the user who last modified the price book.

ModifiedBy_Name String True

Full name of the user who last modified the price book.

CreatedTime Datetime False

Date and time when the price book was created.

ModifiedTime Datetime False

Date and time when the price book was last modified.

PriceBookName String False

Name of the price book.

Active Bool False

Indicates whether the price book is active.

PricingModel String False

The pricing model used in the price book.

Tag String False

Tags associated with the price book.

PricingDetails String False

Details of the pricing structure in the price book.

Description String False

Description of the price book.

Locked Bool True

Indicates whether the price book is locked from changes.

LastActivityTime Datetime False

Date and time of the last activity related to this price book.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
DuplicateCheckFields String

The field or fields used to check for duplicate records during an upsert. The REST API supports multiple fields, while the BULK API supports only one.

Trigger String

Used to trigger rules when inserting a record into the CRM account.

CustomViewId Long

The custom view identifier used to filter this record. Works only when the useCOQL parameter is false.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454