PATCH
/
public
/
v1
/
assets
/
asset
/
{asset-id}
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>"
}

Path Parameters

asset-id
string
required

Asset ID.

Body

application/json

Response

200
application/json
Successful Response

The response is of type object.