Create Asset
Creates an asset.
Query Parameters
Vendor ID.
Body
The brands that the asset is associated with.
The collections that the asset is associated with.
URL of an externally hosted asset. If this value is provided, then the asset will not be hosted by Topsort.
The metadata associated with the asset.
The mimetype of the asset.
image/jpeg
, image/png
, image/gif
, image/webp
, text/html
, video/mp4
, video/quicktime
, application/json
The name of the asset.
The product ids that the asset is associated with.
Response
The brands that the asset is associated with.
The fields to send with the pre-signed url. Can be empty if this is an external asset.
The id of the asset.
Indicates if the asset is externally hosted.
The metadata associated with the asset.
The mimetype of the asset.
The name of the asset.
The product ids that the asset is associated with.
Approval status of the asset
pending_upload
, pending_approval
, upload_error
, approved
, rejected
The upload url the asset needs to be uploaded to.
The url of the asset.