PATCH
/
public
/
v1
/
assets
/
asset
/
{asset-id}

Path Parameters

asset-id
string
required

Asset ID.

Body

application/json
brands
string[]

The brands that the asset is associated with.

collectionIds
string[]

The collections that the asset is associated with.

metadata
object

The metadata associated with the asset.

name
string

The name of the asset.

productIds
string[]

The product ids that the asset is associated with.

Response

200 - application/json
brands
string[]
required

The brands that the asset is associated with.

collections
string[]
required

The collections that the asset is associated with.

id
string
required

The id of the asset.

isExternal
boolean
required

Indicates if the asset is externally hosted.

metadata
object
required

The metadata associated with the asset.

mimetype
string

The mimetype of the asset.

name
string
required

The name of the asset.

productIds
string[]
required

The product ids that the asset is associated with.

status
enum<string>
required

Approval status of the asset

Available options:
pending_upload,
pending_approval,
upload_error,
approved,
rejected
url
string

The url of the asset.