cURL
curl --request POST \ --url https://api.catalogix.ai/v1/assets/unlink \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' [ { "store_uuid": "699ec31355208b213e56059a", "parent_code": "SKU001", "channel": "SMP", "asset_id": "e263183310aa0093381bf48a6d8540aa" } ] '
{ "status": { "code": 0, "message": "SUCCESS", "request_id": "8c8b2b7e-23d7-4c2a-91b0-2a7c4dfbb312" }, "data": { "unlinked": 2, "failed": 0, "error_info": [ {} ] } }
Unlink one or more assets from a given parent_code and channel.
parent_code
channel
Pass the API token as a Bearer token in the Authorization header.
Optional trace ID
"699ec31355208b213e56059a"
"SKU001"
"SMP"
Specific asset to unlink; if omitted, unlinks all assets for the parent_code/channel
Assets unlinked
Show child attributes