listDefaultTaxGroupsByAppIds( )


Developer Preview

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

Retrieves default tax groups for specific apps.

Permissions
Manage Stores - all permissions
Manage eCommerce - all permissions
Manage Orders
Learn more about app permissions.
Method Declaration
Copy
function listDefaultTaxGroupsByAppIds(
  appIds: Array<string>,
): Promise<ListDefaultTaxGroupsByAppIdsResponse>;
Method Parameters
appIdsArray<string>Required

App IDs to retrieve default tax groups for.

Returns
Return Type:Promise<ListDefaultTaxGroupsByAppIdsResponse>
JavaScript
import { taxGroups } from "wix-billing.v2"; async function listDefaultTaxGroupsByAppIds(appIds) { try { const result = await taxGroups.listDefaultTaxGroupsByAppIds(appIds); return result; } catch (error) { console.error(error); // Handle the error } }
Errors

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

Did this help?