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

Body

company_id
number
required

The ID of the Proposales company that the content should belong to.

language
string
required

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

title
string
required

The title of the content in the specified language.

description
string

The description of the content in the specified language.

images
array

A list of images to be added to the content. Each image must have already been uploaded to 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;
}[]

Response

data
object