POST

List Default Tax Groups By App Ids


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 eCommerce - all permissions
Manage Stores - all permissions
Manage Orders
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/billing/v1/tax-groups/list-default-tax-groups-by-app-ids

Body Params
appIdsArray <string>RequiredminItems 1maxItems 300minLength 1

App IDs to retrieve default tax groups for.

Response Object
resultsArray <ListDefaultTaxGroupsByAppIdsResult>minItems 1maxItems 300

Retrieved default tax groups.


bulkActionMetadataBulkActionMetadata

Bulk action metadata.

List default tax groups by app ids

Lists all the default tax groups of the apps installed on the site by the ids provided in the input. Current example is for a Wix site with Wix Stores app installed.

Request
cURL
curl --location 'https://www.wixapis.com/billing/v1/tax-groups/list-default-tax-groups-by-app-ids' \ --header 'accept: application/json, text/plain, */*' \ --header 'accept-language: en-US,en;q=0.9' \ --header 'authorization: <AUTH>' \ --header 'content-type: application/json' \ --data '{ "appIds": [ "215238eb-22a5-4c36-9e7b-e7c08025e04e" ] }'
Response
JSON
{ "results": [ { "taxGroupMetadata": { "id": "215238eb-22a5-4c36-9e7b-e7c08025e04e", "originalIndex": 0, "success": true }, "taxGroup": { "id": "215238eb-22a5-4c36-9e7b-e7c08025e04e", "name": "Products" } } ], "bulkActionMetadata": { "totalSuccesses": 1, "totalFailures": 0, "undetailedFailures": 0 } }
Errors

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

Did this help?