Error
A valid request URL is required to generate request examples{
"surface_id": "<string>",
"context": "product",
"market_id": "<string>",
"available_markets": [
"<string>"
],
"generated_at": "<string>",
"slots": [
{
"position": 123,
"product_id": "<string>",
"handle": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}API Reference
Preview an unsaved draft of a surface
As the GET preview, but composes the unsaved surface in the body (the upsert’s shape) in place of the saved one, keyed to the saved surface’s id and directives. Use it to show the effect of edits before saving. Read-only: nothing is written.
POST
/
recommendations
/
surfaces
/
{surface_name}
/
preview
Error
A valid request URL is required to generate request examples{
"surface_id": "<string>",
"context": "product",
"market_id": "<string>",
"available_markets": [
"<string>"
],
"generated_at": "<string>",
"slots": [
{
"position": 123,
"product_id": "<string>",
"handle": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Query Parameters
Body
application/json
Was this page helpful?

