PriceBooks
Create, update, delete, and query information regarding price books. Not available in free and standard ZohoCRM accounts.
Table-Specific Information
Select
This table supports COQL for filtering, meaning that most filters comparing columns to values are submitted server-side.
Insert
INSERT INTO PriceBooks (PriceBookName, Active) VALUES ('pricebook_2018', true)
Required fields: PriceBookName.
Any field which is not read-only (ReadOnly = false in the table below) can be inserted.
Delete
You must specify the Id in the WHERE clause when executing a delete against this table.
DELETE FROM PriceBooks WHERE Id = '3152079000000153079'
Update
You must specify the Id in the WHERE clause when executing an update against this table.
UPDATE PriceBooks SET Description = 'Changed from the API.' WHERE Id = '3152079000000488023'
Required fields: Id.
Any field which is not read-only (ReadOnly = false in the table below) can be updated.
Columns
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | True |
Id |
| PriceBookOwner_Id | String | False |
PriceBookOwner Id |
| PriceBookOwner_FirstName | String | True |
PriceBookOwner FirstName |
| PriceBookOwner_LastName | String | True |
PriceBookOwner LastName |
| PriceBookOwner_Email | String | True |
PriceBookOwner Email |
| PriceBookOwner_Name | String | True |
PriceBookOwner Name |
| CreatedBy_Id | String | False |
CreatedBy Id |
| CreatedBy_FirstName | String | True |
CreatedBy FirstName |
| CreatedBy_LastName | String | True |
CreatedBy LastName |
| CreatedBy_Email | String | True |
CreatedBy Email |
| CreatedBy_Name | String | True |
CreatedBy Name |
| ModifiedBy_Id | String | False |
ModifiedBy Id |
| ModifiedBy_FirstName | String | True |
ModifiedBy FirstName |
| ModifiedBy_LastName | String | True |
ModifiedBy LastName |
| ModifiedBy_Email | String | True |
ModifiedBy Email |
| ModifiedBy_Name | String | True |
ModifiedBy Name |
| CreatedTime | Datetime | False |
CreatedTime |
| ModifiedTime | Datetime | False |
ModifiedTime |
| PriceBookName | String | False |
PriceBookName |
| Active | Bool | False |
Active |
| PricingModel | String | False |
PricingModel |
| Tag | String | False |
Tag |
| PricingDetails | String | False |
PricingDetails |
| Description | String | False |
Description |
| RecordId | Long | True |
RecordId |
| Locked | Bool | True |
Locked |
| LastActivityTime | Datetime | False |
LastActivityTime |
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(s) to be used for checking duplicate records in an upsert. The REST API allows for more than one field in the duplicate check but the BULK API only allows one field. |
| Trigger | String |
To trigger the rule while inserting record into CRM account. |
| CustomViewId | Long |
The custom view Id to be used for filtering this record. Will work when useCOQL=false. |