Authorizations
A valid API key generated in Topsort's UI.
Query Parameters
Vendor ID.
Body
The name of the asset.
64The product ids that the asset is associated with.
10The brands that the asset is associated with.
10The collections that the asset is associated with.
10The mimetype of the asset.
image/jpeg, image/png, image/gif, image/webp, text/html, video/mp4, video/quicktime, application/json The metadata associated with the asset. Max key length is 32 characters and max value length is 64 characters.
URL of an externally hosted asset. If this value is provided, then the asset will not be hosted by Topsort.
1 - 2083Response
Successful Response
The id of the asset.
The name of the asset.
Approval status of the asset
pending_upload, pending_approval, upload_error, approved, rejected The product ids that the asset is associated with.
The brands that the asset is associated with.
The metadata associated with the asset.
Indicates if the asset is externally hosted.
The mimetype of the asset.
The url of the asset.
1 - 2083The fields to send with the pre-signed url. Can be empty if this is an external asset.
The upload url the asset needs to be uploaded to.
1