Common objects
You can use common objects to access common Fulfillment Constraints API objects.
In this section
Anchor link to section titled "In this section"Attribute — Represents a generic custom attribute, such as whether an order is a customer’s first.
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.
CollectionMembership — Represents whether the product is a member of the given collection.
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.
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
CountryCode
enum, then it might be considered a subdivision of another country. For example, the territories associated with Spain are represented by the country codeES
, and the territories associated with the United States of America are represented by the country codeUS
.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.
FulfillmentConstraintRule — A customization which applies constraint rules to order routing and fulfillments.
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.
HasTagResponse — Represents whether the current object has the given tag.
Language — A language.
LanguageCode — Language codes supported by Shopify.
LocalPickup — Local pickup settings associated with a location.
LocalTime — Represents limited information about the current time relative to the parent object.
Localization — Information about the localized experiences configured for the shop.
Location — Represents the location where the inventory resides.
LocationAddress — Represents the address of a location.
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.
MustFulfillFrom — Force a set of items to be fulfilled from a specified location. If the cart item isn’t stocked at the specified location, then checkout won’t return any shipping rates and completing checkout will be blocked.
MustFulfillFromSameLocation — Force a set of items to be fulfilled from the same location. If the cart items with constraints aren’t stocked at the same location, then checkout won’t return any shipping rates and completing checkout will be blocked.
Operation — An operation to apply fulfillment constraints.
Product — Represents a product.
ProductVariant — Represents a product variant.
PurchasingCompany — Represents information about the buyer that is interacting with the cart.
SellingPlan — Represents how products and variants can be sold and purchased.
SellingPlanAllocation — Represents an association between a variant and a selling plan. Selling plan allocations describe the options offered for each variant, and the price of the variant when purchased with a selling plan.
SellingPlanAllocationPriceAdjustment — The resulting prices for variants when they’re purchased with a specific selling plan.
Shop — Information about the shop.
WeightUnit — Units of measurement for weight.