POST

Query 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 a list of rules, given the provided paging, filtering, and sorting.

For field support for filters and sorting, see Service Fees: Supported Filters and Sorting.

Query Rules runs with these defaults, which you can override:

  • cursorPaging.limit is 50

To learn about working with Query endpoints, see API Query Language, Sorting and Paging, and Field Projection.

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

Body Params
queryQueryRequired

Query options.

Response Object
rulesArray <Rule>

The retrieved rules.


pagingMetadataPagingMetadata

Paging metadata.

Query rules with filter and sort
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?