Documentation ¶
Overview ¶
Package waybill 包含电子面单API相关方法
Index ¶
- func CainiaoCloudprintClientinfoPut(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoCloudprintCustomareaUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoCloudprintCustomaresGet(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoCloudprintIsvResourcesGet(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoCloudprintIsvtemplatesGet(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoCloudprintMystdtemplatesGet(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoCloudprintSingleCustomareaGet(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoCloudprintStdtemplatesGet(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoCloudprintTemplatesMigrate(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoSmartdeliveryStrategyWarehouseIDelete(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoSmartdeliveryStrategyWarehouseIUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoWaybillAddressReachableQuery(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoWaybillIiCancel(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoWaybillIiConfirm(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoWaybillIiDelivery(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoWaybillIiGet(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoWaybillIiLogisticsdetailUrlGet(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoWaybillIiProduct(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoWaybillIiQueryByTradecode(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoWaybillIiQueryByWaybillcode(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoWaybillIiSearch(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoWaybillIiUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoWaybillPrivacySellerOrderGet(ctx context.Context, clt *core.SDKClient, ...) error
- func CainiaoWaybillPrivacySubscriptionGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoWlbWaybillICancel(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoWlbWaybillIFullupdate(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoWlbWaybillIGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoWlbWaybillIPrint(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoWlbWaybillIProduct(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoWlbWaybillIQuerydetail(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoWlbWaybillISearch(ctx context.Context, clt *core.SDKClient, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CainiaoCloudprintClientinfoPut ¶
func CainiaoCloudprintClientinfoPut(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoCloudprintClientinfoPutAPIRequest, resp *waybill.CainiaoCloudprintClientinfoPutAPIResponse, session string) error
CainiaoCloudprintClientinfoPut 云打印客户端监控信息收集 cainiao.cloudprint.clientinfo.put
云打印客户端监控信息收集
func CainiaoCloudprintCustomareaUpdate ¶
func CainiaoCloudprintCustomareaUpdate(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoCloudprintCustomareaUpdateAPIRequest, resp *waybill.CainiaoCloudprintCustomareaUpdateAPIResponse, session string) error
CainiaoCloudprintCustomareaUpdate 自定义区内容更新 cainiao.cloudprint.customarea.update
自定义区内容更新
func CainiaoCloudprintCustomaresGet ¶
func CainiaoCloudprintCustomaresGet(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoCloudprintCustomaresGetAPIRequest, resp *waybill.CainiaoCloudprintCustomaresGetAPIResponse, session string) error
CainiaoCloudprintCustomaresGet 获取商家的自定义区模板信息 cainiao.cloudprint.customares.get
供isv使用,获取商家的自定义区的模板信息
func CainiaoCloudprintIsvResourcesGet ¶
func CainiaoCloudprintIsvResourcesGet(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoCloudprintIsvResourcesGetAPIRequest, resp *waybill.CainiaoCloudprintIsvResourcesGetAPIResponse, session string) error
CainiaoCloudprintIsvResourcesGet isv资源查询 cainiao.cloudprint.isv.resources.get
isv资源查询,包括isv模板、打印项、预设的自定义区等
func CainiaoCloudprintIsvtemplatesGet ¶
func CainiaoCloudprintIsvtemplatesGet(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoCloudprintIsvtemplatesGetAPIRequest, resp *waybill.CainiaoCloudprintIsvtemplatesGetAPIResponse, session string) error
CainiaoCloudprintIsvtemplatesGet 获取商家使用的标准模板 cainiao.cloudprint.isvtemplates.get
获取商家使用的标准模板
func CainiaoCloudprintMystdtemplatesGet ¶
func CainiaoCloudprintMystdtemplatesGet(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoCloudprintMystdtemplatesGetAPIRequest, resp *waybill.CainiaoCloudprintMystdtemplatesGetAPIResponse, session string) error
CainiaoCloudprintMystdtemplatesGet 获取用户使用的菜鸟电子面单模板信息 cainiao.cloudprint.mystdtemplates.get
获取用户使用的菜鸟电子面单
func CainiaoCloudprintSingleCustomareaGet ¶
func CainiaoCloudprintSingleCustomareaGet(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoCloudprintSingleCustomareaGetAPIRequest, resp *waybill.CainiaoCloudprintSingleCustomareaGetAPIResponse, session string) error
CainiaoCloudprintSingleCustomareaGet 获取商家单一自定义区 cainiao.cloudprint.single.customarea.get
商家所有快递公司模板只有一个自定义区
func CainiaoCloudprintStdtemplatesGet ¶
func CainiaoCloudprintStdtemplatesGet(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoCloudprintStdtemplatesGetAPIRequest, resp *waybill.CainiaoCloudprintStdtemplatesGetAPIResponse, session string) error
CainiaoCloudprintStdtemplatesGet 获取所有的菜鸟标准电子面单模板 cainiao.cloudprint.stdtemplates.get
获取菜鸟标准电子面单模板
func CainiaoCloudprintTemplatesMigrate ¶
func CainiaoCloudprintTemplatesMigrate(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoCloudprintTemplatesMigrateAPIRequest, resp *waybill.CainiaoCloudprintTemplatesMigrateAPIResponse, session string) error
CainiaoCloudprintTemplatesMigrate 云打印模板迁移接口 cainiao.cloudprint.templates.migrate
云打印模板迁移接口
func CainiaoSmartdeliveryStrategyWarehouseIDelete ¶
func CainiaoSmartdeliveryStrategyWarehouseIDelete(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIRequest, resp *waybill.CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIResponse, session string) error
CainiaoSmartdeliveryStrategyWarehouseIDelete 删除智能发货引擎仓策略 cainiao.smartdelivery.strategy.warehouse.i.delete
删除智能发货引擎仓策略
func CainiaoSmartdeliveryStrategyWarehouseIUpdate ¶
func CainiaoSmartdeliveryStrategyWarehouseIUpdate(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIRequest, resp *waybill.CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIResponse, session string) error
CainiaoSmartdeliveryStrategyWarehouseIUpdate 智能发货引擎策略仓设置 cainiao.smartdelivery.strategy.warehouse.i.update
智能发货引擎发货策略设置仓维度
func CainiaoWaybillAddressReachableQuery ¶ added in v1.2.5
func CainiaoWaybillAddressReachableQuery(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoWaybillAddressReachableQueryAPIRequest, resp *waybill.CainiaoWaybillAddressReachableQueryAPIResponse, session string) error
CainiaoWaybillAddressReachableQuery 地址可达查询 cainiao.waybill.address.reachable.query
地址可达查询
func CainiaoWaybillIiCancel ¶
func CainiaoWaybillIiCancel(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoWaybillIiCancelAPIRequest, resp *waybill.CainiaoWaybillIiCancelAPIResponse, session string) error
CainiaoWaybillIiCancel 商家取消获取的电子面单号 cainiao.waybill.ii.cancel
面单号有误需要取消的时候,调用该接口取消获取的电子面单。
func CainiaoWaybillIiConfirm ¶ added in v1.2.5
func CainiaoWaybillIiConfirm(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoWaybillIiConfirmAPIRequest, resp *waybill.CainiaoWaybillIiConfirmAPIResponse, session string) error
CainiaoWaybillIiConfirm 物流订单确认接口 cainiao.waybill.ii.confirm
物流订单确认
func CainiaoWaybillIiDelivery ¶ added in v1.2.5
func CainiaoWaybillIiDelivery(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoWaybillIiDeliveryAPIRequest, resp *waybill.CainiaoWaybillIiDeliveryAPIResponse, session string) error
CainiaoWaybillIiDelivery 派件通知接口 cainiao.waybill.ii.delivery
极效前置场景下的使用此接口,通知进行派件
func CainiaoWaybillIiGet ¶
func CainiaoWaybillIiGet(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoWaybillIiGetAPIRequest, resp *waybill.CainiaoWaybillIiGetAPIResponse, session string) error
CainiaoWaybillIiGet 电子面单云打印接口 cainiao.waybill.ii.get
菜鸟电子面单的云打印申请电子面单号的方法
func CainiaoWaybillIiLogisticsdetailUrlGet ¶
func CainiaoWaybillIiLogisticsdetailUrlGet(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest, resp *waybill.CainiaoWaybillIiLogisticsdetailUrlGetAPIResponse, session string) error
CainiaoWaybillIiLogisticsdetailUrlGet 电子面单物流详情授权url获取 cainiao.waybill.ii.logisticsdetail.url.get
获取电子面单物流详情授权访问的H5 url
func CainiaoWaybillIiProduct ¶
func CainiaoWaybillIiProduct(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoWaybillIiProductAPIRequest, resp *waybill.CainiaoWaybillIiProductAPIResponse, session string) error
CainiaoWaybillIiProduct 商家查询物流商产品类型接口 cainiao.waybill.ii.product
商家可以查询物流商的产品类型和服务能力。
func CainiaoWaybillIiQueryByTradecode ¶
func CainiaoWaybillIiQueryByTradecode(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoWaybillIiQueryByTradecodeAPIRequest, resp *waybill.CainiaoWaybillIiQueryByTradecodeAPIResponse, session string) error
CainiaoWaybillIiQueryByTradecode 通过订单号查询电子面单通接口 cainiao.waybill.ii.query.by.tradecode
通过订单号查看面单的信息
func CainiaoWaybillIiQueryByWaybillcode ¶
func CainiaoWaybillIiQueryByWaybillcode(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoWaybillIiQueryByWaybillcodeAPIRequest, resp *waybill.CainiaoWaybillIiQueryByWaybillcodeAPIResponse, session string) error
CainiaoWaybillIiQueryByWaybillcode 通过面单号查询面单打印报文 cainiao.waybill.ii.query.by.waybillcode
通过面单号查询面单的打印报文
func CainiaoWaybillIiSearch ¶
func CainiaoWaybillIiSearch(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoWaybillIiSearchAPIRequest, resp *waybill.CainiaoWaybillIiSearchAPIResponse, session string) error
CainiaoWaybillIiSearch 查询面单服务订购及面单使用情况 cainiao.waybill.ii.search
获取发货地&CP开通状态&账户的使用情况
func CainiaoWaybillIiUpdate ¶
func CainiaoWaybillIiUpdate(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoWaybillIiUpdateAPIRequest, resp *waybill.CainiaoWaybillIiUpdateAPIResponse, session string) error
CainiaoWaybillIiUpdate 电子面单云打印更新接口 cainiao.waybill.ii.update
商家更新电子面单号对应的面单信息。
func CainiaoWaybillPrivacySellerOrderGet ¶
func CainiaoWaybillPrivacySellerOrderGet(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoWaybillPrivacySellerOrderGetAPIRequest, resp *waybill.CainiaoWaybillPrivacySellerOrderGetAPIResponse, session string) error
CainiaoWaybillPrivacySellerOrderGet 隐私面单商家订单查询 cainiao.waybill.privacy.seller.order.get
商家查询最近100天隐私面单记录
func CainiaoWaybillPrivacySubscriptionGet ¶
func CainiaoWaybillPrivacySubscriptionGet(ctx context.Context, clt *core.SDKClient, req *waybill.CainiaoWaybillPrivacySubscriptionGetAPIRequest, resp *waybill.CainiaoWaybillPrivacySubscriptionGetAPIResponse, session string) error
CainiaoWaybillPrivacySubscriptionGet 隐私面单商家订购查询 cainiao.waybill.privacy.subscription.get
ISV查询商家是否订购隐私面单
func TaobaoWlbWaybillICancel ¶
func TaobaoWlbWaybillICancel(ctx context.Context, clt *core.SDKClient, req *waybill.TaobaoWlbWaybillICancelAPIRequest, resp *waybill.TaobaoWlbWaybillICancelAPIResponse, session string) error
TaobaoWlbWaybillICancel 商家取消获取的电子面单号v1.0 taobao.wlb.waybill.i.cancel
面单号有误需要取消的时候,调用该接口取消获取的电子面单。
func TaobaoWlbWaybillIFullupdate ¶
func TaobaoWlbWaybillIFullupdate(ctx context.Context, clt *core.SDKClient, req *waybill.TaobaoWlbWaybillIFullupdateAPIRequest, resp *waybill.TaobaoWlbWaybillIFullupdateAPIResponse, session string) error
TaobaoWlbWaybillIFullupdate 面单信息更新接口v1.0 taobao.wlb.waybill.i.fullupdate
商家更新电子面单号对应的订单信息。<br/><br/>a.涉及到订单信息(如拆/合单、取消订单等)、修改发货地的逻辑时候,需要使用CANCEL+GET组合操作。一般的面单信息更新使用该接口;<br/><br/>b.该接口是全量修改接口,对于不做更新的字段也要把原有的字段值传进去,否则做为修改为空处理。
func TaobaoWlbWaybillIGet ¶
func TaobaoWlbWaybillIGet(ctx context.Context, clt *core.SDKClient, req *waybill.TaobaoWlbWaybillIGetAPIRequest, resp *waybill.TaobaoWlbWaybillIGetAPIResponse, session string) error
TaobaoWlbWaybillIGet 获取物流服务商电子面单号v1.0 taobao.wlb.waybill.i.get
商家根据订单信息,实时、批量获取指定物流服务商的电子面单号。
func TaobaoWlbWaybillIPrint ¶
func TaobaoWlbWaybillIPrint(ctx context.Context, clt *core.SDKClient, req *waybill.TaobaoWlbWaybillIPrintAPIRequest, resp *waybill.TaobaoWlbWaybillIPrintAPIResponse, session string) error
TaobaoWlbWaybillIPrint 打印确认接口v1.0 taobao.wlb.waybill.i.print
打印面单前的校验接口,判断面单号信息与订单信息是否匹配。
func TaobaoWlbWaybillIProduct ¶
func TaobaoWlbWaybillIProduct(ctx context.Context, clt *core.SDKClient, req *waybill.TaobaoWlbWaybillIProductAPIRequest, resp *waybill.TaobaoWlbWaybillIProductAPIResponse, session string) error
TaobaoWlbWaybillIProduct 商家查询物流商产品类型接口 taobao.wlb.waybill.i.product
商家可以查询物流商的产品类型和服务能力。
func TaobaoWlbWaybillIQuerydetail ¶
func TaobaoWlbWaybillIQuerydetail(ctx context.Context, clt *core.SDKClient, req *waybill.TaobaoWlbWaybillIQuerydetailAPIRequest, resp *waybill.TaobaoWlbWaybillIQuerydetailAPIResponse, session string) error
TaobaoWlbWaybillIQuerydetail 查面单号状态v1.0 taobao.wlb.waybill.i.querydetail
查看面单号的当前状态,如签收、发货、失效等。
func TaobaoWlbWaybillISearch ¶
func TaobaoWlbWaybillISearch(ctx context.Context, clt *core.SDKClient, req *waybill.TaobaoWlbWaybillISearchAPIRequest, resp *waybill.TaobaoWlbWaybillISearchAPIResponse, session string) error
TaobaoWlbWaybillISearch 查询面单服务订购及面单使用情况v1.0 taobao.wlb.waybill.i.search
获取发货地&CP开通状态&账户的使用情况
Types ¶
This section is empty.
Source Files ¶
- CainiaoCloudprintClientinfoPut.go
- CainiaoCloudprintCustomareaUpdate.go
- CainiaoCloudprintCustomaresGet.go
- CainiaoCloudprintIsvResourcesGet.go
- CainiaoCloudprintIsvtemplatesGet.go
- CainiaoCloudprintMystdtemplatesGet.go
- CainiaoCloudprintSingleCustomareaGet.go
- CainiaoCloudprintStdtemplatesGet.go
- CainiaoCloudprintTemplatesMigrate.go
- CainiaoSmartdeliveryStrategyWarehouseIDelete.go
- CainiaoSmartdeliveryStrategyWarehouseIUpdate.go
- CainiaoWaybillAddressReachableQuery.go
- CainiaoWaybillIiCancel.go
- CainiaoWaybillIiConfirm.go
- CainiaoWaybillIiDelivery.go
- CainiaoWaybillIiGet.go
- CainiaoWaybillIiLogisticsdetailUrlGet.go
- CainiaoWaybillIiProduct.go
- CainiaoWaybillIiQueryByTradecode.go
- CainiaoWaybillIiQueryByWaybillcode.go
- CainiaoWaybillIiSearch.go
- CainiaoWaybillIiUpdate.go
- CainiaoWaybillPrivacySellerOrderGet.go
- CainiaoWaybillPrivacySubscriptionGet.go
- TaobaoWlbWaybillICancel.go
- TaobaoWlbWaybillIFullupdate.go
- TaobaoWlbWaybillIGet.go
- TaobaoWlbWaybillIPrint.go
- TaobaoWlbWaybillIProduct.go
- TaobaoWlbWaybillIQuerydetail.go
- TaobaoWlbWaybillISearch.go
- doc.go