discountCodes
List of discount codes.
Arguments
Argument | Description |
---|---|
redeemable (Boolean) | Only list discount codes that can be redeemed. |
expired (Boolean) | Only list discount codes that are already fully used (expired). |
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. |
Return fields
edges ([DiscountCodeEdge])
A list of edges.
nodes ([DiscountCode])
A list of nodes.
pageInfo (PageInfo!)
Information to aid in pagination.
totalCount (Int)
The total number of items available.
Last updated