Skip to content

offeringCoupons

Fetch paginated coupon offerings collection

Arguments

after · String · Returns the elements in the list that come after the specified cursor.
before · String · Returns the elements in the list that come before the specified cursor.
first · Int · Returns the first _n_ elements from the list.
last · Int · Returns the last _n_ elements from the list.

Returns

OfferingCouponPaginationConnection

Example

query offeringCoupons(
$from_package_details: Boolean
$keywords: String
$offering_id: ID
$user_id: ID
$sort_by: String
$order_by: OfferingCouponOrderKeys
$after: String
$before: String
$first: Int
$last: Int
) {
offeringCoupons(
from_package_details: $from_package_details
keywords: $keywords
offering_id: $offering_id
user_id: $user_id
sort_by: $sort_by
order_by: $order_by
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}