Set an accessory custom field value
Set or overwrite a custom field value on an accessory. Idempotent. Returns the updated field (definition + value). For SELECT supply the option id (string); for MULTI_SELECT supply an array of option ids. Option ids can be read from the getAccessoryCustomFields endpoint.
Authorizations
Use your Primo API key in the Authorization header as Bearer <API_KEY>.
Body
Value to set. Must conform to the field type. Pass null to clear an existing value. For SELECT supply the option id (string). For MULTI_SELECT supply an array of option ids. An IMAGE field only accepts null here: its picture is uploaded from the cockpit, any other value is refused with 400.
Response
Current stored value for this field on this accessory, or null when unset. For SELECT / MULTI_SELECT the value is the option id (or array of ids). For CHECKBOX it is a boolean. For DATE it is an ISO date string. For IMAGE it is a signed URL of the picture, valid 12 hours from the read.