question

eix avatar image
eix asked bryanvargas answered

How can I retrieve Customers first and last name from Gets a list of orders API?

API Call to Get Order list only returns Customer with herf and Id. It does not return first name, last name.

https://sandbox.dev.clover.com/v3/merchants/{mId}/orders


1699335097639.png

OrdersCustomers
1699335097639.png (32.3 KiB)
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

·
bryanvargas avatar image
bryanvargas answered

You have to expand on the customer element:


{baseUrl}/v3/merchants/{mId}/orders/{orderId}?expand=customers

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