Agreed with @tobebuilds
Knowing the discount nodes registered on the merchant’s store is critical for developers to be able to display feedback in our apps that the discount is created.
Just adding a simple appId
or publicKey
query interface would be enough.
The type
filter doesn’t really help because there can be multiple functions of that type registered by other apps on the same merchant’s store that still introduces a pagination requirement possibility.