Update Content
Content
Update Content
Update an existing content item in the library. This endpoint can update both active and archived content.
PUT
Update Content
Body
number
The variation ID of the product to update. Either this or product_id must be provided.
number
The product ID to update. Either this or variation_id must be provided.
This is often more convenient when you have the product ID rather than the variation ID.
string
required
A two-letter ISO 3166-1 alpha-2 language code indicating the language of the content to update.
string
The new title of the content in the specified language.
string
The new description of the content in the specified language.
array
A list of images to replace the existing images of the content. You have two options for providing images:Example with Uploadcare UUID:Example with URL:Note:
- Using Uploadcare UUID: Upload images to Uploadcare first and provide the UUID
- Using URL: Provide a publicly accessible image URL with an empty
uuidstring. The system will automatically download and upload the image to Uploadcare.
- This will replace all existing images. To keep existing images, include them in this array.
- Pass an empty array
[]to remove all images. - Images that fail to download from URL will be silently skipped. If all images fail, existing images remain unchanged.
Example Requests
Using product_id:Response
object