Requires Apps must have access scope.
A node containing an automatic discount and its related events.
Fields and connections
The automatic discount object.
The paginated list of events associated with the host subject.
A globally-unique ID.
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.A list of custom fields that a merchant associates with a Shopify resource.
Returns an automatic discount resource by ID.
List of automatic discounts.
Mutations
Activates an automatic discount.
Creates a basic automatic discount.
Updates a basic automatic discount.
Creates a BXGY automatic discount.
Updates an existing Buy X, Get Y (BXGY) automatic discount.
Deactivates an automatic discount.
Creates a free shipping automatic discount.
Updates a free shipping automatic discount.