cURL
curl --request POST \ --url https://api.catalogix.ai/v1/asset \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' [ { "parent_code": "SKU001", "asset_type": "image", "assets": { "Image URL 1": "https://cdn.example.com/img1.jpg" } } ] '
{ "status": { "code": 0, "message": "SUCCESS", "request_id": "8c8b2b7e-23d7-4c2a-91b0-2a7c4dfbb312" }, "data": { "created": 1, "updated": 0, "failed": 0, "error_info": [ {} ] } }
Create or update asset links with rank assignment. Supports batch input.
Pass the API token as a Bearer token in the Authorization header.
Optional trace ID
Store identifier
Channel for all assets in the request
Parent/product code
"SKU001"
Map of image attribute name to URL
Show child attributes
{ "Image URL 1": "https://cdn.example.com/img1.jpg"}
Defaults to image
"image"
Optional; resolved via search API if not provided
Assets created or updated