Back to Website
Show / Hide Table of Contents

setSerializedProduct

  • Less than a minute to read

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?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback