Set device custom field values in batch
Set, overwrite, or clear custom field values across many devices in one call. Provide a list of items, each targeting one (deviceId, customFieldId) pair with the value to write (null clears it). Each pair must be unique within the batch (duplicates are rejected with 400). Up to 100 items per call. Writes are best-effort and independent: the call returns 200 with a results manifest reporting ok / error per item — always inspect results rather than relying on the HTTP status to detect partial failures. For SELECT supply the option id (string); for MULTI_SELECT supply an array of option ids (readable from getDeviceCustomFields).
Authorizations
Use your Primo API key in the Authorization header as Bearer <API_KEY>.
Body
Custom field value writes to apply. Each item targets one (deviceId, customFieldId) pair, which must be unique within the batch. Up to 100 items per call. Writes are best-effort: inspect the per-item results to learn which succeeded — the HTTP status is 200 even when some items fail.
1 - 100 elementsResponse
Number of items written successfully.
-9007199254740991 <= x <= 9007199254740991Number of items that failed.
-9007199254740991 <= x <= 9007199254740991Per-item outcome, in the same order as the input items.