globalproduct

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrandStatus

type BrandStatus int

BrandStatus

const (
	NORMAL_BRAND  BrandStatus = 1
	PENDING_BRAND BrandStatus = 2
)

type GlobalProduct

type GlobalProduct struct {
	Config *shopeeConfig.Config
}

GlobalProduct

func (*GlobalProduct) AddGlobalItem

AddGlobalItem @Title Add a new item. @Description https://open.shopee.com/documents?module=89&type=1&id=616&version=2

func (*GlobalProduct) AddGlobalModel

AddGlobalModel @Title Add model. @Description https://open.shopee.com/documents?module=90&type=1&id=643&version=2

func (*GlobalProduct) CreatePublishTask

func (p *GlobalProduct) CreatePublishTask(globalItemID, shopID int64, shopRegion string, item globalentity.CreatePublishTaskItemEntity) globalentity.CreatePublishTaskResult

CreatePublishTask @Title Create publish task for global item.Only for China mainland sellers using China Seller Centre(CNSC). @Description https://open.shopee.com/documents?module=90&type=1&id=639&version=2

func (*GlobalProduct) DeleteGlobalItem

func (p *GlobalProduct) DeleteGlobalItem(globalItemID int64) globalentity.DeleteGlobalItemResult

DeleteGlobalItem @Title Delete global item. Only for China mainland sellers using China Seller Centre(CNSC). @Description https://open.shopee.com/documents?module=90&type=1&id=621&version=2

func (*GlobalProduct) DeleteGlobalModel

func (p *GlobalProduct) DeleteGlobalModel(globalItemID, globalModelID int64) globalentity.DeleteGlobalModelResult

DeleteGlobalModel @Title Delete item model. @Description https://open.shopee.com/documents?module=90&type=1&id=638&version=2

func (*GlobalProduct) GetGlobalAttributes

func (g *GlobalProduct) GetGlobalAttributes(language string, categoryID int64) globalentity.GetAttributesResult

GetAttributes @Title Get attributes. Only for China mainland sellers using China Seller Centre(CNSC). More details in https://shopee.cn/cooperate/46/53/926. @Description https://open.shopee.com/documents?module=90&type=1&id=704&version=2

func (*GlobalProduct) GetGlobalBrandList

func (g *GlobalProduct) GetGlobalBrandList(offset, pageSize int, categoryID int64, status BrandStatus) globalentity.GetBrandListResult

GetBrandList @Title Use this call to get a list of brand. Only for China mainland sellers using China Seller Centre(CNSC). More details in https://shopee.cn/cooperate/46/53/926. @Description https://open.shopee.com/documents?module=90&type=1&id=703&version=2

func (*GlobalProduct) GetGlobalCategory

func (g *GlobalProduct) GetGlobalCategory(language string) globalentity.GetCategoryResult

GetCategory @Title Get global category. Only for China mainland sellers using China Seller Centre(CNSC). More details in https://shopee.cn/cooperate/46/53/926. @Description https://open.shopee.com/documents?module=90&type=1&id=654&version=2

func (*GlobalProduct) GetGlobalDtsLimit

func (p *GlobalProduct) GetGlobalDtsLimit(categoryID int64) globalentity.GetDtsLimitResult

GetDtsLimit @Title Get category DTS limit. Only for China mainland sellers using China Seller Centre(CNSC). More details in https://shopee.cn/cooperate/46/53/926. @Description https://open.shopee.com/documents?module=90&type=1&id=634&version=2

func (*GlobalProduct) GetGlobalItemID

func (p *GlobalProduct) GetGlobalItemID(shopID int64, itemIdList []int64) globalentity.GetGlobalItemIDResult

GetGlobalItemID @Title Create publish task for global item.Only for China mainland sellers using China Seller Centre(CNSC). @Description https://open.shopee.com/documents?module=90&type=1&id=657&version=2

func (*GlobalProduct) GetGlobalItemInfo

func (p *GlobalProduct) GetGlobalItemInfo(globalItemIdList []int64) globalentity.GetGlobalItemInfoResult

GetGlobalItemInfo @Title Get global item info.Only for China mainland sellers using China Seller Centre(CNSC). More details in https://shopee.cn/cooperate/46/53/926. @Description https://open.shopee.com/documents?module=90&type=1&id=644&version=2

func (*GlobalProduct) GetGlobalItemLimit

func (p *GlobalProduct) GetGlobalItemLimit(categoryID int64) globalentity.GetGlobalItemLimitResult

GetItemLimit @Title Get global item upload control.Only for China mainland sellers using China Seller Centre(CNSC). More details in https://shopee.cn/cooperate/46/53/926. @Description https://open.shopee.com/documents?module=90&type=1&id=637&version=2

