Skip to main content

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:

data.update({
id: 'sw-example-component__string',
data: 'your-value',
});

Parameters

NameRequiredDescription
optionstrueAn object containing the id and the data to update