3.0.0 General Release 2023-04-18
We are adding a new boolean filter; was_canceled to the getShopReceipts endpoint. The behavior is as follows:
if true
, the endpoint will only return the canceled receipts.
if false
, the endpoint will only return non-canceled receipts.
If null
, the endpoint will return all receipts, including those with a canceled status.
For the time being, in order to immediate need of canceled receipts in a non-breaking way, if you do not provide a value, the value will default to false
and the endpoint will only return non-canceled receipts. This mimics the endpoint's current behavior.
We plan to release an update soon that will change the default value of this flag to null
, which will have a breaking change. More on that in the coming weeks.