Lee Tickett avatar image
Lee Tickett asked ·

When/how do we get priceWithModifiersAndItemAndOrderDiscounts from the API?

Looking at the Clover API Documentation it shows the LineItem model looking something like;
  "orderLevelDiscountAmount": "long",
  "note": "",
  "userData": "",
  "priceWithModifiersAndItemAndOrderDiscounts": "long",
  "itemCode": "",
  "payments": "--Expandable Field--",
But I have never seen the field priceWithModifiersAndItemAndOrderDiscounts in the API response when doing something like for example.Is there a way to force the API to return this field? Or does it only appear in certain situations?

1 comment
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.

I have just added &return_null_fields=true which returns the field as null, so I guess the answer is that it's only set in certain situations. But what situations?

-1 Like -1 · ·

0 Answers

Welcome to the
Clover Developer Community