PATCH

Update Storage Item Counter By


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Atomically increments or decrements a storage item of type COUNTER by the specified value.

Learn more about atomic updates.

Note: To update other types of items, call Update Storage Item Value.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Set Up Automations
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/storage-service/v1/storage-items/{key}/update-counter-by

Errors
400Invalid Argument

There are 2 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?