question

torey avatar image
torey asked torey commented

Customer expand for getting list of orders doesn't work

I'm passing the expand=customers parameter but still not getting the customer detail information from the order list api https://docs.clover.com/reference/ordergetorders

REST API
19 comments
10 |2000

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

Richelle Herrli avatar image Richelle Herrli ♦♦ commented ·
What payload do you receive when you add expand=customers as a query parameter?
0 Likes 0 ·
torey avatar image torey Richelle Herrli ♦♦ commented ·

The same exact payload as if the expand=customers wasn't there, which is just the customer id

0 Likes 0 ·
Richelle Herrli avatar image Richelle Herrli ♦♦ torey commented ·
What app permissions do you have enabled? Is Customer Read one of them?
0 Likes 0 ·
Show more comments

1 Answer

·
Richelle Herrli avatar image
Richelle Herrli answered torey commented

The call

  • /v3/merchants/{mId}/orders?expand=customers

was deprecated in January of 2017. You can find more information here: https://docs.clover.com/docs/deprecation-notice-some-expansions-jan-9-2017

Please note that this deprecation covers the GET call for all orders and not the GET call for a specific order.

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.

torey avatar image torey commented ·
Ok thank you!
0 Likes 0 ·

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