Storage Item Object


A storage item is a global data container that you can use across multiple automations to store different types of data in key-value pairs. This include data such as Wix user preferences, counters, and configuration settings.

Properties
idstringRead-onlyformat GUIDimmutable

Storage item ID.


keystringminLength 1maxLength 63immutable

Unique storage item key. The key can only contain letters, numbers, and underscores.

Once you create the item, you can't update its key.


displayNamestringminLength 1maxLength 63

Storage item display name. The display name appears when you add or edit steps to your automation.


descriptionstringmaxLength 200

Storage item description.


typestringimmutable

Data type of the storage item's value. Once created, you can't change the value's type.


createdDatestringRead-onlyformat date-time

When the storage item was created.


updatedDatestringRead-onlyformat date-time

When the storage item was last updated.


tagsTags

Tags assigned to the storage item.

You can use public and private tags for categorization and filtering.


extendedFieldsExtendedFields

Extended fields.


One Of

stringValueStringValue

When the item type is STRING, the string value.


booleanValueBooleanValue

When the item type is BOOLEAN, the boolean value.


numberValueNumberValue

When the item type is NUMBER, the numeric value.


counterValueCounterValue

When the item type is COUNTER, the counter value.

Note: Counters are numeric values used for running totals. They support atomic increment and decrement operations.

Did this help?