updateExtendedFields( )


Developer Preview

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

Updates the extended fields of a reservation location without incrementing the revision number.

Authentication

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

Permissions
Manage Reservation Locations
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
function updateExtendedFields(
  _id: string,
  namespace: string,
  options: UpdateExtendedFieldsOptions,
): Promise<UpdateExtendedFieldsResponse>;
Method Parameters
_idstringRequired

ID of the entity to update.


namespacestringRequired

Identifier for the app whose extended fields are being updated.


optionsUpdateExtendedFieldsOptionsRequired
Returns
Return Type:Promise<UpdateExtendedFieldsResponse>
JavaScript
import { reservationLocations } from "@wix/table-reservations"; async function updateExtendedFields(id, namespace, options) { const response = await reservationLocations.updateExtendedFields( id, namespace, options, ); }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?