Categorygithub.com/hiscaler/temu-go
repositorypackage
0.0.0-20250109023314-45a0b2904bda
Repository: https://github.com/hiscaler/temu-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Temu SDK for Golang

服务说明

服务说明
1PurchaseOrder备货单
2ShipOrderStaging发货台
3ShipOrder发货单

使用

package main

import (
	"github.com/goccy/go-json"
	"fmt"
	"github.com/hiscaler/temu-go"
	"github.com/hiscaler/temu-go/config"
	"os"
)

func main() {
	b, err := os.ReadFile("./config/config_test.json")
	if err != nil {
		panic(fmt.Sprintf("Read config error: %s", err.Error()))
	}
	var c config.Config
	err = json.Unmarshal(b, &c)
	if err != nil {
		panic(fmt.Sprintf("Parse config file error: %s", err.Error()))
	}
	temuClient := temu.NewClient(c)
}

服务说明

服务地址说明查询参数参考地址
client.Services.Goods.Query商品查询
client.Services.Goods.One根据商品 SKC ID 查询
client.Services.Goods.Create创建商品
client.Services.Goods.Brand.Query查询可绑定的品牌接口

文档地址

TEMU 开发者指南

  1. 全托管系统对接指南 - 备货及V3发货

流程

  1. 将备货单数据加入发货台;
  2. 将发货台数据生成采购单;
  3. 打印货物商标、箱唛进行平台发货操作。

说明

备货单、采购单是同一个含义,从平台的角度理解是平台向商家下采购单,从商家的角度理解是平台推送过来备货单。

注意事项

  1. 加入发货台后是不能立即看到物流商数据的