Skip to content

Latest commit

 

History

History
50 lines (24 loc) · 3.04 KB

NewProductField.md

File metadata and controls

50 lines (24 loc) · 3.04 KB

Pipedrive.NewProductField

Properties

Name Type Description Notes
name String The name of the field
options [Object] When `field_type` is either `set` or `enum`, possible options must be supplied as a JSON-encoded sequential array, for example:</br>`[{&quot;label&quot;:&quot;red&quot;}, {&quot;label&quot;:&quot;blue&quot;}, {&quot;label&quot;:&quot;lilac&quot;}]` [optional]
field_type String The type of the field<table><tr><th>Value</th><th>Description</th></tr><tr><td>`varchar`</td><td>Text (up to 255 characters)</td><tr><td>`varchar_auto`</td><td>Autocomplete text (up to 255 characters)</td><tr><td>`text`</td><td>Long text (up to 65k characters)</td><tr><td>`double`</td><td>Numeric value</td><tr><td>`monetary`</td><td>Monetary field (has a numeric value and a currency value)</td><tr><td>`date`</td><td>Date (format YYYY-MM-DD)</td><tr><td>`set`</td><td>Options field with a possibility of having multiple chosen options</td><tr><td>`enum`</td><td>Options field with a single possible chosen option</td><tr><td>`user`</td><td>User field (contains a user ID of another Pipedrive user)</td><tr><td>`org`</td><td>Organization field (contains an organization ID which is stored on the same account)</td><tr><td>`people`</td><td>Person field (contains a product ID which is stored on the same account)</td><tr><td>`phone`</td><td>Phone field (up to 255 numbers and/or characters)</td><tr><td>`time`</td><td>Time field (format HH:MM:SS)</td><tr><td>`timerange`</td><td>Time-range field (has a start time and end time value, both HH:MM:SS)</td><tr><td>`daterange`</td><td>Date-range field (has a start date and end date value, both YYYY-MM-DD)</td><tr><td>`address`</td><td>Address field</dd></table>

Enum: FieldTypeEnum

  • varchar (value: "varchar")

  • varchar_auto (value: "varchar_auto")

  • text (value: "text")

  • double (value: "double")

  • monetary (value: "monetary")

  • date (value: "date")

  • set (value: "set")

  • enum (value: "enum")

  • user (value: "user")

  • org (value: "org")

  • people (value: "people")

  • phone (value: "phone")

  • time (value: "time")

  • timerange (value: "timerange")

  • daterange (value: "daterange")

  • address (value: "address")