PUT
/
v3
/
content
curl --request PUT \
  --url https://api.proposales.com/v3/content \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "variation_id": 123,
  "language": "<string>",
  "title": "<string>",
  "description": "<string>",
  "images": [
    {}
  ]
}'
{
  "data": {
    "product_id": 123,
    "variation_id": 123,
    "message": "<string>"
  }
}

Body

variation_id
number
required

The variation ID of the product to update.

language
string
required

A two-letter ISO 3166-1 alpha-2 language code indicating the language of the content to update.

title
string

The new title of the content in the specified language.

description
string

The new description of the content in the specified language.

images
array

A list of images to replace the existing images of the content. Each image must have already been uploaded to our image storage provider Uploadcare and at minimum contain the UUID from the upload.

Needs to have this shape:

{
  uuid: string;
  filename?: string;
  mime_type?: string;
  url?: string;
  size?: number;
  height?: number;
  width?: number;
}[]

Note: This will replace all existing images. To keep existing images, include them in this array.

Response

data
object