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.
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.
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.
Location — Represents the location where the inventory resides.
LocationAddress — Represents the address of a location.
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.
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.
WeightUnit — Units of measurement for weight.