Update Link
FreshPUTPUT https://api.creatify.ai/api/links/{id}/Update an existing link's metadata. Use this to modify the extracted or manually provided product information.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The link ID to update |
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
title | string | No | Updated product title |
description | string | No | Updated product description |
images | array | No | Updated array of image URLs |
price | string | No | Updated price |
brand | string | No | Updated brand name |
Headers
| Header | Type | Required | Description |
|---|---|---|---|
X-API-ID | string | Yes | Your Creatify API ID |
X-API-KEY | string | Yes | Your Creatify API key |
Content-Type | string | Yes | application/json |
Example Request
bash
curl -X PUT 'https://api.creatify.ai/api/links/link-001/' \
-H 'X-API-ID: your-api-id' \
-H 'X-API-KEY: your-api-key' \
-H 'Content-Type: application/json' \
-d '{
"title": "Updated Product Name",
"description": "New and improved product description",
"price": "$39.99"
}'Response
json
{
"id": "link-001",
"url": "https://example.com/product",
"title": "Updated Product Name",
"description": "New and improved product description",
"images": ["https://example.com/img1.jpg"],
"price": "$39.99",
"brand": "Example Brand",
"updated_at": "2024-01-15T11:00:00Z"
}Status Codes
| Code | Description |
|---|---|
200 | Link updated successfully |
400 | Bad request -- invalid parameters |
401 | Unauthorized -- invalid API credentials |
404 | Link not found |
500 | Internal server error |
TIP
Updating a link does not affect videos already generated from it. Only new video generation tasks will use the updated data.