商品信息。
Fields
featuredImage ● Image
商品的封面图。
More
options ● [ProductOption]
商品规格列表。
More
onlineStoreUrl ● String
商品在线商店的访问链接。若该商品尚未发布至在线商店销售渠道,则返回 null。
descriptionHtml ● String
商品的描述。
handle ● String!non-null
商品的语义化的唯一标识,默认基于 title 生成。
title ● String!non-null
商品的标题。
brand ● Stringdeprecated
商品的品牌或厂商。
status ● ProductStatusdeprecated
商品的状态。
More
templatePath ● String
商品的主题模板。
totalInventory ● Int
库存总数。
totalVariants ● Int
商品款式数量。
variants ● [ProductVariant]deprecated
商品款式列表。
More
images ● [Image]deprecated
商品图片列表。
More
createdAt ● Date
商品的创建日期和时间。格式:ISO 8601。
updatedAt ● Date
商品最近一次更新的日期和时间。格式:ISO 8601。
collections ● CollectionConnection
商品关联的分类列表。
More
priceRange ● ProductPriceRange
商品所有款式的售价区间。
More
compareAtPriceRange ● ProductPriceRange
商品所有款式的原价区间。
More
vendor ● String
商品的品牌或厂商。
availableForSale ● Boolean
表明是否至少有一个商品款式可售。
  • true: 有商品款式可售。
  • false: 无商品款式可售。
variantsV2 ● ProductVariantConnection
商品款式列表。
More
imagesV2 ● ImageConnection
与商品相关的图片列表。
More
media ● MediaConnection
商品的媒体列表。
More
isGiftCard ● Boolean
是否为礼品卡商品。
  • true: 该商品是礼品卡商品
  • false: 该商品不是礼品卡商品
productType ● String
商家自定义的商品类型。
publishedAt ● Date
商品发布到在线商店的日期和时间。格式:ISO 8601。
metafield ● Metafield
商品款式关联的元字段。
More
metafields ● [Metafield]
商品款式关联的一组元字段。
More
tags ● StringConnection
商品的标签。
More
subtitle ● String
商品的摘要。
taxonomyCollection ● TaxonomyCollection
分类树节点信息。
More
selectedOrFirstAvailableVariant ● ProductVariant
商品当前选中的款式。若无选中项,则返回首个可售的款式。若所有款式均不可售,则返回第一个款式。
More
standardCategory ● TaxonomyCategory
商品对应的 SHOPLINE 标准商品类型信息。
More
requiresSellingPlan ● Boolean
是否仅允许通过销售计划购买。
  • true:仅允许通过销售计划购买。
  • false:允许不通过销售计划购买。
sellingPlanGroups ● SellingPlanGroupConnection
商品关联的销售计划组列表。
More
combinedListing ● CombinedListing
组合商品(Combined Listing)关联信息对象。包含组合商品中父商品与子商品的关联标识信息。仅当该商品属于组合商品时返回有效数据,否则返回空对象。
More
这篇文章对你有帮助吗?