Create Asset
Creates an asset.
Query Parameters
Vendor ID.
Body
The name of the asset.
64
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.
1 - 2083
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 product ids that the asset is associated with.
Response
The brands that the asset is associated with.
The id of the asset.
Indicates if the asset is externally hosted.
The metadata associated with 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 fields to send with the pre-signed url. Can be empty if this is an external asset.
The mimetype of the asset.
The upload url the asset needs to be uploaded to.
1
The url of the asset.
1