Skip to main content

setSerializedProduct

Deserializes a product and loads it into the editor.

Params

  • serializedProduct - a string in JSON format that represents a serialized product.

For the complete list of parameters, you can refer to ISetSerializedProductConfig.

Example

{
"type": "design-editor",
"name": "design-editor",
"params": {
"initial": { ... },
"setSerializedProduct": {
"serializedProduct": "<serializedProduct>"
}
}
}
Was this page helpful?