question

maxyflux avatar image
maxyflux asked David Marginian Deactivated answered

What does "This is used only for reporting" mean in the API docs?

In the API docs I have seen a lot of fields that contain this phrase, for example:

priceWithModifiersAndItemAndOrderDiscoun int64
Price of item after adding all modifications and subtracting all line item and order level discounts. This is used only for reporting.

As far as I can tell from using the API in sandbox to create/lookup orders and payments, in practice this means "this value will be null".

Under what circumstances are these values populated?

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

Don't expect or rely on any fields that say that. I am guessing they are used for internal Clover reporting and not meant for third parties.

10 |2000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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

Welcome to the
Clover Developer Community