You can use common objects to access common Shipping 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.
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.
DeliveryGroupTarget — The target delivery group.
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.
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.
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.
Percentage — A percentage value.
Product — Represents a product.
ProductVariant — Represents a product variant.
Target — The target of the discount.
Value — The discount value.
WeightUnit — Units of measurement for weight.