Routes
Vendors
Fields

New Vendor Suggested Field

This request adds a new Field to the list of Suggested Fields that can later be attached to Vendors.

ParameterTypeRequiredDescription
locationIDIntRequiredThe location ID of the Location to add the new Field to.
nameStringRequiredThe name of the new Field. Some custom field names such as "Vendor Name" are not allowed and reserved for internal use. This will result in a 409 error.
fieldTypeIDIntRequiredThe type of the new Field. You can choose from Text (1), Date (2), Pictures (3), Documents (4), Number (5), Currency (6), Dropdown (7).
optionsArray of objects with a "name" propertyOptional (only valid when fieldTypeID is 7)Initial list of options for a Dropdown field. Each option must have a "name" string.
post/v2/vendors/fields

Request

Response

New Vendor Suggested Field

fieldIDstring utc-millisec

Changes

No recorded changes to this operation across all 4 revisions of this API.