stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > DiscountCodeNode

AdminTypes.DiscountCodeNode interface

A node containing a code discount and its related events.

Signature:

export interface DiscountCodeNode extends HasEvents, HasMetafieldDefinitions, HasMetafields, Node 

Extends: HasEvents, HasMetafieldDefinitions, HasMetafields, Node

Properties

Property Modifiers Type Description
codeDiscount   DiscountCode The underlying code discount object.
events   EventConnection The paginated list of events associated with the host subject.
id   Scalars[‘ID’][‘output’] A globally-unique ID.
metafield?   Maybe<Metafield> (Optional) Returns a metafield by namespace and key that belongs to the resource.
metafieldDefinitions   MetafieldDefinitionConnection List of metafield definitions.
metafields   MetafieldConnection List of metafields that belong to the resource.
privateMetafield?   Maybe<PrivateMetafield> (Optional) Returns a private metafield by namespace and key that belongs to the resource.
privateMetafields   PrivateMetafieldConnection List of private metafields that belong to the resource.