question

bartracknick avatar image
bartracknick asked ·

Output not what expected according to REST documentation

The results from endpoints are not what's been documented.


{ {url}}/v3/merchants/{ {mId}}/orders/

does not produce the result listed on your documentation where line item information is included in this one call.

It seems unnecessary to have to call for each order to get the items. Such as...

{ {url}}/v3/merchants/{ {mId}}/orders/{ {orderId}/line_items


Additionally, Categories missing the item id's associated with them per documentation.


Did I miss something?

REST API
10 |2000 characters needed characters left characters exceeded

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

David Marginian avatar image
David Marginian answered ·

Our APIs do not return all data unless requested via expansions, please take a look here for more information - https://docs.clover.com/docs/expanding-fields. The list of available expansions is generally available in the API reference.



10 |2000 characters needed characters left characters exceeded

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

bartracknick avatar image
bartracknick answered ·

Perfect! That was quick! Thank you!

10 |2000 characters needed characters left characters exceeded

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