added
v0.0.31
about 1 month ago by Mikolaj Domanski
v0.0.31
New features
- Filter merchants by
Offer
delivery format- The
Offer
type in thegetMerchants
response now includes adeliveryFormat
field, which specifies how the offer is fulfilled. - The
getMerchants
query has been enhanced with a newfilterBy
argument, allowing you to filter results to only include merchants with offers matching a specificdeliveryFormat
.
- The
The new deliveryFormat
field can have one of the following enum values:
enum DeliveryFormatType {
URL
CODES
PIN_AS_CODE
PIN_WITH_URL
}
For example, to fetch only merchants that have gift card offers delivered via URL, send the following in your query variables:
"filterBy": {
"deliveryFormat": URL
}