func (*GlobalProduct) GetGlobalItemList

func (p *GlobalProduct) GetGlobalItemList(offset string, pageSize int) globalentity.GetGlobalItemListResult

GetGlobalItemList @Title Use this call to get a list of items. @Description https://open.shopee.com/documents?module=89&type=1&id=614&version=2

func (*GlobalProduct) GetGlobalModelList

func (p *GlobalProduct) GetGlobalModelList(globalItemID int64) globalentity.GetModelListResult

GetGlobalModelList @Title Get global model list. Only for China mainland sellers using China Seller Centre(CNSC) @Description https://open.shopee.com/documents?module=90&type=1&id=623&version=2

func (*GlobalProduct) GetPublishTaskResult

func (p *GlobalProduct) GetPublishTaskResult(publishTaskID int64) globalentity.GetPublishTaskResult

GetPublishTaskResult @Title Create publish task for global item.Only for China mainland sellers using China Seller Centre(CNSC). @Description https://open.shopee.com/documents?module=90&type=1&id=627&version=2

func (*GlobalProduct) GetPublishableShop

func (p *GlobalProduct) GetPublishableShop(globalItemID int64) globalentity.GetPublishableShopResult

GetPublishableShop @Title Create publish task for global item.Only for China mainland sellers using China Seller Centre(CNSC). @Description https://open.shopee.com/documents?module=90&type=1&id=630&version=2

func (*GlobalProduct) GetPublishedList

func (p *GlobalProduct) GetPublishedList(globalItemID int64) globalentity.GetPublishedListResult

GetPublishedList @Title Create publish task for global item.Only for China mainland sellers using China Seller Centre(CNSC). @Description https://open.shopee.com/documents?module=90&type=1&id=633&version=2

func (*GlobalProduct) InitGlobalTierVariation

InitGlobalTierVariation @Title Initialize global product tier variation. Only for China mainland sellers using China Seller Centre(CNSC) @Description https://open.shopee.com/documents?module=90&type=1&id=635&version=2

func (*GlobalProduct) SetSyncField

SetSyncField @Title Update stock. @Description https://open.shopee.com/documents?module=90&type=1&id=656&version=2

func (*GlobalProduct) SupportGlobalSizeChart

func (p *GlobalProduct) SupportGlobalSizeChart(categoryID int64) globalentity.SupportGlobalSizeChartResult

SupportGlobalSizeChart @Title Get category support size chart. @Description https://open.shopee.com/documents?module=90&type=1&id=632&version=2

func (*GlobalProduct) UpdateGlobalItem

UpdateGlobalItem @Title Update global item. Only for China mainland sellers using China Seller Centre(CNSC). More details in https://shopee.cn/cooperate/46/53/926 @Description https://open.shopee.com/documents?module=90&type=1&id=620&version=2

func (*GlobalProduct) UpdateGlobalModel

func (p *GlobalProduct) UpdateGlobalModel(globalItemID int64, model []globalentity.UpdateModelEntity) globalentity.UpdateGlobalModelResult

UpdateGlobalModel @Title Update seller sku for model. @Description https://open.shopee.com/documents?module=90&type=1&id=645&version=2

func (*GlobalProduct) UpdateGlobalPrice

func (p *GlobalProduct) UpdateGlobalPrice(globalItemID int64, priceList []globalentity.PriceEntity) globalentity.UpdateGlobalPriceResult

UpdateGlobalPrice @Title Create publish task for global item.Only for China mainland sellers using China Seller Centre(CNSC). @Description https://open.shopee.com/documents?module=90&type=1&id=642&version=2

func (*GlobalProduct) UpdateGlobalSizeChart

func (p *GlobalProduct) UpdateGlobalSizeChart(globalItemID int64, sizeChart string) globalentity.UpdateGlobalSizeChartResult

UpdateGlobalSizeChart @Title Update size chart image of item. @Description https://open.shopee.com/documents?module=90&type=1&id=625&version=2

func (*GlobalProduct) UpdateGlobalStock

func (p *GlobalProduct) UpdateGlobalStock(globalItemID int64, stockList []globalentity.UpdateStockStockInfoEntity) globalentity.UpdateGlobalStockResult

UpdateGlobalStock @Title Update stock. @Description https://open.shopee.com/documents?module=90&type=1&id=641&version=2

func (*GlobalProduct) UpdateGlobalTierVariation

func (p *GlobalProduct) UpdateGlobalTierVariation(globalItemID int64, tierVariation []globalentity.TierVariationEntity) globalentity.UpdateTierVariationResult

UpdateGlobalTierVariation @Title Update global product tier variation. Only for China mainland sellers using China Seller Centre(CNSC). @Description https://open.shopee.com/documents?module=90&type=1&id=636&version=2

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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