codeDiscountNodes
query
Requires read_discounts access scope.
An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
List of code discounts.
Arguments
Sort the underlying list by the given key.
STARTS_AT: Sort by start timeTIMES_USED: Sort by number of uses
Returns elements following the specified cursor. The
first argument must also be specified when using this argument.Returns elements preceding the specified cursor. The
last argument must also be specified when using this argument.Returns the first n elements in the list.
Returns the last n elements in the list.
Whether to reverse the order of the list.
● true: reverse
● false: do not reverse
Default value: false
Sort the base list by the given keys, with selectable values:
STARTS_AT: Sort by start timeTIMES_USED: Sort by number of uses
Return
A list of edges.
Information to aid in pagination.
A list of the nodes contained in DiscountCodeNodeEdge.
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?