question

anilchauhan avatar image
anilchauhan asked anilchauhan commented

Receiving Invalid Permission error for "taxRates" expand query param

Hi,


I am calling "Get all line items for an order" (https://sandbox.dev.clover.com/v3/merchants/mId/orders/orderId/line_items) REST API and trying to expand response with "taxRates" expand query parameter. But in response I am receiving "Invalid permissions for expandable fields." error. This API is working for every other expand parameter except "taxRates".


My app already has below permissions in merchant account in sandbox environment:


Read and modify Inventory data

Read and modify Customers data

Read and modify Orders data

Read and modify Payments data

Process credit cards


What could be the possible reason for this error?


Thanks for the help in advance.

REST APITaxes
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

David Marginian avatar image
David Marginian Deactivated answered anilchauhan commented

You need merchant read permissions.

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.

anilchauhan avatar image anilchauhan commented ·

Thanks David. It's working now.

0 Likes 0 ·

Welcome to the
Clover Developer Community