Update
With data.update
you can update datasets from the Shopware administration. More information on how to find the unique identifiers can be found in this guide.
Usage:
ts
data.update({
id: 'sw-example-component__string',
data: 'your-value',
});
Parameters
Name | Required | Description |
---|---|---|
options | true | An object containing the id and the data to update |