Assets
Create an asset field
post/assets/v1/fields
Request body
namestring
Name of the field.
value_type'FIELD_VALUE_TYPE_UNSPECIFIED' | 'FIELD_VALUE_TYPE_STRING' | 'FIELD_VALUE_TYPE_MONEY' | 'FIELD_VALUE_TYPE_TIMESTAMP' | 'FIELD_VALUE_TYPE_SELECT'
Describes each type of asset field.
- FIELD_VALUE_TYPE_UNSPECIFIED: Field value type unspecified.
- FIELD_VALUE_TYPE_STRING: This type accepts plain text values.
- FIELD_VALUE_TYPE_MONEY: This type accepts numerical values with currency codes. For example, "99.99" numerical value with "AUD" as the currency code.
- FIELD_VALUE_TYPE_TIMESTAMP: This type accepts timestamp values in the Internet Date-Time format.
- FIELD_VALUE_TYPE_SELECT: This type accepts select values.
Response
A successful response.
idstring
The identifier of the created field.