Skip to main content
POST
/
channel-api
/
v1.0
/
previews
Generate preview images for a product (sync)
curl --request POST \
  --url https://api.fourthwall.com/channel-api/v1.0/previews \
  --header 'Content-Type: application/json' \
  --data '
{
  "productId": "<string>",
  "regions": [
    {
      "region": "<string>",
      "imageId": "<string>",
      "placementId": "<string>",
      "fillAllPlacements": true
    }
  ],
  "colors": [
    "<string>"
  ],
  "sizes": [
    "<string>"
  ]
}
'
{
  "pipelineId": "<string>",
  "images": [
    {
      "url": "<string>",
      "width": 123,
      "height": 123,
      "style": "<string>",
      "color": "<string>",
      "size": "<string>",
      "region": "<string>"
    }
  ],
  "customizationId": "<string>"
}
This endpoint is in beta and subject to change.

Body

application/json
productId
string
required
regions
Preview Region Input X Request · object[]
required
colors
string[]
sizes
string[]

Response

201 - application/json

Created

pipelineId
string
required
images
Preview Image X Response · object[]
required
customizationId
string