This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Removes a location type from the specified location.
You can only call this method when authenticated as a Wix app or Wix user identity.
function removeTypeFromLocation(
_id: string,
locationType: LocationType,
): Promise<RemoveTypeFromLocationResponse>;
ID of the location where the type will be removed.
Location type to remove.
import { locations } from "@wix/business-tools";
async function removeTypeFromLocation(id, locationType) {
const response = await locations.removeTypeFromLocation(id, locationType);
}
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.