POST

Bulk Upsert Attribute Values


Developer Preview

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

Upserts attribute values for an entity.

Each entry in values is upserted by its attributeDefinitionId: a matching value is updated, otherwise a new one is created. Existing attribute values for this entity that aren't in the list are left unchanged. The order of returned values isn't guaranteed; sort client-side if you need a stable order.

To retrieve the resulting values paired with their definitions, call List Entity Attributes.

Authentication

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

Permissions
Manage_Wix_Attributes_Forms_submissions
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/_api/attributes/v1/attribute-values/{entityId}/bulk-upsert

Errors
400Invalid Argument

There are 4 errors with this status code.

404Not Found

There is 1 error with this status code.

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

Did this help?