fenxiao

package
v1.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package fenxiao 包含分销API相关方法

https://open.taobao.com/API.htm?docType=2&docId=62017

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlibabaAscpCnskuAdd added in v1.2.5

AlibabaAscpCnskuAdd 货品创建 alibaba.ascp.cnsku.add

供应链中台货品创建接口

func AlibabaAscpCnskuMappingDelete added in v1.2.9

AlibabaAscpCnskuMappingDelete 货品关系解绑 alibaba.ascp.cnsku.mapping.delete

货品关系解绑

func AlibabaAscpCnskuModify added in v1.2.5

AlibabaAscpCnskuModify 供应链中台货品修改接口 alibaba.ascp.cnsku.modify

供应链中台货品修改接口

func AlibabaAscpCnskuSearch added in v1.2.5

AlibabaAscpCnskuSearch 供应链中台货品搜索接口 alibaba.ascp.cnsku.search

供应链中台货品搜索接口

func AlibabaAscpCnskuUpdate

AlibabaAscpCnskuUpdate 供应链中台货品修改接口 alibaba.ascp.cnsku.update

供应链中台货品修改接口

func AlibabaFenxiaoCbutotaobaoRelationAdd added in v1.2.5

AlibabaFenxiaoCbutotaobaoRelationAdd 1688分销铺货到淘宝关系添加 alibaba.fenxiao.cbutotaobao.relation.add

1688分销铺货到淘宝关系添加

func TaobaoFenxiaoCooperationGet

TaobaoFenxiaoCooperationGet 供应商或分销商获取合作关系信息 taobao.fenxiao.cooperation.get

获取供应商的合作关系信息

func TaobaoFenxiaoDealerRequisitionorderAgree

TaobaoFenxiaoDealerRequisitionorderAgree 供应商/分销商通过采购申请/经销采购单申请 taobao.fenxiao.dealer.requisitionorder.agree

供应商或分销商通过采购申请/经销采购单审核

func TaobaoFenxiaoDealerRequisitionorderClose

TaobaoFenxiaoDealerRequisitionorderClose 供应商/分销商关闭采购申请/经销采购单 taobao.fenxiao.dealer.requisitionorder.close

供应商或分销商关闭采购申请/经销采购单

func TaobaoFenxiaoDealerRequisitionorderCreate

TaobaoFenxiaoDealerRequisitionorderCreate 创建经销采购申请 taobao.fenxiao.dealer.requisitionorder.create

创建经销采购申请

func TaobaoFenxiaoDealerRequisitionorderGet

TaobaoFenxiaoDealerRequisitionorderGet 批量查询采购申请/经销采购单 taobao.fenxiao.dealer.requisitionorder.get

批量查询采购申请/经销采购单,目前支持供应商和分销商查询

func TaobaoFenxiaoDealerRequisitionorderQuery

TaobaoFenxiaoDealerRequisitionorderQuery 按编号查询采购申请/经销采购单 taobao.fenxiao.dealer.requisitionorder.query

按编号查询采购申请/经销采购单,目前支持供应商和分销商查询。

func TaobaoFenxiaoDealerRequisitionorderRemarkUpdate

TaobaoFenxiaoDealerRequisitionorderRemarkUpdate 修改经销采购单备注 taobao.fenxiao.dealer.requisitionorder.remark.update

供应商修改经销采购单备注

func TaobaoFenxiaoDiscountsGet

TaobaoFenxiaoDiscountsGet 获取折扣信息 taobao.fenxiao.discounts.get

查询折扣信息

func TaobaoFenxiaoDistributorItemsGet

TaobaoFenxiaoDistributorItemsGet 查询商品下载记录 taobao.fenxiao.distributor.items.get

供应商查询分销商商品下载记录。

func TaobaoFenxiaoDistributorProductQuantityGet added in v1.2.8

TaobaoFenxiaoDistributorProductQuantityGet 分销商查询产品库存 taobao.fenxiao.distributor.product.quantity.get

分销商查询产品库存

func TaobaoFenxiaoDistributorProductsGet

