You can use common objects to access common Order Discount API objects.
In this sectionAnchor link to section titled "In this section"
Attribute — Represents a generic custom attribute.
BuyerIdentity — Represents information about the buyer that is interacting with the cart.
Cart — A cart represents the merchandise that a buyer intends to purchase, and the cost associated with the cart.
CartCost — The cost that the buyer will pay at checkout.
CartDeliveryGroup — Information about the options available for one or more line items to be delivered to a specific address.
CartDeliveryOption — Information about a delivery option.
CartLine — Represents information about the merchandise in the cart.
CartLineCost — The cost of the merchandise line that the buyer will pay at checkout.
Company — Represents information about a company which is also a customer of the shop.
CompanyContact — A company’s main point of contact.
CompanyLocation — A company’s location.
Condition — The condition to apply the discount.
Country — A country.
CountryCode — The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines. If a territory doesn’t have a country code value in the
CountryCodeenum, then it might be considered a subdivision of another country. For example, the territories associated with Spain are represented by the country code
ES, and the territories associated with the United States of America are represented by the country code
CurrencyCode — The three-letter currency codes that represent the world currencies used in stores. These include standard ISO 4217 codes, legacy codes, and non-standard codes.
CustomProduct — A custom product.
Customer — Represents a customer with the shop.
DeliverableCartLine — Represents information about the merchandise in the cart.
DeliveryMethod — List of different delivery method types.
Discount — The discount to be applied.
DiscountApplicationStrategy — The strategy that’s applied to the list of discounts.
DiscountNode — A discount wrapper node.
FixedAmount — A fixed amount value.
GateConfiguration — Represents a gate configuration.
GateSubject — Represents a connection from a subject to a gate configuration.
HasGates — Gate subjects associated to the specified resource.
HasMetafields — Represents information about the metafields associated to the specified resource.
Language — A language.
LanguageCode — ISO 639-1 language codes supported by Shopify.
Localization — Information about the localized experiences configured for the shop.
MailingAddress — Represents a mailing address.
Market — A market is a group of one or more regions that you want to target for international sales. By creating a market, you can configure a distinct, localized shopping experience for customers from a specific area of the world. For example, you can change currency, configure international pricing, or add market-specific domains or subfolders.
MarketRegion — Represents a region.
MarketRegionCountry — A country which comprises a market.
Merchandise — The merchandise to be purchased at checkout.
Metafield — Metafields enable you to attach additional information to a Shopify resource, such as a Product or a Collection. For more information about the Shopify resources that you can attach metafields to, refer to HasMetafields.
MoneyV2 — A monetary value with currency.
OrderMinimumSubtotal — The condition for checking the minimum subtotal amount of the order.
OrderSubtotalTarget — The subtotal of the target order.
Percentage — A percentage value.
Product — Represents a product.
ProductMinimumQuantity — The condition for checking the minimum quantity of a product.
ProductMinimumSubtotal — The condition for checking the minimum subtotal amount of the product.
ProductVariant — Represents a product variant.
ProductVariantTarget — The target product variant.
PurchasingCompany — Represents information about the buyer that is interacting with the cart.
Target — The target of the discount.
TargetType — The target type of a condition.
Value — The discount value.
WeightUnit — Units of measurement for weight.