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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| locationID | Int | Required | The location ID of the Location to add the new Field to. |
| name | String | Required | The 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. |
| fieldTypeID | Int | Required | The type of the new Field. You can choose from Text (1), Date (2), Pictures (3), Documents (4), Number (5), Currency (6), Dropdown (7). |
| options | Array of objects with a "name" property | Optional (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
- Base URL{{server}}:{{port}}
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
New Vendor Suggested Field
Changes
No recorded changes to this operation across all 4 revisions of this API.