TaobaoFenxiaoDistributorProductsGet 分销商查询产品信息 taobao.fenxiao.distributor.products.get

分销商查询供应商产品信息

func TaobaoFenxiaoDistributorsGet

TaobaoFenxiaoDistributorsGet 获取分销商信息 taobao.fenxiao.distributors.get

查询和当前登录供应商有合作关系的分销商的信息

func TaobaoFenxiaoGradesGet

TaobaoFenxiaoGradesGet 分销商等级查询 taobao.fenxiao.grades.get

根据供应商ID,查询他的分销商等级信息

func TaobaoFenxiaoLoginUserGet

TaobaoFenxiaoLoginUserGet 获取分销用户登录信息 taobao.fenxiao.login.user.get

获取用户登录信息

func TaobaoFenxiaoOrderConfirmPaid

TaobaoFenxiaoOrderConfirmPaid 确认收款 taobao.fenxiao.order.confirm.paid

供应商确认收款(非支付宝交易)。

func TaobaoFenxiaoOrderRemarkUpdate

TaobaoFenxiaoOrderRemarkUpdate 修改采购单备注 taobao.fenxiao.order.remark.update

供应商修改采购单备注

func TaobaoFenxiaoOrdersGet

TaobaoFenxiaoOrdersGet 查询采购单信息 taobao.fenxiao.orders.get

查询代销采购单单据。

1. 支持商家按照供应商、分销商两种角色来查询数据。如果没有指定角色角色,系统会自动判断,此时如果商家存在供应商、分销商两种角色时,按照供应商角色查询。 2. 同时此接口还可以查询除供销经销外的其他经营模式的数据。如果需要查询供销经销单据请参考接口:taobao.fenxiao.dealer.requisitionorder.query

3. 发货请调用物流API中的发货接口taobao.logistics.offline.send 进行发货,需要注意的是这里是供应商发货,因此调发货接口时需要传人供应商账号对应的sessionkey,tid 需传入供销平台的采购单(即fenxiao_id 分销流水号))。

func TaobaoFenxiaoProductAdd

TaobaoFenxiaoProductAdd 添加产品 taobao.fenxiao.product.add

添加分销平台产品数据。业务逻辑与分销系统前台页面一致。<br/><br/> * 产品图片默认为空<br/> * 产品发布后默认为下架状态

func TaobaoFenxiaoProductGradepriceGet

TaobaoFenxiaoProductGradepriceGet 等级折扣查询 taobao.fenxiao.product.gradeprice.get

等级折扣查询

func TaobaoFenxiaoProductGradepriceUpdate

TaobaoFenxiaoProductGradepriceUpdate 根据sku设置折扣价 taobao.fenxiao.product.gradeprice.update

供应商可以针对产品不同的sku,指定对应交易类型(代销or经销)方式下,设定折扣方式(按等级or指定分销商)以及对应优惠后的采购价格

func TaobaoFenxiaoProductImageDelete

TaobaoFenxiaoProductImageDelete 产品图片删除 taobao.fenxiao.product.image.delete

产品图片删除,只删除图片信息,不真正删除图片

func TaobaoFenxiaoProductImageUpload

TaobaoFenxiaoProductImageUpload 产品图片上传 taobao.fenxiao.product.image.upload

产品主图图片空间相对路径或绝对路径添加或更新,或者是图片上传。如果指定位置的图片已存在,则覆盖原有信息。如果位置为1,自动设为主图;如果位置为0,表示属性图片

func TaobaoFenxiaoProductImportFromAuction

TaobaoFenxiaoProductImportFromAuction 导入商品生成产品 taobao.fenxiao.product.import.from.auction

供应商选择关联店铺的前台宝贝,导入生成产品

func TaobaoFenxiaoProductMapAdd

TaobaoFenxiaoProductMapAdd 创建分销和后端商品映射关系 taobao.fenxiao.product.map.add

创建分销和供应链商品映射关系。

func TaobaoFenxiaoProductQuantityUpdate

