question

logita avatar image
logita asked Bryanne Vega answered

HOW TO GET ALL FIELDS OF A ORDER WHETHER IT IS NULL OR NOT. EVERY FIELD SHOULD RETURN

I am trying to fetch orders with all fields. Through field query parameter "return_null_fields=true" i am able to get null fields but it is not expanding the other fields.For Eg: &expand=lineItems,customers,payments,credits. On output it is giving a url and id. Not the full expanded data of customer and lineitems.
Orders
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

Bryanne Vega avatar image
Bryanne Vega answered
Hello,

Can you provide a little more details on what you've tried so far?
How are your permissions set-up?

Have you've followed the API Docs?

An example URL request is as follows:

https://api.clover.com:443/v3/merchants/123/orders...
10 |2000

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