Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.
The DiscountAutomaticNode object enables you to manage automatic discounts that are applied when an order meets specific criteria. You can create amount off, free shipping, or buy X get Y automatic discounts. For example, you can offer customers a free shipping discount that applies when conditions are met. Or you can offer customers a buy X get Y discount that's automatically applied when customers spend a specified amount of money, or a specified quantity of products.
Learn more about working with Shopify's discount model,
including related queries, mutations, limitations, and considerations.
automaticDiscount•
DiscountAutomatic!
non-null
A discount that's applied automatically when an order meets specific criteria. Learn more about automatic discounts.
events•
EventConnection!
non-null
The paginated list of events associated with the host subject.
id•
ID!
non-null
A globally-unique ID.
metafield•
Metafield
A custom field,
including its namespace and key, that's associated with a Shopify resource
for the purposes of adding and storing additional information.
metafields•
MetafieldConnection!
non-null
A list of custom fields
that a merchant associates with a Shopify resource.
metafieldDefinitions•
MetafieldDefinitionConnection!
non-null
List of metafield definitions.
privateMetafield•
PrivateMetafield
Returns a private metafield by namespace and key that belongs to the resource.
privateMetafields•
PrivateMetafieldConnection!
non-null
List of private metafields that belong to the resource.