TaobaoFenxiaoProductQuantityUpdate 产品库存修改 taobao.fenxiao.product.quantity.update

修改产品库存信息,支持全量修改以及增量修改两种方式

func TaobaoFenxiaoProductSkuAdd

TaobaoFenxiaoProductSkuAdd 产品sku添加接口 taobao.fenxiao.product.sku.add

添加产品SKU信息

func TaobaoFenxiaoProductSkuDelete

TaobaoFenxiaoProductSkuDelete 产品SKU删除接口 taobao.fenxiao.product.sku.delete

根据sku properties删除sku数据

func TaobaoFenxiaoProductSkuUpdate

TaobaoFenxiaoProductSkuUpdate 产品sku编辑接口 taobao.fenxiao.product.sku.update

产品SKU信息更新

func TaobaoFenxiaoProductSkusGet

TaobaoFenxiaoProductSkusGet SKU查询接口 taobao.fenxiao.product.skus.get

产品sku查询

func TaobaoFenxiaoProductToChannelImport

TaobaoFenxiaoProductToChannelImport 产品导入到渠道 taobao.fenxiao.product.to.channel.import

支持供应商将已有产品导入到某个渠道销售

func TaobaoFenxiaoProductUpdate

TaobaoFenxiaoProductUpdate 更新产品 taobao.fenxiao.product.update

更新分销平台产品数据,不传更新数据返回失败<br><br/>1. 对sku进行增、删操作时,原有的sku_ids字段会被忽略,请使用sku_properties和sku_properties_del。<br>

func TaobaoFenxiaoProductcatAdd

TaobaoFenxiaoProductcatAdd 新增产品线 taobao.fenxiao.productcat.add

新增产品线

func TaobaoFenxiaoProductcatDelete

TaobaoFenxiaoProductcatDelete 删除产品线 taobao.fenxiao.productcat.delete

删除产品线

func TaobaoFenxiaoProductcatUpdate

TaobaoFenxiaoProductcatUpdate 修改产品线 taobao.fenxiao.productcat.update

修改产品线

func TaobaoFenxiaoProductcatsGet

TaobaoFenxiaoProductcatsGet 查询产品线列表 taobao.fenxiao.productcats.get

查询供应商的所有产品线数据。根据登陆用户来查询,不需要其他入参

func TaobaoFenxiaoProductsGet

TaobaoFenxiaoProductsGet 查询产品列表 taobao.fenxiao.products.get

查询供应商的产品数据。<br/><br/> * 入参传入pids将优先查询,即只按这个条件查询。<br/> *入参传入sku_number将优先查询(没有传入pids),即只按这个条件查询(最多显示50条)<br/> * 入参fields传skus将查询sku的数据,不传该参数默认不查询,返回产品的其它信息。<br/> * 入参fields传入images将查询多图数据,不传只返回主图数据。<br/> * 入参fields仅对传入pids生效(只有按ID查询时,才能查询额外的数据)<br/> * 查询结果按照产品发布时间倒序,即时间近的数据在前。

func TaobaoFenxiaoRefundGet

TaobaoFenxiaoRefundGet 查询采购单退款信息 taobao.fenxiao.refund.get

分销商或供应商可以查询某子单的退款信息,以及下游订单的退款信息

func TaobaoFenxiaoRefundQuery

TaobaoFenxiaoRefundQuery 批量查询采购退款 taobao.fenxiao.refund.query

供应商按查询条件批量查询代销采购退款

func TaobaoFenxiaoRequisitionsGet

TaobaoFenxiaoRequisitionsGet 合作申请查询 taobao.fenxiao.requisitions.get

合作申请查询

func TaobaoFenxiaoTradePrepayOfflineAdd

TaobaoFenxiaoTradePrepayOfflineAdd 线下预存款流水增加 taobao.fenxiao.trade.prepay.offline.add

渠道分销供应商上传线下流水预存款(增加)

func TaobaoFenxiaoTradePrepayOfflineReduce

TaobaoFenxiaoTradePrepayOfflineReduce 渠道分销供应商上传线下流水预存款(减少) taobao.fenxiao.trade.prepay.offline.reduce

