GET

List Rules


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 an array of all rules.

You can filter by location or app that the rules are associated with.

Permissions
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/service-fees/v1/rules

Query Params
locationIdstring

Retrieve only rule that apply at the location with this ID. If this field is null, the rules will not be filtered by location.


labelstringdeprecated - use appId instead

DEPRECATED. Defines the app that the rule is connected to.


appIdstring

Defines the app that the rule is connected to.

Response Object
rulesArray <Rule>

Array containing the retrieved rules.

List rules associated with a specific location and specific app
Request
cURL
Response
JSON
Errors

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

Did this help?