PriceRuleDiscountCode object
A discount code of a price rule.
Required access
read_price_rules
access scope.
On this page
Fields
-
app (
App
)The application that created the discount code.
-
code (
String!
)The code to use the discount.
-
id (
ID!
)Globally unique identifier.
-
usageCount (
Int!
)The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.
Types that return PriceRuleDiscountCode
Mutations for PriceRuleDiscountCode
-
Create a discount code for a price rule.
-
Update a discount code for a price rule.
Implements
An auto-generated type for paginating through multiple PriceRuleDiscountCodes.
On this page
Fields
-
edges (
[PriceRuleDiscountCodeEdge!]!
)A list of edges.
-
pageInfo (
PageInfo!
)Information to aid in pagination.
Types that return PriceRuleDiscountCode
Mutations for PriceRuleDiscountCode
-
Create a discount code for a price rule.
-
Update a discount code for a price rule.
An auto-generated type which holds one PriceRuleDiscountCode and a cursor during pagination.
On this page
Fields
-
cursor (
String!
)A cursor for use in pagination.
-
node (
PriceRuleDiscountCode!
)The item at the end of PriceRuleDiscountCodeEdge.
Types that return PriceRuleDiscountCode
Mutations for PriceRuleDiscountCode
-
Create a discount code for a price rule.
-
Update a discount code for a price rule.
A discount code of a price rule.
Required access
read_price_rules
access scope.
On this page
Fields
-
app (
App
)The application that created the discount code.
-
code (
String!
)The code to use the discount.
-
id (
ID!
)Globally unique identifier.
-
usageCount (
Int!
)The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.
Types that return PriceRuleDiscountCode
Mutations for PriceRuleDiscountCode
-
Create a discount code for a price rule.
-
Update a discount code for a price rule.
Implements
An auto-generated type for paginating through multiple PriceRuleDiscountCodes.
On this page
Fields
-
edges (
[PriceRuleDiscountCodeEdge!]!
)A list of edges.
-
pageInfo (
PageInfo!
)Information to aid in pagination.
An auto-generated type which holds one PriceRuleDiscountCode and a cursor during pagination.
On this page
Fields
-
cursor (
String!
)A cursor for use in pagination.
-
node (
PriceRuleDiscountCode!
)The item at the end of PriceRuleDiscountCodeEdge.
Types that return PriceRuleDiscountCodeEdge
A discount code of a price rule.
Required access
read_price_rules
access scope.
On this page
Fields
-
app (
App
)The application that created the discount code.
-
code (
String!
)The code to use the discount.
-
id (
ID!
)Globally unique identifier.
-
usageCount (
Int!
)The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.
Types that return PriceRuleDiscountCode
Mutations for PriceRuleDiscountCode
-
Create a discount code for a price rule.
-
Update a discount code for a price rule.
Implements
An auto-generated type for paginating through multiple PriceRuleDiscountCodes.
On this page
Fields
-
edges (
[PriceRuleDiscountCodeEdge!]!
)A list of edges.
-
pageInfo (
PageInfo!
)Information to aid in pagination.
An auto-generated type which holds one PriceRuleDiscountCode and a cursor during pagination.
On this page
Fields
-
cursor (
String!
)A cursor for use in pagination.
-
node (
PriceRuleDiscountCode!
)The item at the end of PriceRuleDiscountCodeEdge.
Types that return PriceRuleDiscountCodeEdge
A discount code of a price rule.
Required access
read_price_rules
access scope.
On this page
Fields
-
app (
App
)The application that created the discount code.
-
code (
String!
)The code to use the discount.
-
id (
ID!
)Globally unique identifier.
-
usageCount (
Int!
)The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.
Types that return PriceRuleDiscountCode
Mutations for PriceRuleDiscountCode
-
Create a discount code for a price rule.
-
Update a discount code for a price rule.
Implements
An auto-generated type for paginating through multiple PriceRuleDiscountCodes.
On this page
Fields
-
edges (
[PriceRuleDiscountCodeEdge!]!
)A list of edges.
-
pageInfo (
PageInfo!
)Information to aid in pagination.
An auto-generated type which holds one PriceRuleDiscountCode and a cursor during pagination.
On this page
Fields
-
cursor (
String!
)A cursor for use in pagination.
-
node (
PriceRuleDiscountCode!
)The item at the end of PriceRuleDiscountCodeEdge.
Types that return PriceRuleDiscountCodeEdge
A discount code of a price rule.
Required access
read_price_rules
access scope.
On this page
Fields
-
app (
App
)The application that created the discount code.
-
code (
String!
)The code to use the discount.
-
id (
ID!
)Globally unique identifier.
-
usageCount (
Int!
)The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.
Types that return PriceRuleDiscountCode
Mutations for PriceRuleDiscountCode
-
Create a discount code for a price rule.
-
Update a discount code for a price rule.
Implements
An auto-generated type for paginating through multiple PriceRuleDiscountCodes.
On this page
Fields
-
edges (
[PriceRuleDiscountCodeEdge!]!
)A list of edges.
-
pageInfo (
PageInfo!
)Information to aid in pagination.
An auto-generated type which holds one PriceRuleDiscountCode and a cursor during pagination.
On this page
Fields
-
cursor (
String!
)A cursor for use in pagination.
-
node (
PriceRuleDiscountCode!
)The item at the end of PriceRuleDiscountCodeEdge.
Types that return PriceRuleDiscountCodeEdge
A discount code of a price rule.
Required access
read_price_rules
access scope.
On this page
Fields
-
app (
App
)The application that created the discount code.
-
code (
String!
)The code to use the discount.
-
id (
ID!
)Globally unique identifier.
-
usageCount (
Int!
)The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.
Types that return PriceRuleDiscountCode
Mutations for PriceRuleDiscountCode
-
Create a discount code for a price rule.
-
Update a discount code for a price rule.
Implements
An auto-generated type for paginating through multiple PriceRuleDiscountCodes.
On this page
Fields
-
edges (
[PriceRuleDiscountCodeEdge!]!
)A list of edges.
-
pageInfo (
PageInfo!
)Information to aid in pagination.
An auto-generated type which holds one PriceRuleDiscountCode and a cursor during pagination.
On this page
Fields
-
cursor (
String!
)A cursor for use in pagination.
-
node (
PriceRuleDiscountCode!
)The item at the end of PriceRuleDiscountCodeEdge.
Types that return PriceRuleDiscountCodeEdge
A discount code of a price rule.
Required access
read_price_rules
access scope.
On this page
Fields
-
app (
App
)The application that created the discount code.
-
code (
String!
)The code to use the discount.
-
id (
ID!
)Globally unique identifier.
-
usageCount (
Int!
)The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.
Types that return PriceRuleDiscountCode
Mutations for PriceRuleDiscountCode
-
Create a discount code for a price rule.
-
Update a discount code for a price rule.
Implements
An auto-generated type for paginating through multiple PriceRuleDiscountCodes.
On this page
Fields
-
edges (
[PriceRuleDiscountCodeEdge!]!
)A list of edges.
-
pageInfo (
PageInfo!
)Information to aid in pagination.
An auto-generated type which holds one PriceRuleDiscountCode and a cursor during pagination.
On this page
Fields
-
cursor (
String!
)A cursor for use in pagination.
-
node (
PriceRuleDiscountCode!
)The item at the end of PriceRuleDiscountCodeEdge.
Types that return PriceRuleDiscountCodeEdge
A discount code of a price rule.
Required access
read_price_rules
access scope.
On this page
Fields
-
app (
App
)The application that created the discount code.
-
code (
String!
)The code to use the discount.
-
id (
ID!
)Globally unique identifier.
-
usageCount (
Int!
)The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.
Types that return PriceRuleDiscountCode
Mutations for PriceRuleDiscountCode
-
Create a discount code for a price rule.
-
Update a discount code for a price rule.
Implements
An auto-generated type for paginating through multiple PriceRuleDiscountCodes.
On this page
Fields
-
edges (
[PriceRuleDiscountCodeEdge!]!
)A list of edges.
-
pageInfo (
PageInfo!
)Information to aid in pagination.
An auto-generated type which holds one PriceRuleDiscountCode and a cursor during pagination.
On this page
Fields
-
cursor (
String!
)A cursor for use in pagination.
-
node (
PriceRuleDiscountCode!
)The item at the end of PriceRuleDiscountCodeEdge.
Types that return PriceRuleDiscountCodeEdge
A discount code of a price rule.
Required access
read_price_rules
access scope.
On this page
Fields
-
app (
App
)The application that created the discount code.
-
code (
String!
)The code to use the discount.
-
id (
ID!
)Globally unique identifier.
-
usageCount (
Int!
)The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.
Types that return PriceRuleDiscountCode
Mutations for PriceRuleDiscountCode
-
Create a discount code for a price rule.
-
Update a discount code for a price rule.
Implements
An auto-generated type for paginating through multiple PriceRuleDiscountCodes.
On this page
Fields
-
edges (
[PriceRuleDiscountCodeEdge!]!
)A list of edges.
-
pageInfo (
PageInfo!
)Information to aid in pagination.
An auto-generated type which holds one PriceRuleDiscountCode and a cursor during pagination.
On this page
Fields
-
cursor (
String!
)A cursor for use in pagination.
-
node (
PriceRuleDiscountCode!
)The item at the end of PriceRuleDiscountCodeEdge.
Types that return PriceRuleDiscountCodeEdge
A discount code of a price rule.
Required access
read_price_rules
access scope.
On this page
Fields
-
app (
App
)The application that created the discount code.
-
code (
String!
)The code to use the discount.
-
id (
ID!
)Globally unique identifier.
-
usageCount (
Int!
)The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.
Types that return PriceRuleDiscountCode
Mutations for PriceRuleDiscountCode
-
Create a discount code for a price rule.
-
Update a discount code for a price rule.
Implements
An auto-generated type for paginating through multiple PriceRuleDiscountCodes.
On this page
Fields
-
edges (
[PriceRuleDiscountCodeEdge!]!
)A list of edges.
-
pageInfo (
PageInfo!
)Information to aid in pagination.
An auto-generated type which holds one PriceRuleDiscountCode and a cursor during pagination.
On this page
Fields
-
cursor (
String!
)A cursor for use in pagination.
-
node (
PriceRuleDiscountCode!
)The item at the end of PriceRuleDiscountCodeEdge.