渠道分销供应商上传线下流水预存款(减少)

func TaobaoFenxiaoYphOrderGet added in v1.2.5

TaobaoFenxiaoYphOrderGet 一盘货商家单个查询采购单信息 taobao.fenxiao.yph.order.get

一盘货商家单个查询采购单信息

func TaobaoFenxiaoYphOrdersGet added in v1.2.5

TaobaoFenxiaoYphOrdersGet 批量查询一盘货采购单信息 taobao.fenxiao.yph.orders.get

一盘货商家批量查询采购单信息

func TaobaoFenxiaoYphRefundGet added in v1.2.5

TaobaoFenxiaoYphRefundGet 一盘货商家单个查询退款单信息 taobao.fenxiao.yph.refund.get

一盘货商家单个查询退款单信息

func TaobaoFenxiaoYphRefundsGet added in v1.2.5

TaobaoFenxiaoYphRefundsGet 一盘货商家批量查询退款单信息 taobao.fenxiao.yph.refunds.get

一盘货商家批量查询退款单信息

func TaobaoInventoryAdjustExternal

TaobaoInventoryAdjustExternal 非交易库存调整单 taobao.inventory.adjust.external

商家非交易调整库存,调拨出库、盘点等时调用

func TaobaoInventoryAdjustTrade

TaobaoInventoryAdjustTrade 交易库存调整单 taobao.inventory.adjust.trade

商家交易调整库存,淘宝交易、B2B经销等

func TaobaoInventoryInitial

TaobaoInventoryInitial 库存初始化 taobao.inventory.initial

建议使用新接口:taobao.inventory.merchant.adjust ,该接口会逐步停用。 商家仓库存初始化接口,直接按照商家指定的商品库存数进行填充,没有单据核对,不参与库存对账。

func TaobaoInventoryInitialItem

TaobaoInventoryInitialItem 商品库存初始化 taobao.inventory.initial.item

建议使用新接口:taobao.inventory.merchant.adjust ,该接口会逐步停用。 商家仓商品初始化在各个仓中库存

func TaobaoInventoryQuery

TaobaoInventoryQuery 查询商品库存信息 taobao.inventory.query

建议使用新接口:tmall.inventory.query.forstore ,新ISV不推荐使用。 商家查询商品总体库存信息

func TaobaoInventoryStoreManage

TaobaoInventoryStoreManage 创建或更新仓库 taobao.inventory.store.manage

创建商家仓或者更新商家仓信息

func TaobaoInventoryStoreQuery

TaobaoInventoryStoreQuery 查询仓库信息 taobao.inventory.store.query

查询商家仓信息

func TaobaoInventoryWarehouseManage

TaobaoInventoryWarehouseManage 创建商家仓或者更新商家仓信息 taobao.inventory.warehouse.manage

创建商家仓或者更新商家仓信息

func TaobaoInventoryWarehouseQuery

TaobaoInventoryWarehouseQuery 分页查询商家仓信息 taobao.inventory.warehouse.query

分页查询商家仓信息

func TaobaoKaolaScitemAdd

TaobaoKaolaScitemAdd 考拉货品新增接口 taobao.kaola.scitem.add

考拉货品新增接口

func TaobaoRegionPriceCancle

TaobaoRegionPriceCancle 取消区域价格 taobao.region.price.cancle

取消区域价格

func TaobaoRegionPriceManage

TaobaoRegionPriceManage 编辑区域价格 taobao.region.price.manage

编辑区域价格

func TaobaoRegionPriceQuery

TaobaoRegionPriceQuery 区域价格查询 taobao.region.price.query

区域价格查询

func TaobaoRegionSaleQuery

TaobaoRegionSaleQuery 查询商品销售区域 taobao.region.sale.query

查询商品销售区域

func TaobaoRegionWarehouseManage

TaobaoRegionWarehouseManage 编辑仓库覆盖范围 taobao.region.warehouse.manage

编辑仓库覆盖范围

func TaobaoRegionWarehouseQuery

