接口访问需要令牌,具体如何获取令牌请参考:身份认证
推荐商品查询
Arguments
id ● ID!non-null
商品ID
Return
availableForSale ● Boolean
表明是否至少有一个变体可售
brand ● Stringdeprecated
商品品牌
collections ● CollectionConnection
商品所挂载的分类
More
compareAtPriceRange ● ProductPriceRange
原价区间
More
createdAt ● Date
创建时间
descriptionHtml ● String
商品描述
featuredImage ● Image
商品首图
More
handle ● String!non-null
商品handle
id ● ID!non-null
商品ID
images ● [Image]
商品主图
More
onlineStoreUrl ● String
在线商店URL
options ● [ProductOption]
变体选项
More
priceRange ● ProductPriceRange
售价区间
More
status ● ProductStatusdeprecated
商品状态
More
templatePath ● String
模版路径
title ● String!non-null
商品标题
totalInventory ● Int
库存总数
totalVariants ● Int
变体数量
updatedAt ● Date
更新时间
variants ● [ProductVariant]
变体信息
More
vendor ● String
商品厂商
错误码
关于更多通用错误码说明,参考:状态码和错误码
这篇文章对你有帮助吗?