应用开发
主题开发
主题商城
Online Store 3.0 主题
APIs & References
Admin Rest API
Webhook
Admin GraphQL API
Storefront API
Ajax API
Handlebars
Sline
简体中文
English
简体中文
合作伙伴后台
菜单
应用开发
主题开发
主题商城
Online Store 3.0 主题
APIs & References
Admin Rest API
Webhook
Admin GraphQL API
Storefront API
Ajax API
Handlebars
Sline
APIs & References > Storefront API
简体中文
English
简体中文
合作伙伴后台
product
Recommendations
query
复制MD
v20260901
Stable
v20270301
Unstable
v20261201
Release Candidate
v20260901
Stable
v20260601
Stable
v20260301
Stable
v20251201
Stable
v20250601
Stable
v20250301
Stable
接口访问需要令牌,具体如何获取令牌请参考:
身份认证
推荐商品查询
Arguments
id
●
ID!
non-null
商品ID
Return
availableForSale
●
Boolean
表明是否至少有一个变体可售
brand
●
String
deprecated
商品品牌
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
●
ProductStatus
deprecated
商品状态
More
templatePath
●
String
模版路径
title
●
String!
non-null
商品标题
totalInventory
●
Int
库存总数
totalVariants
●
Int
变体数量
updatedAt
●
Date
更新时间
variants
●
[ProductVariant]
变体信息
More
vendor
●
String
商品厂商
错误码
关于更多通用错误码说明,参考:
状态码和错误码
。
这篇文章对你有帮助吗?
有帮助
无帮助