TaobaoRegionWarehouseQuery 查询仓库覆盖范围 taobao.region.warehouse.query

查询仓库覆盖范围

func TaobaoScitemAdd

TaobaoScitemAdd 发布后端商品 taobao.scitem.add

发布后端商品

func TaobaoScitemGet

TaobaoScitemGet 根据id查询商品 taobao.scitem.get

根据id查询商品

func TaobaoScitemMapAdd

TaobaoScitemMapAdd 创建IC商品与后端商品的映射关系 taobao.scitem.map.add

创建IC商品或分销商品与后端商品的映射关系

func TaobaoScitemMapDelete

TaobaoScitemMapDelete 失效指定用户的商品与后端商品的映射关系 taobao.scitem.map.delete

根据后端商品Id,失效指定用户的商品与后端商品的映射关系

func TaobaoScitemMapQuery

TaobaoScitemMapQuery 查找IC商品或分销商品与后端商品的关联信息 taobao.scitem.map.query

查找IC商品或分销商品与后端商品的关联信息。skuId如果不传就查找该itemId下所有的sku

func TaobaoScitemOutercodeGet

TaobaoScitemOutercodeGet 根据outerCode查询商品 taobao.scitem.outercode.get

根据outerCode查询商品

func TaobaoScitemQuery

TaobaoScitemQuery 查询后端商品 taobao.scitem.query

查询后端商品

func TaobaoScitemUpdate

TaobaoScitemUpdate 根据商品ID或商家编码修改后端商品 taobao.scitem.update

根据商品ID或商家编码修改后端商品

func TmallChannelProductsGet

TmallChannelProductsGet 查询供应商的产品数据 tmall.channel.products.get

查询供应商的产品数据。

* 入参传入pids将优先查询,即只按这个条件查询。 *入参传入sku_number将优先查询(没有传入pids),即只按这个条件查询(最多显示50条) * 入参fields传skus将查询sku的数据,不传该参数默认不查询,返回产品的其它信息。 * 入参fields传入images将查询多图数据,不传只返回主图数据。 * 入参fields仅对传入pids生效(只有按ID查询时,才能查询额外的数据) * 查询结果按照产品发布时间倒序,即时间近的数据在前。 * 传入channel 渠道,会只返回相应渠道的产品

func TmallInventoryQueryForstore

TmallInventoryQueryForstore 查询后端商品仓库库存 tmall.inventory.query.forstore

商家查询后端商品仓库库存

func TmallSupplychainChannelProductDownshelf

TmallSupplychainChannelProductDownshelf 产品下架 tmall.supplychain.channel.product.downshelf

产品下架

func TmallSupplychainChannelProductPriceGet

TmallSupplychainChannelProductPriceGet 渠道价格查询接口 tmall.supplychain.channel.product.price.get

渠道价格查询接口

func TmallSupplychainChannelProductPriceUpdate

TmallSupplychainChannelProductPriceUpdate 渠道价格更新接口 tmall.supplychain.channel.product.price.update

更新渠道产品价格

func TmallSupplychainChannelProductQuantityGet

TmallSupplychainChannelProductQuantityGet 渠道库存查询接口 tmall.supplychain.channel.product.quantity.get

渠道库存查询接口

func TmallSupplychainChannelProductQuantityUpdate

TmallSupplychainChannelProductQuantityUpdate 渠道无仓库存更新接口 tmall.supplychain.channel.product.quantity.update

渠道无仓库存更新接口

func TmallSupplychainChannelProductRelease

TmallSupplychainChannelProductRelease 供应商铺货 tmall.supplychain.channel.product.release

供应商渠道铺货接口

func TmallSupplychainChannelProductReleaseStatusGet

TmallSupplychainChannelProductReleaseStatusGet 产品铺货状态查询 tmall.supplychain.channel.product.release.status.get

巴拿马战役渠道产品状态查询

func TmallSupplychainChannelProductUpshelf

TmallSupplychainChannelProductUpshelf 产品上架 tmall.supplychain.channel.product.upshelf

上架渠道产品

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL