SKU
custom metadata field, like "VS882HJ2JD"
, "2JD93NMS2G"
etc. 5682342234
), boolean (e.g. true
) etc. will be rejected with an error.price
field, like 1000
, 1299
, 2459.59
, 3000
etc."one thousand three"
), boolean (e.g. true
), or numbers below range (e.g. 900
) and above range (e.g. 3001
) etc. will be rejected with an error.selectOptions
in size
field, i.e. S
, L
, XXL
etc. It is a required field with the default value M
that will be applied on all files if none is provided.
Invalid values i.e. values that aren't present in selectOptions
like XXS
, XXXL
etc will be rejected with an error.decription
custom metadata field key, e.g. 675
), boolean (e.g. true
), or text input below or above the length requirement (e.g. string with less than 100 characters) will be rejected with an error. H&M
, Nike
etc. in brand
field. 8738
), boolean (e.g. true
) etc. will be rejected with an error.discount
field e.g. 0
, 10
, 22.5
, 60
etc. If no value is supplied, it will set discount
to 20
by default. "fifty percent"
), boolean (e.g. true
), or numbers below range (e.g. -40
) and above range (e.g. 70
) etc. will be rejected with an error.
After creating these custom metadata fields using the API, you can add values for these respective keys in your files using update file API or during file upload. Text
, Textarea
, Number
, Date
, Boolean
, SingleSelect
, MultiSelect
Text
string
values, meant to be used for short strings.Nike
, Red cashmere sweater
Textarea
string
values, meant to be used for longer strings, like descriptions.Number
100
, -10
, 0.09
, 7000
Date
2010-11-05T05:06:07
Boolean
boolean
values.true
, false
SingleSelect
array
of string
, number
or boolean
values["S", "M", 30, 40, false]
MultiSelect
array
of string
, number
or boolean
values["L", "XL", 60, 90, true]