Assets

Batch update accessory assets

Update multiple accessory assets with a single field value change

patch/api/v2/assets/accessories/batch

Request

Request body

assetIdsstring[] required

Array of accessory asset IDs to update

fieldsobject

Asset field values organized by field label to update

Example request

{
  "assetIds": [
    "6936c139154c470001b5f53d",
    "507f1f77bcf86cd799439011"
  ],
  "fields": {
    "Model": "Apple Pen"
  }
}

Response

Batch update completed

updatedAssetCountinteger required

Number of assets successfully updated

notUpdatedAssetCountinteger required

Number of assets that could not be updated

Example response

{
  "updatedAssetCount": 5
}

Changes

No recorded changes to this operation across all 1 revision of this API.