question

sashaguesst avatar image
sashaguesst asked bryanvargas answered

Can't find additional items in getorder API

Please take a look at https://docs.clover.com/reference/ordergetorders API response I attached here

total: 1688

taxAmount: 138

tipAmount: 0

Line items price: 1275

There is a missing item for 275. Is there a way where we can find that missing item in API?


OrdersREST 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

bryanvargas avatar image
bryanvargas answered

Hey, so the item you are trying to get is a line modification, you will have to pull the line modifications by expanding on the API call:

{ {baseUrl}}/v3/merchants/{ {merchantId}}/orders?expand=lineItems.modifications

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