Create a landing page display
Changed onCreates a new display for an existing landing page. The request body below documents the HTML Mode page display payload. Saving the first checkout form initializes an unbound page's store_id from form_display.store_id immediately, before publication. The store must belong to the same business. An existing page store association is retained and cannot be changed or cleared by later display saves.
Request
- Base URLhttps://api.scalev.com
- URLhttps://api.scalev.com/v3/pages/{page_id}/page-displays
- Auth
- HTTP bearer
- or API key in header authorization
- or OAuth 2Authorization code: https://api.scalev.com/v3/oauth/authorizeToken URL: https://api.scalev.com/v3/oauth/token scopes: page:update
Request body
Response
Landing page display
Example response
{
"html_document": "<!doctype html><html lang=\"id\"><head><title>My page</title><style>main { color: #111827; }</style></head><body><main>Hello</main><script>console.log(Scalev.data.get());</script></body></html>"
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added
subschema #1subschema #2to the request bodyanyOflist - info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the new optional request property
///// - info
added the optional property
/////to the response with the status
- info