Documentation
¶
Overview ¶
Package tbitem 包含淘宝商品API,相关方法
Index ¶
- func AlibabaItemEditFastupdate(ctx context.Context, clt *core.SDKClient, ...) error
- func AlibabaItemEditSchemaGet(ctx context.Context, clt *core.SDKClient, ...) error
- func AlibabaItemEditSubmit(ctx context.Context, clt *core.SDKClient, ...) error
- func AlibabaItemOperateDelete(ctx context.Context, clt *core.SDKClient, ...) error
- func AlibabaItemOperateDownshelf(ctx context.Context, clt *core.SDKClient, ...) error
- func AlibabaItemOperateUpshelf(ctx context.Context, clt *core.SDKClient, ...) error
- func AlibabaItemPublishMarketGet(ctx context.Context, clt *core.SDKClient, ...) error
- func AlibabaItemPublishPropsGet(ctx context.Context, clt *core.SDKClient, ...) error
- func AlibabaItemPublishSchemaGet(ctx context.Context, clt *core.SDKClient, ...) error
- func AlibabaItemPublishSubmit(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemAnchorGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemBarcodeUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemDelete(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemImgDelete(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemImgUpload(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemJointImg(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemJointPropimg(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemPromotionRuleGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemPropimgDelete(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemPropimgUpload(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemQuantityUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemSellerGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemSkuAdd(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemSkuDelete(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemSkuGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemSkuPriceUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemSkuUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemSkusGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemTemplatesGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemUpdateDelisting(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemUpdateDelistingTmall(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemUpdateListing(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemUpdateListingTmall(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemsCustomGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemsInventoryGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemsOnsaleGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoItemsSellerListGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoSkusCustomGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoSkusQuantityUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemAddSimpleschemaGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemCalculateHscodeGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemCombineGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemDescModulesGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemHscodeAuditResultsQuery(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemHscodeDetailGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemIncrementUpdateSchemaGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemOuteridUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemPriceUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemQuantityUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemSchemaAdd(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemSchemaIncrementUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemSchemaUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemShiptimeUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemSimpleschemaAdd(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemSimpleschemaUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallItemUpdateSchemaGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallProductAddSchemaGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallProductMatchSchemaGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallProductSchemaAdd(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallProductSchemaGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallProductSchemaMatch(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallProductSchemaUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func TmallProductUpdateSchemaGet(ctx context.Context, clt *core.SDKClient, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlibabaItemEditFastupdate ¶
func AlibabaItemEditFastupdate(ctx context.Context, clt *core.SDKClient, req *tbitem.AlibabaItemEditFastupdateAPIRequest, resp *tbitem.AlibabaItemEditFastupdateAPIResponse, session string) error
AlibabaItemEditFastupdate 商品编辑增量更新 alibaba.item.edit.fastupdate
商品编辑增量更新; <br/>该接口编辑sku,只能更新价格、库存等信息,不能新增sku; <br/>新增sku用全量接口alibaba.item.edit.submit,先设置销售属性;
func AlibabaItemEditSchemaGet ¶
func AlibabaItemEditSchemaGet(ctx context.Context, clt *core.SDKClient, req *tbitem.AlibabaItemEditSchemaGetAPIRequest, resp *tbitem.AlibabaItemEditSchemaGetAPIResponse, session string) error
AlibabaItemEditSchemaGet 商品编辑获取schema信息 alibaba.item.edit.schema.get
商品编辑时,获取商品规则信息
func AlibabaItemEditSubmit ¶
func AlibabaItemEditSubmit(ctx context.Context, clt *core.SDKClient, req *tbitem.AlibabaItemEditSubmitAPIRequest, resp *tbitem.AlibabaItemEditSubmitAPIResponse, session string) error
AlibabaItemEditSubmit 商品编辑提交schema信息 alibaba.item.edit.submit
商品编辑提交schema信息
func AlibabaItemOperateDelete ¶
func AlibabaItemOperateDelete(ctx context.Context, clt *core.SDKClient, req *tbitem.AlibabaItemOperateDeleteAPIRequest, resp *tbitem.AlibabaItemOperateDeleteAPIResponse, session string) error
AlibabaItemOperateDelete 商品删除 alibaba.item.operate.delete
商品删除
func AlibabaItemOperateDownshelf ¶
func AlibabaItemOperateDownshelf(ctx context.Context, clt *core.SDKClient, req *tbitem.AlibabaItemOperateDownshelfAPIRequest, resp *tbitem.AlibabaItemOperateDownshelfAPIResponse, session string) error
AlibabaItemOperateDownshelf 商品下架 alibaba.item.operate.downshelf
商品下架
func AlibabaItemOperateUpshelf ¶
func AlibabaItemOperateUpshelf(ctx context.Context, clt *core.SDKClient, req *tbitem.AlibabaItemOperateUpshelfAPIRequest, resp *tbitem.AlibabaItemOperateUpshelfAPIResponse, session string) error
AlibabaItemOperateUpshelf 商品上架 alibaba.item.operate.upshelf
商品上架
func AlibabaItemPublishMarketGet ¶
func AlibabaItemPublishMarketGet(ctx context.Context, clt *core.SDKClient, req *tbitem.AlibabaItemPublishMarketGetAPIRequest, resp *tbitem.AlibabaItemPublishMarketGetAPIResponse, session string) error
AlibabaItemPublishMarketGet 获取商家可发布商品的市场信息 alibaba.item.publish.market.get
获取商家可发布商品的市场信息
func AlibabaItemPublishPropsGet ¶
func AlibabaItemPublishPropsGet(ctx context.Context, clt *core.SDKClient, req *tbitem.AlibabaItemPublishPropsGetAPIRequest, resp *tbitem.AlibabaItemPublishPropsGetAPIResponse, session string) error
AlibabaItemPublishPropsGet 商品级联属性信息获取 alibaba.item.publish.props.get
新商品发布,商品级联属性信息获取
func AlibabaItemPublishSchemaGet ¶
func AlibabaItemPublishSchemaGet(ctx context.Context, clt *core.SDKClient, req *tbitem.AlibabaItemPublishSchemaGetAPIRequest, resp *tbitem.AlibabaItemPublishSchemaGetAPIResponse, session string) error
AlibabaItemPublishSchemaGet 获取商品发布规则信息 alibaba.item.publish.schema.get
新商品发布,获取商品发布规则信息
func AlibabaItemPublishSubmit ¶
func AlibabaItemPublishSubmit(ctx context.Context, clt *core.SDKClient, req *tbitem.AlibabaItemPublishSubmitAPIRequest, resp *tbitem.AlibabaItemPublishSubmitAPIResponse, session string) error
AlibabaItemPublishSubmit 商品发布 alibaba.item.publish.submit
新商品发布,提交商品发布信息
func TaobaoItemAnchorGet ¶
func TaobaoItemAnchorGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemAnchorGetAPIRequest, resp *tbitem.TaobaoItemAnchorGetAPIResponse, session string) error
TaobaoItemAnchorGet 获取可用宝贝描述规范化模块 taobao.item.anchor.get
根据类目id和宝贝描述规范化打标类型获取该类目可用的宝贝描述模块中的锚点
func TaobaoItemBarcodeUpdate ¶
func TaobaoItemBarcodeUpdate(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemBarcodeUpdateAPIRequest, resp *tbitem.TaobaoItemBarcodeUpdateAPIResponse, session string) error
TaobaoItemBarcodeUpdate 更新商品条形码信息 taobao.item.barcode.update
通过该接口,将商品以及SKU上得条形码信息补全
func TaobaoItemDelete ¶
func TaobaoItemDelete(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemDeleteAPIRequest, resp *tbitem.TaobaoItemDeleteAPIResponse, session string) error
TaobaoItemDelete 删除单条商品 taobao.item.delete
删除单条商品
func TaobaoItemImgDelete ¶
func TaobaoItemImgDelete(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemImgDeleteAPIRequest, resp *tbitem.TaobaoItemImgDeleteAPIResponse, session string) error
TaobaoItemImgDelete 删除商品图片 taobao.item.img.delete
删除商品图片
func TaobaoItemImgUpload ¶
func TaobaoItemImgUpload(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemImgUploadAPIRequest, resp *tbitem.TaobaoItemImgUploadAPIResponse, session string) error
TaobaoItemImgUpload 添加商品图片 taobao.item.img.upload
添加一张商品图片到num_iid指定的商品中 传入的num_iid所对应的商品必须属于当前会话的用户 如果更新图片需要设置itemimg_id,且该itemimg_id的图片记录需要属于传入的num_iid对应的商品。如果新增图片则不用设置 。 使用taobao.item.seller.get中返回的item_imgs字段获取图片id。 商品图片有数量和大小上的限制,根据卖家享有的服务(如:卖家订购了多图服务等),商品图片数量限制不同。
func TaobaoItemJointImg ¶
func TaobaoItemJointImg(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemJointImgAPIRequest, resp *tbitem.TaobaoItemJointImgAPIResponse, session string) error
TaobaoItemJointImg 商品关联子图 taobao.item.joint.img
* 关联一张商品图片到num_iid指定的商品中<br/> * 传入的num_iid所对应的商品必须属于当前会话的用户<br/> * 商品图片关联在卖家身份和图片来源上的限制,卖家要是B卖家或订购了多图服务才能关联图片,并且图片要来自于卖家自己的图片空间才行<br/> * 商品图片数量有限制。不管是上传的图片还是关联的图片,他们的总数不能超过一定限额
func TaobaoItemJointPropimg ¶
func TaobaoItemJointPropimg(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemJointPropimgAPIRequest, resp *tbitem.TaobaoItemJointPropimgAPIResponse, session string) error
TaobaoItemJointPropimg 商品关联属性图 taobao.item.joint.propimg
* 关联一张商品属性图片到num_iid指定的商品中<br/> * 传入的num_iid所对应的商品必须属于当前会话的用户<br/> * 图片的属性必须要是颜色的属性,这个在前台显示的时候需要和sku进行关联的<br/> * 商品图片关联在卖家身份和图片来源上的限制,卖家要是B卖家或订购了多图服务才能关联图片,并且图片要来自于卖家自己的图片空间才行<br/> * 商品图片数量有限制。不管是上传的图片还是关联的图片,他们的总数不能超过一定限额,最多不能超过24张(每个颜色属性都有一张)
func TaobaoItemPromotionRuleGet ¶
func TaobaoItemPromotionRuleGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemPromotionRuleGetAPIRequest, resp *tbitem.TaobaoItemPromotionRuleGetAPIResponse, session string) error
TaobaoItemPromotionRuleGet 获取商品已生效营销活动更新规则 taobao.item.promotion.rule.get
获取商品已生效的更新规则信息,主要包含库存禁止修改,商品一口价禁止修改,库存减少锁定等规则生效信息
func TaobaoItemPropimgDelete ¶
func TaobaoItemPropimgDelete(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemPropimgDeleteAPIRequest, resp *tbitem.TaobaoItemPropimgDeleteAPIResponse, session string) error
TaobaoItemPropimgDelete 删除属性图片 taobao.item.propimg.delete
删除propimg_id 所指定的商品属性图片 <br/>传入的num_iid所对应的商品必须属于当前会话的用户 <br/>propimg_id对应的属性图片需要属于num_iid对应的商品
func TaobaoItemPropimgUpload ¶
func TaobaoItemPropimgUpload(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemPropimgUploadAPIRequest, resp *tbitem.TaobaoItemPropimgUploadAPIResponse, session string) error
TaobaoItemPropimgUpload 添加或修改属性图片 taobao.item.propimg.upload
添加一张商品属性图片到num_iid指定的商品中 <br/>传入的num_iid所对应的商品必须属于当前会话的用户 <br/>图片的属性必须要是颜色的属性,这个在前台显示的时候需要和sku进行关联的 <br/>商品属性图片只有享有服务的卖家(如:淘宝大卖家、订购了淘宝多图服务的卖家)才能上传 <br/>商品属性图片有数量和大小上的限制,最多不能超过24张(每个颜色属性都有一张)。
func TaobaoItemQuantityUpdate ¶
func TaobaoItemQuantityUpdate(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemQuantityUpdateAPIRequest, resp *tbitem.TaobaoItemQuantityUpdateAPIResponse, session string) error
TaobaoItemQuantityUpdate 宝贝/SKU库存修改 taobao.item.quantity.update
提供按照全量或增量形式修改宝贝/SKU库存的功能
func TaobaoItemSellerGet ¶
func TaobaoItemSellerGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemSellerGetAPIRequest, resp *tbitem.TaobaoItemSellerGetAPIResponse, session string) error
TaobaoItemSellerGet 获取单个商品详细信息 taobao.item.seller.get
获取单个商品的全部信息 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
func TaobaoItemSkuAdd ¶
func TaobaoItemSkuAdd(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemSkuAddAPIRequest, resp *tbitem.TaobaoItemSkuAddAPIResponse, session string) error
TaobaoItemSkuAdd 添加SKU taobao.item.sku.add
新增一个sku到num_iid指定的商品中 <br/>传入的iid所对应的商品必须属于当前会话的用户
func TaobaoItemSkuDelete ¶
func TaobaoItemSkuDelete(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemSkuDeleteAPIRequest, resp *tbitem.TaobaoItemSkuDeleteAPIResponse, session string) error
TaobaoItemSkuDelete 删除SKU taobao.item.sku.delete
删除一个sku的数据<br/>需要删除的sku通过属性properties进行匹配查找
func TaobaoItemSkuGet ¶
func TaobaoItemSkuGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemSkuGetAPIRequest, resp *tbitem.TaobaoItemSkuGetAPIResponse, session string) error
TaobaoItemSkuGet 获取SKU taobao.item.sku.get
获取sku_id所对应的sku数据 sku_id对应的sku要属于传入的nick对应的卖家 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
func TaobaoItemSkuPriceUpdate ¶
func TaobaoItemSkuPriceUpdate(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemSkuPriceUpdateAPIRequest, resp *tbitem.TaobaoItemSkuPriceUpdateAPIResponse, session string) error
TaobaoItemSkuPriceUpdate 更新商品SKU的价格 taobao.item.sku.price.update
更新商品SKU的价格
func TaobaoItemSkuUpdate ¶
func TaobaoItemSkuUpdate(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemSkuUpdateAPIRequest, resp *tbitem.TaobaoItemSkuUpdateAPIResponse, session string) error
TaobaoItemSkuUpdate 更新SKU信息 taobao.item.sku.update
*更新一个sku的数据 <br/>*需要更新的sku通过属性properties进行匹配查找 <br/>*商品的数量和价格必须大于等于0 <br/>*sku记录会更新到指定的num_iid对应的商品中 <br/>*num_iid对应的商品必须属于当前的会话用户
func TaobaoItemSkusGet ¶
func TaobaoItemSkusGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemSkusGetAPIRequest, resp *tbitem.TaobaoItemSkusGetAPIResponse, session string) error
TaobaoItemSkusGet 根据商品ID列表获取SKU信息 taobao.item.skus.get
* 获取多个商品下的所有sku <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
func TaobaoItemTemplatesGet ¶
func TaobaoItemTemplatesGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemTemplatesGetAPIRequest, resp *tbitem.TaobaoItemTemplatesGetAPIResponse, session string) error
TaobaoItemTemplatesGet 获取用户宝贝详情页模板名称 taobao.item.templates.get
查询当前登录用户的店铺的宝贝详情页的模板名称
func TaobaoItemUpdateDelisting ¶
func TaobaoItemUpdateDelisting(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemUpdateDelistingAPIRequest, resp *tbitem.TaobaoItemUpdateDelistingAPIResponse, session string) error
TaobaoItemUpdateDelisting 商品下架 taobao.item.update.delisting
* 单个商品下架<br/> * 输入的num_iid必须属于当前会话用户
func TaobaoItemUpdateDelistingTmall ¶
func TaobaoItemUpdateDelistingTmall(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemUpdateDelistingTmallAPIRequest, resp *tbitem.TaobaoItemUpdateDelistingTmallAPIResponse, session string) error
TaobaoItemUpdateDelistingTmall taobao.item.update.delisting.tmall taobao.item.update.delisting.tmall
* 单个商品下架<br/> * 输入的num_iid必须属于当前会话用户
func TaobaoItemUpdateListing ¶
func TaobaoItemUpdateListing(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemUpdateListingAPIRequest, resp *tbitem.TaobaoItemUpdateListingAPIResponse, session string) error
TaobaoItemUpdateListing 一口价商品上架 taobao.item.update.listing
* 单个商品上架<br/>* 输入的num_iid必须属于当前会话用户
func TaobaoItemUpdateListingTmall ¶
func TaobaoItemUpdateListingTmall(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemUpdateListingTmallAPIRequest, resp *tbitem.TaobaoItemUpdateListingTmallAPIResponse, session string) error
TaobaoItemUpdateListingTmall taobao.item.update.listing天猫分流 taobao.item.update.listing.tmall
* 单个商品上架<br/>* 输入的num_iid必须属于当前会话用户
func TaobaoItemsCustomGet ¶
func TaobaoItemsCustomGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemsCustomGetAPIRequest, resp *tbitem.TaobaoItemsCustomGetAPIResponse, session string) error
TaobaoItemsCustomGet 根据外部ID取商品 taobao.items.custom.get
跟据卖家设定的商品外部id获取商品,只能获取授权卖家的商品 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
func TaobaoItemsInventoryGet ¶
func TaobaoItemsInventoryGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemsInventoryGetAPIRequest, resp *tbitem.TaobaoItemsInventoryGetAPIResponse, session string) error
TaobaoItemsInventoryGet 得到当前会话用户库存中的商品列表 taobao.items.inventory.get
获取当前用户作为卖家的仓库中的商品列表,并能根据传入的搜索条件对仓库中的商品列表进行过滤 只能获得商品的部分信息,商品的详细信息请通过taobao.item.seller.get获取<br/> <strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
func TaobaoItemsOnsaleGet ¶
func TaobaoItemsOnsaleGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemsOnsaleGetAPIRequest, resp *tbitem.TaobaoItemsOnsaleGetAPIResponse, session string) error
TaobaoItemsOnsaleGet 获取当前会话用户出售中的商品列表 taobao.items.onsale.get
获取当前用户作为卖家的出售中的商品列表,并能根据传入的搜索条件对出售中的商品列表进行过滤 只能获得商品的部分信息,商品的详细信息请通过taobao.item.seller.get 获取 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
func TaobaoItemsSellerListGet ¶
func TaobaoItemsSellerListGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoItemsSellerListGetAPIRequest, resp *tbitem.TaobaoItemsSellerListGetAPIResponse, session string) error
TaobaoItemsSellerListGet 批量获取商品详细信息 taobao.items.seller.list.get
批量获取商品详细信息 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
func TaobaoSkusCustomGet ¶
func TaobaoSkusCustomGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoSkusCustomGetAPIRequest, resp *tbitem.TaobaoSkusCustomGetAPIResponse, session string) error
TaobaoSkusCustomGet 根据外部ID取商品SKU taobao.skus.custom.get
跟据卖家设定的Sku的外部id获取商品,如果一个outer_id对应多个Sku会返回所有符合条件的sku <br/>这个Sku所属卖家从传入的session中获取,需要session绑定(注:iid标签里是num_iid的值,可以用作num_iid使用)
func TaobaoSkusQuantityUpdate ¶
func TaobaoSkusQuantityUpdate(ctx context.Context, clt *core.SDKClient, req *tbitem.TaobaoSkusQuantityUpdateAPIRequest, resp *tbitem.TaobaoSkusQuantityUpdateAPIResponse, session string) error
TaobaoSkusQuantityUpdate SKU库存修改 taobao.skus.quantity.update
提供按照全量/增量的方式批量修改SKU库存的功能
func TmallItemAddSimpleschemaGet ¶
func TmallItemAddSimpleschemaGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemAddSimpleschemaGetAPIRequest, resp *tbitem.TmallItemAddSimpleschemaGetAPIResponse, session string) error
TmallItemAddSimpleschemaGet 天猫发布商品规则获取 tmall.item.add.simpleschema.get
通过商家信息获取商品发布字段和规则。
func TmallItemCalculateHscodeGet ¶
func TmallItemCalculateHscodeGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemCalculateHscodeGetAPIRequest, resp *tbitem.TmallItemCalculateHscodeGetAPIResponse, session string) error
TmallItemCalculateHscodeGet 算法获取hscode tmall.item.calculate.hscode.get
算法获取hscode
func TmallItemCombineGet ¶
func TmallItemCombineGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemCombineGetAPIRequest, resp *tbitem.TmallItemCombineGetAPIResponse, session string) error
TmallItemCombineGet 组合商品获取接口 tmall.item.combine.get
查询组合商品的SKU信息
func TmallItemDescModulesGet ¶
func TmallItemDescModulesGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemDescModulesGetAPIRequest, resp *tbitem.TmallItemDescModulesGetAPIResponse, session string) error
TmallItemDescModulesGet 商品描述模块信息获取 tmall.item.desc.modules.get
商品描述模块信息获取,包括运营设定的类目级别的模块信息以及用户自定义模块数量约束。
func TmallItemHscodeAuditResultsQuery ¶
func TmallItemHscodeAuditResultsQuery(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemHscodeAuditResultsQueryAPIRequest, resp *tbitem.TmallItemHscodeAuditResultsQueryAPIResponse, session string) error
TmallItemHscodeAuditResultsQuery 商品hscode信息审核状态查询接口 tmall.item.hscode.audit.results.query
通过此接口查询天猫跨境商品的hscode信息审核状态,卖家可以参考返回结果判断是否需要调整商品hscode相关信息。
func TmallItemHscodeDetailGet ¶
func TmallItemHscodeDetailGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemHscodeDetailGetAPIRequest, resp *tbitem.TmallItemHscodeDetailGetAPIResponse, session string) error
TmallItemHscodeDetailGet 通过hscode获取计量单位 tmall.item.hscode.detail.get
通过hscode获取计量单位和销售单位
func TmallItemIncrementUpdateSchemaGet ¶
func TmallItemIncrementUpdateSchemaGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemIncrementUpdateSchemaGetAPIRequest, resp *tbitem.TmallItemIncrementUpdateSchemaGetAPIResponse, session string) error
TmallItemIncrementUpdateSchemaGet 天猫增量更新商品规则获取 tmall.item.increment.update.schema.get
增量方式修改天猫商品的规则获取的API。<br/>1.接口返回支持增量修改的字段以及相应字段的规则。<br/>2.如果入参xml_data指定了更新的字段,则只返回指定字段的规则(ISV如果功能性很强,如明确更新Title,请拼装好次字段以提升API整体性能);<br/>3.ISV初次接入,开发阶段,此字段不填可以看到所有支持增量的字段;但是如果上线功能明确,请尽量遵守第2条<br/>4.如果ISV对字段规则非常清晰,可以直接组装入参数据提交到tmall.item.schema.increment.update进行数据更新。但是最好不要写死,比如每天还是有对此接口功能的一次比对。<br/>---(感谢爱慕旗舰店提供API命名)
func TmallItemOuteridUpdate ¶
func TmallItemOuteridUpdate(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemOuteridUpdateAPIRequest, resp *tbitem.TmallItemOuteridUpdateAPIResponse, session string) error
TmallItemOuteridUpdate 天猫商品/SKU商家编码更新接口 tmall.item.outerid.update
天猫商品/SKU商家编码更新接口;支持商品、SKU的商家编码同时更新;支持同一商品下的SKU批量更新。(感谢sample小雨提供接口命名)
func TmallItemPriceUpdate ¶
func TmallItemPriceUpdate(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemPriceUpdateAPIRequest, resp *tbitem.TmallItemPriceUpdateAPIResponse, session string) error
TmallItemPriceUpdate 天猫商品/SKU价格更新接口 tmall.item.price.update
天猫商品/SKU价格更新接口,支持商品、SKU价格同时更新,支持同一商品下的SKU批量更新。
func TmallItemQuantityUpdate ¶
func TmallItemQuantityUpdate(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemQuantityUpdateAPIRequest, resp *tbitem.TmallItemQuantityUpdateAPIResponse, session string) error
TmallItemQuantityUpdate 天猫商品/SKU库存更新接口 tmall.item.quantity.update
天猫商品/SKU库存更新接口;支持商品库存更新;支持同一商品下的SKU批量更新。
func TmallItemSchemaAdd ¶
func TmallItemSchemaAdd(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemSchemaAddAPIRequest, resp *tbitem.TmallItemSchemaAddAPIResponse, session string) error
TmallItemSchemaAdd 天猫根据规则发布商品 tmall.item.schema.add
天猫TopSchema发布商品。
func TmallItemSchemaIncrementUpdate ¶
func TmallItemSchemaIncrementUpdate(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemSchemaIncrementUpdateAPIRequest, resp *tbitem.TmallItemSchemaIncrementUpdateAPIResponse, session string) error
TmallItemSchemaIncrementUpdate 天猫根据规则增量更新商品 tmall.item.schema.increment.update
增量方式修改天猫商品的API。只要是此接口支持增量修改的字段,可以同时更新。(感谢爱慕旗舰店提供API命名)
func TmallItemSchemaUpdate ¶
func TmallItemSchemaUpdate(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemSchemaUpdateAPIRequest, resp *tbitem.TmallItemSchemaUpdateAPIResponse, session string) error
TmallItemSchemaUpdate 天猫根据规则编辑商品 tmall.item.schema.update
天猫根据规则编辑商品
func TmallItemShiptimeUpdate ¶
func TmallItemShiptimeUpdate(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemShiptimeUpdateAPIRequest, resp *tbitem.TmallItemShiptimeUpdateAPIResponse, session string) error
TmallItemShiptimeUpdate 更新商品发货时间 tmall.item.shiptime.update
增加更新删除商品/SKU发货时间(支持同一商品下的SKU同时批量更新) 1.
{ "shipTimeType": 2, ----相对发货时间(值为1则为绝对发货时间) "updateType": 0 ---更新SKU }, 按照指定SKU更新指定SKU的发货时间,如果原本是商品级发货时间,商品级发货时间也清空
2.
{ "shipTimeType": 0, -- 删除发货时间 "updateType": 0 --更新SKU }, 按照指定SKU删除指定SKU的发货时间
3.
{ "shipTimeType": 2, ----相对发货时间(值为1则为绝对发货时间) "updateType": 1 ---更新商品 }, 更新商品级发货时间,如果原本是SKU级发货时间,清空所有SKU上的发货时间
4.
{ "shipTimeType": 0, -- 删除发货时间 "updateType": 1 --更新商品 }, 删除商品级的发货时间
func TmallItemSimpleschemaAdd ¶
func TmallItemSimpleschemaAdd(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemSimpleschemaAddAPIRequest, resp *tbitem.TmallItemSimpleschemaAddAPIResponse, session string) error
TmallItemSimpleschemaAdd 天猫简化发布商品 tmall.item.simpleschema.add
天猫简化版schema发布商品。
func TmallItemSimpleschemaUpdate ¶
func TmallItemSimpleschemaUpdate(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemSimpleschemaUpdateAPIRequest, resp *tbitem.TmallItemSimpleschemaUpdateAPIResponse, session string) error
TmallItemSimpleschemaUpdate 天猫简化编辑商品 tmall.item.simpleschema.update
国外大商家天猫简化编辑商品
func TmallItemUpdateSchemaGet ¶
func TmallItemUpdateSchemaGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallItemUpdateSchemaGetAPIRequest, resp *tbitem.TmallItemUpdateSchemaGetAPIResponse, session string) error
TmallItemUpdateSchemaGet 天猫编辑商品规则获取 tmall.item.update.schema.get
Schema方式编辑天猫商品时,编辑商品规则获取
func TmallProductAddSchemaGet ¶
func TmallProductAddSchemaGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallProductAddSchemaGetAPIRequest, resp *tbitem.TmallProductAddSchemaGetAPIResponse, session string) error
TmallProductAddSchemaGet 产品发布规则获取接口 tmall.product.add.schema.get
获取用户发布产品的规则
func TmallProductMatchSchemaGet ¶
func TmallProductMatchSchemaGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallProductMatchSchemaGetAPIRequest, resp *tbitem.TmallProductMatchSchemaGetAPIResponse, session string) error
TmallProductMatchSchemaGet 获取匹配产品规则 tmall.product.match.schema.get
ISV发布商品前,需要先查找到产品ID,这个接口返回查找产品规则入参规则
func TmallProductSchemaAdd ¶
func TmallProductSchemaAdd(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallProductSchemaAddAPIRequest, resp *tbitem.TmallProductSchemaAddAPIResponse, session string) error
TmallProductSchemaAdd 使用Schema文件发布一个产品 tmall.product.schema.add
Schema体系发布一个产品
func TmallProductSchemaGet ¶
func TmallProductSchemaGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallProductSchemaGetAPIRequest, resp *tbitem.TmallProductSchemaGetAPIResponse, session string) error
TmallProductSchemaGet 产品信息获取schema获取 tmall.product.schema.get
产品信息获取接口schema形式返回
func TmallProductSchemaMatch ¶
func TmallProductSchemaMatch(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallProductSchemaMatchAPIRequest, resp *tbitem.TmallProductSchemaMatchAPIResponse, session string) error
TmallProductSchemaMatch product匹配接口 tmall.product.schema.match
根据tmall.product.match.schema.get获取到的规则,填充相应地的字段值以及类目,匹配符合条件的产品,返回匹配product结果,注意,有可能返回多个产品ID,以逗号分隔(尤其是图书类目);
func TmallProductSchemaUpdate ¶
func TmallProductSchemaUpdate(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallProductSchemaUpdateAPIRequest, resp *tbitem.TmallProductSchemaUpdateAPIResponse, session string) error
TmallProductSchemaUpdate 产品更新接口 tmall.product.schema.update
产品更新接口
func TmallProductUpdateSchemaGet ¶
func TmallProductUpdateSchemaGet(ctx context.Context, clt *core.SDKClient, req *tbitem.TmallProductUpdateSchemaGetAPIRequest, resp *tbitem.TmallProductUpdateSchemaGetAPIResponse, session string) error
TmallProductUpdateSchemaGet 产品更新规则获取接口 tmall.product.update.schema.get
获取用户更新产品的规则
Types ¶
This section is empty.
Source Files
¶
- AlibabaItemEditFastupdate.go
- AlibabaItemEditSchemaGet.go
- AlibabaItemEditSubmit.go
- AlibabaItemOperateDelete.go
- AlibabaItemOperateDownshelf.go
- AlibabaItemOperateUpshelf.go
- AlibabaItemPublishMarketGet.go
- AlibabaItemPublishPropsGet.go
- AlibabaItemPublishSchemaGet.go
- AlibabaItemPublishSubmit.go
- TaobaoItemAnchorGet.go
- TaobaoItemBarcodeUpdate.go
- TaobaoItemDelete.go
- TaobaoItemImgDelete.go
- TaobaoItemImgUpload.go
- TaobaoItemJointImg.go
- TaobaoItemJointPropimg.go
- TaobaoItemPromotionRuleGet.go
- TaobaoItemPropimgDelete.go
- TaobaoItemPropimgUpload.go
- TaobaoItemQuantityUpdate.go
- TaobaoItemSellerGet.go
- TaobaoItemSkuAdd.go
- TaobaoItemSkuDelete.go
- TaobaoItemSkuGet.go
- TaobaoItemSkuPriceUpdate.go
- TaobaoItemSkuUpdate.go
- TaobaoItemSkusGet.go
- TaobaoItemTemplatesGet.go
- TaobaoItemUpdateDelisting.go
- TaobaoItemUpdateDelistingTmall.go
- TaobaoItemUpdateListing.go
- TaobaoItemUpdateListingTmall.go
- TaobaoItemsCustomGet.go
- TaobaoItemsInventoryGet.go
- TaobaoItemsOnsaleGet.go
- TaobaoItemsSellerListGet.go
- TaobaoSkusCustomGet.go
- TaobaoSkusQuantityUpdate.go
- TmallItemAddSimpleschemaGet.go
- TmallItemCalculateHscodeGet.go
- TmallItemCombineGet.go
- TmallItemDescModulesGet.go
- TmallItemHscodeAuditResultsQuery.go
- TmallItemHscodeDetailGet.go
- TmallItemIncrementUpdateSchemaGet.go
- TmallItemOuteridUpdate.go
- TmallItemPriceUpdate.go
- TmallItemQuantityUpdate.go
- TmallItemSchemaAdd.go
- TmallItemSchemaIncrementUpdate.go
- TmallItemSchemaUpdate.go
- TmallItemShiptimeUpdate.go
- TmallItemSimpleschemaAdd.go
- TmallItemSimpleschemaUpdate.go
- TmallItemUpdateSchemaGet.go
- TmallProductAddSchemaGet.go
- TmallProductMatchSchemaGet.go
- TmallProductSchemaAdd.go
- TmallProductSchemaGet.go
- TmallProductSchemaMatch.go
- TmallProductSchemaUpdate.go
- TmallProductUpdateSchemaGet.go
- doc.go