question

Alexey avatar image
Alexey asked Alexey commented

How to sort menu items/categories?

Request looks like this: apiURL + merchants/ + cloverMerchantId + /items?expand=modifierGroups,categories,taxRates&access_token= .. How can I find the right position for each category/item in response? Is there any field that should help me to sort them?

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jonathan Ryan Grice avatar image
Jonathan Ryan Grice answered Alexey commented

Add the following to your query, orderBy=[sortOrder]

More information on sorting can be found at the following Clover link link text

--------------Edited What you are looking for is categories sort order. It's listed on the link that I posted before.

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Alexey avatar image Alexey commented ·

Thanks! But I still can't find a way to order it like it ordered in POS.

0 Likes 0 ·

Welcome to the
Clover Developer Community