Skip to main content
PUT
Update a custom field

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Numeric ID of the custom field.

Body

application/json
value
string
required

New value of the custom field. For an image field (beta, for shops with the improved custom fields; others get a 403), the keys of the images to keep and the signedIds of new uploads, comma-separated in display order.

Response

Custom field updated successfully

id
integer<int64>
required

Numeric ID of the custom field.

ownerId
integer<int64>
required

ID of the item or rental that owns this custom field.

ownerType
enum<string>
required

Type of the owner resource. Rental is the legacy spelling of Cycle, returned only for rows created before the Rental -> Cycle data backfill.

Available options:
Item,
Cycle,
Rental
definitionId
integer<int64>
required

ID of the custom field definition.

key
string
required

Key of the custom field definition.

value
string
required

Raw stored value of the custom field.

valueJson
any

Typed JSON value of the custom field (format depends on definition type). An image field gives { key, filename, contentType, byteSize, url, thumbnailUrl } per image (an array when the definition is a list); url and thumbnailUrl are signed and expire after an hour, and thumbnailUrl is null until the thumbnail has been generated. Image fields are in beta (see CustomFieldDefinition.type).