curl --request PATCH \
--url https://api.topsort.com/public/v1/assets/asset/{asset-id} \
--header 'Content-Type: application/json' \
--data '{
"brands": [
"<string>"
],
"collectionIds": [
"<string>"
],
"metadata": {},
"name": "<string>",
"productIds": [
"<string>"
]
}'
{
"brands": [
"<string>"
],
"collections": [
"<string>"
],
"id": "<string>",
"isExternal": true,
"metadata": {},
"mimetype": "<string>",
"name": "<string>",
"productIds": [
"<string>"
],
"status": "pending_upload",
"url": "<string>"
}
Updates an asset.
curl --request PATCH \
--url https://api.topsort.com/public/v1/assets/asset/{asset-id} \
--header 'Content-Type: application/json' \
--data '{
"brands": [
"<string>"
],
"collectionIds": [
"<string>"
],
"metadata": {},
"name": "<string>",
"productIds": [
"<string>"
]
}'
{
"brands": [
"<string>"
],
"collections": [
"<string>"
],
"id": "<string>",
"isExternal": true,
"metadata": {},
"mimetype": "<string>",
"name": "<string>",
"productIds": [
"<string>"
],
"status": "pending_upload",
"url": "<string>"
}
Asset ID.
Successful Response
The response is of type object
.