Documentation ¶
Overview ¶
Package product 包含商品API相关结构体
Index ¶
- type AfterSale
- type AlibabaGpuAddSchemaGetAPIRequest
- func (r AlibabaGpuAddSchemaGetAPIRequest) GetApiMethodName() string
- func (r AlibabaGpuAddSchemaGetAPIRequest) GetApiParams() url.Values
- func (r AlibabaGpuAddSchemaGetAPIRequest) GetBrandId() int64
- func (r AlibabaGpuAddSchemaGetAPIRequest) GetLeafCatId() int64
- func (r AlibabaGpuAddSchemaGetAPIRequest) GetProviderId() int64
- func (r *AlibabaGpuAddSchemaGetAPIRequest) SetBrandId(_brandId int64) error
- func (r *AlibabaGpuAddSchemaGetAPIRequest) SetLeafCatId(_leafCatId int64) error
- func (r *AlibabaGpuAddSchemaGetAPIRequest) SetProviderId(_providerId int64) error
- type AlibabaGpuAddSchemaGetAPIResponse
- type AlibabaGpuAddSchemaGetAPIResponseModel
- type AlibabaGpuSchemaAddAPIRequest
- func (r AlibabaGpuSchemaAddAPIRequest) GetApiMethodName() string
- func (r AlibabaGpuSchemaAddAPIRequest) GetApiParams() url.Values
- func (r AlibabaGpuSchemaAddAPIRequest) GetBrandId() int64
- func (r AlibabaGpuSchemaAddAPIRequest) GetLeafCatId() int64
- func (r AlibabaGpuSchemaAddAPIRequest) GetProviderId() int64
- func (r AlibabaGpuSchemaAddAPIRequest) GetSchemaXmlFields() string
- func (r *AlibabaGpuSchemaAddAPIRequest) SetBrandId(_brandId int64) error
- func (r *AlibabaGpuSchemaAddAPIRequest) SetLeafCatId(_leafCatId int64) error
- func (r *AlibabaGpuSchemaAddAPIRequest) SetProviderId(_providerId int64) error
- func (r *AlibabaGpuSchemaAddAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
- type AlibabaGpuSchemaAddAPIResponse
- type AlibabaGpuSchemaAddAPIResponseModel
- type AlibabaGpuSchemaCatsearchAPIRequest
- func (r AlibabaGpuSchemaCatsearchAPIRequest) GetApiMethodName() string
- func (r AlibabaGpuSchemaCatsearchAPIRequest) GetApiParams() url.Values
- func (r AlibabaGpuSchemaCatsearchAPIRequest) GetCurrentPage() int64
- func (r AlibabaGpuSchemaCatsearchAPIRequest) GetLeafCatId() int64
- func (r AlibabaGpuSchemaCatsearchAPIRequest) GetPageSize() int64
- func (r AlibabaGpuSchemaCatsearchAPIRequest) GetProviderId() int64
- func (r *AlibabaGpuSchemaCatsearchAPIRequest) SetCurrentPage(_currentPage int64) error
- func (r *AlibabaGpuSchemaCatsearchAPIRequest) SetLeafCatId(_leafCatId int64) error
- func (r *AlibabaGpuSchemaCatsearchAPIRequest) SetPageSize(_pageSize int64) error
- func (r *AlibabaGpuSchemaCatsearchAPIRequest) SetProviderId(_providerId int64) error
- type AlibabaGpuSchemaCatsearchAPIResponse
- type AlibabaGpuSchemaCatsearchAPIResponseModel
- type AlibabaGpuSchemaUpdateAPIRequest
- func (r AlibabaGpuSchemaUpdateAPIRequest) GetApiMethodName() string
- func (r AlibabaGpuSchemaUpdateAPIRequest) GetApiParams() url.Values
- func (r AlibabaGpuSchemaUpdateAPIRequest) GetProductId() int64
- func (r AlibabaGpuSchemaUpdateAPIRequest) GetProviderId() int64
- func (r AlibabaGpuSchemaUpdateAPIRequest) GetSchemaXmlFields() string
- func (r *AlibabaGpuSchemaUpdateAPIRequest) SetProductId(_productId int64) error
- func (r *AlibabaGpuSchemaUpdateAPIRequest) SetProviderId(_providerId int64) error
- func (r *AlibabaGpuSchemaUpdateAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
- type AlibabaGpuSchemaUpdateAPIResponse
- type AlibabaGpuSchemaUpdateAPIResponseModel
- type AlibabaGpuUpdateSchemaGetAPIRequest
- func (r AlibabaGpuUpdateSchemaGetAPIRequest) GetApiMethodName() string
- func (r AlibabaGpuUpdateSchemaGetAPIRequest) GetApiParams() url.Values
- func (r AlibabaGpuUpdateSchemaGetAPIRequest) GetProductId() int64
- func (r AlibabaGpuUpdateSchemaGetAPIRequest) GetProviderId() int64
- func (r *AlibabaGpuUpdateSchemaGetAPIRequest) SetProductId(_productId int64) error
- func (r *AlibabaGpuUpdateSchemaGetAPIRequest) SetProviderId(_providerId int64) error
- type AlibabaGpuUpdateSchemaGetAPIResponse
- type AlibabaGpuUpdateSchemaGetAPIResponseModel
- type AlibabaGspSupplyImageUploadAPIRequest
- func (r AlibabaGspSupplyImageUploadAPIRequest) GetApiMethodName() string
- func (r AlibabaGspSupplyImageUploadAPIRequest) GetApiParams() url.Values
- func (r AlibabaGspSupplyImageUploadAPIRequest) GetFileContent() *model.File
- func (r AlibabaGspSupplyImageUploadAPIRequest) GetFileName() string
- func (r *AlibabaGspSupplyImageUploadAPIRequest) SetFileContent(_fileContent *model.File) error
- func (r *AlibabaGspSupplyImageUploadAPIRequest) SetFileName(_fileName string) error
- type AlibabaGspSupplyImageUploadAPIResponse
- type AlibabaGspSupplyImageUploadAPIResponseModel
- type AlibabaItemCategoryPredictAPIRequest
- func (r AlibabaItemCategoryPredictAPIRequest) GetApiMethodName() string
- func (r AlibabaItemCategoryPredictAPIRequest) GetApiParams() url.Values
- func (r AlibabaItemCategoryPredictAPIRequest) GetBarcode() string
- func (r AlibabaItemCategoryPredictAPIRequest) GetBarcodeImage() string
- func (r AlibabaItemCategoryPredictAPIRequest) GetImages() []string
- func (r AlibabaItemCategoryPredictAPIRequest) GetItemDesc() string
- func (r AlibabaItemCategoryPredictAPIRequest) GetMarket() string
- func (r *AlibabaItemCategoryPredictAPIRequest) SetBarcode(_barcode string) error
- func (r *AlibabaItemCategoryPredictAPIRequest) SetBarcodeImage(_barcodeImage string) error
- func (r *AlibabaItemCategoryPredictAPIRequest) SetImages(_images []string) error
- func (r *AlibabaItemCategoryPredictAPIRequest) SetItemDesc(_itemDesc string) error
- func (r *AlibabaItemCategoryPredictAPIRequest) SetMarket(_market string) error
- type AlibabaItemCategoryPredictAPIResponse
- type AlibabaItemCategoryPredictAPIResponseModel
- type AlibabaItemEditFastupdateAPIRequest
- func (r AlibabaItemEditFastupdateAPIRequest) GetApiMethodName() string
- func (r AlibabaItemEditFastupdateAPIRequest) GetApiParams() url.Values
- func (r AlibabaItemEditFastupdateAPIRequest) GetCatId() int64
- func (r AlibabaItemEditFastupdateAPIRequest) GetItemId() int64
- func (r AlibabaItemEditFastupdateAPIRequest) GetSchema() string
- func (r AlibabaItemEditFastupdateAPIRequest) GetSpuId() int64
- func (r *AlibabaItemEditFastupdateAPIRequest) SetCatId(_catId int64) error
- func (r *AlibabaItemEditFastupdateAPIRequest) SetItemId(_itemId int64) error
- func (r *AlibabaItemEditFastupdateAPIRequest) SetSchema(_schema string) error
- func (r *AlibabaItemEditFastupdateAPIRequest) SetSpuId(_spuId int64) error
- type AlibabaItemEditFastupdateAPIResponse
- type AlibabaItemEditFastupdateAPIResponseModel
- type AlibabaItemEditSchemaGetAPIRequest
- func (r AlibabaItemEditSchemaGetAPIRequest) GetApiMethodName() string
- func (r AlibabaItemEditSchemaGetAPIRequest) GetApiParams() url.Values
- func (r AlibabaItemEditSchemaGetAPIRequest) GetBizType() string
- func (r AlibabaItemEditSchemaGetAPIRequest) GetFields() []string
- func (r AlibabaItemEditSchemaGetAPIRequest) GetItemId() int64
- func (r *AlibabaItemEditSchemaGetAPIRequest) SetBizType(_bizType string) error
- func (r *AlibabaItemEditSchemaGetAPIRequest) SetFields(_fields []string) error
- func (r *AlibabaItemEditSchemaGetAPIRequest) SetItemId(_itemId int64) error
- type AlibabaItemEditSchemaGetAPIResponse
- type AlibabaItemEditSchemaGetAPIResponseModel
- type AlibabaItemEditSubmitAPIRequest
- func (r AlibabaItemEditSubmitAPIRequest) GetApiMethodName() string
- func (r AlibabaItemEditSubmitAPIRequest) GetApiParams() url.Values
- func (r AlibabaItemEditSubmitAPIRequest) GetBizType() string
- func (r AlibabaItemEditSubmitAPIRequest) GetCatId() int64
- func (r AlibabaItemEditSubmitAPIRequest) GetItemId() int64
- func (r AlibabaItemEditSubmitAPIRequest) GetSchema() string
- func (r AlibabaItemEditSubmitAPIRequest) GetSpuId() int64
- func (r *AlibabaItemEditSubmitAPIRequest) SetBizType(_bizType string) error
- func (r *AlibabaItemEditSubmitAPIRequest) SetCatId(_catId int64) error
- func (r *AlibabaItemEditSubmitAPIRequest) SetItemId(_itemId int64) error
- func (r *AlibabaItemEditSubmitAPIRequest) SetSchema(_schema string) error
- func (r *AlibabaItemEditSubmitAPIRequest) SetSpuId(_spuId int64) error
- type AlibabaItemEditSubmitAPIResponse
- type AlibabaItemEditSubmitAPIResponseModel
- type AlibabaItemOperateDeleteAPIRequest
- type AlibabaItemOperateDeleteAPIResponse
- type AlibabaItemOperateDeleteAPIResponseModel
- type AlibabaItemOperateDownshelfAPIRequest
- type AlibabaItemOperateDownshelfAPIResponse
- type AlibabaItemOperateDownshelfAPIResponseModel
- type AlibabaItemOperateUpshelfAPIRequest
- func (r AlibabaItemOperateUpshelfAPIRequest) GetApiMethodName() string
- func (r AlibabaItemOperateUpshelfAPIRequest) GetApiParams() url.Values
- func (r AlibabaItemOperateUpshelfAPIRequest) GetItemId() int64
- func (r AlibabaItemOperateUpshelfAPIRequest) GetQuantity() int64
- func (r *AlibabaItemOperateUpshelfAPIRequest) SetItemId(_itemId int64) error
- func (r *AlibabaItemOperateUpshelfAPIRequest) SetQuantity(_quantity int64) error
- type AlibabaItemOperateUpshelfAPIResponse
- type AlibabaItemOperateUpshelfAPIResponseModel
- type AlibabaItemPublishMarketGetAPIRequest
- type AlibabaItemPublishMarketGetAPIResponse
- type AlibabaItemPublishMarketGetAPIResponseModel
- type AlibabaItemPublishPropsGetAPIRequest
- func (r AlibabaItemPublishPropsGetAPIRequest) GetApiMethodName() string
- func (r AlibabaItemPublishPropsGetAPIRequest) GetApiParams() url.Values
- func (r AlibabaItemPublishPropsGetAPIRequest) GetBarcode() string
- func (r AlibabaItemPublishPropsGetAPIRequest) GetCatId() int64
- func (r AlibabaItemPublishPropsGetAPIRequest) GetMarket() string
- func (r AlibabaItemPublishPropsGetAPIRequest) GetPropId() int64
- func (r AlibabaItemPublishPropsGetAPIRequest) GetSchema() string
- func (r *AlibabaItemPublishPropsGetAPIRequest) SetBarcode(_barcode string) error
- func (r *AlibabaItemPublishPropsGetAPIRequest) SetCatId(_catId int64) error
- func (r *AlibabaItemPublishPropsGetAPIRequest) SetMarket(_market string) error
- func (r *AlibabaItemPublishPropsGetAPIRequest) SetPropId(_propId int64) error
- func (r *AlibabaItemPublishPropsGetAPIRequest) SetSchema(_schema string) error
- type AlibabaItemPublishPropsGetAPIResponse
- type AlibabaItemPublishPropsGetAPIResponseModel
- type AlibabaItemPublishSchemaGetAPIRequest
- func (r AlibabaItemPublishSchemaGetAPIRequest) GetApiMethodName() string
- func (r AlibabaItemPublishSchemaGetAPIRequest) GetApiParams() url.Values
- func (r AlibabaItemPublishSchemaGetAPIRequest) GetBarcode() string
- func (r AlibabaItemPublishSchemaGetAPIRequest) GetBizType() string
- func (r AlibabaItemPublishSchemaGetAPIRequest) GetCatId() int64
- func (r AlibabaItemPublishSchemaGetAPIRequest) GetImages() []string
- func (r AlibabaItemPublishSchemaGetAPIRequest) GetItemType() string
- func (r AlibabaItemPublishSchemaGetAPIRequest) GetMarket() string
- func (r AlibabaItemPublishSchemaGetAPIRequest) GetSpuId() int64
- func (r *AlibabaItemPublishSchemaGetAPIRequest) SetBarcode(_barcode string) error
- func (r *AlibabaItemPublishSchemaGetAPIRequest) SetBizType(_bizType string) error
- func (r *AlibabaItemPublishSchemaGetAPIRequest) SetCatId(_catId int64) error
- func (r *AlibabaItemPublishSchemaGetAPIRequest) SetImages(_images []string) error
- func (r *AlibabaItemPublishSchemaGetAPIRequest) SetItemType(_itemType string) error
- func (r *AlibabaItemPublishSchemaGetAPIRequest) SetMarket(_market string) error
- func (r *AlibabaItemPublishSchemaGetAPIRequest) SetSpuId(_spuId int64) error
- type AlibabaItemPublishSchemaGetAPIResponse
- type AlibabaItemPublishSchemaGetAPIResponseModel
- type AlibabaItemPublishSubmitAPIRequest
- func (r AlibabaItemPublishSubmitAPIRequest) GetApiMethodName() string
- func (r AlibabaItemPublishSubmitAPIRequest) GetApiParams() url.Values
- func (r AlibabaItemPublishSubmitAPIRequest) GetBarcode() string
- func (r AlibabaItemPublishSubmitAPIRequest) GetBizType() string
- func (r AlibabaItemPublishSubmitAPIRequest) GetCatId() int64
- func (r AlibabaItemPublishSubmitAPIRequest) GetMarket() string
- func (r AlibabaItemPublishSubmitAPIRequest) GetSchema() string
- func (r AlibabaItemPublishSubmitAPIRequest) GetSpuId() int64
- func (r *AlibabaItemPublishSubmitAPIRequest) SetBarcode(_barcode string) error
- func (r *AlibabaItemPublishSubmitAPIRequest) SetBizType(_bizType string) error
- func (r *AlibabaItemPublishSubmitAPIRequest) SetCatId(_catId int64) error
- func (r *AlibabaItemPublishSubmitAPIRequest) SetMarket(_market string) error
- func (r *AlibabaItemPublishSubmitAPIRequest) SetSchema(_schema string) error
- func (r *AlibabaItemPublishSubmitAPIRequest) SetSpuId(_spuId int64) error
- type AlibabaItemPublishSubmitAPIResponse
- type AlibabaItemPublishSubmitAPIResponseModel
- type AlibabaJymIndustryInformationCallbakAPIRequest
- func (r AlibabaJymIndustryInformationCallbakAPIRequest) GetApiMethodName() string
- func (r AlibabaJymIndustryInformationCallbakAPIRequest) GetApiParams() url.Values
- func (r AlibabaJymIndustryInformationCallbakAPIRequest) GetBizId() string
- func (r AlibabaJymIndustryInformationCallbakAPIRequest) GetContent() string
- func (r AlibabaJymIndustryInformationCallbakAPIRequest) GetStatus() int64
- func (r AlibabaJymIndustryInformationCallbakAPIRequest) GetTaskId() string
- func (r *AlibabaJymIndustryInformationCallbakAPIRequest) SetBizId(_bizId string) error
- func (r *AlibabaJymIndustryInformationCallbakAPIRequest) SetContent(_content string) error
- func (r *AlibabaJymIndustryInformationCallbakAPIRequest) SetStatus(_status int64) error
- func (r *AlibabaJymIndustryInformationCallbakAPIRequest) SetTaskId(_taskId string) error
- type AlibabaJymIndustryInformationCallbakAPIResponse
- type AlibabaJymIndustryInformationCallbakAPIResponseModel
- type AlibabaWholesaleGoodsGetAPIRequest
- func (r AlibabaWholesaleGoodsGetAPIRequest) GetApiMethodName() string
- func (r AlibabaWholesaleGoodsGetAPIRequest) GetApiParams() url.Values
- func (r AlibabaWholesaleGoodsGetAPIRequest) GetCountryCode() string
- func (r AlibabaWholesaleGoodsGetAPIRequest) GetId() string
- func (r *AlibabaWholesaleGoodsGetAPIRequest) SetCountryCode(_countryCode string) error
- func (r *AlibabaWholesaleGoodsGetAPIRequest) SetId(_id string) error
- type AlibabaWholesaleGoodsGetAPIResponse
- type AlibabaWholesaleGoodsGetAPIResponseModel
- type AlibabaWholesaleGoodsSearchAPIRequest
- func (r AlibabaWholesaleGoodsSearchAPIRequest) GetApiMethodName() string
- func (r AlibabaWholesaleGoodsSearchAPIRequest) GetApiParams() url.Values
- func (r AlibabaWholesaleGoodsSearchAPIRequest) GetParamSearchGoodsOption() *SearchGoodsOption
- func (r *AlibabaWholesaleGoodsSearchAPIRequest) SetParamSearchGoodsOption(_paramSearchGoodsOption *SearchGoodsOption) error
- type AlibabaWholesaleGoodsSearchAPIResponse
- type AlibabaWholesaleGoodsSearchAPIResponseModel
- type AlibabaWholesaleShippinglineTemplateInitAPIRequest
- func (r AlibabaWholesaleShippinglineTemplateInitAPIRequest) GetApiMethodName() string
- func (r AlibabaWholesaleShippinglineTemplateInitAPIRequest) GetApiParams() url.Values
- func (r AlibabaWholesaleShippinglineTemplateInitAPIRequest) GetInitialTemplate() []InitialTemplate
- func (r *AlibabaWholesaleShippinglineTemplateInitAPIRequest) SetInitialTemplate(_initialTemplate []InitialTemplate) error
- type AlibabaWholesaleShippinglineTemplateInitAPIResponse
- type AlibabaWholesaleShippinglineTemplateInitAPIResponseModel
- type AliexpressSocialItemPromotionAPIRequest
- func (r AliexpressSocialItemPromotionAPIRequest) GetAf() string
- func (r AliexpressSocialItemPromotionAPIRequest) GetApiMethodName() string
- func (r AliexpressSocialItemPromotionAPIRequest) GetApiParams() url.Values
- func (r AliexpressSocialItemPromotionAPIRequest) GetCn() string
- func (r AliexpressSocialItemPromotionAPIRequest) GetCv() string
- func (r AliexpressSocialItemPromotionAPIRequest) GetDp() string
- func (r AliexpressSocialItemPromotionAPIRequest) GetTargetUrl() string
- func (r *AliexpressSocialItemPromotionAPIRequest) SetAf(_af string) error
- func (r *AliexpressSocialItemPromotionAPIRequest) SetCn(_cn string) error
- func (r *AliexpressSocialItemPromotionAPIRequest) SetCv(_cv string) error
- func (r *AliexpressSocialItemPromotionAPIRequest) SetDp(_dp string) error
- func (r *AliexpressSocialItemPromotionAPIRequest) SetTargetUrl(_targetUrl string) error
- type AliexpressSocialItemPromotionAPIResponse
- type AliexpressSocialItemPromotionAPIResponseModel
- type AliexpressSocialItemRankingAPIRequest
- func (r AliexpressSocialItemRankingAPIRequest) GetApiMethodName() string
- func (r AliexpressSocialItemRankingAPIRequest) GetApiParams() url.Values
- func (r AliexpressSocialItemRankingAPIRequest) GetCateId() int64
- func (r AliexpressSocialItemRankingAPIRequest) GetCountryList() []string
- func (r AliexpressSocialItemRankingAPIRequest) GetCurrency() string
- func (r AliexpressSocialItemRankingAPIRequest) GetLocale() string
- func (r AliexpressSocialItemRankingAPIRequest) GetPageNo() int64
- func (r AliexpressSocialItemRankingAPIRequest) GetPageSize() int64
- func (r *AliexpressSocialItemRankingAPIRequest) SetCateId(_cateId int64) error
- func (r *AliexpressSocialItemRankingAPIRequest) SetCountryList(_countryList []string) error
- func (r *AliexpressSocialItemRankingAPIRequest) SetCurrency(_currency string) error
- func (r *AliexpressSocialItemRankingAPIRequest) SetLocale(_locale string) error
- func (r *AliexpressSocialItemRankingAPIRequest) SetPageNo(_pageNo int64) error
- func (r *AliexpressSocialItemRankingAPIRequest) SetPageSize(_pageSize int64) error
- type AliexpressSocialItemRankingAPIResponse
- type AliexpressSocialItemRankingAPIResponseModel
- type AliexpressSocialItemSearchAPIRequest
- func (r AliexpressSocialItemSearchAPIRequest) GetAllianceItem() bool
- func (r AliexpressSocialItemSearchAPIRequest) GetApiMethodName() string
- func (r AliexpressSocialItemSearchAPIRequest) GetApiParams() url.Values
- func (r AliexpressSocialItemSearchAPIRequest) GetCateId() int64
- func (r AliexpressSocialItemSearchAPIRequest) GetCommentScore() string
- func (r AliexpressSocialItemSearchAPIRequest) GetCommissionRateMax() string
- func (r AliexpressSocialItemSearchAPIRequest) GetCommissionRateMin() string
- func (r AliexpressSocialItemSearchAPIRequest) GetCurrency() string
- func (r AliexpressSocialItemSearchAPIRequest) GetDesc() bool
- func (r AliexpressSocialItemSearchAPIRequest) GetHasVideo() bool
- func (r AliexpressSocialItemSearchAPIRequest) GetIsShipFree() bool
- func (r AliexpressSocialItemSearchAPIRequest) GetKeyword() string
- func (r AliexpressSocialItemSearchAPIRequest) GetLocale() string
- func (r AliexpressSocialItemSearchAPIRequest) GetLogisticsTime() int64
- func (r AliexpressSocialItemSearchAPIRequest) GetMaxPrice() string
- func (r AliexpressSocialItemSearchAPIRequest) GetMinPrice() string
- func (r AliexpressSocialItemSearchAPIRequest) GetOrderBy() string
- func (r AliexpressSocialItemSearchAPIRequest) GetPageNo() int64
- func (r AliexpressSocialItemSearchAPIRequest) GetPageSize() int64
- func (r AliexpressSocialItemSearchAPIRequest) GetShipTo() string
- func (r *AliexpressSocialItemSearchAPIRequest) SetAllianceItem(_allianceItem bool) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetCateId(_cateId int64) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetCommentScore(_commentScore string) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetCommissionRateMax(_commissionRateMax string) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetCommissionRateMin(_commissionRateMin string) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetCurrency(_currency string) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetDesc(_desc bool) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetHasVideo(_hasVideo bool) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetIsShipFree(_isShipFree bool) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetKeyword(_keyword string) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetLocale(_locale string) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetLogisticsTime(_logisticsTime int64) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetMaxPrice(_maxPrice string) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetMinPrice(_minPrice string) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetOrderBy(_orderBy string) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetPageNo(_pageNo int64) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetPageSize(_pageSize int64) error
- func (r *AliexpressSocialItemSearchAPIRequest) SetShipTo(_shipTo string) error
- type AliexpressSocialItemSearchAPIResponse
- type AliexpressSocialItemSearchAPIResponseModel
- type AlitripTravelElementsSearchAPIRequest
- func (r AlitripTravelElementsSearchAPIRequest) GetApiMethodName() string
- func (r AlitripTravelElementsSearchAPIRequest) GetApiParams() url.Values
- func (r AlitripTravelElementsSearchAPIRequest) GetCount() int64
- func (r AlitripTravelElementsSearchAPIRequest) GetQuery() string
- func (r AlitripTravelElementsSearchAPIRequest) GetSellerId() int64
- func (r AlitripTravelElementsSearchAPIRequest) GetType() int64
- func (r *AlitripTravelElementsSearchAPIRequest) SetCount(_count int64) error
- func (r *AlitripTravelElementsSearchAPIRequest) SetQuery(_query string) error
- func (r *AlitripTravelElementsSearchAPIRequest) SetSellerId(_sellerId int64) error
- func (r *AlitripTravelElementsSearchAPIRequest) SetType(_type int64) error
- type AlitripTravelElementsSearchAPIResponse
- type AlitripTravelElementsSearchAPIResponseModel
- type CacheChangeInfo
- type CacheChangeNotifyResult
- type CainiaoCntecItemChangeMessageAPIRequest
- func (r CainiaoCntecItemChangeMessageAPIRequest) GetApiMethodName() string
- func (r CainiaoCntecItemChangeMessageAPIRequest) GetApiParams() url.Values
- func (r CainiaoCntecItemChangeMessageAPIRequest) GetItemChangeMessage() *SupplyItemChangeMessage
- func (r *CainiaoCntecItemChangeMessageAPIRequest) SetItemChangeMessage(_itemChangeMessage *SupplyItemChangeMessage) error
- type CainiaoCntecItemChangeMessageAPIResponse
- type CainiaoCntecItemChangeMessageAPIResponseModel
- type CainiaoCntecItemChangeMessageResult
- type CertPicInfo
- type DapeiDo
- type DapeiTemplateItem
- type DisplayQualifications
- type FreightInfo
- type GoodsDetail
- type GoodsSearchResult
- type GoodsSummary
- type HscodeAuditInfo
- type IdsModule
- type InitialTemplate
- type Item
- type ItemDescModule
- type ItemImg
- type ItemPickPagingResult
- type ItemPromotionRule
- type ItemSearchResult
- type ItemTemplate
- type Location
- type ModularDescInfo
- type Product
- type ProductImg
- type ProductInfo
- type ProductPropImg
- type ProductSpec
- type PromotionDisplayTop
- type PromotionInItem
- type PromotionInShop
- type PropImg
- type ResourceData
- type ResourceDataRecord
- type SearchGoodsOption
- type SizeMappingTemplate
- type SizeMappingTemplateDo
- type Sku
- type SpuTemplateDo
- type SupplyItemChangeMessage
- type TaobaoAftersaleGetAPIRequest
- type TaobaoAftersaleGetAPIResponse
- type TaobaoAftersaleGetAPIResponseModel
- type TaobaoBaikeImportZhubaoDataAPIRequest
- func (r TaobaoBaikeImportZhubaoDataAPIRequest) GetApiMethodName() string
- func (r TaobaoBaikeImportZhubaoDataAPIRequest) GetApiParams() url.Values
- func (r TaobaoBaikeImportZhubaoDataAPIRequest) GetDataJsonStr() string
- func (r *TaobaoBaikeImportZhubaoDataAPIRequest) SetDataJsonStr(_dataJsonStr string) error
- type TaobaoBaikeImportZhubaoDataAPIResponse
- type TaobaoBaikeImportZhubaoDataAPIResponseModel
- type TaobaoBaikeImportZhubaoDataResult
- type TaobaoBaikeImportZhubaoPictureAPIRequest
- func (r TaobaoBaikeImportZhubaoPictureAPIRequest) GetApiMethodName() string
- func (r TaobaoBaikeImportZhubaoPictureAPIRequest) GetApiParams() url.Values
- func (r TaobaoBaikeImportZhubaoPictureAPIRequest) GetPicture() *model.File
- func (r *TaobaoBaikeImportZhubaoPictureAPIRequest) SetPicture(_picture *model.File) error
- type TaobaoBaikeImportZhubaoPictureAPIResponse
- type TaobaoBaikeImportZhubaoPictureAPIResponseModel
- type TaobaoBaikeImportZhubaoPictureResult
- type TaobaoBanamadpcItemAddAPIRequest
- func (r TaobaoBanamadpcItemAddAPIRequest) GetApiMethodName() string
- func (r TaobaoBanamadpcItemAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoBanamadpcItemAddAPIRequest) GetCatId() int64
- func (r TaobaoBanamadpcItemAddAPIRequest) GetXml() string
- func (r *TaobaoBanamadpcItemAddAPIRequest) SetCatId(_catId int64) error
- func (r *TaobaoBanamadpcItemAddAPIRequest) SetXml(_xml string) error
- type TaobaoBanamadpcItemAddAPIResponse
- type TaobaoBanamadpcItemAddAPIResponseModel
- type TaobaoBanamadpcItemAddApiResult
- type TaobaoBanamadpcItemEditRenderAPIRequest
- type TaobaoBanamadpcItemEditRenderAPIResponse
- type TaobaoBanamadpcItemEditRenderAPIResponseModel
- type TaobaoBanamadpcItemEditRenderApiResult
- type TaobaoBanamadpcItemRenderAPIRequest
- type TaobaoBanamadpcItemRenderAPIResponse
- type TaobaoBanamadpcItemRenderAPIResponseModel
- type TaobaoBanamadpcItemRenderApiResult
- type TaobaoBanamadpcItemSelectPropAPIRequest
- func (r TaobaoBanamadpcItemSelectPropAPIRequest) GetApiMethodName() string
- func (r TaobaoBanamadpcItemSelectPropAPIRequest) GetApiParams() url.Values
- func (r TaobaoBanamadpcItemSelectPropAPIRequest) GetCatId() int64
- func (r TaobaoBanamadpcItemSelectPropAPIRequest) GetPropId() int64
- func (r TaobaoBanamadpcItemSelectPropAPIRequest) GetXml() string
- func (r *TaobaoBanamadpcItemSelectPropAPIRequest) SetCatId(_catId int64) error
- func (r *TaobaoBanamadpcItemSelectPropAPIRequest) SetPropId(_propId int64) error
- func (r *TaobaoBanamadpcItemSelectPropAPIRequest) SetXml(_xml string) error
- type TaobaoBanamadpcItemSelectPropAPIResponse
- type TaobaoBanamadpcItemSelectPropAPIResponseModel
- type TaobaoBanamadpcItemSelectPropApiResult
- type TaobaoBanamadpcItemUpdateAPIRequest
- func (r TaobaoBanamadpcItemUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoBanamadpcItemUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoBanamadpcItemUpdateAPIRequest) GetItemId() int64
- func (r TaobaoBanamadpcItemUpdateAPIRequest) GetXml() string
- func (r *TaobaoBanamadpcItemUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoBanamadpcItemUpdateAPIRequest) SetXml(_xml string) error
- type TaobaoBanamadpcItemUpdateAPIResponse
- type TaobaoBanamadpcItemUpdateAPIResponseModel
- type TaobaoBanamadpcItemUpdateApiResult
- type TaobaoItemAddAPIRequest
- func (r TaobaoItemAddAPIRequest) GetAfterSaleId() int64
- func (r TaobaoItemAddAPIRequest) GetApiMethodName() string
- func (r TaobaoItemAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemAddAPIRequest) GetApproveStatus() string
- func (r TaobaoItemAddAPIRequest) GetAuctionPoint() int64
- func (r TaobaoItemAddAPIRequest) GetAutoFill() string
- func (r TaobaoItemAddAPIRequest) GetBarcode() string
- func (r TaobaoItemAddAPIRequest) GetBizCode() string
- func (r TaobaoItemAddAPIRequest) GetBrokerage() string
- func (r TaobaoItemAddAPIRequest) GetChangeProp() string
- func (r TaobaoItemAddAPIRequest) GetCid() int64
- func (r TaobaoItemAddAPIRequest) GetCodPostageId() int64
- func (r TaobaoItemAddAPIRequest) GetCpvMemo() string
- func (r TaobaoItemAddAPIRequest) GetCustomMadeTypeId() string
- func (r TaobaoItemAddAPIRequest) GetDeliveryTimeDeliveryTime() string
- func (r TaobaoItemAddAPIRequest) GetDeliveryTimeDeliveryTimeType() string
- func (r TaobaoItemAddAPIRequest) GetDeliveryTimeNeedDeliveryTime() string
- func (r TaobaoItemAddAPIRequest) GetDesc() string
- func (r TaobaoItemAddAPIRequest) GetDescModules() string
- func (r TaobaoItemAddAPIRequest) GetEmsFee() float64
- func (r TaobaoItemAddAPIRequest) GetExpressFee() float64
- func (r TaobaoItemAddAPIRequest) GetFeatures() string
- func (r TaobaoItemAddAPIRequest) GetFoodSecurityContact() string
- func (r TaobaoItemAddAPIRequest) GetFoodSecurityDesignCode() string
- func (r TaobaoItemAddAPIRequest) GetFoodSecurityFactory() string
- func (r TaobaoItemAddAPIRequest) GetFoodSecurityFactorySite() string
- func (r TaobaoItemAddAPIRequest) GetFoodSecurityFoodAdditive() string
- func (r TaobaoItemAddAPIRequest) GetFoodSecurityHealthProductNo() string
- func (r TaobaoItemAddAPIRequest) GetFoodSecurityMix() string
- func (r TaobaoItemAddAPIRequest) GetFoodSecurityPeriod() string
- func (r TaobaoItemAddAPIRequest) GetFoodSecurityPlanStorage() string
- func (r TaobaoItemAddAPIRequest) GetFoodSecurityPrdLicenseNo() string
- func (r TaobaoItemAddAPIRequest) GetFoodSecurityProductDateEnd() string
- func (r TaobaoItemAddAPIRequest) GetFoodSecurityProductDateStart() string
- func (r TaobaoItemAddAPIRequest) GetFoodSecurityStockDateEnd() string
- func (r TaobaoItemAddAPIRequest) GetFoodSecurityStockDateStart() string
- func (r TaobaoItemAddAPIRequest) GetFoodSecuritySupplier() string
- func (r TaobaoItemAddAPIRequest) GetFreightPayer() string
- func (r TaobaoItemAddAPIRequest) GetGlobalStockCountry() string
- func (r TaobaoItemAddAPIRequest) GetGlobalStockDeliveryPlace() string
- func (r TaobaoItemAddAPIRequest) GetGlobalStockTaxFreePromise() bool
- func (r TaobaoItemAddAPIRequest) GetGlobalStockType() string
- func (r TaobaoItemAddAPIRequest) GetHasDiscount() bool
- func (r TaobaoItemAddAPIRequest) GetHasInvoice() bool
- func (r TaobaoItemAddAPIRequest) GetHasShowcase() bool
- func (r TaobaoItemAddAPIRequest) GetHasWarranty() bool
- func (r TaobaoItemAddAPIRequest) GetIgnorewarning() string
- func (r TaobaoItemAddAPIRequest) GetImage() *model.File
- func (r TaobaoItemAddAPIRequest) GetImageUrls() []string
- func (r TaobaoItemAddAPIRequest) GetIncrement() float64
- func (r TaobaoItemAddAPIRequest) GetInputCustomCpv() string
- func (r TaobaoItemAddAPIRequest) GetInputPids() string
- func (r TaobaoItemAddAPIRequest) GetInputStr() string
- func (r TaobaoItemAddAPIRequest) GetInteractiveId() int64
- func (r TaobaoItemAddAPIRequest) GetIs3D() bool
- func (r TaobaoItemAddAPIRequest) GetIsEx() bool
- func (r TaobaoItemAddAPIRequest) GetIsLightningConsignment() bool
- func (r TaobaoItemAddAPIRequest) GetIsOffline() string
- func (r TaobaoItemAddAPIRequest) GetIsTaobao() bool
- func (r TaobaoItemAddAPIRequest) GetIsXinpin() bool
- func (r TaobaoItemAddAPIRequest) GetItemSize() string
- func (r TaobaoItemAddAPIRequest) GetItemWeight() string
- func (r TaobaoItemAddAPIRequest) GetLang() string
- func (r TaobaoItemAddAPIRequest) GetLeaseExtendsInfo() string
- func (r TaobaoItemAddAPIRequest) GetListTime() string
- func (r TaobaoItemAddAPIRequest) GetLocalityLifeChooseLogis() string
- func (r TaobaoItemAddAPIRequest) GetLocalityLifeEticket() string
- func (r TaobaoItemAddAPIRequest) GetLocalityLifeExpirydate() string
- func (r TaobaoItemAddAPIRequest) GetLocalityLifeMerchant() string
- func (r TaobaoItemAddAPIRequest) GetLocalityLifeNetworkId() string
- func (r TaobaoItemAddAPIRequest) GetLocalityLifeObs() string
- func (r TaobaoItemAddAPIRequest) GetLocalityLifeOnsaleAutoRefundRatio() int64
- func (r TaobaoItemAddAPIRequest) GetLocalityLifePackageid() string
- func (r TaobaoItemAddAPIRequest) GetLocalityLifeRefundRatio() int64
- func (r TaobaoItemAddAPIRequest) GetLocalityLifeRefundmafee() string
- func (r TaobaoItemAddAPIRequest) GetLocalityLifeVerification() string
- func (r TaobaoItemAddAPIRequest) GetLocalityLifeVersion() string
- func (r TaobaoItemAddAPIRequest) GetLocationCity() string
- func (r TaobaoItemAddAPIRequest) GetLocationState() string
- func (r TaobaoItemAddAPIRequest) GetMsPaymentPrice() string
- func (r TaobaoItemAddAPIRequest) GetMsPaymentReferencePrice() string
- func (r TaobaoItemAddAPIRequest) GetMsPaymentVoucherPrice() string
- func (r TaobaoItemAddAPIRequest) GetNewprepay() string
- func (r TaobaoItemAddAPIRequest) GetNum() int64
- func (r TaobaoItemAddAPIRequest) GetO2oBindService() bool
- func (r TaobaoItemAddAPIRequest) GetOuterId() string
- func (r TaobaoItemAddAPIRequest) GetPaimaiInfoDeposit() int64
- func (r TaobaoItemAddAPIRequest) GetPaimaiInfoInterval() int64
- func (r TaobaoItemAddAPIRequest) GetPaimaiInfoMode() int64
- func (r TaobaoItemAddAPIRequest) GetPaimaiInfoReserve() float64
- func (r TaobaoItemAddAPIRequest) GetPaimaiInfoValidHour() int64
- func (r TaobaoItemAddAPIRequest) GetPaimaiInfoValidMinute() int64
- func (r TaobaoItemAddAPIRequest) GetPicPath() string
- func (r TaobaoItemAddAPIRequest) GetPostFee() float64
- func (r TaobaoItemAddAPIRequest) GetPostageId() int64
- func (r TaobaoItemAddAPIRequest) GetPrice() float64
- func (r TaobaoItemAddAPIRequest) GetProductId() int64
- func (r TaobaoItemAddAPIRequest) GetPropertyAlias() string
- func (r TaobaoItemAddAPIRequest) GetProps() string
- func (r TaobaoItemAddAPIRequest) GetQualification() string
- func (r TaobaoItemAddAPIRequest) GetScenicTicketBookCost() string
- func (r TaobaoItemAddAPIRequest) GetScenicTicketPayWay() int64
- func (r TaobaoItemAddAPIRequest) GetSellPoint() string
- func (r TaobaoItemAddAPIRequest) GetSellPromise() bool
- func (r TaobaoItemAddAPIRequest) GetSellerCids() string
- func (r TaobaoItemAddAPIRequest) GetSkuBarcode() string
- func (r TaobaoItemAddAPIRequest) GetSkuDeliveryTimes() string
- func (r TaobaoItemAddAPIRequest) GetSkuHdHeight() string
- func (r TaobaoItemAddAPIRequest) GetSkuHdLampQuantity() string
- func (r TaobaoItemAddAPIRequest) GetSkuHdLength() string
- func (r TaobaoItemAddAPIRequest) GetSkuOuterIds() string
- func (r TaobaoItemAddAPIRequest) GetSkuPrices() string
- func (r TaobaoItemAddAPIRequest) GetSkuProperties() string
- func (r TaobaoItemAddAPIRequest) GetSkuQuantities() string
- func (r TaobaoItemAddAPIRequest) GetSkuSpecIds() string
- func (r TaobaoItemAddAPIRequest) GetSpuConfirm() bool
- func (r TaobaoItemAddAPIRequest) GetStuffStatus() string
- func (r TaobaoItemAddAPIRequest) GetSubStock() int64
- func (r TaobaoItemAddAPIRequest) GetSupportCustomMade() bool
- func (r TaobaoItemAddAPIRequest) GetTitle() string
- func (r TaobaoItemAddAPIRequest) GetType() string
- func (r TaobaoItemAddAPIRequest) GetValidThru() int64
- func (r TaobaoItemAddAPIRequest) GetVideoId() int64
- func (r TaobaoItemAddAPIRequest) GetWeight() int64
- func (r TaobaoItemAddAPIRequest) GetWirelessDesc() string
- func (r *TaobaoItemAddAPIRequest) SetAfterSaleId(_afterSaleId int64) error
- func (r *TaobaoItemAddAPIRequest) SetApproveStatus(_approveStatus string) error
- func (r *TaobaoItemAddAPIRequest) SetAuctionPoint(_auctionPoint int64) error
- func (r *TaobaoItemAddAPIRequest) SetAutoFill(_autoFill string) error
- func (r *TaobaoItemAddAPIRequest) SetBarcode(_barcode string) error
- func (r *TaobaoItemAddAPIRequest) SetBizCode(_bizCode string) error
- func (r *TaobaoItemAddAPIRequest) SetBrokerage(_brokerage string) error
- func (r *TaobaoItemAddAPIRequest) SetChangeProp(_changeProp string) error
- func (r *TaobaoItemAddAPIRequest) SetCid(_cid int64) error
- func (r *TaobaoItemAddAPIRequest) SetCodPostageId(_codPostageId int64) error
- func (r *TaobaoItemAddAPIRequest) SetCpvMemo(_cpvMemo string) error
- func (r *TaobaoItemAddAPIRequest) SetCustomMadeTypeId(_customMadeTypeId string) error
- func (r *TaobaoItemAddAPIRequest) SetDeliveryTimeDeliveryTime(_deliveryTimeDeliveryTime string) error
- func (r *TaobaoItemAddAPIRequest) SetDeliveryTimeDeliveryTimeType(_deliveryTimeDeliveryTimeType string) error
- func (r *TaobaoItemAddAPIRequest) SetDeliveryTimeNeedDeliveryTime(_deliveryTimeNeedDeliveryTime string) error
- func (r *TaobaoItemAddAPIRequest) SetDesc(_desc string) error
- func (r *TaobaoItemAddAPIRequest) SetDescModules(_descModules string) error
- func (r *TaobaoItemAddAPIRequest) SetEmsFee(_emsFee float64) error
- func (r *TaobaoItemAddAPIRequest) SetExpressFee(_expressFee float64) error
- func (r *TaobaoItemAddAPIRequest) SetFeatures(_features string) error
- func (r *TaobaoItemAddAPIRequest) SetFoodSecurityContact(_foodSecurityContact string) error
- func (r *TaobaoItemAddAPIRequest) SetFoodSecurityDesignCode(_foodSecurityDesignCode string) error
- func (r *TaobaoItemAddAPIRequest) SetFoodSecurityFactory(_foodSecurityFactory string) error
- func (r *TaobaoItemAddAPIRequest) SetFoodSecurityFactorySite(_foodSecurityFactorySite string) error
- func (r *TaobaoItemAddAPIRequest) SetFoodSecurityFoodAdditive(_foodSecurityFoodAdditive string) error
- func (r *TaobaoItemAddAPIRequest) SetFoodSecurityHealthProductNo(_foodSecurityHealthProductNo string) error
- func (r *TaobaoItemAddAPIRequest) SetFoodSecurityMix(_foodSecurityMix string) error
- func (r *TaobaoItemAddAPIRequest) SetFoodSecurityPeriod(_foodSecurityPeriod string) error
- func (r *TaobaoItemAddAPIRequest) SetFoodSecurityPlanStorage(_foodSecurityPlanStorage string) error
- func (r *TaobaoItemAddAPIRequest) SetFoodSecurityPrdLicenseNo(_foodSecurityPrdLicenseNo string) error
- func (r *TaobaoItemAddAPIRequest) SetFoodSecurityProductDateEnd(_foodSecurityProductDateEnd string) error
- func (r *TaobaoItemAddAPIRequest) SetFoodSecurityProductDateStart(_foodSecurityProductDateStart string) error
- func (r *TaobaoItemAddAPIRequest) SetFoodSecurityStockDateEnd(_foodSecurityStockDateEnd string) error
- func (r *TaobaoItemAddAPIRequest) SetFoodSecurityStockDateStart(_foodSecurityStockDateStart string) error
- func (r *TaobaoItemAddAPIRequest) SetFoodSecuritySupplier(_foodSecuritySupplier string) error
- func (r *TaobaoItemAddAPIRequest) SetFreightPayer(_freightPayer string) error
- func (r *TaobaoItemAddAPIRequest) SetGlobalStockCountry(_globalStockCountry string) error
- func (r *TaobaoItemAddAPIRequest) SetGlobalStockDeliveryPlace(_globalStockDeliveryPlace string) error
- func (r *TaobaoItemAddAPIRequest) SetGlobalStockTaxFreePromise(_globalStockTaxFreePromise bool) error
- func (r *TaobaoItemAddAPIRequest) SetGlobalStockType(_globalStockType string) error
- func (r *TaobaoItemAddAPIRequest) SetHasDiscount(_hasDiscount bool) error
- func (r *TaobaoItemAddAPIRequest) SetHasInvoice(_hasInvoice bool) error
- func (r *TaobaoItemAddAPIRequest) SetHasShowcase(_hasShowcase bool) error
- func (r *TaobaoItemAddAPIRequest) SetHasWarranty(_hasWarranty bool) error
- func (r *TaobaoItemAddAPIRequest) SetIgnorewarning(_ignorewarning string) error
- func (r *TaobaoItemAddAPIRequest) SetImage(_image *model.File) error
- func (r *TaobaoItemAddAPIRequest) SetImageUrls(_imageUrls []string) error
- func (r *TaobaoItemAddAPIRequest) SetIncrement(_increment float64) error
- func (r *TaobaoItemAddAPIRequest) SetInputCustomCpv(_inputCustomCpv string) error
- func (r *TaobaoItemAddAPIRequest) SetInputPids(_inputPids string) error
- func (r *TaobaoItemAddAPIRequest) SetInputStr(_inputStr string) error
- func (r *TaobaoItemAddAPIRequest) SetInteractiveId(_interactiveId int64) error
- func (r *TaobaoItemAddAPIRequest) SetIs3D(_is3D bool) error
- func (r *TaobaoItemAddAPIRequest) SetIsEx(_isEx bool) error
- func (r *TaobaoItemAddAPIRequest) SetIsLightningConsignment(_isLightningConsignment bool) error
- func (r *TaobaoItemAddAPIRequest) SetIsOffline(_isOffline string) error
- func (r *TaobaoItemAddAPIRequest) SetIsTaobao(_isTaobao bool) error
- func (r *TaobaoItemAddAPIRequest) SetIsXinpin(_isXinpin bool) error
- func (r *TaobaoItemAddAPIRequest) SetItemSize(_itemSize string) error
- func (r *TaobaoItemAddAPIRequest) SetItemWeight(_itemWeight string) error
- func (r *TaobaoItemAddAPIRequest) SetLang(_lang string) error
- func (r *TaobaoItemAddAPIRequest) SetLeaseExtendsInfo(_leaseExtendsInfo string) error
- func (r *TaobaoItemAddAPIRequest) SetListTime(_listTime string) error
- func (r *TaobaoItemAddAPIRequest) SetLocalityLifeChooseLogis(_localityLifeChooseLogis string) error
- func (r *TaobaoItemAddAPIRequest) SetLocalityLifeEticket(_localityLifeEticket string) error
- func (r *TaobaoItemAddAPIRequest) SetLocalityLifeExpirydate(_localityLifeExpirydate string) error
- func (r *TaobaoItemAddAPIRequest) SetLocalityLifeMerchant(_localityLifeMerchant string) error
- func (r *TaobaoItemAddAPIRequest) SetLocalityLifeNetworkId(_localityLifeNetworkId string) error
- func (r *TaobaoItemAddAPIRequest) SetLocalityLifeObs(_localityLifeObs string) error
- func (r *TaobaoItemAddAPIRequest) SetLocalityLifeOnsaleAutoRefundRatio(_localityLifeOnsaleAutoRefundRatio int64) error
- func (r *TaobaoItemAddAPIRequest) SetLocalityLifePackageid(_localityLifePackageid string) error
- func (r *TaobaoItemAddAPIRequest) SetLocalityLifeRefundRatio(_localityLifeRefundRatio int64) error
- func (r *TaobaoItemAddAPIRequest) SetLocalityLifeRefundmafee(_localityLifeRefundmafee string) error
- func (r *TaobaoItemAddAPIRequest) SetLocalityLifeVerification(_localityLifeVerification string) error
- func (r *TaobaoItemAddAPIRequest) SetLocalityLifeVersion(_localityLifeVersion string) error
- func (r *TaobaoItemAddAPIRequest) SetLocationCity(_locationCity string) error
- func (r *TaobaoItemAddAPIRequest) SetLocationState(_locationState string) error
- func (r *TaobaoItemAddAPIRequest) SetMsPaymentPrice(_msPaymentPrice string) error
- func (r *TaobaoItemAddAPIRequest) SetMsPaymentReferencePrice(_msPaymentReferencePrice string) error
- func (r *TaobaoItemAddAPIRequest) SetMsPaymentVoucherPrice(_msPaymentVoucherPrice string) error
- func (r *TaobaoItemAddAPIRequest) SetNewprepay(_newprepay string) error
- func (r *TaobaoItemAddAPIRequest) SetNum(_num int64) error
- func (r *TaobaoItemAddAPIRequest) SetO2oBindService(_o2oBindService bool) error
- func (r *TaobaoItemAddAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoItemAddAPIRequest) SetPaimaiInfoDeposit(_paimaiInfoDeposit int64) error
- func (r *TaobaoItemAddAPIRequest) SetPaimaiInfoInterval(_paimaiInfoInterval int64) error
- func (r *TaobaoItemAddAPIRequest) SetPaimaiInfoMode(_paimaiInfoMode int64) error
- func (r *TaobaoItemAddAPIRequest) SetPaimaiInfoReserve(_paimaiInfoReserve float64) error
- func (r *TaobaoItemAddAPIRequest) SetPaimaiInfoValidHour(_paimaiInfoValidHour int64) error
- func (r *TaobaoItemAddAPIRequest) SetPaimaiInfoValidMinute(_paimaiInfoValidMinute int64) error
- func (r *TaobaoItemAddAPIRequest) SetPicPath(_picPath string) error
- func (r *TaobaoItemAddAPIRequest) SetPostFee(_postFee float64) error
- func (r *TaobaoItemAddAPIRequest) SetPostageId(_postageId int64) error
- func (r *TaobaoItemAddAPIRequest) SetPrice(_price float64) error
- func (r *TaobaoItemAddAPIRequest) SetProductId(_productId int64) error
- func (r *TaobaoItemAddAPIRequest) SetPropertyAlias(_propertyAlias string) error
- func (r *TaobaoItemAddAPIRequest) SetProps(_props string) error
- func (r *TaobaoItemAddAPIRequest) SetQualification(_qualification string) error
- func (r *TaobaoItemAddAPIRequest) SetScenicTicketBookCost(_scenicTicketBookCost string) error
- func (r *TaobaoItemAddAPIRequest) SetScenicTicketPayWay(_scenicTicketPayWay int64) error
- func (r *TaobaoItemAddAPIRequest) SetSellPoint(_sellPoint string) error
- func (r *TaobaoItemAddAPIRequest) SetSellPromise(_sellPromise bool) error
- func (r *TaobaoItemAddAPIRequest) SetSellerCids(_sellerCids string) error
- func (r *TaobaoItemAddAPIRequest) SetSkuBarcode(_skuBarcode string) error
- func (r *TaobaoItemAddAPIRequest) SetSkuDeliveryTimes(_skuDeliveryTimes string) error
- func (r *TaobaoItemAddAPIRequest) SetSkuHdHeight(_skuHdHeight string) error
- func (r *TaobaoItemAddAPIRequest) SetSkuHdLampQuantity(_skuHdLampQuantity string) error
- func (r *TaobaoItemAddAPIRequest) SetSkuHdLength(_skuHdLength string) error
- func (r *TaobaoItemAddAPIRequest) SetSkuOuterIds(_skuOuterIds string) error
- func (r *TaobaoItemAddAPIRequest) SetSkuPrices(_skuPrices string) error
- func (r *TaobaoItemAddAPIRequest) SetSkuProperties(_skuProperties string) error
- func (r *TaobaoItemAddAPIRequest) SetSkuQuantities(_skuQuantities string) error
- func (r *TaobaoItemAddAPIRequest) SetSkuSpecIds(_skuSpecIds string) error
- func (r *TaobaoItemAddAPIRequest) SetSpuConfirm(_spuConfirm bool) error
- func (r *TaobaoItemAddAPIRequest) SetStuffStatus(_stuffStatus string) error
- func (r *TaobaoItemAddAPIRequest) SetSubStock(_subStock int64) error
- func (r *TaobaoItemAddAPIRequest) SetSupportCustomMade(_supportCustomMade bool) error
- func (r *TaobaoItemAddAPIRequest) SetTitle(_title string) error
- func (r *TaobaoItemAddAPIRequest) SetType(_type string) error
- func (r *TaobaoItemAddAPIRequest) SetValidThru(_validThru int64) error
- func (r *TaobaoItemAddAPIRequest) SetVideoId(_videoId int64) error
- func (r *TaobaoItemAddAPIRequest) SetWeight(_weight int64) error
- func (r *TaobaoItemAddAPIRequest) SetWirelessDesc(_wirelessDesc string) error
- type TaobaoItemAddAPIResponse
- type TaobaoItemAddAPIResponseModel
- type TaobaoItemAnchorGetAPIRequest
- func (r TaobaoItemAnchorGetAPIRequest) GetApiMethodName() string
- func (r TaobaoItemAnchorGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemAnchorGetAPIRequest) GetCatId() int64
- func (r TaobaoItemAnchorGetAPIRequest) GetType() int64
- func (r *TaobaoItemAnchorGetAPIRequest) SetCatId(_catId int64) error
- func (r *TaobaoItemAnchorGetAPIRequest) SetType(_type int64) error
- type TaobaoItemAnchorGetAPIResponse
- type TaobaoItemAnchorGetAPIResponseModel
- type TaobaoItemBarcodeUpdateAPIRequest
- func (r TaobaoItemBarcodeUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoItemBarcodeUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemBarcodeUpdateAPIRequest) GetIsforce() bool
- func (r TaobaoItemBarcodeUpdateAPIRequest) GetItemBarcode() string
- func (r TaobaoItemBarcodeUpdateAPIRequest) GetItemId() int64
- func (r TaobaoItemBarcodeUpdateAPIRequest) GetSkuBarcodes() string
- func (r TaobaoItemBarcodeUpdateAPIRequest) GetSkuIds() string
- func (r TaobaoItemBarcodeUpdateAPIRequest) GetSrc() string
- func (r *TaobaoItemBarcodeUpdateAPIRequest) SetIsforce(_isforce bool) error
- func (r *TaobaoItemBarcodeUpdateAPIRequest) SetItemBarcode(_itemBarcode string) error
- func (r *TaobaoItemBarcodeUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoItemBarcodeUpdateAPIRequest) SetSkuBarcodes(_skuBarcodes string) error
- func (r *TaobaoItemBarcodeUpdateAPIRequest) SetSkuIds(_skuIds string) error
- func (r *TaobaoItemBarcodeUpdateAPIRequest) SetSrc(_src string) error
- type TaobaoItemBarcodeUpdateAPIResponse
- type TaobaoItemBarcodeUpdateAPIResponseModel
- type TaobaoItemCarturlGetAPIRequest
- func (r TaobaoItemCarturlGetAPIRequest) GetApiMethodName() string
- func (r TaobaoItemCarturlGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemCarturlGetAPIRequest) GetCallbackUrl() string
- func (r TaobaoItemCarturlGetAPIRequest) GetExtParams() string
- func (r TaobaoItemCarturlGetAPIRequest) GetItemIds() []string
- func (r TaobaoItemCarturlGetAPIRequest) GetType() string
- func (r TaobaoItemCarturlGetAPIRequest) GetUserId() int64
- func (r TaobaoItemCarturlGetAPIRequest) GetUserNick() string
- func (r *TaobaoItemCarturlGetAPIRequest) SetCallbackUrl(_callbackUrl string) error
- func (r *TaobaoItemCarturlGetAPIRequest) SetExtParams(_extParams string) error
- func (r *TaobaoItemCarturlGetAPIRequest) SetItemIds(_itemIds []string) error
- func (r *TaobaoItemCarturlGetAPIRequest) SetType(_type string) error
- func (r *TaobaoItemCarturlGetAPIRequest) SetUserId(_userId int64) error
- func (r *TaobaoItemCarturlGetAPIRequest) SetUserNick(_userNick string) error
- type TaobaoItemCarturlGetAPIResponse
- type TaobaoItemCarturlGetAPIResponseModel
- type TaobaoItemDeleteAPIRequest
- type TaobaoItemDeleteAPIResponse
- type TaobaoItemDeleteAPIResponseModel
- type TaobaoItemImgDeleteAPIRequest
- func (r TaobaoItemImgDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoItemImgDeleteAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemImgDeleteAPIRequest) GetId() int64
- func (r TaobaoItemImgDeleteAPIRequest) GetIsSixthPic() bool
- func (r TaobaoItemImgDeleteAPIRequest) GetNumIid() int64
- func (r *TaobaoItemImgDeleteAPIRequest) SetId(_id int64) error
- func (r *TaobaoItemImgDeleteAPIRequest) SetIsSixthPic(_isSixthPic bool) error
- func (r *TaobaoItemImgDeleteAPIRequest) SetNumIid(_numIid int64) error
- type TaobaoItemImgDeleteAPIResponse
- type TaobaoItemImgDeleteAPIResponseModel
- type TaobaoItemImgUploadAPIRequest
- func (r TaobaoItemImgUploadAPIRequest) GetApiMethodName() string
- func (r TaobaoItemImgUploadAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemImgUploadAPIRequest) GetId() int64
- func (r TaobaoItemImgUploadAPIRequest) GetImage() *model.File
- func (r TaobaoItemImgUploadAPIRequest) GetIsMajor() bool
- func (r TaobaoItemImgUploadAPIRequest) GetIsRectangle() bool
- func (r TaobaoItemImgUploadAPIRequest) GetNumIid() int64
- func (r TaobaoItemImgUploadAPIRequest) GetPosition() int64
- func (r *TaobaoItemImgUploadAPIRequest) SetId(_id int64) error
- func (r *TaobaoItemImgUploadAPIRequest) SetImage(_image *model.File) error
- func (r *TaobaoItemImgUploadAPIRequest) SetIsMajor(_isMajor bool) error
- func (r *TaobaoItemImgUploadAPIRequest) SetIsRectangle(_isRectangle bool) error
- func (r *TaobaoItemImgUploadAPIRequest) SetNumIid(_numIid int64) error
- func (r *TaobaoItemImgUploadAPIRequest) SetPosition(_position int64) error
- type TaobaoItemImgUploadAPIResponse
- type TaobaoItemImgUploadAPIResponseModel
- type TaobaoItemJointImgAPIRequest
- func (r TaobaoItemJointImgAPIRequest) GetApiMethodName() string
- func (r TaobaoItemJointImgAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemJointImgAPIRequest) GetId() int64
- func (r TaobaoItemJointImgAPIRequest) GetIsMajor() bool
- func (r TaobaoItemJointImgAPIRequest) GetIsRectangle() bool
- func (r TaobaoItemJointImgAPIRequest) GetNumIid() int64
- func (r TaobaoItemJointImgAPIRequest) GetPicPath() string
- func (r TaobaoItemJointImgAPIRequest) GetPosition() int64
- func (r *TaobaoItemJointImgAPIRequest) SetId(_id int64) error
- func (r *TaobaoItemJointImgAPIRequest) SetIsMajor(_isMajor bool) error
- func (r *TaobaoItemJointImgAPIRequest) SetIsRectangle(_isRectangle bool) error
- func (r *TaobaoItemJointImgAPIRequest) SetNumIid(_numIid int64) error
- func (r *TaobaoItemJointImgAPIRequest) SetPicPath(_picPath string) error
- func (r *TaobaoItemJointImgAPIRequest) SetPosition(_position int64) error
- type TaobaoItemJointImgAPIResponse
- type TaobaoItemJointImgAPIResponseModel
- type TaobaoItemJointPropimgAPIRequest
- func (r TaobaoItemJointPropimgAPIRequest) GetApiMethodName() string
- func (r TaobaoItemJointPropimgAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemJointPropimgAPIRequest) GetId() int64
- func (r TaobaoItemJointPropimgAPIRequest) GetNumIid() int64
- func (r TaobaoItemJointPropimgAPIRequest) GetPicPath() string
- func (r TaobaoItemJointPropimgAPIRequest) GetPosition() int64
- func (r TaobaoItemJointPropimgAPIRequest) GetProperties() string
- func (r *TaobaoItemJointPropimgAPIRequest) SetId(_id int64) error
- func (r *TaobaoItemJointPropimgAPIRequest) SetNumIid(_numIid int64) error
- func (r *TaobaoItemJointPropimgAPIRequest) SetPicPath(_picPath string) error
- func (r *TaobaoItemJointPropimgAPIRequest) SetPosition(_position int64) error
- func (r *TaobaoItemJointPropimgAPIRequest) SetProperties(_properties string) error
- type TaobaoItemJointPropimgAPIResponse
- type TaobaoItemJointPropimgAPIResponseModel
- type TaobaoItemPermitCheckAPIRequest
- func (r TaobaoItemPermitCheckAPIRequest) GetApiMethodName() string
- func (r TaobaoItemPermitCheckAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemPermitCheckAPIRequest) GetCid() int64
- func (r TaobaoItemPermitCheckAPIRequest) GetItemId() int64
- func (r TaobaoItemPermitCheckAPIRequest) GetType() string
- func (r *TaobaoItemPermitCheckAPIRequest) SetCid(_cid int64) error
- func (r *TaobaoItemPermitCheckAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoItemPermitCheckAPIRequest) SetType(_type string) error
- type TaobaoItemPermitCheckAPIResponse
- type TaobaoItemPermitCheckAPIResponseModel
- type TaobaoItemPriceUpdateAPIRequest
- func (r TaobaoItemPriceUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemPriceUpdateAPIRequest) GetApproveStatus() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetAuctionPoint() int64
- func (r TaobaoItemPriceUpdateAPIRequest) GetAutoFill() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetCid() int64
- func (r TaobaoItemPriceUpdateAPIRequest) GetCodPostageId() int64
- func (r TaobaoItemPriceUpdateAPIRequest) GetDesc() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetEmsFee() float64
- func (r TaobaoItemPriceUpdateAPIRequest) GetExpressFee() float64
- func (r TaobaoItemPriceUpdateAPIRequest) GetFreightPayer() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetHasDiscount() bool
- func (r TaobaoItemPriceUpdateAPIRequest) GetHasInvoice() bool
- func (r TaobaoItemPriceUpdateAPIRequest) GetHasShowcase() bool
- func (r TaobaoItemPriceUpdateAPIRequest) GetHasWarranty() bool
- func (r TaobaoItemPriceUpdateAPIRequest) GetIgnorewarning() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetImage() *model.File
- func (r TaobaoItemPriceUpdateAPIRequest) GetIncrement() float64
- func (r TaobaoItemPriceUpdateAPIRequest) GetInputPids() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetInputStr() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetIs3D() bool
- func (r TaobaoItemPriceUpdateAPIRequest) GetIsEx() bool
- func (r TaobaoItemPriceUpdateAPIRequest) GetIsLightningConsignment() bool
- func (r TaobaoItemPriceUpdateAPIRequest) GetIsReplaceSku() bool
- func (r TaobaoItemPriceUpdateAPIRequest) GetIsTaobao() bool
- func (r TaobaoItemPriceUpdateAPIRequest) GetIsXinpin() bool
- func (r TaobaoItemPriceUpdateAPIRequest) GetLang() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetListTime() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetLocationCity() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetLocationState() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetNum() int64
- func (r TaobaoItemPriceUpdateAPIRequest) GetNumIid() int64
- func (r TaobaoItemPriceUpdateAPIRequest) GetOuterId() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetPicPath() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetPostFee() float64
- func (r TaobaoItemPriceUpdateAPIRequest) GetPostageId() int64
- func (r TaobaoItemPriceUpdateAPIRequest) GetPrice() float64
- func (r TaobaoItemPriceUpdateAPIRequest) GetProductId() int64
- func (r TaobaoItemPriceUpdateAPIRequest) GetPropertyAlias() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetProps() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetSellPromise() bool
- func (r TaobaoItemPriceUpdateAPIRequest) GetSellerCids() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetSkuOuterIds() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetSkuPrices() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetSkuProperties() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetSkuQuantities() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetStuffStatus() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetSubStock() int64
- func (r TaobaoItemPriceUpdateAPIRequest) GetTitle() string
- func (r TaobaoItemPriceUpdateAPIRequest) GetValidThru() int64
- func (r TaobaoItemPriceUpdateAPIRequest) GetWeight() int64
- func (r *TaobaoItemPriceUpdateAPIRequest) SetApproveStatus(_approveStatus string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetAuctionPoint(_auctionPoint int64) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetAutoFill(_autoFill string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetCid(_cid int64) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetCodPostageId(_codPostageId int64) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetDesc(_desc string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetEmsFee(_emsFee float64) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetExpressFee(_expressFee float64) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetFreightPayer(_freightPayer string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetHasDiscount(_hasDiscount bool) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetHasInvoice(_hasInvoice bool) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetHasShowcase(_hasShowcase bool) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetHasWarranty(_hasWarranty bool) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetIgnorewarning(_ignorewarning string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetImage(_image *model.File) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetIncrement(_increment float64) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetInputPids(_inputPids string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetInputStr(_inputStr string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetIs3D(_is3D bool) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetIsEx(_isEx bool) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetIsLightningConsignment(_isLightningConsignment bool) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetIsReplaceSku(_isReplaceSku bool) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetIsTaobao(_isTaobao bool) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetIsXinpin(_isXinpin bool) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetLang(_lang string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetListTime(_listTime string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetLocationCity(_locationCity string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetLocationState(_locationState string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetNum(_num int64) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetNumIid(_numIid int64) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetPicPath(_picPath string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetPostFee(_postFee float64) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetPostageId(_postageId int64) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetPrice(_price float64) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetProductId(_productId int64) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetPropertyAlias(_propertyAlias string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetProps(_props string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetSellPromise(_sellPromise bool) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetSellerCids(_sellerCids string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetSkuOuterIds(_skuOuterIds string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetSkuPrices(_skuPrices string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetSkuProperties(_skuProperties string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetSkuQuantities(_skuQuantities string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetStuffStatus(_stuffStatus string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetSubStock(_subStock int64) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetTitle(_title string) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetValidThru(_validThru int64) error
- func (r *TaobaoItemPriceUpdateAPIRequest) SetWeight(_weight int64) error
- type TaobaoItemPriceUpdateAPIResponse
- type TaobaoItemPriceUpdateAPIResponseModel
- type TaobaoItemPromotionRuleGetAPIRequest
- type TaobaoItemPromotionRuleGetAPIResponse
- type TaobaoItemPromotionRuleGetAPIResponseModel
- type TaobaoItemPropimgDeleteAPIRequest
- func (r TaobaoItemPropimgDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoItemPropimgDeleteAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemPropimgDeleteAPIRequest) GetId() int64
- func (r TaobaoItemPropimgDeleteAPIRequest) GetNumIid() int64
- func (r *TaobaoItemPropimgDeleteAPIRequest) SetId(_id int64) error
- func (r *TaobaoItemPropimgDeleteAPIRequest) SetNumIid(_numIid int64) error
- type TaobaoItemPropimgDeleteAPIResponse
- type TaobaoItemPropimgDeleteAPIResponseModel
- type TaobaoItemPropimgUploadAPIRequest
- func (r TaobaoItemPropimgUploadAPIRequest) GetApiMethodName() string
- func (r TaobaoItemPropimgUploadAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemPropimgUploadAPIRequest) GetId() int64
- func (r TaobaoItemPropimgUploadAPIRequest) GetImage() *model.File
- func (r TaobaoItemPropimgUploadAPIRequest) GetNumIid() int64
- func (r TaobaoItemPropimgUploadAPIRequest) GetPosition() int64
- func (r TaobaoItemPropimgUploadAPIRequest) GetProperties() string
- func (r *TaobaoItemPropimgUploadAPIRequest) SetId(_id int64) error
- func (r *TaobaoItemPropimgUploadAPIRequest) SetImage(_image *model.File) error
- func (r *TaobaoItemPropimgUploadAPIRequest) SetNumIid(_numIid int64) error
- func (r *TaobaoItemPropimgUploadAPIRequest) SetPosition(_position int64) error
- func (r *TaobaoItemPropimgUploadAPIRequest) SetProperties(_properties string) error
- type TaobaoItemPropimgUploadAPIResponse
- type TaobaoItemPropimgUploadAPIResponseModel
- type TaobaoItemQualificationDisplayGetAPIRequest
- func (r TaobaoItemQualificationDisplayGetAPIRequest) GetApiMethodName() string
- func (r TaobaoItemQualificationDisplayGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemQualificationDisplayGetAPIRequest) GetCategoryId() int64
- func (r TaobaoItemQualificationDisplayGetAPIRequest) GetItemId() int64
- func (r TaobaoItemQualificationDisplayGetAPIRequest) GetParam() string
- func (r *TaobaoItemQualificationDisplayGetAPIRequest) SetCategoryId(_categoryId int64) error
- func (r *TaobaoItemQualificationDisplayGetAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoItemQualificationDisplayGetAPIRequest) SetParam(_param string) error
- type TaobaoItemQualificationDisplayGetAPIResponse
- type TaobaoItemQualificationDisplayGetAPIResponseModel
- type TaobaoItemQuantityUpdateAPIRequest
- func (r TaobaoItemQuantityUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoItemQuantityUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemQuantityUpdateAPIRequest) GetNumIid() int64
- func (r TaobaoItemQuantityUpdateAPIRequest) GetOuterId() string
- func (r TaobaoItemQuantityUpdateAPIRequest) GetQuantity() int64
- func (r TaobaoItemQuantityUpdateAPIRequest) GetSkuId() int64
- func (r TaobaoItemQuantityUpdateAPIRequest) GetType() int64
- func (r *TaobaoItemQuantityUpdateAPIRequest) SetNumIid(_numIid int64) error
- func (r *TaobaoItemQuantityUpdateAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoItemQuantityUpdateAPIRequest) SetQuantity(_quantity int64) error
- func (r *TaobaoItemQuantityUpdateAPIRequest) SetSkuId(_skuId int64) error
- func (r *TaobaoItemQuantityUpdateAPIRequest) SetType(_type int64) error
- type TaobaoItemQuantityUpdateAPIResponse
- type TaobaoItemQuantityUpdateAPIResponseModel
- type TaobaoItemSellerGetAPIRequest
- func (r TaobaoItemSellerGetAPIRequest) GetApiMethodName() string
- func (r TaobaoItemSellerGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemSellerGetAPIRequest) GetFields() string
- func (r TaobaoItemSellerGetAPIRequest) GetNumIid() int64
- func (r *TaobaoItemSellerGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoItemSellerGetAPIRequest) SetNumIid(_numIid int64) error
- type TaobaoItemSellerGetAPIResponse
- type TaobaoItemSellerGetAPIResponseModel
- type TaobaoItemSkuAddAPIRequest
- func (r TaobaoItemSkuAddAPIRequest) GetApiMethodName() string
- func (r TaobaoItemSkuAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemSkuAddAPIRequest) GetIgnorewarning() string
- func (r TaobaoItemSkuAddAPIRequest) GetItemPrice() float64
- func (r TaobaoItemSkuAddAPIRequest) GetLang() string
- func (r TaobaoItemSkuAddAPIRequest) GetNumIid() int64
- func (r TaobaoItemSkuAddAPIRequest) GetOuterId() string
- func (r TaobaoItemSkuAddAPIRequest) GetPrice() float64
- func (r TaobaoItemSkuAddAPIRequest) GetProperties() string
- func (r TaobaoItemSkuAddAPIRequest) GetQuantity() int64
- func (r *TaobaoItemSkuAddAPIRequest) SetIgnorewarning(_ignorewarning string) error
- func (r *TaobaoItemSkuAddAPIRequest) SetItemPrice(_itemPrice float64) error
- func (r *TaobaoItemSkuAddAPIRequest) SetLang(_lang string) error
- func (r *TaobaoItemSkuAddAPIRequest) SetNumIid(_numIid int64) error
- func (r *TaobaoItemSkuAddAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoItemSkuAddAPIRequest) SetPrice(_price float64) error
- func (r *TaobaoItemSkuAddAPIRequest) SetProperties(_properties string) error
- func (r *TaobaoItemSkuAddAPIRequest) SetQuantity(_quantity int64) error
- type TaobaoItemSkuAddAPIResponse
- type TaobaoItemSkuAddAPIResponseModel
- type TaobaoItemSkuDeleteAPIRequest
- func (r TaobaoItemSkuDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoItemSkuDeleteAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemSkuDeleteAPIRequest) GetIgnorewarning() string
- func (r TaobaoItemSkuDeleteAPIRequest) GetItemNum() int64
- func (r TaobaoItemSkuDeleteAPIRequest) GetItemPrice() float64
- func (r TaobaoItemSkuDeleteAPIRequest) GetLang() string
- func (r TaobaoItemSkuDeleteAPIRequest) GetNumIid() int64
- func (r TaobaoItemSkuDeleteAPIRequest) GetProperties() string
- func (r *TaobaoItemSkuDeleteAPIRequest) SetIgnorewarning(_ignorewarning string) error
- func (r *TaobaoItemSkuDeleteAPIRequest) SetItemNum(_itemNum int64) error
- func (r *TaobaoItemSkuDeleteAPIRequest) SetItemPrice(_itemPrice float64) error
- func (r *TaobaoItemSkuDeleteAPIRequest) SetLang(_lang string) error
- func (r *TaobaoItemSkuDeleteAPIRequest) SetNumIid(_numIid int64) error
- func (r *TaobaoItemSkuDeleteAPIRequest) SetProperties(_properties string) error
- type TaobaoItemSkuDeleteAPIResponse
- type TaobaoItemSkuDeleteAPIResponseModel
- type TaobaoItemSkuGetAPIRequest
- func (r TaobaoItemSkuGetAPIRequest) GetApiMethodName() string
- func (r TaobaoItemSkuGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemSkuGetAPIRequest) GetFields() string
- func (r TaobaoItemSkuGetAPIRequest) GetNumIid() int64
- func (r TaobaoItemSkuGetAPIRequest) GetSkuId() int64
- func (r *TaobaoItemSkuGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoItemSkuGetAPIRequest) SetNumIid(_numIid int64) error
- func (r *TaobaoItemSkuGetAPIRequest) SetSkuId(_skuId int64) error
- type TaobaoItemSkuGetAPIResponse
- type TaobaoItemSkuGetAPIResponseModel
- type TaobaoItemSkuPriceUpdateAPIRequest
- func (r TaobaoItemSkuPriceUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoItemSkuPriceUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemSkuPriceUpdateAPIRequest) GetIgnorewarning() string
- func (r TaobaoItemSkuPriceUpdateAPIRequest) GetItemPrice() float64
- func (r TaobaoItemSkuPriceUpdateAPIRequest) GetLang() string
- func (r TaobaoItemSkuPriceUpdateAPIRequest) GetNumIid() int64
- func (r TaobaoItemSkuPriceUpdateAPIRequest) GetOuterId() string
- func (r TaobaoItemSkuPriceUpdateAPIRequest) GetPrice() float64
- func (r TaobaoItemSkuPriceUpdateAPIRequest) GetProperties() string
- func (r TaobaoItemSkuPriceUpdateAPIRequest) GetQuantity() int64
- func (r *TaobaoItemSkuPriceUpdateAPIRequest) SetIgnorewarning(_ignorewarning string) error
- func (r *TaobaoItemSkuPriceUpdateAPIRequest) SetItemPrice(_itemPrice float64) error
- func (r *TaobaoItemSkuPriceUpdateAPIRequest) SetLang(_lang string) error
- func (r *TaobaoItemSkuPriceUpdateAPIRequest) SetNumIid(_numIid int64) error
- func (r *TaobaoItemSkuPriceUpdateAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoItemSkuPriceUpdateAPIRequest) SetPrice(_price float64) error
- func (r *TaobaoItemSkuPriceUpdateAPIRequest) SetProperties(_properties string) error
- func (r *TaobaoItemSkuPriceUpdateAPIRequest) SetQuantity(_quantity int64) error
- type TaobaoItemSkuPriceUpdateAPIResponse
- type TaobaoItemSkuPriceUpdateAPIResponseModel
- type TaobaoItemSkuUpdateAPIRequest
- func (r TaobaoItemSkuUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoItemSkuUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemSkuUpdateAPIRequest) GetIgnorewarning() string
- func (r TaobaoItemSkuUpdateAPIRequest) GetItemPrice() float64
- func (r TaobaoItemSkuUpdateAPIRequest) GetLang() string
- func (r TaobaoItemSkuUpdateAPIRequest) GetNumIid() int64
- func (r TaobaoItemSkuUpdateAPIRequest) GetOuterId() string
- func (r TaobaoItemSkuUpdateAPIRequest) GetPrice() float64
- func (r TaobaoItemSkuUpdateAPIRequest) GetProperties() string
- func (r TaobaoItemSkuUpdateAPIRequest) GetQuantity() int64
- func (r *TaobaoItemSkuUpdateAPIRequest) SetIgnorewarning(_ignorewarning string) error
- func (r *TaobaoItemSkuUpdateAPIRequest) SetItemPrice(_itemPrice float64) error
- func (r *TaobaoItemSkuUpdateAPIRequest) SetLang(_lang string) error
- func (r *TaobaoItemSkuUpdateAPIRequest) SetNumIid(_numIid int64) error
- func (r *TaobaoItemSkuUpdateAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoItemSkuUpdateAPIRequest) SetPrice(_price float64) error
- func (r *TaobaoItemSkuUpdateAPIRequest) SetProperties(_properties string) error
- func (r *TaobaoItemSkuUpdateAPIRequest) SetQuantity(_quantity int64) error
- type TaobaoItemSkuUpdateAPIResponse
- type TaobaoItemSkuUpdateAPIResponseModel
- type TaobaoItemSkusGetAPIRequest
- func (r TaobaoItemSkusGetAPIRequest) GetApiMethodName() string
- func (r TaobaoItemSkusGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemSkusGetAPIRequest) GetFields() []string
- func (r TaobaoItemSkusGetAPIRequest) GetNumIids() string
- func (r *TaobaoItemSkusGetAPIRequest) SetFields(_fields []string) error
- func (r *TaobaoItemSkusGetAPIRequest) SetNumIids(_numIids string) error
- type TaobaoItemSkusGetAPIResponse
- type TaobaoItemSkusGetAPIResponseModel
- type TaobaoItemTemplatesGetAPIRequest
- type TaobaoItemTemplatesGetAPIResponse
- type TaobaoItemTemplatesGetAPIResponseModel
- type TaobaoItemUpdateAPIRequest
- func (r TaobaoItemUpdateAPIRequest) GetAfterSaleId() int64
- func (r TaobaoItemUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoItemUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemUpdateAPIRequest) GetApproveStatus() string
- func (r TaobaoItemUpdateAPIRequest) GetAuctionPoint() int64
- func (r TaobaoItemUpdateAPIRequest) GetAutoFill() string
- func (r TaobaoItemUpdateAPIRequest) GetBarcode() string
- func (r TaobaoItemUpdateAPIRequest) GetChangeProp() string
- func (r TaobaoItemUpdateAPIRequest) GetCid() int64
- func (r TaobaoItemUpdateAPIRequest) GetCodPostageId() int64
- func (r TaobaoItemUpdateAPIRequest) GetCpvMemo() string
- func (r TaobaoItemUpdateAPIRequest) GetDeliveryTimeDeliveryTime() string
- func (r TaobaoItemUpdateAPIRequest) GetDeliveryTimeDeliveryTimeType() string
- func (r TaobaoItemUpdateAPIRequest) GetDeliveryTimeNeedDeliveryTime() string
- func (r TaobaoItemUpdateAPIRequest) GetDesc() string
- func (r TaobaoItemUpdateAPIRequest) GetDescModules() string
- func (r TaobaoItemUpdateAPIRequest) GetEmptyFields() string
- func (r TaobaoItemUpdateAPIRequest) GetEmsFee() float64
- func (r TaobaoItemUpdateAPIRequest) GetExpressFee() float64
- func (r TaobaoItemUpdateAPIRequest) GetFeatures() string
- func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityContact() string
- func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityDesignCode() string
- func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityFactory() string
- func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityFactorySite() string
- func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityFoodAdditive() string
- func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityHealthProductNo() string
- func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityMix() string
- func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityPeriod() string
- func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityPlanStorage() string
- func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityPrdLicenseNo() string
- func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityProductDateEnd() string
- func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityProductDateStart() string
- func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityStockDateEnd() string
- func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityStockDateStart() string
- func (r TaobaoItemUpdateAPIRequest) GetFoodSecuritySupplier() string
- func (r TaobaoItemUpdateAPIRequest) GetFreightPayer() string
- func (r TaobaoItemUpdateAPIRequest) GetGlobalStockCountry() string
- func (r TaobaoItemUpdateAPIRequest) GetGlobalStockDeliveryPlace() string
- func (r TaobaoItemUpdateAPIRequest) GetGlobalStockTaxFreePromise() bool
- func (r TaobaoItemUpdateAPIRequest) GetGlobalStockType() string
- func (r TaobaoItemUpdateAPIRequest) GetHasDiscount() bool
- func (r TaobaoItemUpdateAPIRequest) GetHasInvoice() bool
- func (r TaobaoItemUpdateAPIRequest) GetHasShowcase() bool
- func (r TaobaoItemUpdateAPIRequest) GetHasWarranty() bool
- func (r TaobaoItemUpdateAPIRequest) GetIgnorewarning() string
- func (r TaobaoItemUpdateAPIRequest) GetImage() *model.File
- func (r TaobaoItemUpdateAPIRequest) GetIncrement() float64
- func (r TaobaoItemUpdateAPIRequest) GetInputCustomCpv() string
- func (r TaobaoItemUpdateAPIRequest) GetInputPids() string
- func (r TaobaoItemUpdateAPIRequest) GetInputStr() string
- func (r TaobaoItemUpdateAPIRequest) GetInteractiveId() int64
- func (r TaobaoItemUpdateAPIRequest) GetIs3D() bool
- func (r TaobaoItemUpdateAPIRequest) GetIsEx() bool
- func (r TaobaoItemUpdateAPIRequest) GetIsLightningConsignment() bool
- func (r TaobaoItemUpdateAPIRequest) GetIsOffline() string
- func (r TaobaoItemUpdateAPIRequest) GetIsReplaceSku() bool
- func (r TaobaoItemUpdateAPIRequest) GetIsTaobao() bool
- func (r TaobaoItemUpdateAPIRequest) GetIsXinpin() bool
- func (r TaobaoItemUpdateAPIRequest) GetItemSize() string
- func (r TaobaoItemUpdateAPIRequest) GetItemWeight() string
- func (r TaobaoItemUpdateAPIRequest) GetLang() string
- func (r TaobaoItemUpdateAPIRequest) GetLeaseExtendsInfo() string
- func (r TaobaoItemUpdateAPIRequest) GetListTime() string
- func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeChooseLogis() string
- func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeEticket() string
- func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeExpirydate() string
- func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeMerchant() string
- func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeNetworkId() string
- func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeObs() string
- func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeOnsaleAutoRefundRatio() int64
- func (r TaobaoItemUpdateAPIRequest) GetLocalityLifePackageid() string
- func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeRefundRatio() int64
- func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeRefundmafee() string
- func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeVerification() string
- func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeVersion() string
- func (r TaobaoItemUpdateAPIRequest) GetLocationCity() string
- func (r TaobaoItemUpdateAPIRequest) GetLocationState() string
- func (r TaobaoItemUpdateAPIRequest) GetMsPaymentPrice() string
- func (r TaobaoItemUpdateAPIRequest) GetMsPaymentReferencePrice() string
- func (r TaobaoItemUpdateAPIRequest) GetMsPaymentVoucherPrice() string
- func (r TaobaoItemUpdateAPIRequest) GetNewprepay() string
- func (r TaobaoItemUpdateAPIRequest) GetNum() int64
- func (r TaobaoItemUpdateAPIRequest) GetNumIid() int64
- func (r TaobaoItemUpdateAPIRequest) GetO2oBindService() bool
- func (r TaobaoItemUpdateAPIRequest) GetOuterId() string
- func (r TaobaoItemUpdateAPIRequest) GetPaimaiInfoDeposit() int64
- func (r TaobaoItemUpdateAPIRequest) GetPaimaiInfoInterval() int64
- func (r TaobaoItemUpdateAPIRequest) GetPaimaiInfoMode() int64
- func (r TaobaoItemUpdateAPIRequest) GetPaimaiInfoReserve() float64
- func (r TaobaoItemUpdateAPIRequest) GetPaimaiInfoValidHour() int64
- func (r TaobaoItemUpdateAPIRequest) GetPaimaiInfoValidMinute() int64
- func (r TaobaoItemUpdateAPIRequest) GetPicPath() string
- func (r TaobaoItemUpdateAPIRequest) GetPostFee() float64
- func (r TaobaoItemUpdateAPIRequest) GetPostageId() int64
- func (r TaobaoItemUpdateAPIRequest) GetPrice() float64
- func (r TaobaoItemUpdateAPIRequest) GetProductId() int64
- func (r TaobaoItemUpdateAPIRequest) GetPropertyAlias() string
- func (r TaobaoItemUpdateAPIRequest) GetProps() string
- func (r TaobaoItemUpdateAPIRequest) GetQualification() string
- func (r TaobaoItemUpdateAPIRequest) GetScenicTicketBookCost() string
- func (r TaobaoItemUpdateAPIRequest) GetScenicTicketPayWay() int64
- func (r TaobaoItemUpdateAPIRequest) GetSellPoint() string
- func (r TaobaoItemUpdateAPIRequest) GetSellPromise() bool
- func (r TaobaoItemUpdateAPIRequest) GetSellerCids() string
- func (r TaobaoItemUpdateAPIRequest) GetSkuBarcode() string
- func (r TaobaoItemUpdateAPIRequest) GetSkuDeliveryTimes() string
- func (r TaobaoItemUpdateAPIRequest) GetSkuHdHeight() string
- func (r TaobaoItemUpdateAPIRequest) GetSkuHdLampQuantity() string
- func (r TaobaoItemUpdateAPIRequest) GetSkuHdLength() string
- func (r TaobaoItemUpdateAPIRequest) GetSkuOuterIds() string
- func (r TaobaoItemUpdateAPIRequest) GetSkuPrices() string
- func (r TaobaoItemUpdateAPIRequest) GetSkuProperties() string
- func (r TaobaoItemUpdateAPIRequest) GetSkuQuantities() string
- func (r TaobaoItemUpdateAPIRequest) GetSkuSpecIds() string
- func (r TaobaoItemUpdateAPIRequest) GetSpuConfirm() bool
- func (r TaobaoItemUpdateAPIRequest) GetStuffStatus() string
- func (r TaobaoItemUpdateAPIRequest) GetSubStock() int64
- func (r TaobaoItemUpdateAPIRequest) GetTitle() string
- func (r TaobaoItemUpdateAPIRequest) GetValidThru() int64
- func (r TaobaoItemUpdateAPIRequest) GetVideoId() int64
- func (r TaobaoItemUpdateAPIRequest) GetWeight() int64
- func (r TaobaoItemUpdateAPIRequest) GetWirelessDesc() string
- func (r *TaobaoItemUpdateAPIRequest) SetAfterSaleId(_afterSaleId int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetApproveStatus(_approveStatus string) error
- func (r *TaobaoItemUpdateAPIRequest) SetAuctionPoint(_auctionPoint int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetAutoFill(_autoFill string) error
- func (r *TaobaoItemUpdateAPIRequest) SetBarcode(_barcode string) error
- func (r *TaobaoItemUpdateAPIRequest) SetChangeProp(_changeProp string) error
- func (r *TaobaoItemUpdateAPIRequest) SetCid(_cid int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetCodPostageId(_codPostageId int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetCpvMemo(_cpvMemo string) error
- func (r *TaobaoItemUpdateAPIRequest) SetDeliveryTimeDeliveryTime(_deliveryTimeDeliveryTime string) error
- func (r *TaobaoItemUpdateAPIRequest) SetDeliveryTimeDeliveryTimeType(_deliveryTimeDeliveryTimeType string) error
- func (r *TaobaoItemUpdateAPIRequest) SetDeliveryTimeNeedDeliveryTime(_deliveryTimeNeedDeliveryTime string) error
- func (r *TaobaoItemUpdateAPIRequest) SetDesc(_desc string) error
- func (r *TaobaoItemUpdateAPIRequest) SetDescModules(_descModules string) error
- func (r *TaobaoItemUpdateAPIRequest) SetEmptyFields(_emptyFields string) error
- func (r *TaobaoItemUpdateAPIRequest) SetEmsFee(_emsFee float64) error
- func (r *TaobaoItemUpdateAPIRequest) SetExpressFee(_expressFee float64) error
- func (r *TaobaoItemUpdateAPIRequest) SetFeatures(_features string) error
- func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityContact(_foodSecurityContact string) error
- func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityDesignCode(_foodSecurityDesignCode string) error
- func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityFactory(_foodSecurityFactory string) error
- func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityFactorySite(_foodSecurityFactorySite string) error
- func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityFoodAdditive(_foodSecurityFoodAdditive string) error
- func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityHealthProductNo(_foodSecurityHealthProductNo string) error
- func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityMix(_foodSecurityMix string) error
- func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityPeriod(_foodSecurityPeriod string) error
- func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityPlanStorage(_foodSecurityPlanStorage string) error
- func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityPrdLicenseNo(_foodSecurityPrdLicenseNo string) error
- func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityProductDateEnd(_foodSecurityProductDateEnd string) error
- func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityProductDateStart(_foodSecurityProductDateStart string) error
- func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityStockDateEnd(_foodSecurityStockDateEnd string) error
- func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityStockDateStart(_foodSecurityStockDateStart string) error
- func (r *TaobaoItemUpdateAPIRequest) SetFoodSecuritySupplier(_foodSecuritySupplier string) error
- func (r *TaobaoItemUpdateAPIRequest) SetFreightPayer(_freightPayer string) error
- func (r *TaobaoItemUpdateAPIRequest) SetGlobalStockCountry(_globalStockCountry string) error
- func (r *TaobaoItemUpdateAPIRequest) SetGlobalStockDeliveryPlace(_globalStockDeliveryPlace string) error
- func (r *TaobaoItemUpdateAPIRequest) SetGlobalStockTaxFreePromise(_globalStockTaxFreePromise bool) error
- func (r *TaobaoItemUpdateAPIRequest) SetGlobalStockType(_globalStockType string) error
- func (r *TaobaoItemUpdateAPIRequest) SetHasDiscount(_hasDiscount bool) error
- func (r *TaobaoItemUpdateAPIRequest) SetHasInvoice(_hasInvoice bool) error
- func (r *TaobaoItemUpdateAPIRequest) SetHasShowcase(_hasShowcase bool) error
- func (r *TaobaoItemUpdateAPIRequest) SetHasWarranty(_hasWarranty bool) error
- func (r *TaobaoItemUpdateAPIRequest) SetIgnorewarning(_ignorewarning string) error
- func (r *TaobaoItemUpdateAPIRequest) SetImage(_image *model.File) error
- func (r *TaobaoItemUpdateAPIRequest) SetIncrement(_increment float64) error
- func (r *TaobaoItemUpdateAPIRequest) SetInputCustomCpv(_inputCustomCpv string) error
- func (r *TaobaoItemUpdateAPIRequest) SetInputPids(_inputPids string) error
- func (r *TaobaoItemUpdateAPIRequest) SetInputStr(_inputStr string) error
- func (r *TaobaoItemUpdateAPIRequest) SetInteractiveId(_interactiveId int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetIs3D(_is3D bool) error
- func (r *TaobaoItemUpdateAPIRequest) SetIsEx(_isEx bool) error
- func (r *TaobaoItemUpdateAPIRequest) SetIsLightningConsignment(_isLightningConsignment bool) error
- func (r *TaobaoItemUpdateAPIRequest) SetIsOffline(_isOffline string) error
- func (r *TaobaoItemUpdateAPIRequest) SetIsReplaceSku(_isReplaceSku bool) error
- func (r *TaobaoItemUpdateAPIRequest) SetIsTaobao(_isTaobao bool) error
- func (r *TaobaoItemUpdateAPIRequest) SetIsXinpin(_isXinpin bool) error
- func (r *TaobaoItemUpdateAPIRequest) SetItemSize(_itemSize string) error
- func (r *TaobaoItemUpdateAPIRequest) SetItemWeight(_itemWeight string) error
- func (r *TaobaoItemUpdateAPIRequest) SetLang(_lang string) error
- func (r *TaobaoItemUpdateAPIRequest) SetLeaseExtendsInfo(_leaseExtendsInfo string) error
- func (r *TaobaoItemUpdateAPIRequest) SetListTime(_listTime string) error
- func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeChooseLogis(_localityLifeChooseLogis string) error
- func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeEticket(_localityLifeEticket string) error
- func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeExpirydate(_localityLifeExpirydate string) error
- func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeMerchant(_localityLifeMerchant string) error
- func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeNetworkId(_localityLifeNetworkId string) error
- func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeObs(_localityLifeObs string) error
- func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeOnsaleAutoRefundRatio(_localityLifeOnsaleAutoRefundRatio int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifePackageid(_localityLifePackageid string) error
- func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeRefundRatio(_localityLifeRefundRatio int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeRefundmafee(_localityLifeRefundmafee string) error
- func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeVerification(_localityLifeVerification string) error
- func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeVersion(_localityLifeVersion string) error
- func (r *TaobaoItemUpdateAPIRequest) SetLocationCity(_locationCity string) error
- func (r *TaobaoItemUpdateAPIRequest) SetLocationState(_locationState string) error
- func (r *TaobaoItemUpdateAPIRequest) SetMsPaymentPrice(_msPaymentPrice string) error
- func (r *TaobaoItemUpdateAPIRequest) SetMsPaymentReferencePrice(_msPaymentReferencePrice string) error
- func (r *TaobaoItemUpdateAPIRequest) SetMsPaymentVoucherPrice(_msPaymentVoucherPrice string) error
- func (r *TaobaoItemUpdateAPIRequest) SetNewprepay(_newprepay string) error
- func (r *TaobaoItemUpdateAPIRequest) SetNum(_num int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetNumIid(_numIid int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetO2oBindService(_o2oBindService bool) error
- func (r *TaobaoItemUpdateAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoItemUpdateAPIRequest) SetPaimaiInfoDeposit(_paimaiInfoDeposit int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetPaimaiInfoInterval(_paimaiInfoInterval int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetPaimaiInfoMode(_paimaiInfoMode int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetPaimaiInfoReserve(_paimaiInfoReserve float64) error
- func (r *TaobaoItemUpdateAPIRequest) SetPaimaiInfoValidHour(_paimaiInfoValidHour int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetPaimaiInfoValidMinute(_paimaiInfoValidMinute int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetPicPath(_picPath string) error
- func (r *TaobaoItemUpdateAPIRequest) SetPostFee(_postFee float64) error
- func (r *TaobaoItemUpdateAPIRequest) SetPostageId(_postageId int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetPrice(_price float64) error
- func (r *TaobaoItemUpdateAPIRequest) SetProductId(_productId int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetPropertyAlias(_propertyAlias string) error
- func (r *TaobaoItemUpdateAPIRequest) SetProps(_props string) error
- func (r *TaobaoItemUpdateAPIRequest) SetQualification(_qualification string) error
- func (r *TaobaoItemUpdateAPIRequest) SetScenicTicketBookCost(_scenicTicketBookCost string) error
- func (r *TaobaoItemUpdateAPIRequest) SetScenicTicketPayWay(_scenicTicketPayWay int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetSellPoint(_sellPoint string) error
- func (r *TaobaoItemUpdateAPIRequest) SetSellPromise(_sellPromise bool) error
- func (r *TaobaoItemUpdateAPIRequest) SetSellerCids(_sellerCids string) error
- func (r *TaobaoItemUpdateAPIRequest) SetSkuBarcode(_skuBarcode string) error
- func (r *TaobaoItemUpdateAPIRequest) SetSkuDeliveryTimes(_skuDeliveryTimes string) error
- func (r *TaobaoItemUpdateAPIRequest) SetSkuHdHeight(_skuHdHeight string) error
- func (r *TaobaoItemUpdateAPIRequest) SetSkuHdLampQuantity(_skuHdLampQuantity string) error
- func (r *TaobaoItemUpdateAPIRequest) SetSkuHdLength(_skuHdLength string) error
- func (r *TaobaoItemUpdateAPIRequest) SetSkuOuterIds(_skuOuterIds string) error
- func (r *TaobaoItemUpdateAPIRequest) SetSkuPrices(_skuPrices string) error
- func (r *TaobaoItemUpdateAPIRequest) SetSkuProperties(_skuProperties string) error
- func (r *TaobaoItemUpdateAPIRequest) SetSkuQuantities(_skuQuantities string) error
- func (r *TaobaoItemUpdateAPIRequest) SetSkuSpecIds(_skuSpecIds string) error
- func (r *TaobaoItemUpdateAPIRequest) SetSpuConfirm(_spuConfirm bool) error
- func (r *TaobaoItemUpdateAPIRequest) SetStuffStatus(_stuffStatus string) error
- func (r *TaobaoItemUpdateAPIRequest) SetSubStock(_subStock int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetTitle(_title string) error
- func (r *TaobaoItemUpdateAPIRequest) SetValidThru(_validThru int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetVideoId(_videoId int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetWeight(_weight int64) error
- func (r *TaobaoItemUpdateAPIRequest) SetWirelessDesc(_wirelessDesc string) error
- type TaobaoItemUpdateAPIResponse
- type TaobaoItemUpdateAPIResponseModel
- type TaobaoItemUpdateDelistingAPIRequest
- type TaobaoItemUpdateDelistingAPIResponse
- type TaobaoItemUpdateDelistingAPIResponseModel
- type TaobaoItemUpdateDelistingTmallAPIRequest
- func (r TaobaoItemUpdateDelistingTmallAPIRequest) GetApiMethodName() string
- func (r TaobaoItemUpdateDelistingTmallAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemUpdateDelistingTmallAPIRequest) GetNumIid() int64
- func (r *TaobaoItemUpdateDelistingTmallAPIRequest) SetNumIid(_numIid int64) error
- type TaobaoItemUpdateDelistingTmallAPIResponse
- type TaobaoItemUpdateDelistingTmallAPIResponseModel
- type TaobaoItemUpdateListingAPIRequest
- func (r TaobaoItemUpdateListingAPIRequest) GetApiMethodName() string
- func (r TaobaoItemUpdateListingAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemUpdateListingAPIRequest) GetNum() int64
- func (r TaobaoItemUpdateListingAPIRequest) GetNumIid() int64
- func (r *TaobaoItemUpdateListingAPIRequest) SetNum(_num int64) error
- func (r *TaobaoItemUpdateListingAPIRequest) SetNumIid(_numIid int64) error
- type TaobaoItemUpdateListingAPIResponse
- type TaobaoItemUpdateListingAPIResponseModel
- type TaobaoItemUpdateListingTmallAPIRequest
- func (r TaobaoItemUpdateListingTmallAPIRequest) GetApiMethodName() string
- func (r TaobaoItemUpdateListingTmallAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemUpdateListingTmallAPIRequest) GetNum() int64
- func (r TaobaoItemUpdateListingTmallAPIRequest) GetNumIid() int64
- func (r *TaobaoItemUpdateListingTmallAPIRequest) SetNum(_num int64) error
- func (r *TaobaoItemUpdateListingTmallAPIRequest) SetNumIid(_numIid int64) error
- type TaobaoItemUpdateListingTmallAPIResponse
- type TaobaoItemUpdateListingTmallAPIResponseModel
- type TaobaoItemsCustomGetAPIRequest
- func (r TaobaoItemsCustomGetAPIRequest) GetApiMethodName() string
- func (r TaobaoItemsCustomGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemsCustomGetAPIRequest) GetFields() string
- func (r TaobaoItemsCustomGetAPIRequest) GetOuterId() string
- func (r *TaobaoItemsCustomGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoItemsCustomGetAPIRequest) SetOuterId(_outerId string) error
- type TaobaoItemsCustomGetAPIResponse
- type TaobaoItemsCustomGetAPIResponseModel
- type TaobaoItemsInventoryGetAPIRequest
- func (r TaobaoItemsInventoryGetAPIRequest) GetApiMethodName() string
- func (r TaobaoItemsInventoryGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemsInventoryGetAPIRequest) GetAuctionType() string
- func (r TaobaoItemsInventoryGetAPIRequest) GetBanner() string
- func (r TaobaoItemsInventoryGetAPIRequest) GetCid() int64
- func (r TaobaoItemsInventoryGetAPIRequest) GetEndModified() string
- func (r TaobaoItemsInventoryGetAPIRequest) GetFields() string
- func (r TaobaoItemsInventoryGetAPIRequest) GetHasDiscount() bool
- func (r TaobaoItemsInventoryGetAPIRequest) GetIsEx() bool
- func (r TaobaoItemsInventoryGetAPIRequest) GetIsTaobao() bool
- func (r TaobaoItemsInventoryGetAPIRequest) GetOrderBy() string
- func (r TaobaoItemsInventoryGetAPIRequest) GetPageNo() int64
- func (r TaobaoItemsInventoryGetAPIRequest) GetPageSize() int64
- func (r TaobaoItemsInventoryGetAPIRequest) GetQ() string
- func (r TaobaoItemsInventoryGetAPIRequest) GetSellerCids() string
- func (r TaobaoItemsInventoryGetAPIRequest) GetStartModified() string
- func (r *TaobaoItemsInventoryGetAPIRequest) SetAuctionType(_auctionType string) error
- func (r *TaobaoItemsInventoryGetAPIRequest) SetBanner(_banner string) error
- func (r *TaobaoItemsInventoryGetAPIRequest) SetCid(_cid int64) error
- func (r *TaobaoItemsInventoryGetAPIRequest) SetEndModified(_endModified string) error
- func (r *TaobaoItemsInventoryGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoItemsInventoryGetAPIRequest) SetHasDiscount(_hasDiscount bool) error
- func (r *TaobaoItemsInventoryGetAPIRequest) SetIsEx(_isEx bool) error
- func (r *TaobaoItemsInventoryGetAPIRequest) SetIsTaobao(_isTaobao bool) error
- func (r *TaobaoItemsInventoryGetAPIRequest) SetOrderBy(_orderBy string) error
- func (r *TaobaoItemsInventoryGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoItemsInventoryGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoItemsInventoryGetAPIRequest) SetQ(_q string) error
- func (r *TaobaoItemsInventoryGetAPIRequest) SetSellerCids(_sellerCids string) error
- func (r *TaobaoItemsInventoryGetAPIRequest) SetStartModified(_startModified string) error
- type TaobaoItemsInventoryGetAPIResponse
- type TaobaoItemsInventoryGetAPIResponseModel
- type TaobaoItemsOnsaleGetAPIRequest
- func (r TaobaoItemsOnsaleGetAPIRequest) GetApiMethodName() string
- func (r TaobaoItemsOnsaleGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemsOnsaleGetAPIRequest) GetAuctionType() string
- func (r TaobaoItemsOnsaleGetAPIRequest) GetCid() int64
- func (r TaobaoItemsOnsaleGetAPIRequest) GetEndModified() string
- func (r TaobaoItemsOnsaleGetAPIRequest) GetFields() string
- func (r TaobaoItemsOnsaleGetAPIRequest) GetHasDiscount() bool
- func (r TaobaoItemsOnsaleGetAPIRequest) GetHasShowcase() bool
- func (r TaobaoItemsOnsaleGetAPIRequest) GetIsCombine() bool
- func (r TaobaoItemsOnsaleGetAPIRequest) GetIsCspu() bool
- func (r TaobaoItemsOnsaleGetAPIRequest) GetIsEx() bool
- func (r TaobaoItemsOnsaleGetAPIRequest) GetIsTaobao() bool
- func (r TaobaoItemsOnsaleGetAPIRequest) GetOrderBy() string
- func (r TaobaoItemsOnsaleGetAPIRequest) GetPageNo() int64
- func (r TaobaoItemsOnsaleGetAPIRequest) GetPageSize() int64
- func (r TaobaoItemsOnsaleGetAPIRequest) GetQ() string
- func (r TaobaoItemsOnsaleGetAPIRequest) GetSellerCids() string
- func (r TaobaoItemsOnsaleGetAPIRequest) GetStartModified() string
- func (r *TaobaoItemsOnsaleGetAPIRequest) SetAuctionType(_auctionType string) error
- func (r *TaobaoItemsOnsaleGetAPIRequest) SetCid(_cid int64) error
- func (r *TaobaoItemsOnsaleGetAPIRequest) SetEndModified(_endModified string) error
- func (r *TaobaoItemsOnsaleGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoItemsOnsaleGetAPIRequest) SetHasDiscount(_hasDiscount bool) error
- func (r *TaobaoItemsOnsaleGetAPIRequest) SetHasShowcase(_hasShowcase bool) error
- func (r *TaobaoItemsOnsaleGetAPIRequest) SetIsCombine(_isCombine bool) error
- func (r *TaobaoItemsOnsaleGetAPIRequest) SetIsCspu(_isCspu bool) error
- func (r *TaobaoItemsOnsaleGetAPIRequest) SetIsEx(_isEx bool) error
- func (r *TaobaoItemsOnsaleGetAPIRequest) SetIsTaobao(_isTaobao bool) error
- func (r *TaobaoItemsOnsaleGetAPIRequest) SetOrderBy(_orderBy string) error
- func (r *TaobaoItemsOnsaleGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoItemsOnsaleGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoItemsOnsaleGetAPIRequest) SetQ(_q string) error
- func (r *TaobaoItemsOnsaleGetAPIRequest) SetSellerCids(_sellerCids string) error
- func (r *TaobaoItemsOnsaleGetAPIRequest) SetStartModified(_startModified string) error
- type TaobaoItemsOnsaleGetAPIResponse
- type TaobaoItemsOnsaleGetAPIResponseModel
- type TaobaoItemsSellerListGetAPIRequest
- func (r TaobaoItemsSellerListGetAPIRequest) GetApiMethodName() string
- func (r TaobaoItemsSellerListGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoItemsSellerListGetAPIRequest) GetFields() string
- func (r TaobaoItemsSellerListGetAPIRequest) GetNumIids() []string
- func (r *TaobaoItemsSellerListGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoItemsSellerListGetAPIRequest) SetNumIids(_numIids []string) error
- type TaobaoItemsSellerListGetAPIResponse
- type TaobaoItemsSellerListGetAPIResponseModel
- type TaobaoMiniappItemsGetAPIRequest
- func (r TaobaoMiniappItemsGetAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappItemsGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappItemsGetAPIRequest) GetFields() []string
- func (r TaobaoMiniappItemsGetAPIRequest) GetNumIids() []string
- func (r *TaobaoMiniappItemsGetAPIRequest) SetFields(_fields []string) error
- func (r *TaobaoMiniappItemsGetAPIRequest) SetNumIids(_numIids []string) error
- type TaobaoMiniappItemsGetAPIResponse
- type TaobaoMiniappItemsGetAPIResponseModel
- type TaobaoProductAddAPIRequest
- func (r TaobaoProductAddAPIRequest) GetApiMethodName() string
- func (r TaobaoProductAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoProductAddAPIRequest) GetBinds() string
- func (r TaobaoProductAddAPIRequest) GetCid() int64
- func (r TaobaoProductAddAPIRequest) GetCustomerProps() string
- func (r TaobaoProductAddAPIRequest) GetDesc() string
- func (r TaobaoProductAddAPIRequest) GetImage() *model.File
- func (r TaobaoProductAddAPIRequest) GetMajor() bool
- func (r TaobaoProductAddAPIRequest) GetMarketTime() string
- func (r TaobaoProductAddAPIRequest) GetName() string
- func (r TaobaoProductAddAPIRequest) GetNativeUnkeyprops() string
- func (r TaobaoProductAddAPIRequest) GetOuterId() string
- func (r TaobaoProductAddAPIRequest) GetPrice() string
- func (r TaobaoProductAddAPIRequest) GetPropertyAlias() string
- func (r TaobaoProductAddAPIRequest) GetProps() string
- func (r TaobaoProductAddAPIRequest) GetSaleProps() string
- func (r *TaobaoProductAddAPIRequest) SetBinds(_binds string) error
- func (r *TaobaoProductAddAPIRequest) SetCid(_cid int64) error
- func (r *TaobaoProductAddAPIRequest) SetCustomerProps(_customerProps string) error
- func (r *TaobaoProductAddAPIRequest) SetDesc(_desc string) error
- func (r *TaobaoProductAddAPIRequest) SetImage(_image *model.File) error
- func (r *TaobaoProductAddAPIRequest) SetMajor(_major bool) error
- func (r *TaobaoProductAddAPIRequest) SetMarketTime(_marketTime string) error
- func (r *TaobaoProductAddAPIRequest) SetName(_name string) error
- func (r *TaobaoProductAddAPIRequest) SetNativeUnkeyprops(_nativeUnkeyprops string) error
- func (r *TaobaoProductAddAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoProductAddAPIRequest) SetPrice(_price string) error
- func (r *TaobaoProductAddAPIRequest) SetPropertyAlias(_propertyAlias string) error
- func (r *TaobaoProductAddAPIRequest) SetProps(_props string) error
- func (r *TaobaoProductAddAPIRequest) SetSaleProps(_saleProps string) error
- type TaobaoProductAddAPIResponse
- type TaobaoProductAddAPIResponseModel
- type TaobaoProductGetAPIRequest
- func (r TaobaoProductGetAPIRequest) GetApiMethodName() string
- func (r TaobaoProductGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoProductGetAPIRequest) GetCid() int64
- func (r TaobaoProductGetAPIRequest) GetFields() string
- func (r TaobaoProductGetAPIRequest) GetProductId() int64
- func (r TaobaoProductGetAPIRequest) GetProps() string
- func (r *TaobaoProductGetAPIRequest) SetCid(_cid int64) error
- func (r *TaobaoProductGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoProductGetAPIRequest) SetProductId(_productId int64) error
- func (r *TaobaoProductGetAPIRequest) SetProps(_props string) error
- type TaobaoProductGetAPIResponse
- type TaobaoProductGetAPIResponseModel
- type TaobaoProductImgUploadAPIRequest
- func (r TaobaoProductImgUploadAPIRequest) GetApiMethodName() string
- func (r TaobaoProductImgUploadAPIRequest) GetApiParams() url.Values
- func (r TaobaoProductImgUploadAPIRequest) GetId() int64
- func (r TaobaoProductImgUploadAPIRequest) GetImage() *model.File
- func (r TaobaoProductImgUploadAPIRequest) GetIsMajor() bool
- func (r TaobaoProductImgUploadAPIRequest) GetPosition() int64
- func (r TaobaoProductImgUploadAPIRequest) GetProductId() int64
- func (r *TaobaoProductImgUploadAPIRequest) SetId(_id int64) error
- func (r *TaobaoProductImgUploadAPIRequest) SetImage(_image *model.File) error
- func (r *TaobaoProductImgUploadAPIRequest) SetIsMajor(_isMajor bool) error
- func (r *TaobaoProductImgUploadAPIRequest) SetPosition(_position int64) error
- func (r *TaobaoProductImgUploadAPIRequest) SetProductId(_productId int64) error
- type TaobaoProductImgUploadAPIResponse
- type TaobaoProductImgUploadAPIResponseModel
- type TaobaoProductPropimgUploadAPIRequest
- func (r TaobaoProductPropimgUploadAPIRequest) GetApiMethodName() string
- func (r TaobaoProductPropimgUploadAPIRequest) GetApiParams() url.Values
- func (r TaobaoProductPropimgUploadAPIRequest) GetId() int64
- func (r TaobaoProductPropimgUploadAPIRequest) GetImage() *model.File
- func (r TaobaoProductPropimgUploadAPIRequest) GetPosition() int64
- func (r TaobaoProductPropimgUploadAPIRequest) GetProductId() int64
- func (r TaobaoProductPropimgUploadAPIRequest) GetProps() string
- func (r *TaobaoProductPropimgUploadAPIRequest) SetId(_id int64) error
- func (r *TaobaoProductPropimgUploadAPIRequest) SetImage(_image *model.File) error
- func (r *TaobaoProductPropimgUploadAPIRequest) SetPosition(_position int64) error
- func (r *TaobaoProductPropimgUploadAPIRequest) SetProductId(_productId int64) error
- func (r *TaobaoProductPropimgUploadAPIRequest) SetProps(_props string) error
- type TaobaoProductPropimgUploadAPIResponse
- type TaobaoProductPropimgUploadAPIResponseModel
- type TaobaoProductUpdateAPIRequest
- func (r TaobaoProductUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoProductUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoProductUpdateAPIRequest) GetBinds() string
- func (r TaobaoProductUpdateAPIRequest) GetDesc() string
- func (r TaobaoProductUpdateAPIRequest) GetImage() *model.File
- func (r TaobaoProductUpdateAPIRequest) GetMajor() bool
- func (r TaobaoProductUpdateAPIRequest) GetName() string
- func (r TaobaoProductUpdateAPIRequest) GetNativeUnkeyprops() string
- func (r TaobaoProductUpdateAPIRequest) GetOuterId() string
- func (r TaobaoProductUpdateAPIRequest) GetPrice() string
- func (r TaobaoProductUpdateAPIRequest) GetProductId() int64
- func (r TaobaoProductUpdateAPIRequest) GetSaleProps() string
- func (r *TaobaoProductUpdateAPIRequest) SetBinds(_binds string) error
- func (r *TaobaoProductUpdateAPIRequest) SetDesc(_desc string) error
- func (r *TaobaoProductUpdateAPIRequest) SetImage(_image *model.File) error
- func (r *TaobaoProductUpdateAPIRequest) SetMajor(_major bool) error
- func (r *TaobaoProductUpdateAPIRequest) SetName(_name string) error
- func (r *TaobaoProductUpdateAPIRequest) SetNativeUnkeyprops(_nativeUnkeyprops string) error
- func (r *TaobaoProductUpdateAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoProductUpdateAPIRequest) SetPrice(_price string) error
- func (r *TaobaoProductUpdateAPIRequest) SetProductId(_productId int64) error
- func (r *TaobaoProductUpdateAPIRequest) SetSaleProps(_saleProps string) error
- type TaobaoProductUpdateAPIResponse
- type TaobaoProductUpdateAPIResponseModel
- type TaobaoProductsGetAPIRequest
- func (r TaobaoProductsGetAPIRequest) GetApiMethodName() string
- func (r TaobaoProductsGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoProductsGetAPIRequest) GetFields() []string
- func (r TaobaoProductsGetAPIRequest) GetNick() string
- func (r TaobaoProductsGetAPIRequest) GetPageNo() int64
- func (r TaobaoProductsGetAPIRequest) GetPageSize() int64
- func (r *TaobaoProductsGetAPIRequest) SetFields(_fields []string) error
- func (r *TaobaoProductsGetAPIRequest) SetNick(_nick string) error
- func (r *TaobaoProductsGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoProductsGetAPIRequest) SetPageSize(_pageSize int64) error
- type TaobaoProductsGetAPIResponse
- type TaobaoProductsGetAPIResponseModel
- type TaobaoProductsSearchAPIRequest
- func (r TaobaoProductsSearchAPIRequest) GetApiMethodName() string
- func (r TaobaoProductsSearchAPIRequest) GetApiParams() url.Values
- func (r TaobaoProductsSearchAPIRequest) GetBarcodeStr() string
- func (r TaobaoProductsSearchAPIRequest) GetCid() int64
- func (r TaobaoProductsSearchAPIRequest) GetCustomerProps() string
- func (r TaobaoProductsSearchAPIRequest) GetFields() []string
- func (r TaobaoProductsSearchAPIRequest) GetMarketId() string
- func (r TaobaoProductsSearchAPIRequest) GetPageNo() int64
- func (r TaobaoProductsSearchAPIRequest) GetPageSize() int64
- func (r TaobaoProductsSearchAPIRequest) GetProps() string
- func (r TaobaoProductsSearchAPIRequest) GetQ() string
- func (r TaobaoProductsSearchAPIRequest) GetStatus() string
- func (r TaobaoProductsSearchAPIRequest) GetSuiteItemsStr() string
- func (r TaobaoProductsSearchAPIRequest) GetVerticalMarket() int64
- func (r *TaobaoProductsSearchAPIRequest) SetBarcodeStr(_barcodeStr string) error
- func (r *TaobaoProductsSearchAPIRequest) SetCid(_cid int64) error
- func (r *TaobaoProductsSearchAPIRequest) SetCustomerProps(_customerProps string) error
- func (r *TaobaoProductsSearchAPIRequest) SetFields(_fields []string) error
- func (r *TaobaoProductsSearchAPIRequest) SetMarketId(_marketId string) error
- func (r *TaobaoProductsSearchAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoProductsSearchAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoProductsSearchAPIRequest) SetProps(_props string) error
- func (r *TaobaoProductsSearchAPIRequest) SetQ(_q string) error
- func (r *TaobaoProductsSearchAPIRequest) SetStatus(_status string) error
- func (r *TaobaoProductsSearchAPIRequest) SetSuiteItemsStr(_suiteItemsStr string) error
- func (r *TaobaoProductsSearchAPIRequest) SetVerticalMarket(_verticalMarket int64) error
- type TaobaoProductsSearchAPIResponse
- type TaobaoProductsSearchAPIResponseModel
- type TaobaoSkusCustomGetAPIRequest
- func (r TaobaoSkusCustomGetAPIRequest) GetApiMethodName() string
- func (r TaobaoSkusCustomGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoSkusCustomGetAPIRequest) GetFields() string
- func (r TaobaoSkusCustomGetAPIRequest) GetOuterId() string
- func (r *TaobaoSkusCustomGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoSkusCustomGetAPIRequest) SetOuterId(_outerId string) error
- type TaobaoSkusCustomGetAPIResponse
- type TaobaoSkusCustomGetAPIResponseModel
- type TaobaoSkusQuantityUpdateAPIRequest
- func (r TaobaoSkusQuantityUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoSkusQuantityUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoSkusQuantityUpdateAPIRequest) GetNumIid() int64
- func (r TaobaoSkusQuantityUpdateAPIRequest) GetOuteridQuantities() string
- func (r TaobaoSkusQuantityUpdateAPIRequest) GetSkuidQuantities() string
- func (r TaobaoSkusQuantityUpdateAPIRequest) GetType() int64
- func (r *TaobaoSkusQuantityUpdateAPIRequest) SetNumIid(_numIid int64) error
- func (r *TaobaoSkusQuantityUpdateAPIRequest) SetOuteridQuantities(_outeridQuantities string) error
- func (r *TaobaoSkusQuantityUpdateAPIRequest) SetSkuidQuantities(_skuidQuantities string) error
- func (r *TaobaoSkusQuantityUpdateAPIRequest) SetType(_type int64) error
- type TaobaoSkusQuantityUpdateAPIResponse
- type TaobaoSkusQuantityUpdateAPIResponseModel
- type TaobaoUmpPromotionGetAPIRequest
- type TaobaoUmpPromotionGetAPIResponse
- type TaobaoUmpPromotionGetAPIResponseModel
- type TaobaoXhotelIntlAriNotifyAPIRequest
- func (r TaobaoXhotelIntlAriNotifyAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelIntlAriNotifyAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelIntlAriNotifyAPIRequest) GetCacheChangeList() []CacheChangeInfo
- func (r *TaobaoXhotelIntlAriNotifyAPIRequest) SetCacheChangeList(_cacheChangeList []CacheChangeInfo) error
- type TaobaoXhotelIntlAriNotifyAPIResponse
- type TaobaoXhotelIntlAriNotifyAPIResponseModel
- type Ticket
- type TimeSpan
- type TmallItemAddSchemaGetAPIRequest
- func (r TmallItemAddSchemaGetAPIRequest) GetApiMethodName() string
- func (r TmallItemAddSchemaGetAPIRequest) GetApiParams() url.Values
- func (r TmallItemAddSchemaGetAPIRequest) GetCategoryId() int64
- func (r TmallItemAddSchemaGetAPIRequest) GetIsvInit() bool
- func (r TmallItemAddSchemaGetAPIRequest) GetProductId() int64
- func (r TmallItemAddSchemaGetAPIRequest) GetType() string
- func (r *TmallItemAddSchemaGetAPIRequest) SetCategoryId(_categoryId int64) error
- func (r *TmallItemAddSchemaGetAPIRequest) SetIsvInit(_isvInit bool) error
- func (r *TmallItemAddSchemaGetAPIRequest) SetProductId(_productId int64) error
- func (r *TmallItemAddSchemaGetAPIRequest) SetType(_type string) error
- type TmallItemAddSchemaGetAPIResponse
- type TmallItemAddSchemaGetAPIResponseModel
- type TmallItemAddSimpleschemaGetAPIRequest
- type TmallItemAddSimpleschemaGetAPIResponse
- type TmallItemAddSimpleschemaGetAPIResponseModel
- type TmallItemCalculateHscodeGetAPIRequest
- type TmallItemCalculateHscodeGetAPIResponse
- type TmallItemCalculateHscodeGetAPIResponseModel
- type TmallItemCombineGetAPIRequest
- type TmallItemCombineGetAPIResponse
- type TmallItemCombineGetAPIResponseModel
- type TmallItemDapeiTemplateQueryAPIRequest
- func (r TmallItemDapeiTemplateQueryAPIRequest) GetApiMethodName() string
- func (r TmallItemDapeiTemplateQueryAPIRequest) GetApiParams() url.Values
- func (r TmallItemDapeiTemplateQueryAPIRequest) GetPageIndex() int64
- func (r TmallItemDapeiTemplateQueryAPIRequest) GetPageSize() int64
- func (r TmallItemDapeiTemplateQueryAPIRequest) GetTitle() string
- func (r *TmallItemDapeiTemplateQueryAPIRequest) SetPageIndex(_pageIndex int64) error
- func (r *TmallItemDapeiTemplateQueryAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TmallItemDapeiTemplateQueryAPIRequest) SetTitle(_title string) error
- type TmallItemDapeiTemplateQueryAPIResponse
- type TmallItemDapeiTemplateQueryAPIResponseModel
- type TmallItemDapeiTemplateQueryResultSet
- type TmallItemDescModulesGetAPIRequest
- func (r TmallItemDescModulesGetAPIRequest) GetApiMethodName() string
- func (r TmallItemDescModulesGetAPIRequest) GetApiParams() url.Values
- func (r TmallItemDescModulesGetAPIRequest) GetCatId() int64
- func (r TmallItemDescModulesGetAPIRequest) GetUsrId() string
- func (r *TmallItemDescModulesGetAPIRequest) SetCatId(_catId int64) error
- func (r *TmallItemDescModulesGetAPIRequest) SetUsrId(_usrId string) error
- type TmallItemDescModulesGetAPIResponse
- type TmallItemDescModulesGetAPIResponseModel
- type TmallItemHscodeAuditResultsQueryAPIRequest
- func (r TmallItemHscodeAuditResultsQueryAPIRequest) GetApiMethodName() string
- func (r TmallItemHscodeAuditResultsQueryAPIRequest) GetApiParams() url.Values
- func (r TmallItemHscodeAuditResultsQueryAPIRequest) GetItemId() int64
- func (r *TmallItemHscodeAuditResultsQueryAPIRequest) SetItemId(_itemId int64) error
- type TmallItemHscodeAuditResultsQueryAPIResponse
- type TmallItemHscodeAuditResultsQueryAPIResponseModel
- type TmallItemHscodeDetailGetAPIRequest
- type TmallItemHscodeDetailGetAPIResponse
- type TmallItemHscodeDetailGetAPIResponseModel
- type TmallItemIncrementUpdateSchemaGetAPIRequest
- func (r TmallItemIncrementUpdateSchemaGetAPIRequest) GetApiMethodName() string
- func (r TmallItemIncrementUpdateSchemaGetAPIRequest) GetApiParams() url.Values
- func (r TmallItemIncrementUpdateSchemaGetAPIRequest) GetItemId() int64
- func (r TmallItemIncrementUpdateSchemaGetAPIRequest) GetXmlData() string
- func (r *TmallItemIncrementUpdateSchemaGetAPIRequest) SetItemId(_itemId int64) error
- func (r *TmallItemIncrementUpdateSchemaGetAPIRequest) SetXmlData(_xmlData string) error
- type TmallItemIncrementUpdateSchemaGetAPIResponse
- type TmallItemIncrementUpdateSchemaGetAPIResponseModel
- type TmallItemOuteridUpdateAPIRequest
- func (r TmallItemOuteridUpdateAPIRequest) GetApiMethodName() string
- func (r TmallItemOuteridUpdateAPIRequest) GetApiParams() url.Values
- func (r TmallItemOuteridUpdateAPIRequest) GetItemId() int64
- func (r TmallItemOuteridUpdateAPIRequest) GetOuterId() string
- func (r TmallItemOuteridUpdateAPIRequest) GetSkuOuters() []UpdateSkuOuterId
- func (r *TmallItemOuteridUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *TmallItemOuteridUpdateAPIRequest) SetOuterId(_outerId string) error
- func (r *TmallItemOuteridUpdateAPIRequest) SetSkuOuters(_skuOuters []UpdateSkuOuterId) error
- type TmallItemOuteridUpdateAPIResponse
- type TmallItemOuteridUpdateAPIResponseModel
- type TmallItemPriceUpdateAPIRequest
- func (r TmallItemPriceUpdateAPIRequest) GetApiMethodName() string
- func (r TmallItemPriceUpdateAPIRequest) GetApiParams() url.Values
- func (r TmallItemPriceUpdateAPIRequest) GetItemId() int64
- func (r TmallItemPriceUpdateAPIRequest) GetItemPrice() float64
- func (r TmallItemPriceUpdateAPIRequest) GetOptions() *UpdateItemPriceOption
- func (r TmallItemPriceUpdateAPIRequest) GetSkuPrices() []UpdateSkuPrice
- func (r *TmallItemPriceUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *TmallItemPriceUpdateAPIRequest) SetItemPrice(_itemPrice float64) error
- func (r *TmallItemPriceUpdateAPIRequest) SetOptions(_options *UpdateItemPriceOption) error
- func (r *TmallItemPriceUpdateAPIRequest) SetSkuPrices(_skuPrices []UpdateSkuPrice) error
- type TmallItemPriceUpdateAPIResponse
- type TmallItemPriceUpdateAPIResponseModel
- type TmallItemQuantityUpdateAPIRequest
- func (r TmallItemQuantityUpdateAPIRequest) GetApiMethodName() string
- func (r TmallItemQuantityUpdateAPIRequest) GetApiParams() url.Values
- func (r TmallItemQuantityUpdateAPIRequest) GetItemId() int64
- func (r TmallItemQuantityUpdateAPIRequest) GetItemQuantity() int64
- func (r TmallItemQuantityUpdateAPIRequest) GetOptions() *UpdateItemQuantityOption
- func (r TmallItemQuantityUpdateAPIRequest) GetSkuQuantities() []UpdateSkuQuantity
- func (r *TmallItemQuantityUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *TmallItemQuantityUpdateAPIRequest) SetItemQuantity(_itemQuantity int64) error
- func (r *TmallItemQuantityUpdateAPIRequest) SetOptions(_options *UpdateItemQuantityOption) error
- func (r *TmallItemQuantityUpdateAPIRequest) SetSkuQuantities(_skuQuantities []UpdateSkuQuantity) error
- type TmallItemQuantityUpdateAPIResponse
- type TmallItemQuantityUpdateAPIResponseModel
- type TmallItemSchemaAddAPIRequest
- func (r TmallItemSchemaAddAPIRequest) GetApiMethodName() string
- func (r TmallItemSchemaAddAPIRequest) GetApiParams() url.Values
- func (r TmallItemSchemaAddAPIRequest) GetCategoryId() int64
- func (r TmallItemSchemaAddAPIRequest) GetProductId() int64
- func (r TmallItemSchemaAddAPIRequest) GetXmlData() string
- func (r *TmallItemSchemaAddAPIRequest) SetCategoryId(_categoryId int64) error
- func (r *TmallItemSchemaAddAPIRequest) SetProductId(_productId int64) error
- func (r *TmallItemSchemaAddAPIRequest) SetXmlData(_xmlData string) error
- type TmallItemSchemaAddAPIResponse
- type TmallItemSchemaAddAPIResponseModel
- type TmallItemSchemaIncrementUpdateAPIRequest
- func (r TmallItemSchemaIncrementUpdateAPIRequest) GetApiMethodName() string
- func (r TmallItemSchemaIncrementUpdateAPIRequest) GetApiParams() url.Values
- func (r TmallItemSchemaIncrementUpdateAPIRequest) GetItemId() int64
- func (r TmallItemSchemaIncrementUpdateAPIRequest) GetXmlData() string
- func (r *TmallItemSchemaIncrementUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *TmallItemSchemaIncrementUpdateAPIRequest) SetXmlData(_xmlData string) error
- type TmallItemSchemaIncrementUpdateAPIResponse
- type TmallItemSchemaIncrementUpdateAPIResponseModel
- type TmallItemSchemaUpdateAPIRequest
- func (r TmallItemSchemaUpdateAPIRequest) GetApiMethodName() string
- func (r TmallItemSchemaUpdateAPIRequest) GetApiParams() url.Values
- func (r TmallItemSchemaUpdateAPIRequest) GetCategoryId() int64
- func (r TmallItemSchemaUpdateAPIRequest) GetItemId() int64
- func (r TmallItemSchemaUpdateAPIRequest) GetProductId() int64
- func (r TmallItemSchemaUpdateAPIRequest) GetXmlData() string
- func (r *TmallItemSchemaUpdateAPIRequest) SetCategoryId(_categoryId int64) error
- func (r *TmallItemSchemaUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *TmallItemSchemaUpdateAPIRequest) SetProductId(_productId int64) error
- func (r *TmallItemSchemaUpdateAPIRequest) SetXmlData(_xmlData string) error
- type TmallItemSchemaUpdateAPIResponse
- type TmallItemSchemaUpdateAPIResponseModel
- type TmallItemShiptimeUpdateAPIRequest
- func (r TmallItemShiptimeUpdateAPIRequest) GetApiMethodName() string
- func (r TmallItemShiptimeUpdateAPIRequest) GetApiParams() url.Values
- func (r TmallItemShiptimeUpdateAPIRequest) GetItemId() int64
- func (r TmallItemShiptimeUpdateAPIRequest) GetOption() *UpdateItemShipTimeOption
- func (r TmallItemShiptimeUpdateAPIRequest) GetShipTime() string
- func (r TmallItemShiptimeUpdateAPIRequest) GetSkuShipTimes() []UpdateSkuShipTime
- func (r *TmallItemShiptimeUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *TmallItemShiptimeUpdateAPIRequest) SetOption(_option *UpdateItemShipTimeOption) error
- func (r *TmallItemShiptimeUpdateAPIRequest) SetShipTime(_shipTime string) error
- func (r *TmallItemShiptimeUpdateAPIRequest) SetSkuShipTimes(_skuShipTimes []UpdateSkuShipTime) error
- type TmallItemShiptimeUpdateAPIResponse
- type TmallItemShiptimeUpdateAPIResponseModel
- type TmallItemSimpleschemaAddAPIRequest
- func (r TmallItemSimpleschemaAddAPIRequest) GetApiMethodName() string
- func (r TmallItemSimpleschemaAddAPIRequest) GetApiParams() url.Values
- func (r TmallItemSimpleschemaAddAPIRequest) GetSchemaXmlFields() string
- func (r *TmallItemSimpleschemaAddAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
- type TmallItemSimpleschemaAddAPIResponse
- type TmallItemSimpleschemaAddAPIResponseModel
- type TmallItemSimpleschemaUpdateAPIRequest
- func (r TmallItemSimpleschemaUpdateAPIRequest) GetApiMethodName() string
- func (r TmallItemSimpleschemaUpdateAPIRequest) GetApiParams() url.Values
- func (r TmallItemSimpleschemaUpdateAPIRequest) GetItemId() int64
- func (r TmallItemSimpleschemaUpdateAPIRequest) GetSchemaXmlFields() string
- func (r *TmallItemSimpleschemaUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *TmallItemSimpleschemaUpdateAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
- type TmallItemSimpleschemaUpdateAPIResponse
- type TmallItemSimpleschemaUpdateAPIResponseModel
- type TmallItemSizemappingTemplateCreateAPIRequest
- func (r TmallItemSizemappingTemplateCreateAPIRequest) GetApiMethodName() string
- func (r TmallItemSizemappingTemplateCreateAPIRequest) GetApiParams() url.Values
- func (r TmallItemSizemappingTemplateCreateAPIRequest) GetTemplateContent() string
- func (r TmallItemSizemappingTemplateCreateAPIRequest) GetTemplateName() string
- func (r *TmallItemSizemappingTemplateCreateAPIRequest) SetTemplateContent(_templateContent string) error
- func (r *TmallItemSizemappingTemplateCreateAPIRequest) SetTemplateName(_templateName string) error
- type TmallItemSizemappingTemplateCreateAPIResponse
- type TmallItemSizemappingTemplateCreateAPIResponseModel
- type TmallItemSizemappingTemplateDeleteAPIRequest
- func (r TmallItemSizemappingTemplateDeleteAPIRequest) GetApiMethodName() string
- func (r TmallItemSizemappingTemplateDeleteAPIRequest) GetApiParams() url.Values
- func (r TmallItemSizemappingTemplateDeleteAPIRequest) GetTemplateId() int64
- func (r *TmallItemSizemappingTemplateDeleteAPIRequest) SetTemplateId(_templateId int64) error
- type TmallItemSizemappingTemplateDeleteAPIResponse
- type TmallItemSizemappingTemplateDeleteAPIResponseModel
- type TmallItemSizemappingTemplateGetAPIRequest
- func (r TmallItemSizemappingTemplateGetAPIRequest) GetApiMethodName() string
- func (r TmallItemSizemappingTemplateGetAPIRequest) GetApiParams() url.Values
- func (r TmallItemSizemappingTemplateGetAPIRequest) GetTemplateId() int64
- func (r *TmallItemSizemappingTemplateGetAPIRequest) SetTemplateId(_templateId int64) error
- type TmallItemSizemappingTemplateGetAPIResponse
- type TmallItemSizemappingTemplateGetAPIResponseModel
- type TmallItemSizemappingTemplateGetModel
- type TmallItemSizemappingTemplateUpdateAPIRequest
- func (r TmallItemSizemappingTemplateUpdateAPIRequest) GetApiMethodName() string
- func (r TmallItemSizemappingTemplateUpdateAPIRequest) GetApiParams() url.Values
- func (r TmallItemSizemappingTemplateUpdateAPIRequest) GetTemplateContent() string
- func (r TmallItemSizemappingTemplateUpdateAPIRequest) GetTemplateId() int64
- func (r TmallItemSizemappingTemplateUpdateAPIRequest) GetTemplateName() string
- func (r *TmallItemSizemappingTemplateUpdateAPIRequest) SetTemplateContent(_templateContent string) error
- func (r *TmallItemSizemappingTemplateUpdateAPIRequest) SetTemplateId(_templateId int64) error
- func (r *TmallItemSizemappingTemplateUpdateAPIRequest) SetTemplateName(_templateName string) error
- type TmallItemSizemappingTemplateUpdateAPIResponse
- type TmallItemSizemappingTemplateUpdateAPIResponseModel
- type TmallItemSizemappingTemplatesListAPIRequest
- type TmallItemSizemappingTemplatesListAPIResponse
- type TmallItemSizemappingTemplatesListAPIResponseModel
- type TmallItemStoreSchemaUpdateAPIRequest
- func (r TmallItemStoreSchemaUpdateAPIRequest) GetApiMethodName() string
- func (r TmallItemStoreSchemaUpdateAPIRequest) GetApiParams() url.Values
- func (r TmallItemStoreSchemaUpdateAPIRequest) GetMainItemId() int64
- func (r TmallItemStoreSchemaUpdateAPIRequest) GetStoreId() int64
- func (r TmallItemStoreSchemaUpdateAPIRequest) GetXml() string
- func (r *TmallItemStoreSchemaUpdateAPIRequest) SetMainItemId(_mainItemId int64) error
- func (r *TmallItemStoreSchemaUpdateAPIRequest) SetStoreId(_storeId int64) error
- func (r *TmallItemStoreSchemaUpdateAPIRequest) SetXml(_xml string) error
- type TmallItemStoreSchemaUpdateAPIResponse
- type TmallItemStoreSchemaUpdateAPIResponseModel
- type TmallItemStoreSchemaUpdateApiResult
- type TmallItemStoreUpdateSchemaGetAPIRequest
- func (r TmallItemStoreUpdateSchemaGetAPIRequest) GetApiMethodName() string
- func (r TmallItemStoreUpdateSchemaGetAPIRequest) GetApiParams() url.Values
- func (r TmallItemStoreUpdateSchemaGetAPIRequest) GetMainItemId() int64
- func (r TmallItemStoreUpdateSchemaGetAPIRequest) GetStoreId() int64
- func (r *TmallItemStoreUpdateSchemaGetAPIRequest) SetMainItemId(_mainItemId int64) error
- func (r *TmallItemStoreUpdateSchemaGetAPIRequest) SetStoreId(_storeId int64) error
- type TmallItemStoreUpdateSchemaGetAPIResponse
- type TmallItemStoreUpdateSchemaGetAPIResponseModel
- type TmallItemStoreUpdateSchemaGetApiResult
- type TmallItemUpdateSchemaGetAPIRequest
- func (r TmallItemUpdateSchemaGetAPIRequest) GetApiMethodName() string
- func (r TmallItemUpdateSchemaGetAPIRequest) GetApiParams() url.Values
- func (r TmallItemUpdateSchemaGetAPIRequest) GetCategoryId() int64
- func (r TmallItemUpdateSchemaGetAPIRequest) GetItemId() int64
- func (r TmallItemUpdateSchemaGetAPIRequest) GetProductId() int64
- func (r *TmallItemUpdateSchemaGetAPIRequest) SetCategoryId(_categoryId int64) error
- func (r *TmallItemUpdateSchemaGetAPIRequest) SetItemId(_itemId int64) error
- func (r *TmallItemUpdateSchemaGetAPIRequest) SetProductId(_productId int64) error
- type TmallItemUpdateSchemaGetAPIResponse
- type TmallItemUpdateSchemaGetAPIResponseModel
- type TmallItemUpdateSimpleschemaGetAPIRequest
- func (r TmallItemUpdateSimpleschemaGetAPIRequest) GetApiMethodName() string
- func (r TmallItemUpdateSimpleschemaGetAPIRequest) GetApiParams() url.Values
- func (r TmallItemUpdateSimpleschemaGetAPIRequest) GetItemId() int64
- func (r *TmallItemUpdateSimpleschemaGetAPIRequest) SetItemId(_itemId int64) error
- type TmallItemUpdateSimpleschemaGetAPIResponse
- type TmallItemUpdateSimpleschemaGetAPIResponseModel
- type TmallItemVipAddSchemaGetAPIRequest
- type TmallItemVipAddSchemaGetAPIResponse
- type TmallItemVipAddSchemaGetAPIResponseModel
- type TmallItemVipSchemaAddAPIRequest
- type TmallItemVipSchemaAddAPIResponse
- type TmallItemVipSchemaAddAPIResponseModel
- type TmallItemVipSchemaUpdateAPIRequest
- func (r TmallItemVipSchemaUpdateAPIRequest) GetApiMethodName() string
- func (r TmallItemVipSchemaUpdateAPIRequest) GetApiParams() url.Values
- func (r TmallItemVipSchemaUpdateAPIRequest) GetItemId() int64
- func (r TmallItemVipSchemaUpdateAPIRequest) GetSchemaXmlFields() string
- func (r *TmallItemVipSchemaUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *TmallItemVipSchemaUpdateAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
- type TmallItemVipSchemaUpdateAPIResponse
- type TmallItemVipSchemaUpdateAPIResponseModel
- type TmallItemVipUpdateSchemaGetAPIRequest
- type TmallItemVipUpdateSchemaGetAPIResponse
- type TmallItemVipUpdateSchemaGetAPIResponseModel
- type TmallProductAddSchemaGetAPIRequest
- func (r TmallProductAddSchemaGetAPIRequest) GetApiMethodName() string
- func (r TmallProductAddSchemaGetAPIRequest) GetApiParams() url.Values
- func (r TmallProductAddSchemaGetAPIRequest) GetBrandId() int64
- func (r TmallProductAddSchemaGetAPIRequest) GetCategoryId() int64
- func (r *TmallProductAddSchemaGetAPIRequest) SetBrandId(_brandId int64) error
- func (r *TmallProductAddSchemaGetAPIRequest) SetCategoryId(_categoryId int64) error
- type TmallProductAddSchemaGetAPIResponse
- type TmallProductAddSchemaGetAPIResponseModel
- type TmallProductMatchSchemaGetAPIRequest
- type TmallProductMatchSchemaGetAPIResponse
- type TmallProductMatchSchemaGetAPIResponseModel
- type TmallProductSchemaAddAPIRequest
- func (r TmallProductSchemaAddAPIRequest) GetApiMethodName() string
- func (r TmallProductSchemaAddAPIRequest) GetApiParams() url.Values
- func (r TmallProductSchemaAddAPIRequest) GetBrandId() int64
- func (r TmallProductSchemaAddAPIRequest) GetCategoryId() int64
- func (r TmallProductSchemaAddAPIRequest) GetXmlData() string
- func (r *TmallProductSchemaAddAPIRequest) SetBrandId(_brandId int64) error
- func (r *TmallProductSchemaAddAPIRequest) SetCategoryId(_categoryId int64) error
- func (r *TmallProductSchemaAddAPIRequest) SetXmlData(_xmlData string) error
- type TmallProductSchemaAddAPIResponse
- type TmallProductSchemaAddAPIResponseModel
- type TmallProductSchemaGetAPIRequest
- type TmallProductSchemaGetAPIResponse
- type TmallProductSchemaGetAPIResponseModel
- type TmallProductSchemaMatchAPIRequest
- func (r TmallProductSchemaMatchAPIRequest) GetApiMethodName() string
- func (r TmallProductSchemaMatchAPIRequest) GetApiParams() url.Values
- func (r TmallProductSchemaMatchAPIRequest) GetCategoryId() int64
- func (r TmallProductSchemaMatchAPIRequest) GetPropvalues() string
- func (r *TmallProductSchemaMatchAPIRequest) SetCategoryId(_categoryId int64) error
- func (r *TmallProductSchemaMatchAPIRequest) SetPropvalues(_propvalues string) error
- type TmallProductSchemaMatchAPIResponse
- type TmallProductSchemaMatchAPIResponseModel
- type TmallProductSchemaUpdateAPIRequest
- func (r TmallProductSchemaUpdateAPIRequest) GetApiMethodName() string
- func (r TmallProductSchemaUpdateAPIRequest) GetApiParams() url.Values
- func (r TmallProductSchemaUpdateAPIRequest) GetProductId() int64
- func (r TmallProductSchemaUpdateAPIRequest) GetXmlData() string
- func (r *TmallProductSchemaUpdateAPIRequest) SetProductId(_productId int64) error
- func (r *TmallProductSchemaUpdateAPIRequest) SetXmlData(_xmlData string) error
- type TmallProductSchemaUpdateAPIResponse
- type TmallProductSchemaUpdateAPIResponseModel
- type TmallProductSpecAddAPIRequest
- func (r TmallProductSpecAddAPIRequest) GetApiMethodName() string
- func (r TmallProductSpecAddAPIRequest) GetApiParams() url.Values
- func (r TmallProductSpecAddAPIRequest) GetBarcode() string
- func (r TmallProductSpecAddAPIRequest) GetCertifiedPicStr() string
- func (r TmallProductSpecAddAPIRequest) GetCertifiedTxtStr() string
- func (r TmallProductSpecAddAPIRequest) GetChangeProp() string
- func (r TmallProductSpecAddAPIRequest) GetCustomerSpecProps() string
- func (r TmallProductSpecAddAPIRequest) GetImage() *model.File
- func (r TmallProductSpecAddAPIRequest) GetLabelPrice() int64
- func (r TmallProductSpecAddAPIRequest) GetMarketTime() string
- func (r TmallProductSpecAddAPIRequest) GetProductCode() string
- func (r TmallProductSpecAddAPIRequest) GetProductId() int64
- func (r TmallProductSpecAddAPIRequest) GetSpecProps() string
- func (r TmallProductSpecAddAPIRequest) GetSpecPropsAlias() string
- func (r *TmallProductSpecAddAPIRequest) SetBarcode(_barcode string) error
- func (r *TmallProductSpecAddAPIRequest) SetCertifiedPicStr(_certifiedPicStr string) error
- func (r *TmallProductSpecAddAPIRequest) SetCertifiedTxtStr(_certifiedTxtStr string) error
- func (r *TmallProductSpecAddAPIRequest) SetChangeProp(_changeProp string) error
- func (r *TmallProductSpecAddAPIRequest) SetCustomerSpecProps(_customerSpecProps string) error
- func (r *TmallProductSpecAddAPIRequest) SetImage(_image *model.File) error
- func (r *TmallProductSpecAddAPIRequest) SetLabelPrice(_labelPrice int64) error
- func (r *TmallProductSpecAddAPIRequest) SetMarketTime(_marketTime string) error
- func (r *TmallProductSpecAddAPIRequest) SetProductCode(_productCode string) error
- func (r *TmallProductSpecAddAPIRequest) SetProductId(_productId int64) error
- func (r *TmallProductSpecAddAPIRequest) SetSpecProps(_specProps string) error
- func (r *TmallProductSpecAddAPIRequest) SetSpecPropsAlias(_specPropsAlias string) error
- type TmallProductSpecAddAPIResponse
- type TmallProductSpecAddAPIResponseModel
- type TmallProductSpecGetAPIRequest
- type TmallProductSpecGetAPIResponse
- type TmallProductSpecGetAPIResponseModel
- type TmallProductSpecPicUploadAPIRequest
- func (r TmallProductSpecPicUploadAPIRequest) GetApiMethodName() string
- func (r TmallProductSpecPicUploadAPIRequest) GetApiParams() url.Values
- func (r TmallProductSpecPicUploadAPIRequest) GetCertifyPic() *model.File
- func (r TmallProductSpecPicUploadAPIRequest) GetCertifyType() int64
- func (r *TmallProductSpecPicUploadAPIRequest) SetCertifyPic(_certifyPic *model.File) error
- func (r *TmallProductSpecPicUploadAPIRequest) SetCertifyType(_certifyType int64) error
- type TmallProductSpecPicUploadAPIResponse
- type TmallProductSpecPicUploadAPIResponseModel
- type TmallProductSpecsGetAPIRequest
- func (r TmallProductSpecsGetAPIRequest) GetApiMethodName() string
- func (r TmallProductSpecsGetAPIRequest) GetApiParams() url.Values
- func (r TmallProductSpecsGetAPIRequest) GetCatId() int64
- func (r TmallProductSpecsGetAPIRequest) GetProductId() int64
- func (r TmallProductSpecsGetAPIRequest) GetProperties() string
- func (r *TmallProductSpecsGetAPIRequest) SetCatId(_catId int64) error
- func (r *TmallProductSpecsGetAPIRequest) SetProductId(_productId int64) error
- func (r *TmallProductSpecsGetAPIRequest) SetProperties(_properties string) error
- type TmallProductSpecsGetAPIResponse
- type TmallProductSpecsGetAPIResponseModel
- type TmallProductSpecsTicketGetAPIRequest
- type TmallProductSpecsTicketGetAPIResponse
- type TmallProductSpecsTicketGetAPIResponseModel
- type TmallProductTemplateGetAPIRequest
- type TmallProductTemplateGetAPIResponse
- type TmallProductTemplateGetAPIResponseModel
- type TmallProductUpdateSchemaGetAPIRequest
- type TmallProductUpdateSchemaGetAPIResponse
- type TmallProductUpdateSchemaGetAPIResponseModel
- type UpdateItemPriceOption
- type UpdateItemQuantityOption
- type UpdateItemShipTimeOption
- type UpdateSkuOuterId
- type UpdateSkuPrice
- type UpdateSkuQuantity
- type UpdateSkuShipTime
- type UploadImageResp
- type Video
- type WholesaleCategory
- type WholesaleGoodsAttribute
- type WholesaleGoodsOpenResult
- type WholesaleSearchOpenResult
- type WholesaleUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AfterSale ¶
type AfterSale struct { // 名称 AfterSaleName string `json:"after_sale_name,omitempty" xml:"after_sale_name,omitempty"` // tfs地址 AfterSalePath string `json:"after_sale_path,omitempty" xml:"after_sale_path,omitempty"` // id AfterSaleId int64 `json:"after_sale_id,omitempty" xml:"after_sale_id,omitempty"` }
AfterSale 结构体
type AlibabaGpuAddSchemaGetAPIRequest ¶
type AlibabaGpuAddSchemaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaGpuAddSchemaGetAPIRequest 获取产品发布规则接口 API请求 alibaba.gpu.add.schema.get
获取产品发布规则接口
func NewAlibabaGpuAddSchemaGetRequest ¶
func NewAlibabaGpuAddSchemaGetRequest() *AlibabaGpuAddSchemaGetAPIRequest
NewAlibabaGpuAddSchemaGetRequest 初始化AlibabaGpuAddSchemaGetAPIRequest对象
func (AlibabaGpuAddSchemaGetAPIRequest) GetApiMethodName ¶
func (r AlibabaGpuAddSchemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaGpuAddSchemaGetAPIRequest) GetApiParams ¶
func (r AlibabaGpuAddSchemaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaGpuAddSchemaGetAPIRequest) GetBrandId ¶
func (r AlibabaGpuAddSchemaGetAPIRequest) GetBrandId() int64
GetBrandId BrandId Getter
func (AlibabaGpuAddSchemaGetAPIRequest) GetLeafCatId ¶
func (r AlibabaGpuAddSchemaGetAPIRequest) GetLeafCatId() int64
GetLeafCatId LeafCatId Getter
func (AlibabaGpuAddSchemaGetAPIRequest) GetProviderId ¶
func (r AlibabaGpuAddSchemaGetAPIRequest) GetProviderId() int64
GetProviderId ProviderId Getter
func (*AlibabaGpuAddSchemaGetAPIRequest) SetBrandId ¶
func (r *AlibabaGpuAddSchemaGetAPIRequest) SetBrandId(_brandId int64) error
SetBrandId is BrandId Setter 品牌ID
func (*AlibabaGpuAddSchemaGetAPIRequest) SetLeafCatId ¶
func (r *AlibabaGpuAddSchemaGetAPIRequest) SetLeafCatId(_leafCatId int64) error
SetLeafCatId is LeafCatId Setter 叶子类目ID
func (*AlibabaGpuAddSchemaGetAPIRequest) SetProviderId ¶
func (r *AlibabaGpuAddSchemaGetAPIRequest) SetProviderId(_providerId int64) error
SetProviderId is ProviderId Setter 当前用户所在渠道如0代表天猫,8代表淘宝
type AlibabaGpuAddSchemaGetAPIResponse ¶
type AlibabaGpuAddSchemaGetAPIResponse struct { model.CommonResponse AlibabaGpuAddSchemaGetAPIResponseModel }
AlibabaGpuAddSchemaGetAPIResponse 获取产品发布规则接口 API返回值 alibaba.gpu.add.schema.get
获取产品发布规则接口
type AlibabaGpuAddSchemaGetAPIResponseModel ¶
type AlibabaGpuAddSchemaGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_gpu_add_schema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回产品发布规则 AddProductRule string `json:"add_product_rule,omitempty" xml:"add_product_rule,omitempty"` }
AlibabaGpuAddSchemaGetAPIResponseModel is 获取产品发布规则接口 成功返回结果
type AlibabaGpuSchemaAddAPIRequest ¶
type AlibabaGpuSchemaAddAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaGpuSchemaAddAPIRequest 使用schema文件发布产品 API请求 alibaba.gpu.schema.add
使用Schema文件发布一个产品
func NewAlibabaGpuSchemaAddRequest ¶
func NewAlibabaGpuSchemaAddRequest() *AlibabaGpuSchemaAddAPIRequest
NewAlibabaGpuSchemaAddRequest 初始化AlibabaGpuSchemaAddAPIRequest对象
func (AlibabaGpuSchemaAddAPIRequest) GetApiMethodName ¶
func (r AlibabaGpuSchemaAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaGpuSchemaAddAPIRequest) GetApiParams ¶
func (r AlibabaGpuSchemaAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaGpuSchemaAddAPIRequest) GetBrandId ¶
func (r AlibabaGpuSchemaAddAPIRequest) GetBrandId() int64
GetBrandId BrandId Getter
func (AlibabaGpuSchemaAddAPIRequest) GetLeafCatId ¶
func (r AlibabaGpuSchemaAddAPIRequest) GetLeafCatId() int64
GetLeafCatId LeafCatId Getter
func (AlibabaGpuSchemaAddAPIRequest) GetProviderId ¶
func (r AlibabaGpuSchemaAddAPIRequest) GetProviderId() int64
GetProviderId ProviderId Getter
func (AlibabaGpuSchemaAddAPIRequest) GetSchemaXmlFields ¶
func (r AlibabaGpuSchemaAddAPIRequest) GetSchemaXmlFields() string
GetSchemaXmlFields SchemaXmlFields Getter
func (*AlibabaGpuSchemaAddAPIRequest) SetBrandId ¶
func (r *AlibabaGpuSchemaAddAPIRequest) SetBrandId(_brandId int64) error
SetBrandId is BrandId Setter 品牌ID
func (*AlibabaGpuSchemaAddAPIRequest) SetLeafCatId ¶
func (r *AlibabaGpuSchemaAddAPIRequest) SetLeafCatId(_leafCatId int64) error
SetLeafCatId is LeafCatId Setter 叶子类目ID
func (*AlibabaGpuSchemaAddAPIRequest) SetProviderId ¶
func (r *AlibabaGpuSchemaAddAPIRequest) SetProviderId(_providerId int64) error
SetProviderId is ProviderId Setter 当前用户所在渠道如0代表天猫,8代表淘宝
func (*AlibabaGpuSchemaAddAPIRequest) SetSchemaXmlFields ¶
func (r *AlibabaGpuSchemaAddAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
SetSchemaXmlFields is SchemaXmlFields Setter 根据alibaba.gpu.add.schema.get获取的规则提交上来的schema
type AlibabaGpuSchemaAddAPIResponse ¶
type AlibabaGpuSchemaAddAPIResponse struct { model.CommonResponse AlibabaGpuSchemaAddAPIResponseModel }
AlibabaGpuSchemaAddAPIResponse 使用schema文件发布产品 API返回值 alibaba.gpu.schema.add
使用Schema文件发布一个产品
type AlibabaGpuSchemaAddAPIResponseModel ¶
type AlibabaGpuSchemaAddAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_gpu_schema_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 产品发布的结果 AddProductResult string `json:"add_product_result,omitempty" xml:"add_product_result,omitempty"` }
AlibabaGpuSchemaAddAPIResponseModel is 使用schema文件发布产品 成功返回结果
type AlibabaGpuSchemaCatsearchAPIRequest ¶
type AlibabaGpuSchemaCatsearchAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaGpuSchemaCatsearchAPIRequest 按类目查询spu接口 API请求 alibaba.gpu.schema.catsearch
按类目查询spu的schema接口
func NewAlibabaGpuSchemaCatsearchRequest ¶
func NewAlibabaGpuSchemaCatsearchRequest() *AlibabaGpuSchemaCatsearchAPIRequest
NewAlibabaGpuSchemaCatsearchRequest 初始化AlibabaGpuSchemaCatsearchAPIRequest对象
func (AlibabaGpuSchemaCatsearchAPIRequest) GetApiMethodName ¶
func (r AlibabaGpuSchemaCatsearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaGpuSchemaCatsearchAPIRequest) GetApiParams ¶
func (r AlibabaGpuSchemaCatsearchAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaGpuSchemaCatsearchAPIRequest) GetCurrentPage ¶
func (r AlibabaGpuSchemaCatsearchAPIRequest) GetCurrentPage() int64
GetCurrentPage CurrentPage Getter
func (AlibabaGpuSchemaCatsearchAPIRequest) GetLeafCatId ¶
func (r AlibabaGpuSchemaCatsearchAPIRequest) GetLeafCatId() int64
GetLeafCatId LeafCatId Getter
func (AlibabaGpuSchemaCatsearchAPIRequest) GetPageSize ¶
func (r AlibabaGpuSchemaCatsearchAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (AlibabaGpuSchemaCatsearchAPIRequest) GetProviderId ¶
func (r AlibabaGpuSchemaCatsearchAPIRequest) GetProviderId() int64
GetProviderId ProviderId Getter
func (*AlibabaGpuSchemaCatsearchAPIRequest) SetCurrentPage ¶
func (r *AlibabaGpuSchemaCatsearchAPIRequest) SetCurrentPage(_currentPage int64) error
SetCurrentPage is CurrentPage Setter 当前页
func (*AlibabaGpuSchemaCatsearchAPIRequest) SetLeafCatId ¶
func (r *AlibabaGpuSchemaCatsearchAPIRequest) SetLeafCatId(_leafCatId int64) error
SetLeafCatId is LeafCatId Setter 叶子类目ID
func (*AlibabaGpuSchemaCatsearchAPIRequest) SetPageSize ¶
func (r *AlibabaGpuSchemaCatsearchAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页大小
func (*AlibabaGpuSchemaCatsearchAPIRequest) SetProviderId ¶
func (r *AlibabaGpuSchemaCatsearchAPIRequest) SetProviderId(_providerId int64) error
SetProviderId is ProviderId Setter 渠道Id,如0代表天猫,8代表淘宝
type AlibabaGpuSchemaCatsearchAPIResponse ¶
type AlibabaGpuSchemaCatsearchAPIResponse struct { model.CommonResponse AlibabaGpuSchemaCatsearchAPIResponseModel }
AlibabaGpuSchemaCatsearchAPIResponse 按类目查询spu接口 API返回值 alibaba.gpu.schema.catsearch
按类目查询spu的schema接口
type AlibabaGpuSchemaCatsearchAPIResponseModel ¶
type AlibabaGpuSchemaCatsearchAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_gpu_schema_catsearch_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回按类目查询spu的schema CatSearchResult string `json:"cat_search_result,omitempty" xml:"cat_search_result,omitempty"` // 总记录数 Total int64 `json:"total,omitempty" xml:"total,omitempty"` }
AlibabaGpuSchemaCatsearchAPIResponseModel is 按类目查询spu接口 成功返回结果
type AlibabaGpuSchemaUpdateAPIRequest ¶
type AlibabaGpuSchemaUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaGpuSchemaUpdateAPIRequest 产品更新接口 API请求 alibaba.gpu.schema.update
产品更新接口
func NewAlibabaGpuSchemaUpdateRequest ¶
func NewAlibabaGpuSchemaUpdateRequest() *AlibabaGpuSchemaUpdateAPIRequest
NewAlibabaGpuSchemaUpdateRequest 初始化AlibabaGpuSchemaUpdateAPIRequest对象
func (AlibabaGpuSchemaUpdateAPIRequest) GetApiMethodName ¶
func (r AlibabaGpuSchemaUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaGpuSchemaUpdateAPIRequest) GetApiParams ¶
func (r AlibabaGpuSchemaUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaGpuSchemaUpdateAPIRequest) GetProductId ¶
func (r AlibabaGpuSchemaUpdateAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (AlibabaGpuSchemaUpdateAPIRequest) GetProviderId ¶
func (r AlibabaGpuSchemaUpdateAPIRequest) GetProviderId() int64
GetProviderId ProviderId Getter
func (AlibabaGpuSchemaUpdateAPIRequest) GetSchemaXmlFields ¶
func (r AlibabaGpuSchemaUpdateAPIRequest) GetSchemaXmlFields() string
GetSchemaXmlFields SchemaXmlFields Getter
func (*AlibabaGpuSchemaUpdateAPIRequest) SetProductId ¶
func (r *AlibabaGpuSchemaUpdateAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID
func (*AlibabaGpuSchemaUpdateAPIRequest) SetProviderId ¶
func (r *AlibabaGpuSchemaUpdateAPIRequest) SetProviderId(_providerId int64) error
SetProviderId is ProviderId Setter 当前用户所在渠道如0代表天猫,8代表淘宝
func (*AlibabaGpuSchemaUpdateAPIRequest) SetSchemaXmlFields ¶
func (r *AlibabaGpuSchemaUpdateAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
SetSchemaXmlFields is SchemaXmlFields Setter 更新产品提交的schema数据
type AlibabaGpuSchemaUpdateAPIResponse ¶
type AlibabaGpuSchemaUpdateAPIResponse struct { model.CommonResponse AlibabaGpuSchemaUpdateAPIResponseModel }
AlibabaGpuSchemaUpdateAPIResponse 产品更新接口 API返回值 alibaba.gpu.schema.update
产品更新接口
type AlibabaGpuSchemaUpdateAPIResponseModel ¶
type AlibabaGpuSchemaUpdateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_gpu_schema_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 更新产品的结果 UpdateProductResult string `json:"update_product_result,omitempty" xml:"update_product_result,omitempty"` }
AlibabaGpuSchemaUpdateAPIResponseModel is 产品更新接口 成功返回结果
type AlibabaGpuUpdateSchemaGetAPIRequest ¶
type AlibabaGpuUpdateSchemaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaGpuUpdateSchemaGetAPIRequest 获取产品编辑schema规则的接口 API请求 alibaba.gpu.update.schema.get
获取产品编辑schema规则的接口
func NewAlibabaGpuUpdateSchemaGetRequest ¶
func NewAlibabaGpuUpdateSchemaGetRequest() *AlibabaGpuUpdateSchemaGetAPIRequest
NewAlibabaGpuUpdateSchemaGetRequest 初始化AlibabaGpuUpdateSchemaGetAPIRequest对象
func (AlibabaGpuUpdateSchemaGetAPIRequest) GetApiMethodName ¶
func (r AlibabaGpuUpdateSchemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaGpuUpdateSchemaGetAPIRequest) GetApiParams ¶
func (r AlibabaGpuUpdateSchemaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaGpuUpdateSchemaGetAPIRequest) GetProductId ¶
func (r AlibabaGpuUpdateSchemaGetAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (AlibabaGpuUpdateSchemaGetAPIRequest) GetProviderId ¶
func (r AlibabaGpuUpdateSchemaGetAPIRequest) GetProviderId() int64
GetProviderId ProviderId Getter
func (*AlibabaGpuUpdateSchemaGetAPIRequest) SetProductId ¶
func (r *AlibabaGpuUpdateSchemaGetAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID
func (*AlibabaGpuUpdateSchemaGetAPIRequest) SetProviderId ¶
func (r *AlibabaGpuUpdateSchemaGetAPIRequest) SetProviderId(_providerId int64) error
SetProviderId is ProviderId Setter 当前用户所在渠道如0代表天猫,8代表淘宝
type AlibabaGpuUpdateSchemaGetAPIResponse ¶
type AlibabaGpuUpdateSchemaGetAPIResponse struct { model.CommonResponse AlibabaGpuUpdateSchemaGetAPIResponseModel }
AlibabaGpuUpdateSchemaGetAPIResponse 获取产品编辑schema规则的接口 API返回值 alibaba.gpu.update.schema.get
获取产品编辑schema规则的接口
type AlibabaGpuUpdateSchemaGetAPIResponseModel ¶
type AlibabaGpuUpdateSchemaGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_gpu_update_schema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 参数产品ID对应的产品更新规则 UpdateProductRule string `json:"update_product_rule,omitempty" xml:"update_product_rule,omitempty"` }
AlibabaGpuUpdateSchemaGetAPIResponseModel is 获取产品编辑schema规则的接口 成功返回结果
type AlibabaGspSupplyImageUploadAPIRequest ¶
type AlibabaGspSupplyImageUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaGspSupplyImageUploadAPIRequest gsp图片上传 API请求 alibaba.gsp.supply.image.upload
上传图片至目标海外平台的素材空间
func NewAlibabaGspSupplyImageUploadRequest ¶
func NewAlibabaGspSupplyImageUploadRequest() *AlibabaGspSupplyImageUploadAPIRequest
NewAlibabaGspSupplyImageUploadRequest 初始化AlibabaGspSupplyImageUploadAPIRequest对象
func (AlibabaGspSupplyImageUploadAPIRequest) GetApiMethodName ¶
func (r AlibabaGspSupplyImageUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaGspSupplyImageUploadAPIRequest) GetApiParams ¶
func (r AlibabaGspSupplyImageUploadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaGspSupplyImageUploadAPIRequest) GetFileContent ¶
func (r AlibabaGspSupplyImageUploadAPIRequest) GetFileContent() *model.File
GetFileContent FileContent Getter
func (AlibabaGspSupplyImageUploadAPIRequest) GetFileName ¶
func (r AlibabaGspSupplyImageUploadAPIRequest) GetFileName() string
GetFileName FileName Getter
func (*AlibabaGspSupplyImageUploadAPIRequest) SetFileContent ¶
func (r *AlibabaGspSupplyImageUploadAPIRequest) SetFileContent(_fileContent *model.File) error
SetFileContent is FileContent Setter 图片文件流,像素宽度不小于500,不大于2000,像素长度不小于500,不大于2000
func (*AlibabaGspSupplyImageUploadAPIRequest) SetFileName ¶
func (r *AlibabaGspSupplyImageUploadAPIRequest) SetFileName(_fileName string) error
SetFileName is FileName Setter 图片名称
type AlibabaGspSupplyImageUploadAPIResponse ¶
type AlibabaGspSupplyImageUploadAPIResponse struct { model.CommonResponse AlibabaGspSupplyImageUploadAPIResponseModel }
AlibabaGspSupplyImageUploadAPIResponse gsp图片上传 API返回值 alibaba.gsp.supply.image.upload
上传图片至目标海外平台的素材空间
type AlibabaGspSupplyImageUploadAPIResponseModel ¶
type AlibabaGspSupplyImageUploadAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_gsp_supply_image_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 ServiceErrorCode string `json:"service_error_code,omitempty" xml:"service_error_code,omitempty"` // 错误信息 ServiceErrorMsg string `json:"service_error_msg,omitempty" xml:"service_error_msg,omitempty"` // 数据 Model *UploadImageResp `json:"model,omitempty" xml:"model,omitempty"` // 执行结果 ServiceSuccess bool `json:"service_success,omitempty" xml:"service_success,omitempty"` // 是否重试 NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"` }
AlibabaGspSupplyImageUploadAPIResponseModel is gsp图片上传 成功返回结果
type AlibabaItemCategoryPredictAPIRequest ¶
type AlibabaItemCategoryPredictAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaItemCategoryPredictAPIRequest 商品发布类目预测 API请求 alibaba.item.category.predict
<font color='red'>商品发布类目预测接口,预测匹配的结果存在一定误差,需要商家二次确认,避免类目配置错误产生其他影响。</font>
func NewAlibabaItemCategoryPredictRequest ¶
func NewAlibabaItemCategoryPredictRequest() *AlibabaItemCategoryPredictAPIRequest
NewAlibabaItemCategoryPredictRequest 初始化AlibabaItemCategoryPredictAPIRequest对象
func (AlibabaItemCategoryPredictAPIRequest) GetApiMethodName ¶
func (r AlibabaItemCategoryPredictAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaItemCategoryPredictAPIRequest) GetApiParams ¶
func (r AlibabaItemCategoryPredictAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaItemCategoryPredictAPIRequest) GetBarcode ¶
func (r AlibabaItemCategoryPredictAPIRequest) GetBarcode() string
GetBarcode Barcode Getter
func (AlibabaItemCategoryPredictAPIRequest) GetBarcodeImage ¶
func (r AlibabaItemCategoryPredictAPIRequest) GetBarcodeImage() string
GetBarcodeImage BarcodeImage Getter
func (AlibabaItemCategoryPredictAPIRequest) GetImages ¶
func (r AlibabaItemCategoryPredictAPIRequest) GetImages() []string
GetImages Images Getter
func (AlibabaItemCategoryPredictAPIRequest) GetItemDesc ¶
func (r AlibabaItemCategoryPredictAPIRequest) GetItemDesc() string
GetItemDesc ItemDesc Getter
func (AlibabaItemCategoryPredictAPIRequest) GetMarket ¶
func (r AlibabaItemCategoryPredictAPIRequest) GetMarket() string
GetMarket Market Getter
func (*AlibabaItemCategoryPredictAPIRequest) SetBarcode ¶
func (r *AlibabaItemCategoryPredictAPIRequest) SetBarcode(_barcode string) error
SetBarcode is Barcode Setter 商品条码
func (*AlibabaItemCategoryPredictAPIRequest) SetBarcodeImage ¶
func (r *AlibabaItemCategoryPredictAPIRequest) SetBarcodeImage(_barcodeImage string) error
SetBarcodeImage is BarcodeImage Setter 商品条码图片
func (*AlibabaItemCategoryPredictAPIRequest) SetImages ¶
func (r *AlibabaItemCategoryPredictAPIRequest) SetImages(_images []string) error
SetImages is Images Setter 商品主图链接,最多5张,传入完整URL
func (*AlibabaItemCategoryPredictAPIRequest) SetItemDesc ¶
func (r *AlibabaItemCategoryPredictAPIRequest) SetItemDesc(_itemDesc string) error
SetItemDesc is ItemDesc Setter 商品介绍
func (*AlibabaItemCategoryPredictAPIRequest) SetMarket ¶
func (r *AlibabaItemCategoryPredictAPIRequest) SetMarket(_market string) error
SetMarket is Market Setter 商品发布的市场。taobao:淘宝,tmall:天猫,litetao:淘宝特价版
type AlibabaItemCategoryPredictAPIResponse ¶
type AlibabaItemCategoryPredictAPIResponse struct { model.CommonResponse AlibabaItemCategoryPredictAPIResponseModel }
AlibabaItemCategoryPredictAPIResponse 商品发布类目预测 API返回值 alibaba.item.category.predict
<font color='red'>商品发布类目预测接口,预测匹配的结果存在一定误差,需要商家二次确认,避免类目配置错误产生其他影响。</font>
type AlibabaItemCategoryPredictAPIResponseModel ¶
type AlibabaItemCategoryPredictAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_item_category_predict_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 类目路径 CatName string `json:"cat_name,omitempty" xml:"cat_name,omitempty"` // 类目名称 CatPath string `json:"cat_path,omitempty" xml:"cat_path,omitempty"` // 类目ID CatId int64 `json:"cat_id,omitempty" xml:"cat_id,omitempty"` }
AlibabaItemCategoryPredictAPIResponseModel is 商品发布类目预测 成功返回结果
type AlibabaItemEditFastupdateAPIRequest ¶
type AlibabaItemEditFastupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaItemEditFastupdateAPIRequest 商品编辑增量更新 API请求 alibaba.item.edit.fastupdate
商品编辑增量更新; <br/>该接口编辑sku,只能更新价格、库存等信息,不能新增sku; <br/>新增sku用全量接口alibaba.item.edit.submit,先设置销售属性;
func NewAlibabaItemEditFastupdateRequest ¶
func NewAlibabaItemEditFastupdateRequest() *AlibabaItemEditFastupdateAPIRequest
NewAlibabaItemEditFastupdateRequest 初始化AlibabaItemEditFastupdateAPIRequest对象
func (AlibabaItemEditFastupdateAPIRequest) GetApiMethodName ¶
func (r AlibabaItemEditFastupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaItemEditFastupdateAPIRequest) GetApiParams ¶
func (r AlibabaItemEditFastupdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaItemEditFastupdateAPIRequest) GetCatId ¶
func (r AlibabaItemEditFastupdateAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (AlibabaItemEditFastupdateAPIRequest) GetItemId ¶
func (r AlibabaItemEditFastupdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlibabaItemEditFastupdateAPIRequest) GetSchema ¶
func (r AlibabaItemEditFastupdateAPIRequest) GetSchema() string
GetSchema Schema Getter
func (AlibabaItemEditFastupdateAPIRequest) GetSpuId ¶
func (r AlibabaItemEditFastupdateAPIRequest) GetSpuId() int64
GetSpuId SpuId Getter
func (*AlibabaItemEditFastupdateAPIRequest) SetCatId ¶
func (r *AlibabaItemEditFastupdateAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 商品类目ID。若不需要修改商品类目,则不用填写
func (*AlibabaItemEditFastupdateAPIRequest) SetItemId ¶
func (r *AlibabaItemEditFastupdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
func (*AlibabaItemEditFastupdateAPIRequest) SetSchema ¶
func (r *AlibabaItemEditFastupdateAPIRequest) SetSchema(_schema string) error
SetSchema is Schema Setter 编辑后的schema信息(增量更新,只填写需要更新的字段)
func (*AlibabaItemEditFastupdateAPIRequest) SetSpuId ¶
func (r *AlibabaItemEditFastupdateAPIRequest) SetSpuId(_spuId int64) error
SetSpuId is SpuId Setter 产品ID,若不需要修改关联的产品信息,则不需要填写
type AlibabaItemEditFastupdateAPIResponse ¶
type AlibabaItemEditFastupdateAPIResponse struct { model.CommonResponse AlibabaItemEditFastupdateAPIResponseModel }
AlibabaItemEditFastupdateAPIResponse 商品编辑增量更新 API返回值 alibaba.item.edit.fastupdate
商品编辑增量更新; <br/>该接口编辑sku,只能更新价格、库存等信息,不能新增sku; <br/>新增sku用全量接口alibaba.item.edit.submit,先设置销售属性;
type AlibabaItemEditFastupdateAPIResponseModel ¶
type AlibabaItemEditFastupdateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_item_edit_fastupdate_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品更新时间 UpdateTime string `json:"update_time,omitempty" xml:"update_time,omitempty"` // 商品所属市场 Market string `json:"market,omitempty" xml:"market,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` }
AlibabaItemEditFastupdateAPIResponseModel is 商品编辑增量更新 成功返回结果
type AlibabaItemEditSchemaGetAPIRequest ¶
type AlibabaItemEditSchemaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaItemEditSchemaGetAPIRequest 商品编辑获取schema信息 API请求 alibaba.item.edit.schema.get
商品编辑时,获取商品规则信息
func NewAlibabaItemEditSchemaGetRequest ¶
func NewAlibabaItemEditSchemaGetRequest() *AlibabaItemEditSchemaGetAPIRequest
NewAlibabaItemEditSchemaGetRequest 初始化AlibabaItemEditSchemaGetAPIRequest对象
func (AlibabaItemEditSchemaGetAPIRequest) GetApiMethodName ¶
func (r AlibabaItemEditSchemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaItemEditSchemaGetAPIRequest) GetApiParams ¶
func (r AlibabaItemEditSchemaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaItemEditSchemaGetAPIRequest) GetBizType ¶
func (r AlibabaItemEditSchemaGetAPIRequest) GetBizType() string
GetBizType BizType Getter
func (AlibabaItemEditSchemaGetAPIRequest) GetFields ¶
func (r AlibabaItemEditSchemaGetAPIRequest) GetFields() []string
GetFields Fields Getter
func (AlibabaItemEditSchemaGetAPIRequest) GetItemId ¶
func (r AlibabaItemEditSchemaGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (*AlibabaItemEditSchemaGetAPIRequest) SetBizType ¶
func (r *AlibabaItemEditSchemaGetAPIRequest) SetBizType(_bizType string) error
SetBizType is BizType Setter 业务扩展参数,需与平台约定好
func (*AlibabaItemEditSchemaGetAPIRequest) SetFields ¶
func (r *AlibabaItemEditSchemaGetAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 制定返回schema中field字段列表,可用于裁剪返回的schema信息。不填则为全部field
func (*AlibabaItemEditSchemaGetAPIRequest) SetItemId ¶
func (r *AlibabaItemEditSchemaGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
type AlibabaItemEditSchemaGetAPIResponse ¶
type AlibabaItemEditSchemaGetAPIResponse struct { model.CommonResponse AlibabaItemEditSchemaGetAPIResponseModel }
AlibabaItemEditSchemaGetAPIResponse 商品编辑获取schema信息 API返回值 alibaba.item.edit.schema.get
商品编辑时,获取商品规则信息
type AlibabaItemEditSchemaGetAPIResponseModel ¶
type AlibabaItemEditSchemaGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_item_edit_schema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品已有规则信息,XML格式. Result string `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaItemEditSchemaGetAPIResponseModel is 商品编辑获取schema信息 成功返回结果
type AlibabaItemEditSubmitAPIRequest ¶
type AlibabaItemEditSubmitAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaItemEditSubmitAPIRequest 商品编辑提交schema信息 API请求 alibaba.item.edit.submit
商品编辑提交schema信息
func NewAlibabaItemEditSubmitRequest ¶
func NewAlibabaItemEditSubmitRequest() *AlibabaItemEditSubmitAPIRequest
NewAlibabaItemEditSubmitRequest 初始化AlibabaItemEditSubmitAPIRequest对象
func (AlibabaItemEditSubmitAPIRequest) GetApiMethodName ¶
func (r AlibabaItemEditSubmitAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaItemEditSubmitAPIRequest) GetApiParams ¶
func (r AlibabaItemEditSubmitAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaItemEditSubmitAPIRequest) GetBizType ¶
func (r AlibabaItemEditSubmitAPIRequest) GetBizType() string
GetBizType BizType Getter
func (AlibabaItemEditSubmitAPIRequest) GetCatId ¶
func (r AlibabaItemEditSubmitAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (AlibabaItemEditSubmitAPIRequest) GetItemId ¶
func (r AlibabaItemEditSubmitAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlibabaItemEditSubmitAPIRequest) GetSchema ¶
func (r AlibabaItemEditSubmitAPIRequest) GetSchema() string
GetSchema Schema Getter
func (AlibabaItemEditSubmitAPIRequest) GetSpuId ¶
func (r AlibabaItemEditSubmitAPIRequest) GetSpuId() int64
GetSpuId SpuId Getter
func (*AlibabaItemEditSubmitAPIRequest) SetBizType ¶
func (r *AlibabaItemEditSubmitAPIRequest) SetBizType(_bizType string) error
SetBizType is BizType Setter 业务扩展参数,需与平台约定好
func (*AlibabaItemEditSubmitAPIRequest) SetCatId ¶
func (r *AlibabaItemEditSubmitAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 商品类目ID。若不需要修改商品类目,则不用填写
func (*AlibabaItemEditSubmitAPIRequest) SetItemId ¶
func (r *AlibabaItemEditSubmitAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
func (*AlibabaItemEditSubmitAPIRequest) SetSchema ¶
func (r *AlibabaItemEditSubmitAPIRequest) SetSchema(_schema string) error
SetSchema is Schema Setter 编辑后的schema信息,通过alibaba.item.edit.schema.get获取
func (*AlibabaItemEditSubmitAPIRequest) SetSpuId ¶
func (r *AlibabaItemEditSubmitAPIRequest) SetSpuId(_spuId int64) error
SetSpuId is SpuId Setter 产品ID,若不需要修改关联的产品信息,则不需要填写
type AlibabaItemEditSubmitAPIResponse ¶
type AlibabaItemEditSubmitAPIResponse struct { model.CommonResponse AlibabaItemEditSubmitAPIResponseModel }
AlibabaItemEditSubmitAPIResponse 商品编辑提交schema信息 API返回值 alibaba.item.edit.submit
商品编辑提交schema信息
type AlibabaItemEditSubmitAPIResponseModel ¶
type AlibabaItemEditSubmitAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_item_edit_submit_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品更新时间 UpdateTime string `json:"update_time,omitempty" xml:"update_time,omitempty"` // 商品所属市场 Market string `json:"market,omitempty" xml:"market,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` }
AlibabaItemEditSubmitAPIResponseModel is 商品编辑提交schema信息 成功返回结果
type AlibabaItemOperateDeleteAPIRequest ¶
type AlibabaItemOperateDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaItemOperateDeleteAPIRequest 商品删除 API请求 alibaba.item.operate.delete
商品删除
func NewAlibabaItemOperateDeleteRequest ¶
func NewAlibabaItemOperateDeleteRequest() *AlibabaItemOperateDeleteAPIRequest
NewAlibabaItemOperateDeleteRequest 初始化AlibabaItemOperateDeleteAPIRequest对象
func (AlibabaItemOperateDeleteAPIRequest) GetApiMethodName ¶
func (r AlibabaItemOperateDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaItemOperateDeleteAPIRequest) GetApiParams ¶
func (r AlibabaItemOperateDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaItemOperateDeleteAPIRequest) GetItemId ¶
func (r AlibabaItemOperateDeleteAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (*AlibabaItemOperateDeleteAPIRequest) SetItemId ¶
func (r *AlibabaItemOperateDeleteAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
type AlibabaItemOperateDeleteAPIResponse ¶
type AlibabaItemOperateDeleteAPIResponse struct { model.CommonResponse AlibabaItemOperateDeleteAPIResponseModel }
AlibabaItemOperateDeleteAPIResponse 商品删除 API返回值 alibaba.item.operate.delete
商品删除
type AlibabaItemOperateDeleteAPIResponseModel ¶
type AlibabaItemOperateDeleteAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_item_operate_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品删除是否成功 Result string `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaItemOperateDeleteAPIResponseModel is 商品删除 成功返回结果
type AlibabaItemOperateDownshelfAPIRequest ¶
type AlibabaItemOperateDownshelfAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaItemOperateDownshelfAPIRequest 商品下架 API请求 alibaba.item.operate.downshelf
商品下架
func NewAlibabaItemOperateDownshelfRequest ¶
func NewAlibabaItemOperateDownshelfRequest() *AlibabaItemOperateDownshelfAPIRequest
NewAlibabaItemOperateDownshelfRequest 初始化AlibabaItemOperateDownshelfAPIRequest对象
func (AlibabaItemOperateDownshelfAPIRequest) GetApiMethodName ¶
func (r AlibabaItemOperateDownshelfAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaItemOperateDownshelfAPIRequest) GetApiParams ¶
func (r AlibabaItemOperateDownshelfAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaItemOperateDownshelfAPIRequest) GetItemId ¶
func (r AlibabaItemOperateDownshelfAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (*AlibabaItemOperateDownshelfAPIRequest) SetItemId ¶
func (r *AlibabaItemOperateDownshelfAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
type AlibabaItemOperateDownshelfAPIResponse ¶
type AlibabaItemOperateDownshelfAPIResponse struct { model.CommonResponse AlibabaItemOperateDownshelfAPIResponseModel }
AlibabaItemOperateDownshelfAPIResponse 商品下架 API返回值 alibaba.item.operate.downshelf
商品下架
type AlibabaItemOperateDownshelfAPIResponseModel ¶
type AlibabaItemOperateDownshelfAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_item_operate_downshelf_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品下架是否成功 Result string `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaItemOperateDownshelfAPIResponseModel is 商品下架 成功返回结果
type AlibabaItemOperateUpshelfAPIRequest ¶
type AlibabaItemOperateUpshelfAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaItemOperateUpshelfAPIRequest 商品上架 API请求 alibaba.item.operate.upshelf
商品上架
func NewAlibabaItemOperateUpshelfRequest ¶
func NewAlibabaItemOperateUpshelfRequest() *AlibabaItemOperateUpshelfAPIRequest
NewAlibabaItemOperateUpshelfRequest 初始化AlibabaItemOperateUpshelfAPIRequest对象
func (AlibabaItemOperateUpshelfAPIRequest) GetApiMethodName ¶
func (r AlibabaItemOperateUpshelfAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaItemOperateUpshelfAPIRequest) GetApiParams ¶
func (r AlibabaItemOperateUpshelfAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaItemOperateUpshelfAPIRequest) GetItemId ¶
func (r AlibabaItemOperateUpshelfAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlibabaItemOperateUpshelfAPIRequest) GetQuantity ¶
func (r AlibabaItemOperateUpshelfAPIRequest) GetQuantity() int64
GetQuantity Quantity Getter
func (*AlibabaItemOperateUpshelfAPIRequest) SetItemId ¶
func (r *AlibabaItemOperateUpshelfAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
func (*AlibabaItemOperateUpshelfAPIRequest) SetQuantity ¶
func (r *AlibabaItemOperateUpshelfAPIRequest) SetQuantity(_quantity int64) error
SetQuantity is Quantity Setter 商品库存
type AlibabaItemOperateUpshelfAPIResponse ¶
type AlibabaItemOperateUpshelfAPIResponse struct { model.CommonResponse AlibabaItemOperateUpshelfAPIResponseModel }
AlibabaItemOperateUpshelfAPIResponse 商品上架 API返回值 alibaba.item.operate.upshelf
商品上架
type AlibabaItemOperateUpshelfAPIResponseModel ¶
type AlibabaItemOperateUpshelfAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_item_operate_upshelf_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品上架是否成功 Result string `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaItemOperateUpshelfAPIResponseModel is 商品上架 成功返回结果
type AlibabaItemPublishMarketGetAPIRequest ¶
AlibabaItemPublishMarketGetAPIRequest 获取商家可发布商品的市场信息 API请求 alibaba.item.publish.market.get
获取商家可发布商品的市场信息
func NewAlibabaItemPublishMarketGetRequest ¶
func NewAlibabaItemPublishMarketGetRequest() *AlibabaItemPublishMarketGetAPIRequest
NewAlibabaItemPublishMarketGetRequest 初始化AlibabaItemPublishMarketGetAPIRequest对象
func (AlibabaItemPublishMarketGetAPIRequest) GetApiMethodName ¶
func (r AlibabaItemPublishMarketGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaItemPublishMarketGetAPIRequest) GetApiParams ¶
func (r AlibabaItemPublishMarketGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type AlibabaItemPublishMarketGetAPIResponse ¶
type AlibabaItemPublishMarketGetAPIResponse struct { model.CommonResponse AlibabaItemPublishMarketGetAPIResponseModel }
AlibabaItemPublishMarketGetAPIResponse 获取商家可发布商品的市场信息 API返回值 alibaba.item.publish.market.get
获取商家可发布商品的市场信息
type AlibabaItemPublishMarketGetAPIResponseModel ¶
type AlibabaItemPublishMarketGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_item_publish_market_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商家可发布的市场列表,多个以逗号(,)分隔 Markets string `json:"markets,omitempty" xml:"markets,omitempty"` }
AlibabaItemPublishMarketGetAPIResponseModel is 获取商家可发布商品的市场信息 成功返回结果
type AlibabaItemPublishPropsGetAPIRequest ¶
type AlibabaItemPublishPropsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaItemPublishPropsGetAPIRequest 商品级联属性信息获取 API请求 alibaba.item.publish.props.get
新商品发布,商品级联属性信息获取
func NewAlibabaItemPublishPropsGetRequest ¶
func NewAlibabaItemPublishPropsGetRequest() *AlibabaItemPublishPropsGetAPIRequest
NewAlibabaItemPublishPropsGetRequest 初始化AlibabaItemPublishPropsGetAPIRequest对象
func (AlibabaItemPublishPropsGetAPIRequest) GetApiMethodName ¶
func (r AlibabaItemPublishPropsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaItemPublishPropsGetAPIRequest) GetApiParams ¶
func (r AlibabaItemPublishPropsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaItemPublishPropsGetAPIRequest) GetBarcode ¶
func (r AlibabaItemPublishPropsGetAPIRequest) GetBarcode() string
GetBarcode Barcode Getter
func (AlibabaItemPublishPropsGetAPIRequest) GetCatId ¶
func (r AlibabaItemPublishPropsGetAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (AlibabaItemPublishPropsGetAPIRequest) GetMarket ¶
func (r AlibabaItemPublishPropsGetAPIRequest) GetMarket() string
GetMarket Market Getter
func (AlibabaItemPublishPropsGetAPIRequest) GetPropId ¶
func (r AlibabaItemPublishPropsGetAPIRequest) GetPropId() int64
GetPropId PropId Getter
func (AlibabaItemPublishPropsGetAPIRequest) GetSchema ¶
func (r AlibabaItemPublishPropsGetAPIRequest) GetSchema() string
GetSchema Schema Getter
func (*AlibabaItemPublishPropsGetAPIRequest) SetBarcode ¶
func (r *AlibabaItemPublishPropsGetAPIRequest) SetBarcode(_barcode string) error
SetBarcode is Barcode Setter 商品条码
func (*AlibabaItemPublishPropsGetAPIRequest) SetCatId ¶
func (r *AlibabaItemPublishPropsGetAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 商品类目ID
func (*AlibabaItemPublishPropsGetAPIRequest) SetMarket ¶
func (r *AlibabaItemPublishPropsGetAPIRequest) SetMarket(_market string) error
SetMarket is Market Setter 商品发布的市场。taobao:淘宝,tmall:天猫,litetao:淘宝特价版
func (*AlibabaItemPublishPropsGetAPIRequest) SetPropId ¶
func (r *AlibabaItemPublishPropsGetAPIRequest) SetPropId(_propId int64) error
SetPropId is PropId Setter 属性ID
func (*AlibabaItemPublishPropsGetAPIRequest) SetSchema ¶
func (r *AlibabaItemPublishPropsGetAPIRequest) SetSchema(_schema string) error
SetSchema is Schema Setter 类目属性渲染schema
type AlibabaItemPublishPropsGetAPIResponse ¶
type AlibabaItemPublishPropsGetAPIResponse struct { model.CommonResponse AlibabaItemPublishPropsGetAPIResponseModel }
AlibabaItemPublishPropsGetAPIResponse 商品级联属性信息获取 API返回值 alibaba.item.publish.props.get
新商品发布,商品级联属性信息获取
type AlibabaItemPublishPropsGetAPIResponseModel ¶
type AlibabaItemPublishPropsGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_item_publish_props_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品发布规则信息,XML格式. Result string `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaItemPublishPropsGetAPIResponseModel is 商品级联属性信息获取 成功返回结果
type AlibabaItemPublishSchemaGetAPIRequest ¶
type AlibabaItemPublishSchemaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaItemPublishSchemaGetAPIRequest 获取商品发布规则信息 API请求 alibaba.item.publish.schema.get
新商品发布,获取商品发布规则信息
func NewAlibabaItemPublishSchemaGetRequest ¶
func NewAlibabaItemPublishSchemaGetRequest() *AlibabaItemPublishSchemaGetAPIRequest
NewAlibabaItemPublishSchemaGetRequest 初始化AlibabaItemPublishSchemaGetAPIRequest对象
func (AlibabaItemPublishSchemaGetAPIRequest) GetApiMethodName ¶
func (r AlibabaItemPublishSchemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaItemPublishSchemaGetAPIRequest) GetApiParams ¶
func (r AlibabaItemPublishSchemaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaItemPublishSchemaGetAPIRequest) GetBarcode ¶
func (r AlibabaItemPublishSchemaGetAPIRequest) GetBarcode() string
GetBarcode Barcode Getter
func (AlibabaItemPublishSchemaGetAPIRequest) GetBizType ¶
func (r AlibabaItemPublishSchemaGetAPIRequest) GetBizType() string
GetBizType BizType Getter
func (AlibabaItemPublishSchemaGetAPIRequest) GetCatId ¶
func (r AlibabaItemPublishSchemaGetAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (AlibabaItemPublishSchemaGetAPIRequest) GetImages ¶
func (r AlibabaItemPublishSchemaGetAPIRequest) GetImages() []string
GetImages Images Getter
func (AlibabaItemPublishSchemaGetAPIRequest) GetItemType ¶
func (r AlibabaItemPublishSchemaGetAPIRequest) GetItemType() string
GetItemType ItemType Getter
func (AlibabaItemPublishSchemaGetAPIRequest) GetMarket ¶
func (r AlibabaItemPublishSchemaGetAPIRequest) GetMarket() string
GetMarket Market Getter
func (AlibabaItemPublishSchemaGetAPIRequest) GetSpuId ¶
func (r AlibabaItemPublishSchemaGetAPIRequest) GetSpuId() int64
GetSpuId SpuId Getter
func (*AlibabaItemPublishSchemaGetAPIRequest) SetBarcode ¶
func (r *AlibabaItemPublishSchemaGetAPIRequest) SetBarcode(_barcode string) error
SetBarcode is Barcode Setter 商品条码
func (*AlibabaItemPublishSchemaGetAPIRequest) SetBizType ¶
func (r *AlibabaItemPublishSchemaGetAPIRequest) SetBizType(_bizType string) error
SetBizType is BizType Setter 业务扩展参数,需与平台约定好
func (*AlibabaItemPublishSchemaGetAPIRequest) SetCatId ¶
func (r *AlibabaItemPublishSchemaGetAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 商品类目ID
func (*AlibabaItemPublishSchemaGetAPIRequest) SetImages ¶
func (r *AlibabaItemPublishSchemaGetAPIRequest) SetImages(_images []string) error
SetImages is Images Setter 商品主图链接,最多5张,传入完整URL
func (*AlibabaItemPublishSchemaGetAPIRequest) SetItemType ¶
func (r *AlibabaItemPublishSchemaGetAPIRequest) SetItemType(_itemType string) error
SetItemType is ItemType Setter 商品类型。b:一口价 a:拍卖 默认值b一口价
func (*AlibabaItemPublishSchemaGetAPIRequest) SetMarket ¶
func (r *AlibabaItemPublishSchemaGetAPIRequest) SetMarket(_market string) error
SetMarket is Market Setter 商品发布的市场。taobao:淘宝,tmall:天猫,litetao:淘宝特价版
func (*AlibabaItemPublishSchemaGetAPIRequest) SetSpuId ¶
func (r *AlibabaItemPublishSchemaGetAPIRequest) SetSpuId(_spuId int64) error
SetSpuId is SpuId Setter 产品ID,天猫市场(market=tmall)时必填
type AlibabaItemPublishSchemaGetAPIResponse ¶
type AlibabaItemPublishSchemaGetAPIResponse struct { model.CommonResponse AlibabaItemPublishSchemaGetAPIResponseModel }
AlibabaItemPublishSchemaGetAPIResponse 获取商品发布规则信息 API返回值 alibaba.item.publish.schema.get
新商品发布,获取商品发布规则信息
type AlibabaItemPublishSchemaGetAPIResponseModel ¶
type AlibabaItemPublishSchemaGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_item_publish_schema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品发布规则信息,XML格式. Result string `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaItemPublishSchemaGetAPIResponseModel is 获取商品发布规则信息 成功返回结果
type AlibabaItemPublishSubmitAPIRequest ¶
type AlibabaItemPublishSubmitAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaItemPublishSubmitAPIRequest 商品发布 API请求 alibaba.item.publish.submit
新商品发布,提交商品发布信息
func NewAlibabaItemPublishSubmitRequest ¶
func NewAlibabaItemPublishSubmitRequest() *AlibabaItemPublishSubmitAPIRequest
NewAlibabaItemPublishSubmitRequest 初始化AlibabaItemPublishSubmitAPIRequest对象
func (AlibabaItemPublishSubmitAPIRequest) GetApiMethodName ¶
func (r AlibabaItemPublishSubmitAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaItemPublishSubmitAPIRequest) GetApiParams ¶
func (r AlibabaItemPublishSubmitAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaItemPublishSubmitAPIRequest) GetBarcode ¶
func (r AlibabaItemPublishSubmitAPIRequest) GetBarcode() string
GetBarcode Barcode Getter
func (AlibabaItemPublishSubmitAPIRequest) GetBizType ¶
func (r AlibabaItemPublishSubmitAPIRequest) GetBizType() string
GetBizType BizType Getter
func (AlibabaItemPublishSubmitAPIRequest) GetCatId ¶
func (r AlibabaItemPublishSubmitAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (AlibabaItemPublishSubmitAPIRequest) GetMarket ¶
func (r AlibabaItemPublishSubmitAPIRequest) GetMarket() string
GetMarket Market Getter
func (AlibabaItemPublishSubmitAPIRequest) GetSchema ¶
func (r AlibabaItemPublishSubmitAPIRequest) GetSchema() string
GetSchema Schema Getter
func (AlibabaItemPublishSubmitAPIRequest) GetSpuId ¶
func (r AlibabaItemPublishSubmitAPIRequest) GetSpuId() int64
GetSpuId SpuId Getter
func (*AlibabaItemPublishSubmitAPIRequest) SetBarcode ¶
func (r *AlibabaItemPublishSubmitAPIRequest) SetBarcode(_barcode string) error
SetBarcode is Barcode Setter 商品条码
func (*AlibabaItemPublishSubmitAPIRequest) SetBizType ¶
func (r *AlibabaItemPublishSubmitAPIRequest) SetBizType(_bizType string) error
SetBizType is BizType Setter 业务扩展参数,需与平台约定好
func (*AlibabaItemPublishSubmitAPIRequest) SetCatId ¶
func (r *AlibabaItemPublishSubmitAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 商品类目ID
func (*AlibabaItemPublishSubmitAPIRequest) SetMarket ¶
func (r *AlibabaItemPublishSubmitAPIRequest) SetMarket(_market string) error
SetMarket is Market Setter 商品发布的市场。taobao:淘宝,tmall:天猫,litetao:淘宝特价版
func (*AlibabaItemPublishSubmitAPIRequest) SetSchema ¶
func (r *AlibabaItemPublishSubmitAPIRequest) SetSchema(_schema string) error
SetSchema is Schema Setter 商品schema信息,通过alibaba.item.publish.props.get获取并补全后提交
func (*AlibabaItemPublishSubmitAPIRequest) SetSpuId ¶
func (r *AlibabaItemPublishSubmitAPIRequest) SetSpuId(_spuId int64) error
SetSpuId is SpuId Setter 产品ID,天猫市场(market=tmall)时必填
type AlibabaItemPublishSubmitAPIResponse ¶
type AlibabaItemPublishSubmitAPIResponse struct { model.CommonResponse AlibabaItemPublishSubmitAPIResponseModel }
AlibabaItemPublishSubmitAPIResponse 商品发布 API返回值 alibaba.item.publish.submit
新商品发布,提交商品发布信息
type AlibabaItemPublishSubmitAPIResponseModel ¶
type AlibabaItemPublishSubmitAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_item_publish_submit_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品创建时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // 商品所属市场 Market string `json:"market,omitempty" xml:"market,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` }
AlibabaItemPublishSubmitAPIResponseModel is 商品发布 成功返回结果
type AlibabaJymIndustryInformationCallbakAPIRequest ¶
type AlibabaJymIndustryInformationCallbakAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaJymIndustryInformationCallbakAPIRequest VMOS回调行业信息系统 API请求 alibaba.jym.industry.information.callbak
VMOS回调交易猫行业信息系统
func NewAlibabaJymIndustryInformationCallbakRequest ¶
func NewAlibabaJymIndustryInformationCallbakRequest() *AlibabaJymIndustryInformationCallbakAPIRequest
NewAlibabaJymIndustryInformationCallbakRequest 初始化AlibabaJymIndustryInformationCallbakAPIRequest对象
func (AlibabaJymIndustryInformationCallbakAPIRequest) GetApiMethodName ¶
func (r AlibabaJymIndustryInformationCallbakAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaJymIndustryInformationCallbakAPIRequest) GetApiParams ¶
func (r AlibabaJymIndustryInformationCallbakAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaJymIndustryInformationCallbakAPIRequest) GetBizId ¶
func (r AlibabaJymIndustryInformationCallbakAPIRequest) GetBizId() string
GetBizId BizId Getter
func (AlibabaJymIndustryInformationCallbakAPIRequest) GetContent ¶
func (r AlibabaJymIndustryInformationCallbakAPIRequest) GetContent() string
GetContent Content Getter
func (AlibabaJymIndustryInformationCallbakAPIRequest) GetStatus ¶
func (r AlibabaJymIndustryInformationCallbakAPIRequest) GetStatus() int64
GetStatus Status Getter
func (AlibabaJymIndustryInformationCallbakAPIRequest) GetTaskId ¶
func (r AlibabaJymIndustryInformationCallbakAPIRequest) GetTaskId() string
GetTaskId TaskId Getter
func (*AlibabaJymIndustryInformationCallbakAPIRequest) SetBizId ¶
func (r *AlibabaJymIndustryInformationCallbakAPIRequest) SetBizId(_bizId string) error
SetBizId is BizId Setter 幂等ID
func (*AlibabaJymIndustryInformationCallbakAPIRequest) SetContent ¶
func (r *AlibabaJymIndustryInformationCallbakAPIRequest) SetContent(_content string) error
SetContent is Content Setter 内容
func (*AlibabaJymIndustryInformationCallbakAPIRequest) SetStatus ¶
func (r *AlibabaJymIndustryInformationCallbakAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 状态
func (*AlibabaJymIndustryInformationCallbakAPIRequest) SetTaskId ¶
func (r *AlibabaJymIndustryInformationCallbakAPIRequest) SetTaskId(_taskId string) error
SetTaskId is TaskId Setter 任务ID
type AlibabaJymIndustryInformationCallbakAPIResponse ¶
type AlibabaJymIndustryInformationCallbakAPIResponse struct { model.CommonResponse AlibabaJymIndustryInformationCallbakAPIResponseModel }
AlibabaJymIndustryInformationCallbakAPIResponse VMOS回调行业信息系统 API返回值 alibaba.jym.industry.information.callbak
VMOS回调交易猫行业信息系统
type AlibabaJymIndustryInformationCallbakAPIResponseModel ¶
type AlibabaJymIndustryInformationCallbakAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_jym_industry_information_callbak_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 状态码 StateCode string `json:"state_code,omitempty" xml:"state_code,omitempty"` // 扩展错误信息 ExtraErrMsg string `json:"extra_err_msg,omitempty" xml:"extra_err_msg,omitempty"` }
AlibabaJymIndustryInformationCallbakAPIResponseModel is VMOS回调行业信息系统 成功返回结果
type AlibabaWholesaleGoodsGetAPIRequest ¶
type AlibabaWholesaleGoodsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWholesaleGoodsGetAPIRequest 查询阿里巴巴批发市场商品详情 API请求 alibaba.wholesale.goods.get
查询阿里巴巴批发市场商品详情
func NewAlibabaWholesaleGoodsGetRequest ¶
func NewAlibabaWholesaleGoodsGetRequest() *AlibabaWholesaleGoodsGetAPIRequest
NewAlibabaWholesaleGoodsGetRequest 初始化AlibabaWholesaleGoodsGetAPIRequest对象
func (AlibabaWholesaleGoodsGetAPIRequest) GetApiMethodName ¶
func (r AlibabaWholesaleGoodsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaWholesaleGoodsGetAPIRequest) GetApiParams ¶
func (r AlibabaWholesaleGoodsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaWholesaleGoodsGetAPIRequest) GetCountryCode ¶
func (r AlibabaWholesaleGoodsGetAPIRequest) GetCountryCode() string
GetCountryCode CountryCode Getter
func (AlibabaWholesaleGoodsGetAPIRequest) GetId ¶
func (r AlibabaWholesaleGoodsGetAPIRequest) GetId() string
GetId Id Getter
func (*AlibabaWholesaleGoodsGetAPIRequest) SetCountryCode ¶
func (r *AlibabaWholesaleGoodsGetAPIRequest) SetCountryCode(_countryCode string) error
SetCountryCode is CountryCode Setter country_code
func (*AlibabaWholesaleGoodsGetAPIRequest) SetId ¶
func (r *AlibabaWholesaleGoodsGetAPIRequest) SetId(_id string) error
SetId is Id Setter id
type AlibabaWholesaleGoodsGetAPIResponse ¶
type AlibabaWholesaleGoodsGetAPIResponse struct { model.CommonResponse AlibabaWholesaleGoodsGetAPIResponseModel }
AlibabaWholesaleGoodsGetAPIResponse 查询阿里巴巴批发市场商品详情 API返回值 alibaba.wholesale.goods.get
查询阿里巴巴批发市场商品详情
type AlibabaWholesaleGoodsGetAPIResponseModel ¶
type AlibabaWholesaleGoodsGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_wholesale_goods_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // wholesale goods detail result WholesaleGoodsResult *WholesaleGoodsOpenResult `json:"wholesale_goods_result,omitempty" xml:"wholesale_goods_result,omitempty"` }
AlibabaWholesaleGoodsGetAPIResponseModel is 查询阿里巴巴批发市场商品详情 成功返回结果
type AlibabaWholesaleGoodsSearchAPIRequest ¶
type AlibabaWholesaleGoodsSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWholesaleGoodsSearchAPIRequest 批发市场产品搜索 API请求 alibaba.wholesale.goods.search
批发市场产品搜索
func NewAlibabaWholesaleGoodsSearchRequest ¶
func NewAlibabaWholesaleGoodsSearchRequest() *AlibabaWholesaleGoodsSearchAPIRequest
NewAlibabaWholesaleGoodsSearchRequest 初始化AlibabaWholesaleGoodsSearchAPIRequest对象
func (AlibabaWholesaleGoodsSearchAPIRequest) GetApiMethodName ¶
func (r AlibabaWholesaleGoodsSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaWholesaleGoodsSearchAPIRequest) GetApiParams ¶
func (r AlibabaWholesaleGoodsSearchAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaWholesaleGoodsSearchAPIRequest) GetParamSearchGoodsOption ¶
func (r AlibabaWholesaleGoodsSearchAPIRequest) GetParamSearchGoodsOption() *SearchGoodsOption
GetParamSearchGoodsOption ParamSearchGoodsOption Getter
func (*AlibabaWholesaleGoodsSearchAPIRequest) SetParamSearchGoodsOption ¶
func (r *AlibabaWholesaleGoodsSearchAPIRequest) SetParamSearchGoodsOption(_paramSearchGoodsOption *SearchGoodsOption) error
SetParamSearchGoodsOption is ParamSearchGoodsOption Setter SearchGoodsOption
type AlibabaWholesaleGoodsSearchAPIResponse ¶
type AlibabaWholesaleGoodsSearchAPIResponse struct { model.CommonResponse AlibabaWholesaleGoodsSearchAPIResponseModel }
AlibabaWholesaleGoodsSearchAPIResponse 批发市场产品搜索 API返回值 alibaba.wholesale.goods.search
批发市场产品搜索
type AlibabaWholesaleGoodsSearchAPIResponseModel ¶
type AlibabaWholesaleGoodsSearchAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_wholesale_goods_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 在线批发商品搜索结果 WholesaleGoodsSearchResult *WholesaleSearchOpenResult `json:"wholesale_goods_search_result,omitempty" xml:"wholesale_goods_search_result,omitempty"` }
AlibabaWholesaleGoodsSearchAPIResponseModel is 批发市场产品搜索 成功返回结果
type AlibabaWholesaleShippinglineTemplateInitAPIRequest ¶
type AlibabaWholesaleShippinglineTemplateInitAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWholesaleShippinglineTemplateInitAPIRequest 创建初始模板 API请求 alibaba.wholesale.shippingline.template.init
创建默认的几种运费模板
func NewAlibabaWholesaleShippinglineTemplateInitRequest ¶
func NewAlibabaWholesaleShippinglineTemplateInitRequest() *AlibabaWholesaleShippinglineTemplateInitAPIRequest
NewAlibabaWholesaleShippinglineTemplateInitRequest 初始化AlibabaWholesaleShippinglineTemplateInitAPIRequest对象
func (AlibabaWholesaleShippinglineTemplateInitAPIRequest) GetApiMethodName ¶
func (r AlibabaWholesaleShippinglineTemplateInitAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaWholesaleShippinglineTemplateInitAPIRequest) GetApiParams ¶
func (r AlibabaWholesaleShippinglineTemplateInitAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaWholesaleShippinglineTemplateInitAPIRequest) GetInitialTemplate ¶
func (r AlibabaWholesaleShippinglineTemplateInitAPIRequest) GetInitialTemplate() []InitialTemplate
GetInitialTemplate InitialTemplate Getter
func (*AlibabaWholesaleShippinglineTemplateInitAPIRequest) SetInitialTemplate ¶
func (r *AlibabaWholesaleShippinglineTemplateInitAPIRequest) SetInitialTemplate(_initialTemplate []InitialTemplate) error
SetInitialTemplate is InitialTemplate Setter 创建初始运费模板参数
type AlibabaWholesaleShippinglineTemplateInitAPIResponse ¶
type AlibabaWholesaleShippinglineTemplateInitAPIResponse struct { model.CommonResponse AlibabaWholesaleShippinglineTemplateInitAPIResponseModel }
AlibabaWholesaleShippinglineTemplateInitAPIResponse 创建初始模板 API返回值 alibaba.wholesale.shippingline.template.init
创建默认的几种运费模板
type AlibabaWholesaleShippinglineTemplateInitAPIResponseModel ¶
type AlibabaWholesaleShippinglineTemplateInitAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_wholesale_shippingline_template_init_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 模板是否创建成功 InitTemplateResponse bool `json:"init_template_response,omitempty" xml:"init_template_response,omitempty"` }
AlibabaWholesaleShippinglineTemplateInitAPIResponseModel is 创建初始模板 成功返回结果
type AliexpressSocialItemPromotionAPIRequest ¶
type AliexpressSocialItemPromotionAPIRequest struct { model.Params // contains filtered or unexported fields }
AliexpressSocialItemPromotionAPIRequest 获取推广链接 API请求 aliexpress.social.item.promotion
获取商品社交推广链接
func NewAliexpressSocialItemPromotionRequest ¶
func NewAliexpressSocialItemPromotionRequest() *AliexpressSocialItemPromotionAPIRequest
NewAliexpressSocialItemPromotionRequest 初始化AliexpressSocialItemPromotionAPIRequest对象
func (AliexpressSocialItemPromotionAPIRequest) GetAf ¶
func (r AliexpressSocialItemPromotionAPIRequest) GetAf() string
GetAf Af Getter
func (AliexpressSocialItemPromotionAPIRequest) GetApiMethodName ¶
func (r AliexpressSocialItemPromotionAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliexpressSocialItemPromotionAPIRequest) GetApiParams ¶
func (r AliexpressSocialItemPromotionAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AliexpressSocialItemPromotionAPIRequest) GetCn ¶
func (r AliexpressSocialItemPromotionAPIRequest) GetCn() string
GetCn Cn Getter
func (AliexpressSocialItemPromotionAPIRequest) GetCv ¶
func (r AliexpressSocialItemPromotionAPIRequest) GetCv() string
GetCv Cv Getter
func (AliexpressSocialItemPromotionAPIRequest) GetDp ¶
func (r AliexpressSocialItemPromotionAPIRequest) GetDp() string
GetDp Dp Getter
func (AliexpressSocialItemPromotionAPIRequest) GetTargetUrl ¶
func (r AliexpressSocialItemPromotionAPIRequest) GetTargetUrl() string
GetTargetUrl TargetUrl Getter
func (*AliexpressSocialItemPromotionAPIRequest) SetAf ¶
func (r *AliexpressSocialItemPromotionAPIRequest) SetAf(_af string) error
SetAf is Af Setter 子渠道号
func (*AliexpressSocialItemPromotionAPIRequest) SetCn ¶
func (r *AliexpressSocialItemPromotionAPIRequest) SetCn(_cn string) error
SetCn is Cn Setter campaign Id
func (*AliexpressSocialItemPromotionAPIRequest) SetCv ¶
func (r *AliexpressSocialItemPromotionAPIRequest) SetCv(_cv string) error
SetCv is Cv Setter creative id
func (*AliexpressSocialItemPromotionAPIRequest) SetDp ¶
func (r *AliexpressSocialItemPromotionAPIRequest) SetDp(_dp string) error
SetDp is Dp Setter click id
func (*AliexpressSocialItemPromotionAPIRequest) SetTargetUrl ¶
func (r *AliexpressSocialItemPromotionAPIRequest) SetTargetUrl(_targetUrl string) error
SetTargetUrl is TargetUrl Setter 推广的商品链接
type AliexpressSocialItemPromotionAPIResponse ¶
type AliexpressSocialItemPromotionAPIResponse struct { model.CommonResponse AliexpressSocialItemPromotionAPIResponseModel }
AliexpressSocialItemPromotionAPIResponse 获取推广链接 API返回值 aliexpress.social.item.promotion
获取商品社交推广链接
type AliexpressSocialItemPromotionAPIResponseModel ¶
type AliexpressSocialItemPromotionAPIResponseModel struct { XMLName xml.Name `xml:"aliexpress_social_item_promotion_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 推广链接 PromotionUrl string `json:"promotion_url,omitempty" xml:"promotion_url,omitempty"` // 错误码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 错误信息 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
AliexpressSocialItemPromotionAPIResponseModel is 获取推广链接 成功返回结果
type AliexpressSocialItemRankingAPIRequest ¶
type AliexpressSocialItemRankingAPIRequest struct { model.Params // contains filtered or unexported fields }
AliexpressSocialItemRankingAPIRequest 社交排行榜 API请求 aliexpress.social.item.ranking
社交商品成交排行榜
func NewAliexpressSocialItemRankingRequest ¶
func NewAliexpressSocialItemRankingRequest() *AliexpressSocialItemRankingAPIRequest
NewAliexpressSocialItemRankingRequest 初始化AliexpressSocialItemRankingAPIRequest对象
func (AliexpressSocialItemRankingAPIRequest) GetApiMethodName ¶
func (r AliexpressSocialItemRankingAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliexpressSocialItemRankingAPIRequest) GetApiParams ¶
func (r AliexpressSocialItemRankingAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AliexpressSocialItemRankingAPIRequest) GetCateId ¶
func (r AliexpressSocialItemRankingAPIRequest) GetCateId() int64
GetCateId CateId Getter
func (AliexpressSocialItemRankingAPIRequest) GetCountryList ¶
func (r AliexpressSocialItemRankingAPIRequest) GetCountryList() []string
GetCountryList CountryList Getter
func (AliexpressSocialItemRankingAPIRequest) GetCurrency ¶
func (r AliexpressSocialItemRankingAPIRequest) GetCurrency() string
GetCurrency Currency Getter
func (AliexpressSocialItemRankingAPIRequest) GetLocale ¶
func (r AliexpressSocialItemRankingAPIRequest) GetLocale() string
GetLocale Locale Getter
func (AliexpressSocialItemRankingAPIRequest) GetPageNo ¶
func (r AliexpressSocialItemRankingAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (AliexpressSocialItemRankingAPIRequest) GetPageSize ¶
func (r AliexpressSocialItemRankingAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (*AliexpressSocialItemRankingAPIRequest) SetCateId ¶
func (r *AliexpressSocialItemRankingAPIRequest) SetCateId(_cateId int64) error
SetCateId is CateId Setter 类目ID
func (*AliexpressSocialItemRankingAPIRequest) SetCountryList ¶
func (r *AliexpressSocialItemRankingAPIRequest) SetCountryList(_countryList []string) error
SetCountryList is CountryList Setter 国家列表
func (*AliexpressSocialItemRankingAPIRequest) SetCurrency ¶
func (r *AliexpressSocialItemRankingAPIRequest) SetCurrency(_currency string) error
SetCurrency is Currency Setter 币种
func (*AliexpressSocialItemRankingAPIRequest) SetLocale ¶
func (r *AliexpressSocialItemRankingAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter locale,格式为language+"_"+country
func (*AliexpressSocialItemRankingAPIRequest) SetPageNo ¶
func (r *AliexpressSocialItemRankingAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码
func (*AliexpressSocialItemRankingAPIRequest) SetPageSize ¶
func (r *AliexpressSocialItemRankingAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数
type AliexpressSocialItemRankingAPIResponse ¶
type AliexpressSocialItemRankingAPIResponse struct { model.CommonResponse AliexpressSocialItemRankingAPIResponseModel }
AliexpressSocialItemRankingAPIResponse 社交排行榜 API返回值 aliexpress.social.item.ranking
社交商品成交排行榜
type AliexpressSocialItemRankingAPIResponseModel ¶
type AliexpressSocialItemRankingAPIResponseModel struct { XMLName xml.Name `xml:"aliexpress_social_item_ranking_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回包装类型 Result *ItemPickPagingResult `json:"result,omitempty" xml:"result,omitempty"` }
AliexpressSocialItemRankingAPIResponseModel is 社交排行榜 成功返回结果
type AliexpressSocialItemSearchAPIRequest ¶
type AliexpressSocialItemSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
AliexpressSocialItemSearchAPIRequest AE社交选品 API请求 aliexpress.social.item.search
AE社交选品,通过各种筛选条件对社交商品池进行筛选
func NewAliexpressSocialItemSearchRequest ¶
func NewAliexpressSocialItemSearchRequest() *AliexpressSocialItemSearchAPIRequest
NewAliexpressSocialItemSearchRequest 初始化AliexpressSocialItemSearchAPIRequest对象
func (AliexpressSocialItemSearchAPIRequest) GetAllianceItem ¶
func (r AliexpressSocialItemSearchAPIRequest) GetAllianceItem() bool
GetAllianceItem AllianceItem Getter
func (AliexpressSocialItemSearchAPIRequest) GetApiMethodName ¶
func (r AliexpressSocialItemSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliexpressSocialItemSearchAPIRequest) GetApiParams ¶
func (r AliexpressSocialItemSearchAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AliexpressSocialItemSearchAPIRequest) GetCateId ¶
func (r AliexpressSocialItemSearchAPIRequest) GetCateId() int64
GetCateId CateId Getter
func (AliexpressSocialItemSearchAPIRequest) GetCommentScore ¶
func (r AliexpressSocialItemSearchAPIRequest) GetCommentScore() string
GetCommentScore CommentScore Getter
func (AliexpressSocialItemSearchAPIRequest) GetCommissionRateMax ¶
func (r AliexpressSocialItemSearchAPIRequest) GetCommissionRateMax() string
GetCommissionRateMax CommissionRateMax Getter
func (AliexpressSocialItemSearchAPIRequest) GetCommissionRateMin ¶
func (r AliexpressSocialItemSearchAPIRequest) GetCommissionRateMin() string
GetCommissionRateMin CommissionRateMin Getter
func (AliexpressSocialItemSearchAPIRequest) GetCurrency ¶
func (r AliexpressSocialItemSearchAPIRequest) GetCurrency() string
GetCurrency Currency Getter
func (AliexpressSocialItemSearchAPIRequest) GetDesc ¶
func (r AliexpressSocialItemSearchAPIRequest) GetDesc() bool
GetDesc Desc Getter
func (AliexpressSocialItemSearchAPIRequest) GetHasVideo ¶
func (r AliexpressSocialItemSearchAPIRequest) GetHasVideo() bool
GetHasVideo HasVideo Getter
func (AliexpressSocialItemSearchAPIRequest) GetIsShipFree ¶
func (r AliexpressSocialItemSearchAPIRequest) GetIsShipFree() bool
GetIsShipFree IsShipFree Getter
func (AliexpressSocialItemSearchAPIRequest) GetKeyword ¶
func (r AliexpressSocialItemSearchAPIRequest) GetKeyword() string
GetKeyword Keyword Getter
func (AliexpressSocialItemSearchAPIRequest) GetLocale ¶
func (r AliexpressSocialItemSearchAPIRequest) GetLocale() string
GetLocale Locale Getter
func (AliexpressSocialItemSearchAPIRequest) GetLogisticsTime ¶
func (r AliexpressSocialItemSearchAPIRequest) GetLogisticsTime() int64
GetLogisticsTime LogisticsTime Getter
func (AliexpressSocialItemSearchAPIRequest) GetMaxPrice ¶
func (r AliexpressSocialItemSearchAPIRequest) GetMaxPrice() string
GetMaxPrice MaxPrice Getter
func (AliexpressSocialItemSearchAPIRequest) GetMinPrice ¶
func (r AliexpressSocialItemSearchAPIRequest) GetMinPrice() string
GetMinPrice MinPrice Getter
func (AliexpressSocialItemSearchAPIRequest) GetOrderBy ¶
func (r AliexpressSocialItemSearchAPIRequest) GetOrderBy() string
GetOrderBy OrderBy Getter
func (AliexpressSocialItemSearchAPIRequest) GetPageNo ¶
func (r AliexpressSocialItemSearchAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (AliexpressSocialItemSearchAPIRequest) GetPageSize ¶
func (r AliexpressSocialItemSearchAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (AliexpressSocialItemSearchAPIRequest) GetShipTo ¶
func (r AliexpressSocialItemSearchAPIRequest) GetShipTo() string
GetShipTo ShipTo Getter
func (*AliexpressSocialItemSearchAPIRequest) SetAllianceItem ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetAllianceItem(_allianceItem bool) error
SetAllianceItem is AllianceItem Setter 是否联盟商品
func (*AliexpressSocialItemSearchAPIRequest) SetCateId ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetCateId(_cateId int64) error
SetCateId is CateId Setter 类目ID
func (*AliexpressSocialItemSearchAPIRequest) SetCommentScore ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetCommentScore(_commentScore string) error
SetCommentScore is CommentScore Setter 评价分数
func (*AliexpressSocialItemSearchAPIRequest) SetCommissionRateMax ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetCommissionRateMax(_commissionRateMax string) error
SetCommissionRateMax is CommissionRateMax Setter 佣金最大值
func (*AliexpressSocialItemSearchAPIRequest) SetCommissionRateMin ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetCommissionRateMin(_commissionRateMin string) error
SetCommissionRateMin is CommissionRateMin Setter 佣金最小值
func (*AliexpressSocialItemSearchAPIRequest) SetCurrency ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetCurrency(_currency string) error
SetCurrency is Currency Setter 币种
func (*AliexpressSocialItemSearchAPIRequest) SetDesc ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetDesc(_desc bool) error
SetDesc is Desc Setter 是否逆序
func (*AliexpressSocialItemSearchAPIRequest) SetHasVideo ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetHasVideo(_hasVideo bool) error
SetHasVideo is HasVideo Setter 是否有视频
func (*AliexpressSocialItemSearchAPIRequest) SetIsShipFree ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetIsShipFree(_isShipFree bool) error
SetIsShipFree is IsShipFree Setter 是否免邮
func (*AliexpressSocialItemSearchAPIRequest) SetKeyword ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetKeyword(_keyword string) error
SetKeyword is Keyword Setter 搜索关键字
func (*AliexpressSocialItemSearchAPIRequest) SetLocale ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter locale,格式为language+"_"+country
func (*AliexpressSocialItemSearchAPIRequest) SetLogisticsTime ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetLogisticsTime(_logisticsTime int64) error
SetLogisticsTime is LogisticsTime Setter 物流时效
func (*AliexpressSocialItemSearchAPIRequest) SetMaxPrice ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetMaxPrice(_maxPrice string) error
SetMaxPrice is MaxPrice Setter 最高价格
func (*AliexpressSocialItemSearchAPIRequest) SetMinPrice ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetMinPrice(_minPrice string) error
SetMinPrice is MinPrice Setter 最低价格
func (*AliexpressSocialItemSearchAPIRequest) SetOrderBy ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetOrderBy(_orderBy string) error
SetOrderBy is OrderBy Setter order by properties
func (*AliexpressSocialItemSearchAPIRequest) SetPageNo ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码
func (*AliexpressSocialItemSearchAPIRequest) SetPageSize ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter page size
func (*AliexpressSocialItemSearchAPIRequest) SetShipTo ¶
func (r *AliexpressSocialItemSearchAPIRequest) SetShipTo(_shipTo string) error
SetShipTo is ShipTo Setter shipTo国家
type AliexpressSocialItemSearchAPIResponse ¶
type AliexpressSocialItemSearchAPIResponse struct { model.CommonResponse AliexpressSocialItemSearchAPIResponseModel }
AliexpressSocialItemSearchAPIResponse AE社交选品 API返回值 aliexpress.social.item.search
AE社交选品,通过各种筛选条件对社交商品池进行筛选
type AliexpressSocialItemSearchAPIResponseModel ¶
type AliexpressSocialItemSearchAPIResponseModel struct { XMLName xml.Name `xml:"aliexpress_social_item_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 报类型 Result *ItemPickPagingResult `json:"result,omitempty" xml:"result,omitempty"` }
AliexpressSocialItemSearchAPIResponseModel is AE社交选品 成功返回结果
type AlitripTravelElementsSearchAPIRequest ¶
type AlitripTravelElementsSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelElementsSearchAPIRequest 商家元素搜索 API请求 alitrip.travel.elements.search
提供商家维护的景点、酒店、餐饮等元素搜索
func NewAlitripTravelElementsSearchRequest ¶
func NewAlitripTravelElementsSearchRequest() *AlitripTravelElementsSearchAPIRequest
NewAlitripTravelElementsSearchRequest 初始化AlitripTravelElementsSearchAPIRequest对象
func (AlitripTravelElementsSearchAPIRequest) GetApiMethodName ¶
func (r AlitripTravelElementsSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelElementsSearchAPIRequest) GetApiParams ¶
func (r AlitripTravelElementsSearchAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelElementsSearchAPIRequest) GetCount ¶
func (r AlitripTravelElementsSearchAPIRequest) GetCount() int64
GetCount Count Getter
func (AlitripTravelElementsSearchAPIRequest) GetQuery ¶
func (r AlitripTravelElementsSearchAPIRequest) GetQuery() string
GetQuery Query Getter
func (AlitripTravelElementsSearchAPIRequest) GetSellerId ¶
func (r AlitripTravelElementsSearchAPIRequest) GetSellerId() int64
GetSellerId SellerId Getter
func (AlitripTravelElementsSearchAPIRequest) GetType ¶
func (r AlitripTravelElementsSearchAPIRequest) GetType() int64
GetType Type Getter
func (*AlitripTravelElementsSearchAPIRequest) SetCount ¶
func (r *AlitripTravelElementsSearchAPIRequest) SetCount(_count int64) error
SetCount is Count Setter 查询数量,限制100
func (*AlitripTravelElementsSearchAPIRequest) SetQuery ¶
func (r *AlitripTravelElementsSearchAPIRequest) SetQuery(_query string) error
SetQuery is Query Setter 查询关键词
func (*AlitripTravelElementsSearchAPIRequest) SetSellerId ¶
func (r *AlitripTravelElementsSearchAPIRequest) SetSellerId(_sellerId int64) error
SetSellerId is SellerId Setter 商家id
func (*AlitripTravelElementsSearchAPIRequest) SetType ¶
func (r *AlitripTravelElementsSearchAPIRequest) SetType(_type int64) error
SetType is Type Setter 资源类型
type AlitripTravelElementsSearchAPIResponse ¶
type AlitripTravelElementsSearchAPIResponse struct { model.CommonResponse AlitripTravelElementsSearchAPIResponseModel }
AlitripTravelElementsSearchAPIResponse 商家元素搜索 API返回值 alitrip.travel.elements.search
提供商家维护的景点、酒店、餐饮等元素搜索
type AlitripTravelElementsSearchAPIResponseModel ¶
type AlitripTravelElementsSearchAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_elements_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回对象 Result *ResourceData `json:"result,omitempty" xml:"result,omitempty"` }
AlitripTravelElementsSearchAPIResponseModel is 商家元素搜索 成功返回结果
type CacheChangeInfo ¶
type CacheChangeInfo struct { // 外部酒店code HotelCode string `json:"hotel_code,omitempty" xml:"hotel_code,omitempty"` // 变更时间段 TimeSpan *TimeSpan `json:"time_span,omitempty" xml:"time_span,omitempty"` // 具体变更的商品 ProductInfo *ProductInfo `json:"product_info,omitempty" xml:"product_info,omitempty"` }
CacheChangeInfo 结构体
type CacheChangeNotifyResult ¶
type CacheChangeNotifyResult struct { // 请求唯一ID UniqueId string `json:"unique_id,omitempty" xml:"unique_id,omitempty"` }
CacheChangeNotifyResult 结构体
type CainiaoCntecItemChangeMessageAPIRequest ¶
type CainiaoCntecItemChangeMessageAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoCntecItemChangeMessageAPIRequest 商品变更消息 API请求 cainiao.cntec.item.change.message
供货商商品信息变更消息
func NewCainiaoCntecItemChangeMessageRequest ¶
func NewCainiaoCntecItemChangeMessageRequest() *CainiaoCntecItemChangeMessageAPIRequest
NewCainiaoCntecItemChangeMessageRequest 初始化CainiaoCntecItemChangeMessageAPIRequest对象
func (CainiaoCntecItemChangeMessageAPIRequest) GetApiMethodName ¶
func (r CainiaoCntecItemChangeMessageAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoCntecItemChangeMessageAPIRequest) GetApiParams ¶
func (r CainiaoCntecItemChangeMessageAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoCntecItemChangeMessageAPIRequest) GetItemChangeMessage ¶
func (r CainiaoCntecItemChangeMessageAPIRequest) GetItemChangeMessage() *SupplyItemChangeMessage
GetItemChangeMessage ItemChangeMessage Getter
func (*CainiaoCntecItemChangeMessageAPIRequest) SetItemChangeMessage ¶
func (r *CainiaoCntecItemChangeMessageAPIRequest) SetItemChangeMessage(_itemChangeMessage *SupplyItemChangeMessage) error
SetItemChangeMessage is ItemChangeMessage Setter 供应商商品变更信息
type CainiaoCntecItemChangeMessageAPIResponse ¶
type CainiaoCntecItemChangeMessageAPIResponse struct { model.CommonResponse CainiaoCntecItemChangeMessageAPIResponseModel }
CainiaoCntecItemChangeMessageAPIResponse 商品变更消息 API返回值 cainiao.cntec.item.change.message
供货商商品信息变更消息
type CainiaoCntecItemChangeMessageAPIResponseModel ¶
type CainiaoCntecItemChangeMessageAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_cntec_item_change_message_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 调用返回的result结构体 Result *CainiaoCntecItemChangeMessageResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoCntecItemChangeMessageAPIResponseModel is 商品变更消息 成功返回结果
type CainiaoCntecItemChangeMessageResult ¶
type CainiaoCntecItemChangeMessageResult struct { // 错误码 ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 调用是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 是否成功接受到请求 Model bool `json:"model,omitempty" xml:"model,omitempty"` }
CainiaoCntecItemChangeMessageResult 结构体
type CertPicInfo ¶
type CertPicInfo struct { // 认证图片的url地址 PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` // 认证类型的数值id CertType int64 `json:"cert_type,omitempty" xml:"cert_type,omitempty"` }
CertPicInfo 结构体
type DapeiDo ¶
type DapeiDo struct { // items Items []DapeiTemplateItem `json:"items,omitempty" xml:"items>dapei_template_item,omitempty"` // title Title string `json:"title,omitempty" xml:"title,omitempty"` // desc Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // url Url string `json:"url,omitempty" xml:"url,omitempty"` // id Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
DapeiDo 结构体
type DapeiTemplateItem ¶
type DapeiTemplateItem struct { // img Img string `json:"img,omitempty" xml:"img,omitempty"` // itemId ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` }
DapeiTemplateItem 结构体
type DisplayQualifications ¶
type DisplayQualifications struct { // 返回消息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 填充列表 Model string `json:"model,omitempty" xml:"model,omitempty"` // 是否成功 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
DisplayQualifications 结构体
type FreightInfo ¶
type FreightInfo struct { // delivery_time DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"` // logistic_company LogisticCompany string `json:"logistic_company,omitempty" xml:"logistic_company,omitempty"` // freight_cost_currency FreightCostCurrency string `json:"freight_cost_currency,omitempty" xml:"freight_cost_currency,omitempty"` // freight_cost_cent FreightCostCent int64 `json:"freight_cost_cent,omitempty" xml:"freight_cost_cent,omitempty"` }
FreightInfo 结构体
type GoodsDetail ¶
type GoodsDetail struct { // image_urls 产品图片地址 ImageUrls []string `json:"image_urls,omitempty" xml:"image_urls>string,omitempty"` // thumb_urls 产品缩略图地址 ThumbUrls []string `json:"thumb_urls,omitempty" xml:"thumb_urls>string,omitempty"` // property_list 产品属性 PropertyList []WholesaleGoodsAttribute `json:"property_list,omitempty" xml:"property_list>wholesale_goods_attribute,omitempty"` // 产品物流信息 FreightInfoList []FreightInfo `json:"freight_info_list,omitempty" xml:"freight_info_list>freight_info,omitempty"` // detail_url 产品detail页面地址 DetailUrl string `json:"detail_url,omitempty" xml:"detail_url,omitempty"` // weight 产品重量 Weight string `json:"weight,omitempty" xml:"weight,omitempty"` // subject 产品名 Subject string `json:"subject,omitempty" xml:"subject,omitempty"` // keyword 产品关键词 Keyword string `json:"keyword,omitempty" xml:"keyword,omitempty"` // package_method 产品包装方式 PackageMethod string `json:"package_method,omitempty" xml:"package_method,omitempty"` // package_size 产品大小 PackageSize string `json:"package_size,omitempty" xml:"package_size,omitempty"` // id 产品id Id string `json:"id,omitempty" xml:"id,omitempty"` // unit 产品最小起订量单位 Unit string `json:"unit,omitempty" xml:"unit,omitempty"` // description 产品详细描述 Description string `json:"description,omitempty" xml:"description,omitempty"` // buy_now_url 产品下单链接 BuyNowUrl string `json:"buy_now_url,omitempty" xml:"buy_now_url,omitempty"` // price_currency 产品价格单位 Currency string `json:"currency,omitempty" xml:"currency,omitempty"` // max_price_cent产品最高价格 MaxPriceCent int64 `json:"max_price_cent,omitempty" xml:"max_price_cent,omitempty"` // moq 产品最小起订量 Moq int64 `json:"moq,omitempty" xml:"moq,omitempty"` // inbox_num 产品入箱数 InboxNum int64 `json:"inbox_num,omitempty" xml:"inbox_num,omitempty"` // supplier_info SupplierInfo *WholesaleUser `json:"supplier_info,omitempty" xml:"supplier_info,omitempty"` // shipping_date 发货期 ShippingDate int64 `json:"shipping_date,omitempty" xml:"shipping_date,omitempty"` // min_price_cent 产品最低价格 MinPriceCent int64 `json:"min_price_cent,omitempty" xml:"min_price_cent,omitempty"` // batch_sale 产品售卖方式,如是否批量售卖 BatchSale bool `json:"batch_sale,omitempty" xml:"batch_sale,omitempty"` }
GoodsDetail 结构体
type GoodsSearchResult ¶
type GoodsSearchResult struct { // 搜索产品列表 Items []GoodsSummary `json:"items,omitempty" xml:"items>goods_summary,omitempty"` // 搜素结果所在的类目信息 Category *WholesaleCategory `json:"category,omitempty" xml:"category,omitempty"` // 返回结果数 Total int64 `json:"total,omitempty" xml:"total,omitempty"` }
GoodsSearchResult 结构体
type GoodsSummary ¶
type GoodsSummary struct { // id 产品id Id string `json:"id,omitempty" xml:"id,omitempty"` // unit 产品单位 Unit string `json:"unit,omitempty" xml:"unit,omitempty"` // detail_url 产品详情url DetailUrl string `json:"detail_url,omitempty" xml:"detail_url,omitempty"` // supplier_id 产品对应供应商id SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"` // subject 产品标题 Subject string `json:"subject,omitempty" xml:"subject,omitempty"` // thumb_url 产品缩略图 ThumbUrl string `json:"thumb_url,omitempty" xml:"thumb_url,omitempty"` // buy_now_url 产品下单链接 BuyNowUrl string `json:"buy_now_url,omitempty" xml:"buy_now_url,omitempty"` // currency 产品价格货币单位 Currency string `json:"currency,omitempty" xml:"currency,omitempty"` // max_price_cent 产品最高价格 MaxPriceCent int64 `json:"max_price_cent,omitempty" xml:"max_price_cent,omitempty"` // min_price_cent 产品最低价 MinPriceCent int64 `json:"min_price_cent,omitempty" xml:"min_price_cent,omitempty"` // moq 产品最小起订量 Moq int64 `json:"moq,omitempty" xml:"moq,omitempty"` }
GoodsSummary 结构体
type HscodeAuditInfo ¶
type HscodeAuditInfo struct { // 商品或SKU使用的HS海关代码 Hscode string `json:"hscode,omitempty" xml:"hscode,omitempty"` // hscode信息当前审核状态,HISTORY_ITEM:历史已上架商品,REJECT:审核未通过,AUDITING:审核中,PASS:审核通过,ERROR:获取审核状态异常 Status string `json:"status,omitempty" xml:"status,omitempty"` // hscode信息当前审核状态的具体说明 Reason string `json:"reason,omitempty" xml:"reason,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // SKU的ID SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` }
HscodeAuditInfo 结构体
type IdsModule ¶
type IdsModule struct { // 宝贝描述规范化模块名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 宝贝描述规范化模块id Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 0为自动打标;<br/>1为人工打标; Type int64 `json:"type,omitempty" xml:"type,omitempty"` }
IdsModule 结构体
type InitialTemplate ¶
type InitialTemplate struct { // 运费模板发货地,可选值:US(美国),UK(英国),DE(德国),ES(西班牙),CN(中国) DispatchLocations []string `json:"dispatch_locations,omitempty" xml:"dispatch_locations>string,omitempty"` // 运费模板类型,可选值:freeshipping(全球免邮),not(全球不发货) TemplateType string `json:"template_type,omitempty" xml:"template_type,omitempty"` }
InitialTemplate 结构体
type Item ¶
type Item struct { // Sku列表。fields中只设置sku可以返回Sku结构体中所有字段,如果设置为sku.sku_id、sku.properties、sku.quantity等形式就只会返回相应的字段 Skus []Sku `json:"skus,omitempty" xml:"skus>sku,omitempty"` // 商品图片列表(包括主图)。fields中只设置item_img可以返回ItemImg结构体中所有字段,如果设置为item_img.id、item_img.url、item_img.position等形式就只会返回相应的字段 ItemImgs []ItemImg `json:"item_imgs,omitempty" xml:"item_imgs>item_img,omitempty"` // 商品属性图片列表。fields中只设置prop_img可以返回PropImg结构体中所有字段,如果设置为prop_img.id、prop_img.url、prop_img.properties、prop_img.position等形式就只会返回相应的字段 PropImgs []PropImg `json:"prop_imgs,omitempty" xml:"prop_imgs>prop_img,omitempty"` // 商品视频列表(目前只支持单个视频关联)。fields中只设置video可以返回Video结构体中所有字段,如果设置为video.id、video.video_id、video.url等形式就只会返回相应的字段 Videos []Video `json:"videos,omitempty" xml:"videos>video,omitempty"` // itemRectangleImgs ItemRectangleImgs []ItemImg `json:"item_rectangle_imgs,omitempty" xml:"item_rectangle_imgs>item_img,omitempty"` // 商品iid Iid string `json:"iid,omitempty" xml:"iid,omitempty"` // Item的发布时间,目前仅供taobao.item.add和taobao.item.get可用 Created string `json:"created,omitempty" xml:"created,omitempty"` // 商品修改时间(格式:yyyy-MM-dd HH:mm:ss) Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 商品url DetailUrl string `json:"detail_url,omitempty" xml:"detail_url,omitempty"` // 商品标题,不能超过60字节 Title string `json:"title,omitempty" xml:"title,omitempty"` // 卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 商品类型(fixed:一口价;auction:拍卖)注:取消团购 Type string `json:"type,omitempty" xml:"type,omitempty"` // 商品所属的店铺内卖家自定义类目列表 SellerCids string `json:"seller_cids,omitempty" xml:"seller_cids,omitempty"` // 商品属性 格式:pid:vid;pid:vid Props string `json:"props,omitempty" xml:"props,omitempty"` // 用户自行输入的类目属性ID串。结构:"pid1,pid2,pid3",如:"20000"(表示品牌) 注:通常一个类目下用户可输入的关键属性不超过1个。 InputPids string `json:"input_pids,omitempty" xml:"input_pids,omitempty"` // 用户自行输入的子属性名和属性值,结构:"父属性值;一级子属性名;一级子属性值;二级子属性名;自定义输入值,....",如:“耐克;耐克系列;科比系列;科比系列;2K5”,input_str需要与input_pids一一对应,注:通常一个类目下用户可输入的关键属性不超过1个。所有属性别名加起来不能超过 3999字节。 InputStr string `json:"input_str,omitempty" xml:"input_str,omitempty"` // 商品描述, 字数要大于5个字节,小于25000个字节 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 商品主图片地址 PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` // 上架时间(格式:yyyy-MM-dd HH:mm:ss) ListTime string `json:"list_time,omitempty" xml:"list_time,omitempty"` // 下架时间(格式:yyyy-MM-dd HH:mm:ss) DelistTime string `json:"delist_time,omitempty" xml:"delist_time,omitempty"` // 商品新旧程度(全新:new,闲置:unused,二手:second) StuffStatus string `json:"stuff_status,omitempty" xml:"stuff_status,omitempty"` // 运费承担方式,seller(卖家承担),buyer(买家承担) FreightPayer string `json:"freight_payer,omitempty" xml:"freight_payer,omitempty"` // 加价幅度。如果为0,代表系统代理幅度。在竞拍中,为了超越上一个出价,会员需要在当前出价上增加金额,这个金额就是加价幅度。卖家在发布宝贝的时候可以自定义加价幅度,也可以让系统自动代理加价。系统自动代理加价的加价幅度随着当前出价金额的增加而增加,我们建议会员使用系统自动代理加价,并请买家在出价前看清楚加价幅度的具体金额。另外需要注意是,此功能只适用于拍卖的商品。以下是系统自动代理加价幅度表:当前价(加价幅度 )1-40( 1 )、41-100( 2 )、101-200(5 )、201-500 (10)、501-1001(15)、001-2000(25)、2001-5000(50)、5001-10000(100)10001以上 200 Increment string `json:"increment,omitempty" xml:"increment,omitempty"` // 商品上传后的状态。onsale出售中,instock库中 ApproveStatus string `json:"approve_status,omitempty" xml:"approve_status,omitempty"` // 属性值别名 PropertyAlias string `json:"property_alias,omitempty" xml:"property_alias,omitempty"` // 商家外部编码(可与商家外部系统对接) OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 秒杀商品类型。打上秒杀标记的商品,用户只能下架并不能再上架,其他任何编辑或删除操作都不能进行。如果用户想取消秒杀标记,需要联系小二进行操作。如果秒杀结束需要自由编辑请联系活动负责人(小二)去掉秒杀标记。可选类型web_only(只能通过web网络秒杀)wap_only(只能通过wap网络秒杀)web_and_wap(既能通过web秒杀也能通过wap秒杀) SecondKill string `json:"second_kill,omitempty" xml:"second_kill,omitempty"` // 代充商品类型。只有少数类目下的商品可以标记上此字段,具体哪些类目可以上传可以通过taobao.itemcat.features.get获得。在代充商品的类目下,不传表示不标记商品类型(交易搜索中就不能通过标记搜到相关的交易了)。可选类型:time_card(点卡软件代充)fee_card(话费软件代充) AutoFill string `json:"auto_fill,omitempty" xml:"auto_fill,omitempty"` // 适合wap应用的商品详情url ,该字段只在taobao.item.get接口中返回 WapDetailUrl string `json:"wap_detail_url,omitempty" xml:"wap_detail_url,omitempty"` // 不带html标签的desc文本信息,该字段只在taobao.item.get接口中返回 WapDesc string `json:"wap_desc,omitempty" xml:"wap_desc,omitempty"` // 商品级别的条形码 Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"` // 定制工具Id CustomMadeTypeId string `json:"custom_made_type_id,omitempty" xml:"custom_made_type_id,omitempty"` // 宝贝描述规范化模块锚点信息 DescModuleInfo string `json:"desc_module_info,omitempty" xml:"desc_module_info,omitempty"` // 宝贝特征值,只有在Top支持的特征值才能保存到宝贝上 Features string `json:"features,omitempty" xml:"features,omitempty"` // 食品安全信息,包括:生产许可证编号、产品标准号、厂名、厂址等 FoodSecurity string `json:"food_security,omitempty" xml:"food_security,omitempty"` // 门店大屏图 LargeScreenImageUrl string `json:"large_screen_image_url,omitempty" xml:"large_screen_image_url,omitempty"` // 村淘特有商品级数据结构 CuntaoItemSpecific string `json:"cuntao_item_specific,omitempty" xml:"cuntao_item_specific,omitempty"` // 商品描述模块化,模块列表,由List转化成jsonArray存入,后端逻辑验证通过,拼装成模块内容+锚点导航后存入desc中。数据结构具体参见Item_Desc_Module DescModules string `json:"desc_modules,omitempty" xml:"desc_modules,omitempty"` // 无线的宝贝描述 WirelessDesc string `json:"wireless_desc,omitempty" xml:"wireless_desc,omitempty"` // 页面模板id TemplateId string `json:"template_id,omitempty" xml:"template_id,omitempty"` // 商品卖点信息,天猫商家使用字段,最长150个字符。 SellPoint string `json:"sell_point,omitempty" xml:"sell_point,omitempty"` // 商品属性名称。标识着props内容里面的pid和vid所对应的名称。格式为:pid1:vid1:pid_name1:vid_name1;pid2:vid2:pid_name2:vid_name2……(<strong>注:</strong><font color="red">属性名称中的冒号":"被转换为:"#cln#"; 分号";"被转换为:"#scln#"</font>) PropsName string `json:"props_name,omitempty" xml:"props_name,omitempty"` // 消保类型,多个类型以,分割。可取以下值:2:假一赔三;4:7天无理由退换货;taobao.items.search和taobao.items.vip.search专用 PromotedService string `json:"promoted_service,omitempty" xml:"promoted_service,omitempty"` // 用于保存拍卖有关的信息 PaimaiInfo string `json:"paimai_info,omitempty" xml:"paimai_info,omitempty"` // 是否为新消保法中的7天无理由退货 Newprepay string `json:"newprepay,omitempty" xml:"newprepay,omitempty"` // 宝贝主图视频的数据信息,包括:视频ID,视频缩略图URL,视频时长,视频状态等信息。 MpicVideo string `json:"mpic_video,omitempty" xml:"mpic_video,omitempty"` // 本地生活电子交易凭证业务,目前此字段只涉及到的信息为有效期:如果有效期为起止日期类型,此值为2012-08-06,2012-08-16如果有效期为【购买成功日 至】类型则格式为2012-08-16如果有效期为天数类型则格式为3 LocalityLife string `json:"locality_life,omitempty" xml:"locality_life,omitempty"` // 商品的重量,用于按重量计费的运费模板。注意:单位为kg ItemWeight string `json:"item_weight,omitempty" xml:"item_weight,omitempty"` // 表示商品的体积,用于按体积计费的运费模板。该值的单位为立方米(m3)。该值支持两种格式的设置:格式1:bulk:3,单位为立方米(m3),表示直接设置为商品的体积。格式2:weight:10;breadth:10;height:10,单位为米(m) ItemSize string `json:"item_size,omitempty" xml:"item_size,omitempty"` // 属性值的备注,格式:pid:vid:备注信息1;pid2:vid2:备注信息2; CpvMemo string `json:"cpv_memo,omitempty" xml:"cpv_memo,omitempty"` // 全球购商品采购地信息(地区/国家),代表全球购商品的产地信息。 GlobalStockCountry string `json:"global_stock_country,omitempty" xml:"global_stock_country,omitempty"` // 全球购商品采购地信息(库存类型),有两种库存类型:现货和代购;参数值为1时代表现货,值为2时代表代购 GlobalStockType string `json:"global_stock_type,omitempty" xml:"global_stock_type,omitempty"` // 商品资质的信息,用URLEncoder做过转换,使用时,需要URLDecoder转换回来,默认字符集为:UTF-8 Qualification string `json:"qualification,omitempty" xml:"qualification,omitempty"` // 发货时间信息 DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"` // 全球购商品发货地,发货地现在有两种类型:“国内”和“海外及港澳台”,参数值为1时代表“国内”,值为2时代表“海外及港澳台” GlobalStockDeliveryPlace string `json:"global_stock_delivery_place,omitempty" xml:"global_stock_delivery_place,omitempty"` // 商品3:4比例主图 MainPic34 string `json:"main_pic34,omitempty" xml:"main_pic34,omitempty"` // 商品竖图 UprightImageUrl string `json:"upright_image_url,omitempty" xml:"upright_image_url,omitempty"` // 商品优惠价格 PromotedPrice string `json:"promoted_price,omitempty" xml:"promoted_price,omitempty"` // 商品数字id NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品数量 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 商品所属的叶子类目 id Cid int64 `json:"cid,omitempty" xml:"cid,omitempty"` // 有效期,7或者14(默认是14天) ValidThru int64 `json:"valid_thru,omitempty" xml:"valid_thru,omitempty"` // 商品所在地 Location *Location `json:"location,omitempty" xml:"location,omitempty"` // 商品价格,格式:5.00;单位:元;精确到:分 Price float64 `json:"price,omitempty" xml:"price,omitempty"` // 平邮费用,格式:5.00;单位:元;精确到:分 PostFee float64 `json:"post_fee,omitempty" xml:"post_fee,omitempty"` // 快递费用,格式:5.00;单位:元;精确到:分 ExpressFee float64 `json:"express_fee,omitempty" xml:"express_fee,omitempty"` // ems费用,格式:5.00;单位:元;精确到:分 EmsFee float64 `json:"ems_fee,omitempty" xml:"ems_fee,omitempty"` // 宝贝所属的运费模板ID,如果没有返回则说明没有使用运费模板 PostageId int64 `json:"postage_id,omitempty" xml:"postage_id,omitempty"` // 宝贝所属产品的id(可能为空). 该字段可以通过taobao.products.search 得到 ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"` // 返点比例 AuctionPoint int64 `json:"auction_point,omitempty" xml:"auction_point,omitempty"` // 商品所属卖家的信用等级数,1表示1心,2表示2心……,只有调用商品搜索:taobao.items.get和taobao.items.search的时候才能返回 Score int64 `json:"score,omitempty" xml:"score,omitempty"` // 商品30天交易量,只有调用商品搜索:taobao.items.get和taobao.items.search的时候才能返回 Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 货到付款运费模板ID CodPostageId int64 `json:"cod_postage_id,omitempty" xml:"cod_postage_id,omitempty"` // 周期销售库存 PeriodSoldQuantity int64 `json:"period_sold_quantity,omitempty" xml:"period_sold_quantity,omitempty"` // 售后服务ID,该字段仅在taobao.item.get接口中返回 AfterSaleId int64 `json:"after_sale_id,omitempty" xml:"after_sale_id,omitempty"` // 用户内店宝贝装修模板id InnerShopAuctionTemplateId int64 `json:"inner_shop_auction_template_id,omitempty" xml:"inner_shop_auction_template_id,omitempty"` // 非分销商品:0,代销:1,经销:2 IsFenxiao int64 `json:"is_fenxiao,omitempty" xml:"is_fenxiao,omitempty"` // 预扣库存,即付款减库存的商品现在有多少处于未付款状态的订单 WithHoldQuantity int64 `json:"with_hold_quantity,omitempty" xml:"with_hold_quantity,omitempty"` // 该字段废弃,请勿使用。 VideoId int64 `json:"video_id,omitempty" xml:"video_id,omitempty"` // 商品是否支持拍下减库存:1支持;2取消支持(付款减库存);0(默认)不更改 集市卖家默认拍下减库存; 商城卖家默认付款减库存 SubStock int64 `json:"sub_stock,omitempty" xml:"sub_stock,omitempty"` // 商品销量 SoldQuantity int64 `json:"sold_quantity,omitempty" xml:"sold_quantity,omitempty"` // 用户外店装修模板id OuterShopAuctionTemplateId int64 `json:"outer_shop_auction_template_id,omitempty" xml:"outer_shop_auction_template_id,omitempty"` // 支持会员打折,true/false HasDiscount bool `json:"has_discount,omitempty" xml:"has_discount,omitempty"` // 是否有发票,true/false HasInvoice bool `json:"has_invoice,omitempty" xml:"has_invoice,omitempty"` // 是否有保修,true/false HasWarranty bool `json:"has_warranty,omitempty" xml:"has_warranty,omitempty"` // 橱窗推荐,true/false HasShowcase bool `json:"has_showcase,omitempty" xml:"has_showcase,omitempty"` // 自动重发,true/false AutoRepost bool `json:"auto_repost,omitempty" xml:"auto_repost,omitempty"` // 虚拟商品的状态字段 IsVirtual bool `json:"is_virtual,omitempty" xml:"is_virtual,omitempty"` // 是否在淘宝显示 IsTaobao bool `json:"is_taobao,omitempty" xml:"is_taobao,omitempty"` // 是否在外部网店显示 IsEx bool `json:"is_ex,omitempty" xml:"is_ex,omitempty"` // 是否定时上架商品 IsTiming bool `json:"is_timing,omitempty" xml:"is_timing,omitempty"` // 是否是3D淘宝的商品 Is3D bool `json:"is_3D,omitempty" xml:"is_3D,omitempty"` // 是否淘1站商品 OneStation bool `json:"one_station,omitempty" xml:"one_station,omitempty"` // 商品是否为先行赔付taobao.items.search和taobao.items.vip.search专用 IsPrepay bool `json:"is_prepay,omitempty" xml:"is_prepay,omitempty"` // 商品所属的商家的旺旺在线状况,taobao.items.search和taobao.items.vip.search专用 WwStatus bool `json:"ww_status,omitempty" xml:"ww_status,omitempty"` // 商品是否违规,违规:true , 不违规:false Violation bool `json:"violation,omitempty" xml:"violation,omitempty"` // 是否承诺退换货服务! SellPromise bool `json:"sell_promise,omitempty" xml:"sell_promise,omitempty"` // 是否24小时闪电发货 IsLightningConsignment bool `json:"is_lightning_consignment,omitempty" xml:"is_lightning_consignment,omitempty"` // 标示商品是否为新品。值含义:true-是,false-否。 IsXinpin bool `json:"is_xinpin,omitempty" xml:"is_xinpin,omitempty"` // true:商品是区域限售商品;false:商品不是区域限售商品。 IsAreaSale bool `json:"is_area_sale,omitempty" xml:"is_area_sale,omitempty"` // 是否为达尔文挂接成功了的商品 IsCspu bool `json:"is_cspu,omitempty" xml:"is_cspu,omitempty"` // 全球购商品卖家包税承诺,当值为true时,代表卖家承诺包税。 GlobalStockTaxFreePromise bool `json:"global_stock_tax_free_promise,omitempty" xml:"global_stock_tax_free_promise,omitempty"` }
Item 结构体
type ItemDescModule ¶
type ItemDescModule struct { // 模块名称 ModuleName string `json:"module_name,omitempty" xml:"module_name,omitempty"` // cat_mod:表示是运营设置的类目维度模块,usr_mod表示的是商家自定义模块。 Type string `json:"type,omitempty" xml:"type,omitempty"` // 描述具体内容 Content string `json:"content,omitempty" xml:"content,omitempty"` // 一个List<String>的Json串,里面是模块引导提示,不超过3条(isv提交时可忽略不传) Intros string `json:"intros,omitempty" xml:"intros,omitempty"` // 淘宝图片空间的地址链接,示例模板,最多不超过三个(isv提交时可忽略不传) TplUrls string `json:"tpl_urls,omitempty" xml:"tpl_urls,omitempty"` // 模块id ,(注意:用户自定义模块不用填此项。) ModuleId int64 `json:"module_id,omitempty" xml:"module_id,omitempty"` // 是否必填 (isv提交时可忽略不传) Required bool `json:"required,omitempty" xml:"required,omitempty"` }
ItemDescModule 结构体
type ItemImg ¶
type ItemImg struct { // 图片链接地址 Url string `json:"url,omitempty" xml:"url,omitempty"` // 图片放在第几张(多图时可设置) Position int64 `json:"position,omitempty" xml:"position,omitempty"` }
ItemImg 结构体
type ItemPickPagingResult ¶
type ItemPickPagingResult struct { // 返回类型 Results []ItemSearchResult `json:"results,omitempty" xml:"results>item_search_result,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 页码 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 总条数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 每页条数 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
ItemPickPagingResult 结构体
type ItemPromotionRule ¶
type ItemPromotionRule struct { // 规则名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 规则描叙信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 规则生效开始时间 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 规则生效结束时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 规则类型,常见有SKU锁定规则,下架锁定规则,库存减少锁定规则,库存禁止修改规则,一口价禁止修改规则 Type string `json:"type,omitempty" xml:"type,omitempty"` }
ItemPromotionRule 结构体
type ItemSearchResult ¶
type ItemSearchResult struct { // 商品ID ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品标题 ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"` // 商品链接 ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"` // 商品主图 ItemMainPic string `json:"item_main_pic,omitempty" xml:"item_main_pic,omitempty"` // 商品原价最低值 ItemOriginPriceMin string `json:"item_origin_price_min,omitempty" xml:"item_origin_price_min,omitempty"` // 商品原价最高值 ItemOriginPriceMax string `json:"item_origin_price_max,omitempty" xml:"item_origin_price_max,omitempty"` // 商品折扣价最低值 ItemPriceDiscountMin string `json:"item_price_discount_min,omitempty" xml:"item_price_discount_min,omitempty"` // 商品折扣价最高值 ItemPriceDiscountMax string `json:"item_price_discount_max,omitempty" xml:"item_price_discount_max,omitempty"` // 商品折扣率 ItemDiscountRate string `json:"item_discount_rate,omitempty" xml:"item_discount_rate,omitempty"` // 商品发布时间 PubTime string `json:"pub_time,omitempty" xml:"pub_time,omitempty"` // 商品评价分数 CommentScore string `json:"comment_score,omitempty" xml:"comment_score,omitempty"` // 店铺URL ShopUrl string `json:"shop_url,omitempty" xml:"shop_url,omitempty"` // 佣金比例 CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"` // 商品图片地址 ItemPics string `json:"item_pics,omitempty" xml:"item_pics,omitempty"` // 商品视频地址 ItemVideos string `json:"item_videos,omitempty" xml:"item_videos,omitempty"` // 卖家服务等级 SellerLayer string `json:"seller_layer,omitempty" xml:"seller_layer,omitempty"` // 30天销量语义化信息 Sales30DaySemantic string `json:"sales30_day_semantic,omitempty" xml:"sales30_day_semantic,omitempty"` // 30天评论数语义化信息 Comment30DaySemantic string `json:"comment30_day_semantic,omitempty" xml:"comment30_day_semantic,omitempty"` // 收藏数语义化信息 FavoriteCntSemantic string `json:"favorite_cnt_semantic,omitempty" xml:"favorite_cnt_semantic,omitempty"` }
ItemSearchResult 结构体
type ItemTemplate ¶
type ItemTemplate struct { // 宝贝详情模板的名称 TemplateName string `json:"template_name,omitempty" xml:"template_name,omitempty"` // 宝贝模板的id TemplateId int64 `json:"template_id,omitempty" xml:"template_id,omitempty"` // 用于区分宝贝模板属于内店和外店 ShopType int64 `json:"shop_type,omitempty" xml:"shop_type,omitempty"` }
ItemTemplate 结构体
type Location ¶
type Location struct { // 邮政编码 Zip string `json:"zip,omitempty" xml:"zip,omitempty"` // 详细地址,最大256个字节(128个中文) Address string `json:"address,omitempty" xml:"address,omitempty"` // 所在城市(中文名称) City string `json:"city,omitempty" xml:"city,omitempty"` // 所在省份(中文名称) State string `json:"state,omitempty" xml:"state,omitempty"` // 国家名称 Country string `json:"country,omitempty" xml:"country,omitempty"` // 区/县(只适用于物流API) District string `json:"district,omitempty" xml:"district,omitempty"` }
Location 结构体
type ModularDescInfo ¶
type ModularDescInfo struct { // 运营定义的该商品所属类目的类目级别模块信息列表,列表顺序即为模块顺序。 ItmDscModules []ItemDescModule `json:"itm_dsc_modules,omitempty" xml:"itm_dsc_modules>item_desc_module,omitempty"` // 旧描述与新描述共存时间(切换时间)。 DeadLine string `json:"dead_line,omitempty" xml:"dead_line,omitempty"` // 用户自定义模块数量最大值限制。类目级别模块+用户级别模块必须小于<20 UsrDefMaxNum int64 `json:"usr_def_max_num,omitempty" xml:"usr_def_max_num,omitempty"` // 默认值为false,如果此字段为true,则卖家上传的模块化的描述信息可以自定义排序。 UserOrder bool `json:"user_order,omitempty" xml:"user_order,omitempty"` }
ModularDescInfo 结构体
type Product ¶
type Product struct { // 产品的属性图片.比如说黄色对应的产品图片,绿色对应的产品图片。fields中设置为product_prop_imgs.id、 product_prop_imgs.props、product_prop_imgs.url、product_prop_imgs.position等形式就会返回相应的字段 ProductPropImgs []ProductPropImg `json:"product_prop_imgs,omitempty" xml:"product_prop_imgs>product_prop_img,omitempty"` // 产品的子图片.目前最多支持4张。fields中设置为product_imgs.id、product_imgs.url、product_imgs.position 等形式就会返回相应的字段 ProductImgs []ProductImg `json:"product_imgs,omitempty" xml:"product_imgs>product_img,omitempty"` // 创建时间.格式:yyyy-mm-dd hh:mm:ss Created string `json:"created,omitempty" xml:"created,omitempty"` // 产品名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 产品的非关键属性列表.格式:pid:vid;pid:vid. Binds string `json:"binds,omitempty" xml:"binds,omitempty"` // 产品的销售属性列表.格式:pid:vid;pid:vid SaleProps string `json:"sale_props,omitempty" xml:"sale_props,omitempty"` // 产品的描述.最大25000个字节 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 产品的主图片地址.(绝对地址,格式:http://host/image_path) PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` // 修改时间.格式:yyyy-mm-dd hh:mm:ss Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 用户自定义属性,结构:pid1:value1;pid2:value2 例如:“20000:优衣库”,表示“品牌:优衣库” CustomerProps string `json:"customer_props,omitempty" xml:"customer_props,omitempty"` // 销售属性值别名。格式为pid1:vid1:alias1;pid1:vid2:alia2。 PropertyAlias string `json:"property_alias,omitempty" xml:"property_alias,omitempty"` // 外部产品ID OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 淘宝标准产品编码 Tsc string `json:"tsc,omitempty" xml:"tsc,omitempty"` // 商品类目名称 CatName string `json:"cat_name,omitempty" xml:"cat_name,omitempty"` // 产品的关键属性列表.格式:pid:vid;pid:vid Props string `json:"props,omitempty" xml:"props,omitempty"` // 产品的关键属性字符串列表.比如:品牌:诺基亚;型号:N73(<strong>注:</strong><font color="red">属性名称中的冒号":"被转换为:"#cln#"; 分号";"被转换为:"#scln#"</font>) PropsStr string `json:"props_str,omitempty" xml:"props_str,omitempty"` // 产品的非关键属性字符串列表.格式同props_str(<strong>注:</strong><font color="red">属性名称中的冒号":"被转换为:"#cln#"; 分号";"被转换为:"#scln#"</font>) BindsStr string `json:"binds_str,omitempty" xml:"binds_str,omitempty"` // 产品的销售属性字符串列表.格式同props_str(<strong>注:</strong><font color="red">属性名称中的冒号":"被转换为:"#cln#"; 分号";"被转换为:"#scln#"</font>) SalePropsStr string `json:"sale_props_str,omitempty" xml:"sale_props_str,omitempty"` // 产品卖点描述,长度限制20个汉字 SellPt string `json:"sell_pt,omitempty" xml:"sell_pt,omitempty"` // 产品ID ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"` // 产品的市场价.单位为元.精确到2位小数;如:200.07 Price float64 `json:"price,omitempty" xml:"price,omitempty"` // 当前状态(0 商家确认 1 屏蔽 3 小二确认 2 未确认 -1 删除) Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 垂直市场,如:3(3C),4(鞋城) VerticalMarket int64 `json:"vertical_market,omitempty" xml:"vertical_market,omitempty"` // 商品类目ID.必须是叶子类目ID Cid int64 `json:"cid,omitempty" xml:"cid,omitempty"` }
Product 结构体
type ProductImg ¶
type ProductImg struct { // 图片地址.(绝对地址,格式:http://host/image_path) Url string `json:"url,omitempty" xml:"url,omitempty"` // 添加时间.格式:yyyy-mm-dd hh:mm:ss Created string `json:"created,omitempty" xml:"created,omitempty"` // 修改时间.格式:yyyy-mm-dd hh:mm:ss Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 产品图片ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 图片所属产品的ID ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"` // 图片序号。产品里的图片展示顺序,数据越小越靠前。要求是正整数。 Position int64 `json:"position,omitempty" xml:"position,omitempty"` }
ProductImg 结构体
type ProductInfo ¶
type ProductInfo struct { // 外部房型code RoomTypeCode string `json:"room_type_code,omitempty" xml:"room_type_code,omitempty"` // 外部RatePlan code RatePlanCode string `json:"rate_plan_code,omitempty" xml:"rate_plan_code,omitempty"` }
ProductInfo 结构体
type ProductPropImg ¶
type ProductPropImg struct { // 属性串(pid:vid),目前只有颜色属性.如:颜色:红色表示为 1627207:28326 Props string `json:"props,omitempty" xml:"props,omitempty"` // 图片地址.(绝对地址,格式:http://host/image_path) Url string `json:"url,omitempty" xml:"url,omitempty"` // 添加时间.格式:yyyy-mm-dd hh:mm:ss Created string `json:"created,omitempty" xml:"created,omitempty"` // 修改时间.格式:yyyy-mm-dd hh:mm:ss Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 产品属性图片ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 图片所属产品的ID ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"` // 图片序号。产品里的图片展示顺序,数据越小越靠前。要求是正整数。 Position int64 `json:"position,omitempty" xml:"position,omitempty"` }
ProductPropImg 结构体
type ProductSpec ¶
type ProductSpec struct { // 认证图片列表 CertifiedPics []CertPicInfo `json:"certified_pics,omitempty" xml:"certified_pics>cert_pic_info,omitempty"` // 产品规格的销售属性组合。格式为:pid:vid;pid:vid。其中:pid是销售属性id,vid是销售属性值id。如果该类目品牌下面没有销售属性,可以不用填写。销售属性通过tmall.brandcat.salespro.get接口获取。 SpecProps string `json:"spec_props,omitempty" xml:"spec_props,omitempty"` // 用户输入的属性值存放位置,例如可输入的销售属性,当用户获取pid vid后,应该先从spec_props_alias中获取,然后通过类目属性获取,获取不到,可以通过这个字段获取。 CustomePropsName string `json:"custome_props_name,omitempty" xml:"custome_props_name,omitempty"` // 销售属性值别名。格式为:pid1:vid1:别名1;pid2:vid2:别名2。其中:pid是销售属性id,vid是销售属性值id。别名长度不可以超过30个字符。目前只有颜色销售属性支持别名。 SpecPropsAlias string `json:"spec_props_alias,omitempty" xml:"spec_props_alias,omitempty"` // 产品的主图片地址。绝对地址,格式:http://host/image_path。 PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` // 产品规格条形码,支持EAN-13格式。 Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"` // 产品货号 ProductCode string `json:"product_code,omitempty" xml:"product_code,omitempty"` // 上市时间 MarketTime string `json:"market_time,omitempty" xml:"market_time,omitempty"` // 产品规格ID。 SpecId int64 `json:"spec_id,omitempty" xml:"spec_id,omitempty"` // 1:表示可以使用的数据,也就是审核通过的。<br/>3:表示等待小二审核的产品规格,这个数据暂时还不能使用,要等待审核通过后,才能使用。 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 产品品牌id BrandId int64 `json:"brand_id,omitempty" xml:"brand_id,omitempty"` // 产品ID。 ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"` }
ProductSpec 结构体
type PromotionDisplayTop ¶
type PromotionDisplayTop struct { // 单品级优惠信息 PromotionInItem []PromotionInItem `json:"promotion_in_item,omitempty" xml:"promotion_in_item>promotion_in_item,omitempty"` // 店铺级优惠信息 PromotionInShop []PromotionInShop `json:"promotion_in_shop,omitempty" xml:"promotion_in_shop>promotion_in_shop,omitempty"` }
PromotionDisplayTop 结构体
type PromotionInItem ¶
type PromotionInItem struct { // sku价格列表 SkuPriceList []string `json:"sku_price_list,omitempty" xml:"sku_price_list>string,omitempty"` // sku价格对应的id(保证二者顺序相同) SkuIdList []string `json:"sku_id_list,omitempty" xml:"sku_id_list>string,omitempty"` // idValue的值 PromotionId string `json:"promotion_id,omitempty" xml:"promotion_id,omitempty"` // 优惠展示名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 优惠折后价格 ItemPromoPrice string `json:"item_promo_price,omitempty" xml:"item_promo_price,omitempty"` // 优惠描述 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 优惠开始时间 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 优惠结束时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 需要支付附加物,显示为+xxx。如:+20淘金币 OtherNeed string `json:"other_need,omitempty" xml:"other_need,omitempty"` // 赠送东西。如:送10商城积分 OtherSend string `json:"other_send,omitempty" xml:"other_send,omitempty"` }
PromotionInItem 结构体
type PromotionInShop ¶
type PromotionInShop struct { // 优惠活动名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // idValue值 PromotionId string `json:"promotion_id,omitempty" xml:"promotion_id,omitempty"` // 优惠详情描述。 PromotionDetailDesc string `json:"promotion_detail_desc,omitempty" xml:"promotion_detail_desc,omitempty"` }
PromotionInShop 结构体
type PropImg ¶
type PropImg struct { // 图片链接地址 Url string `json:"url,omitempty" xml:"url,omitempty"` // 图片创建时间 时间格式:yyyy-MM-dd HH:mm:ss Created string `json:"created,omitempty" xml:"created,omitempty"` // 图片所对应的属性组合的字符串 Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // 属性图片的id,和商品相对应 Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 图片放在第几张(多图时可设置) Position int64 `json:"position,omitempty" xml:"position,omitempty"` }
PropImg 结构体
type ResourceData ¶
type ResourceData struct { // 资源列表 Datas []ResourceDataRecord `json:"datas,omitempty" xml:"datas>resource_data_record,omitempty"` // 资源名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 资源类型 Type int64 `json:"type,omitempty" xml:"type,omitempty"` }
ResourceData 结构体
type ResourceDataRecord ¶
type ResourceDataRecord struct { // 扩展属性,包括城市名称,外部编码等 ValueMap string `json:"value_map,omitempty" xml:"value_map,omitempty"` // 映射id MappingId int64 `json:"mapping_id,omitempty" xml:"mapping_id,omitempty"` // 项目id ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"` // 次数 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 资源类型 Type int64 `json:"type,omitempty" xml:"type,omitempty"` // 资源id Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
ResourceDataRecord 结构体
type SearchGoodsOption ¶
type SearchGoodsOption struct { // 产品筛选tags ProductRefineTags []int64 `json:"product_refine_tags,omitempty" xml:"product_refine_tags>int64,omitempty"` // sort_by 排序方式 SortBy string `json:"sort_by,omitempty" xml:"sort_by,omitempty"` // keyword 搜索关键词 Keyword string `json:"keyword,omitempty" xml:"keyword,omitempty"` // category_id 搜索类目 CategoryId string `json:"category_id,omitempty" xml:"category_id,omitempty"` // price_to_cent 最大价格 PriceToCent int64 `json:"price_to_cent,omitempty" xml:"price_to_cent,omitempty"` // price_from_cent 最小价格 PriceFromCent int64 `json:"price_from_cent,omitempty" xml:"price_from_cent,omitempty"` // page_no 当前页面 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // page_size 每页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // min_order_from 最小起订量区间 MinOrderFrom int64 `json:"min_order_from,omitempty" xml:"min_order_from,omitempty"` // min_order_to 最小起订量区间 MinOrderTo int64 `json:"min_order_to,omitempty" xml:"min_order_to,omitempty"` }
SearchGoodsOption 结构体
type SizeMappingTemplate ¶
type SizeMappingTemplate struct { // 尺码表模板名称 TemplateName string `json:"template_name,omitempty" xml:"template_name,omitempty"` // 尺码表模板内容,格式为"尺码值:维度名称:数值,尺码值:维度名称:数值"。其中,数值的单位,长度单位为厘米(cm),体重单位为公斤(kg)。 TemplateContent string `json:"template_content,omitempty" xml:"template_content,omitempty"` // 尺码表模板ID TemplateId int64 `json:"template_id,omitempty" xml:"template_id,omitempty"` }
SizeMappingTemplate 结构体
type SizeMappingTemplateDo ¶
type SizeMappingTemplateDo struct { // 尺码表模板名称 TemplateName string `json:"template_name,omitempty" xml:"template_name,omitempty"` // 尺码表模板内容,格式为"尺码值:维度名称:数值,尺码值:维度名称:数值"。其中,数值的单位,长度单位为厘米(cm),体重单位为公斤(kg)。 TemplateContent string `json:"template_content,omitempty" xml:"template_content,omitempty"` // 尺码表模板ID TemplateId int64 `json:"template_id,omitempty" xml:"template_id,omitempty"` }
SizeMappingTemplateDo 结构体
type Sku ¶
type Sku struct { // sku所属商品id(注意:iid近期即将废弃,请用num_iid参数) Iid string `json:"iid,omitempty" xml:"iid,omitempty"` // sku的销售属性组合字符串(颜色,大小,等等,可通过类目API获取某类目下的销售属性),格式是p1:v1;p2:v2 Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // 属于这个sku的商品的价格 取值范围:0-100000000;精确到2位小数;单位:元。如:200.07,表示:200元7分。 Price string `json:"price,omitempty" xml:"price,omitempty"` // sku创建日期 时间格式:yyyy-MM-dd HH:mm:ss Created string `json:"created,omitempty" xml:"created,omitempty"` // sku最后修改日期 时间格式:yyyy-MM-dd HH:mm:ss Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // sku状态。 normal:正常 ;delete:删除,淘宝天猫此字段无效 Status string `json:"status,omitempty" xml:"status,omitempty"` // sku所对应的销售属性的中文名字串,格式如:pid1:vid1:pid_name1:vid_name1;pid2:vid2:pid_name2:vid_name2…… PropertiesName string `json:"properties_name,omitempty" xml:"properties_name,omitempty"` // sku级别发货时间 SkuDeliveryTime string `json:"sku_delivery_time,omitempty" xml:"sku_delivery_time,omitempty"` // 基础色数据 ChangeProp string `json:"change_prop,omitempty" xml:"change_prop,omitempty"` // 商家设置的外部id。天猫和集市的卖家,需要登录才能获取到自己的商家编码,不能获取到他人的商家编码。 OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 商品级别的条形码 Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"` // GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // skuFeature SkuFeature string `json:"sku_feature,omitempty" xml:"sku_feature,omitempty"` // skuDeliveryTimeType DeliveryTimeType string `json:"delivery_time_type,omitempty" xml:"delivery_time_type,omitempty"` // specId SpecId string `json:"spec_id,omitempty" xml:"spec_id,omitempty"` // 商品SKU优惠价格 PromotedPrice string `json:"promoted_price,omitempty" xml:"promoted_price,omitempty"` // SKU图片 PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` // sku的id SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // sku所属商品数字id NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 属于这个sku的商品的数量, Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 表示SKu上的产品规格信息 SkuSpecId int64 `json:"sku_spec_id,omitempty" xml:"sku_spec_id,omitempty"` // 商品在付款减库存的状态下,该sku上未付款的订单数量 WithHoldQuantity int64 `json:"with_hold_quantity,omitempty" xml:"with_hold_quantity,omitempty"` }
Sku 结构体
type SpuTemplateDo ¶
type SpuTemplateDo struct { // 产品关键属性,内容为属性ID(PID)的列表,注意关键属性可以在类目上不存在。不存在的PID,默认为输入,没有子属性。属性名称在prop_name_str中取 KeyProperties []int64 `json:"key_properties,omitempty" xml:"key_properties>int64,omitempty"` // 产品绑定属性,内容为属性ID(PID)的列表,绑定属性肯定在类目上有,对应属性的类目特征,子属性请根据PID到类目上去取 AffectProperties []int64 `json:"affect_properties,omitempty" xml:"affect_properties>int64,omitempty"` // 过滤属性,内容有属性ID(PID)列表,很重要的属性,filter_properties包含的属性,必须填写 FilterProperties []int64 `json:"filter_properties,omitempty" xml:"filter_properties>int64,omitempty"` // 属性名称扁平化结构,只保证不在类目上的CP有值 PropNameStr string `json:"prop_name_str,omitempty" xml:"prop_name_str,omitempty"` // 预留 PropFeatures string `json:"prop_features,omitempty" xml:"prop_features,omitempty"` // 类目ID CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 模板ID,发布产品,必须放到Product中 TemplateId int64 `json:"template_id,omitempty" xml:"template_id,omitempty"` // 品类ID,和类目ID类似 CommodityId int64 `json:"commodity_id,omitempty" xml:"commodity_id,omitempty"` }
SpuTemplateDo 结构体
type SupplyItemChangeMessage ¶
type SupplyItemChangeMessage struct { // 货号列表 ProductCodes []string `json:"product_codes,omitempty" xml:"product_codes>string,omitempty"` // 供应商门店,最大20个 SupplyStoreId string `json:"supply_store_id,omitempty" xml:"supply_store_id,omitempty"` }
SupplyItemChangeMessage 结构体
type TaobaoAftersaleGetAPIRequest ¶
TaobaoAftersaleGetAPIRequest 查询用户售后服务模板 API请求 taobao.aftersale.get
查询用户设置的售后服务模板,仅返回标题和id
func NewTaobaoAftersaleGetRequest ¶
func NewTaobaoAftersaleGetRequest() *TaobaoAftersaleGetAPIRequest
NewTaobaoAftersaleGetRequest 初始化TaobaoAftersaleGetAPIRequest对象
func (TaobaoAftersaleGetAPIRequest) GetApiMethodName ¶
func (r TaobaoAftersaleGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAftersaleGetAPIRequest) GetApiParams ¶
func (r TaobaoAftersaleGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type TaobaoAftersaleGetAPIResponse ¶
type TaobaoAftersaleGetAPIResponse struct { model.CommonResponse TaobaoAftersaleGetAPIResponseModel }
TaobaoAftersaleGetAPIResponse 查询用户售后服务模板 API返回值 taobao.aftersale.get
查询用户设置的售后服务模板,仅返回标题和id
type TaobaoAftersaleGetAPIResponseModel ¶
type TaobaoAftersaleGetAPIResponseModel struct { XMLName xml.Name `xml:"aftersale_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 售后服务返回对象 AfterSales []AfterSale `json:"after_sales,omitempty" xml:"after_sales>after_sale,omitempty"` }
TaobaoAftersaleGetAPIResponseModel is 查询用户售后服务模板 成功返回结果
type TaobaoBaikeImportZhubaoDataAPIRequest ¶
type TaobaoBaikeImportZhubaoDataAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoBaikeImportZhubaoDataAPIRequest 导入数据到商品百科服务 API请求 taobao.baike.import.zhubao.data
用于接入外部数据录入到商品百科中
func NewTaobaoBaikeImportZhubaoDataRequest ¶
func NewTaobaoBaikeImportZhubaoDataRequest() *TaobaoBaikeImportZhubaoDataAPIRequest
NewTaobaoBaikeImportZhubaoDataRequest 初始化TaobaoBaikeImportZhubaoDataAPIRequest对象
func (TaobaoBaikeImportZhubaoDataAPIRequest) GetApiMethodName ¶
func (r TaobaoBaikeImportZhubaoDataAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoBaikeImportZhubaoDataAPIRequest) GetApiParams ¶
func (r TaobaoBaikeImportZhubaoDataAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoBaikeImportZhubaoDataAPIRequest) GetDataJsonStr ¶
func (r TaobaoBaikeImportZhubaoDataAPIRequest) GetDataJsonStr() string
GetDataJsonStr DataJsonStr Getter
func (*TaobaoBaikeImportZhubaoDataAPIRequest) SetDataJsonStr ¶
func (r *TaobaoBaikeImportZhubaoDataAPIRequest) SetDataJsonStr(_dataJsonStr string) error
SetDataJsonStr is DataJsonStr Setter 约定的Json数据
type TaobaoBaikeImportZhubaoDataAPIResponse ¶
type TaobaoBaikeImportZhubaoDataAPIResponse struct { model.CommonResponse TaobaoBaikeImportZhubaoDataAPIResponseModel }
TaobaoBaikeImportZhubaoDataAPIResponse 导入数据到商品百科服务 API返回值 taobao.baike.import.zhubao.data
用于接入外部数据录入到商品百科中
type TaobaoBaikeImportZhubaoDataAPIResponseModel ¶
type TaobaoBaikeImportZhubaoDataAPIResponseModel struct { XMLName xml.Name `xml:"baike_import_zhubao_data_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoBaikeImportZhubaoDataResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoBaikeImportZhubaoDataAPIResponseModel is 导入数据到商品百科服务 成功返回结果
type TaobaoBaikeImportZhubaoDataResult ¶
type TaobaoBaikeImportZhubaoDataResult struct { // message Message string `json:"message,omitempty" xml:"message,omitempty"` // messageCode MessageCode string `json:"message_code,omitempty" xml:"message_code,omitempty"` // module Module string `json:"module,omitempty" xml:"module,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoBaikeImportZhubaoDataResult 结构体
type TaobaoBaikeImportZhubaoPictureAPIRequest ¶
type TaobaoBaikeImportZhubaoPictureAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoBaikeImportZhubaoPictureAPIRequest 百科图片数据导入 API请求 taobao.baike.import.zhubao.picture
用于接入外部--图片--录入到商品百科中
func NewTaobaoBaikeImportZhubaoPictureRequest ¶
func NewTaobaoBaikeImportZhubaoPictureRequest() *TaobaoBaikeImportZhubaoPictureAPIRequest
NewTaobaoBaikeImportZhubaoPictureRequest 初始化TaobaoBaikeImportZhubaoPictureAPIRequest对象
func (TaobaoBaikeImportZhubaoPictureAPIRequest) GetApiMethodName ¶
func (r TaobaoBaikeImportZhubaoPictureAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoBaikeImportZhubaoPictureAPIRequest) GetApiParams ¶
func (r TaobaoBaikeImportZhubaoPictureAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoBaikeImportZhubaoPictureAPIRequest) GetPicture ¶
func (r TaobaoBaikeImportZhubaoPictureAPIRequest) GetPicture() *model.File
GetPicture Picture Getter
func (*TaobaoBaikeImportZhubaoPictureAPIRequest) SetPicture ¶
func (r *TaobaoBaikeImportZhubaoPictureAPIRequest) SetPicture(_picture *model.File) error
SetPicture is Picture Setter 图片二进制数据
type TaobaoBaikeImportZhubaoPictureAPIResponse ¶
type TaobaoBaikeImportZhubaoPictureAPIResponse struct { model.CommonResponse TaobaoBaikeImportZhubaoPictureAPIResponseModel }
TaobaoBaikeImportZhubaoPictureAPIResponse 百科图片数据导入 API返回值 taobao.baike.import.zhubao.picture
用于接入外部--图片--录入到商品百科中
type TaobaoBaikeImportZhubaoPictureAPIResponseModel ¶
type TaobaoBaikeImportZhubaoPictureAPIResponseModel struct { XMLName xml.Name `xml:"baike_import_zhubao_picture_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoBaikeImportZhubaoPictureResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoBaikeImportZhubaoPictureAPIResponseModel is 百科图片数据导入 成功返回结果
type TaobaoBaikeImportZhubaoPictureResult ¶
type TaobaoBaikeImportZhubaoPictureResult struct { // message Message string `json:"message,omitempty" xml:"message,omitempty"` // messageCode MessageCode string `json:"message_code,omitempty" xml:"message_code,omitempty"` // module Module string `json:"module,omitempty" xml:"module,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoBaikeImportZhubaoPictureResult 结构体
type TaobaoBanamadpcItemAddAPIRequest ¶
type TaobaoBanamadpcItemAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoBanamadpcItemAddAPIRequest 新发商品 API请求 taobao.banamadpc.item.add
巴拿马供应商通过此接口新发商品
func NewTaobaoBanamadpcItemAddRequest ¶
func NewTaobaoBanamadpcItemAddRequest() *TaobaoBanamadpcItemAddAPIRequest
NewTaobaoBanamadpcItemAddRequest 初始化TaobaoBanamadpcItemAddAPIRequest对象
func (TaobaoBanamadpcItemAddAPIRequest) GetApiMethodName ¶
func (r TaobaoBanamadpcItemAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoBanamadpcItemAddAPIRequest) GetApiParams ¶
func (r TaobaoBanamadpcItemAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoBanamadpcItemAddAPIRequest) GetCatId ¶
func (r TaobaoBanamadpcItemAddAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (TaobaoBanamadpcItemAddAPIRequest) GetXml ¶
func (r TaobaoBanamadpcItemAddAPIRequest) GetXml() string
GetXml Xml Getter
func (*TaobaoBanamadpcItemAddAPIRequest) SetCatId ¶
func (r *TaobaoBanamadpcItemAddAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 类目id
func (*TaobaoBanamadpcItemAddAPIRequest) SetXml ¶
func (r *TaobaoBanamadpcItemAddAPIRequest) SetXml(_xml string) error
SetXml is Xml Setter 商品的schema xml
type TaobaoBanamadpcItemAddAPIResponse ¶
type TaobaoBanamadpcItemAddAPIResponse struct { model.CommonResponse TaobaoBanamadpcItemAddAPIResponseModel }
TaobaoBanamadpcItemAddAPIResponse 新发商品 API返回值 taobao.banamadpc.item.add
巴拿马供应商通过此接口新发商品
type TaobaoBanamadpcItemAddAPIResponseModel ¶
type TaobaoBanamadpcItemAddAPIResponseModel struct { XMLName xml.Name `xml:"banamadpc_item_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 无 ApiResult *TaobaoBanamadpcItemAddApiResult `json:"api_result,omitempty" xml:"api_result,omitempty"` }
TaobaoBanamadpcItemAddAPIResponseModel is 新发商品 成功返回结果
type TaobaoBanamadpcItemAddApiResult ¶
type TaobaoBanamadpcItemAddApiResult struct { // 错误信息 ErMsg string `json:"er_msg,omitempty" xml:"er_msg,omitempty"` // 错误码 ErCode string `json:"er_code,omitempty" xml:"er_code,omitempty"` // 商品id Result int64 `json:"result,omitempty" xml:"result,omitempty"` // 成功 Error bool `json:"error,omitempty" xml:"error,omitempty"` }
TaobaoBanamadpcItemAddApiResult 结构体
type TaobaoBanamadpcItemEditRenderAPIRequest ¶
type TaobaoBanamadpcItemEditRenderAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoBanamadpcItemEditRenderAPIRequest 编辑商品发布页 API请求 taobao.banamadpc.item.edit.render
巴拿马供应商通过此接口获取编辑商品发布页
func NewTaobaoBanamadpcItemEditRenderRequest ¶
func NewTaobaoBanamadpcItemEditRenderRequest() *TaobaoBanamadpcItemEditRenderAPIRequest
NewTaobaoBanamadpcItemEditRenderRequest 初始化TaobaoBanamadpcItemEditRenderAPIRequest对象
func (TaobaoBanamadpcItemEditRenderAPIRequest) GetApiMethodName ¶
func (r TaobaoBanamadpcItemEditRenderAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoBanamadpcItemEditRenderAPIRequest) GetApiParams ¶
func (r TaobaoBanamadpcItemEditRenderAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoBanamadpcItemEditRenderAPIRequest) GetItemId ¶
func (r TaobaoBanamadpcItemEditRenderAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (*TaobaoBanamadpcItemEditRenderAPIRequest) SetItemId ¶
func (r *TaobaoBanamadpcItemEditRenderAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
type TaobaoBanamadpcItemEditRenderAPIResponse ¶
type TaobaoBanamadpcItemEditRenderAPIResponse struct { model.CommonResponse TaobaoBanamadpcItemEditRenderAPIResponseModel }
TaobaoBanamadpcItemEditRenderAPIResponse 编辑商品发布页 API返回值 taobao.banamadpc.item.edit.render
巴拿马供应商通过此接口获取编辑商品发布页
type TaobaoBanamadpcItemEditRenderAPIResponseModel ¶
type TaobaoBanamadpcItemEditRenderAPIResponseModel struct { XMLName xml.Name `xml:"banamadpc_item_edit_render_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 无 ApiResult *TaobaoBanamadpcItemEditRenderApiResult `json:"api_result,omitempty" xml:"api_result,omitempty"` }
TaobaoBanamadpcItemEditRenderAPIResponseModel is 编辑商品发布页 成功返回结果
type TaobaoBanamadpcItemEditRenderApiResult ¶
type TaobaoBanamadpcItemEditRenderApiResult struct { // 错误信息 ErMsg string `json:"er_msg,omitempty" xml:"er_msg,omitempty"` // 错误码 ErCode string `json:"er_code,omitempty" xml:"er_code,omitempty"` // 商品标题,价格,图片等商品数据的schema xml Result string `json:"result,omitempty" xml:"result,omitempty"` // 成功 Error bool `json:"error,omitempty" xml:"error,omitempty"` }
TaobaoBanamadpcItemEditRenderApiResult 结构体
type TaobaoBanamadpcItemRenderAPIRequest ¶
type TaobaoBanamadpcItemRenderAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoBanamadpcItemRenderAPIRequest 新发商品发布页 API请求 taobao.banamadpc.item.render
巴拿马供应商通过此接口新发商品发布页
func NewTaobaoBanamadpcItemRenderRequest ¶
func NewTaobaoBanamadpcItemRenderRequest() *TaobaoBanamadpcItemRenderAPIRequest
NewTaobaoBanamadpcItemRenderRequest 初始化TaobaoBanamadpcItemRenderAPIRequest对象
func (TaobaoBanamadpcItemRenderAPIRequest) GetApiMethodName ¶
func (r TaobaoBanamadpcItemRenderAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoBanamadpcItemRenderAPIRequest) GetApiParams ¶
func (r TaobaoBanamadpcItemRenderAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoBanamadpcItemRenderAPIRequest) GetCatId ¶
func (r TaobaoBanamadpcItemRenderAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (*TaobaoBanamadpcItemRenderAPIRequest) SetCatId ¶
func (r *TaobaoBanamadpcItemRenderAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 类目ID
type TaobaoBanamadpcItemRenderAPIResponse ¶
type TaobaoBanamadpcItemRenderAPIResponse struct { model.CommonResponse TaobaoBanamadpcItemRenderAPIResponseModel }
TaobaoBanamadpcItemRenderAPIResponse 新发商品发布页 API返回值 taobao.banamadpc.item.render
巴拿马供应商通过此接口新发商品发布页
type TaobaoBanamadpcItemRenderAPIResponseModel ¶
type TaobaoBanamadpcItemRenderAPIResponseModel struct { XMLName xml.Name `xml:"banamadpc_item_render_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 根据站点名称查询产品 ApiResult *TaobaoBanamadpcItemRenderApiResult `json:"api_result,omitempty" xml:"api_result,omitempty"` }
TaobaoBanamadpcItemRenderAPIResponseModel is 新发商品发布页 成功返回结果
type TaobaoBanamadpcItemRenderApiResult ¶
type TaobaoBanamadpcItemRenderApiResult struct { // 错误信息 ErMsg string `json:"er_msg,omitempty" xml:"er_msg,omitempty"` // 错误码 ErCode string `json:"er_code,omitempty" xml:"er_code,omitempty"` // 返回类目新发下需要填写的商品信息 Result string `json:"result,omitempty" xml:"result,omitempty"` // 错误 Error bool `json:"error,omitempty" xml:"error,omitempty"` }
TaobaoBanamadpcItemRenderApiResult 结构体
type TaobaoBanamadpcItemSelectPropAPIRequest ¶
type TaobaoBanamadpcItemSelectPropAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoBanamadpcItemSelectPropAPIRequest 获取子属性 API请求 taobao.banamadpc.item.select.prop
巴拿马供应商通过此接口获取子属性
func NewTaobaoBanamadpcItemSelectPropRequest ¶
func NewTaobaoBanamadpcItemSelectPropRequest() *TaobaoBanamadpcItemSelectPropAPIRequest
NewTaobaoBanamadpcItemSelectPropRequest 初始化TaobaoBanamadpcItemSelectPropAPIRequest对象
func (TaobaoBanamadpcItemSelectPropAPIRequest) GetApiMethodName ¶
func (r TaobaoBanamadpcItemSelectPropAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoBanamadpcItemSelectPropAPIRequest) GetApiParams ¶
func (r TaobaoBanamadpcItemSelectPropAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoBanamadpcItemSelectPropAPIRequest) GetCatId ¶
func (r TaobaoBanamadpcItemSelectPropAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (TaobaoBanamadpcItemSelectPropAPIRequest) GetPropId ¶
func (r TaobaoBanamadpcItemSelectPropAPIRequest) GetPropId() int64
GetPropId PropId Getter
func (TaobaoBanamadpcItemSelectPropAPIRequest) GetXml ¶
func (r TaobaoBanamadpcItemSelectPropAPIRequest) GetXml() string
GetXml Xml Getter
func (*TaobaoBanamadpcItemSelectPropAPIRequest) SetCatId ¶
func (r *TaobaoBanamadpcItemSelectPropAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 类目id
func (*TaobaoBanamadpcItemSelectPropAPIRequest) SetPropId ¶
func (r *TaobaoBanamadpcItemSelectPropAPIRequest) SetPropId(_propId int64) error
SetPropId is PropId Setter 属性id
func (*TaobaoBanamadpcItemSelectPropAPIRequest) SetXml ¶
func (r *TaobaoBanamadpcItemSelectPropAPIRequest) SetXml(_xml string) error
SetXml is Xml Setter 子属性的schema xml
type TaobaoBanamadpcItemSelectPropAPIResponse ¶
type TaobaoBanamadpcItemSelectPropAPIResponse struct { model.CommonResponse TaobaoBanamadpcItemSelectPropAPIResponseModel }
TaobaoBanamadpcItemSelectPropAPIResponse 获取子属性 API返回值 taobao.banamadpc.item.select.prop
巴拿马供应商通过此接口获取子属性
type TaobaoBanamadpcItemSelectPropAPIResponseModel ¶
type TaobaoBanamadpcItemSelectPropAPIResponseModel struct { XMLName xml.Name `xml:"banamadpc_item_select_prop_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 无 ApiResult *TaobaoBanamadpcItemSelectPropApiResult `json:"api_result,omitempty" xml:"api_result,omitempty"` }
TaobaoBanamadpcItemSelectPropAPIResponseModel is 获取子属性 成功返回结果
type TaobaoBanamadpcItemSelectPropApiResult ¶
type TaobaoBanamadpcItemSelectPropApiResult struct { // 错误信息 ErMsg string `json:"er_msg,omitempty" xml:"er_msg,omitempty"` // 错误码 ErCode string `json:"er_code,omitempty" xml:"er_code,omitempty"` // 入参类目下入参属性的子属性schema xml Result string `json:"result,omitempty" xml:"result,omitempty"` // 成功 Error bool `json:"error,omitempty" xml:"error,omitempty"` }
TaobaoBanamadpcItemSelectPropApiResult 结构体
type TaobaoBanamadpcItemUpdateAPIRequest ¶
type TaobaoBanamadpcItemUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoBanamadpcItemUpdateAPIRequest 编辑商品 API请求 taobao.banamadpc.item.update
巴拿马供应商通过此接口编辑商品
func NewTaobaoBanamadpcItemUpdateRequest ¶
func NewTaobaoBanamadpcItemUpdateRequest() *TaobaoBanamadpcItemUpdateAPIRequest
NewTaobaoBanamadpcItemUpdateRequest 初始化TaobaoBanamadpcItemUpdateAPIRequest对象
func (TaobaoBanamadpcItemUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoBanamadpcItemUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoBanamadpcItemUpdateAPIRequest) GetApiParams ¶
func (r TaobaoBanamadpcItemUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoBanamadpcItemUpdateAPIRequest) GetItemId ¶
func (r TaobaoBanamadpcItemUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoBanamadpcItemUpdateAPIRequest) GetXml ¶
func (r TaobaoBanamadpcItemUpdateAPIRequest) GetXml() string
GetXml Xml Getter
func (*TaobaoBanamadpcItemUpdateAPIRequest) SetItemId ¶
func (r *TaobaoBanamadpcItemUpdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
func (*TaobaoBanamadpcItemUpdateAPIRequest) SetXml ¶
func (r *TaobaoBanamadpcItemUpdateAPIRequest) SetXml(_xml string) error
SetXml is Xml Setter 商品的schema xml
type TaobaoBanamadpcItemUpdateAPIResponse ¶
type TaobaoBanamadpcItemUpdateAPIResponse struct { model.CommonResponse TaobaoBanamadpcItemUpdateAPIResponseModel }
TaobaoBanamadpcItemUpdateAPIResponse 编辑商品 API返回值 taobao.banamadpc.item.update
巴拿马供应商通过此接口编辑商品
type TaobaoBanamadpcItemUpdateAPIResponseModel ¶
type TaobaoBanamadpcItemUpdateAPIResponseModel struct { XMLName xml.Name `xml:"banamadpc_item_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 无 ApiResult *TaobaoBanamadpcItemUpdateApiResult `json:"api_result,omitempty" xml:"api_result,omitempty"` }
TaobaoBanamadpcItemUpdateAPIResponseModel is 编辑商品 成功返回结果
type TaobaoBanamadpcItemUpdateApiResult ¶
type TaobaoBanamadpcItemUpdateApiResult struct { // 错误信息 ErMsg string `json:"er_msg,omitempty" xml:"er_msg,omitempty"` // 错误码 ErCode string `json:"er_code,omitempty" xml:"er_code,omitempty"` // 商品id Result int64 `json:"result,omitempty" xml:"result,omitempty"` // 成功 Error bool `json:"error,omitempty" xml:"error,omitempty"` }
TaobaoBanamadpcItemUpdateApiResult 结构体
type TaobaoItemAddAPIRequest ¶
TaobaoItemAddAPIRequest 添加一个商品 API请求 taobao.item.add
此接口用于新增一个淘宝商品 商品的属性和sku的属性有包含的关系,商品的价格要位于sku的价格区间之中(例如,sku价格有5元、10元两种,那么商品的价格就需要大于等于5元,小于等于10元,否则新增商品会失败) 商品的类目和商品的价格、sku的价格都有一定的相关性(具体的关系要通过类目属性查询接口获得) 商品的运费承担方式和邮费设置有相关性,卖家承担运费不用设置邮费,买家承担运费需要设置邮费 当关键属性值选择了“其他”的时候,需要输入input_pids和input_str商品才能添加成功。 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
func NewTaobaoItemAddRequest ¶
func NewTaobaoItemAddRequest() *TaobaoItemAddAPIRequest
NewTaobaoItemAddRequest 初始化TaobaoItemAddAPIRequest对象
func (TaobaoItemAddAPIRequest) GetAfterSaleId ¶
func (r TaobaoItemAddAPIRequest) GetAfterSaleId() int64
GetAfterSaleId AfterSaleId Getter
func (TaobaoItemAddAPIRequest) GetApiMethodName ¶
func (r TaobaoItemAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemAddAPIRequest) GetApiParams ¶
func (r TaobaoItemAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemAddAPIRequest) GetApproveStatus ¶
func (r TaobaoItemAddAPIRequest) GetApproveStatus() string
GetApproveStatus ApproveStatus Getter
func (TaobaoItemAddAPIRequest) GetAuctionPoint ¶
func (r TaobaoItemAddAPIRequest) GetAuctionPoint() int64
GetAuctionPoint AuctionPoint Getter
func (TaobaoItemAddAPIRequest) GetAutoFill ¶
func (r TaobaoItemAddAPIRequest) GetAutoFill() string
GetAutoFill AutoFill Getter
func (TaobaoItemAddAPIRequest) GetBarcode ¶
func (r TaobaoItemAddAPIRequest) GetBarcode() string
GetBarcode Barcode Getter
func (TaobaoItemAddAPIRequest) GetBizCode ¶
func (r TaobaoItemAddAPIRequest) GetBizCode() string
GetBizCode BizCode Getter
func (TaobaoItemAddAPIRequest) GetBrokerage ¶
func (r TaobaoItemAddAPIRequest) GetBrokerage() string
GetBrokerage Brokerage Getter
func (TaobaoItemAddAPIRequest) GetChangeProp ¶
func (r TaobaoItemAddAPIRequest) GetChangeProp() string
GetChangeProp ChangeProp Getter
func (TaobaoItemAddAPIRequest) GetCid ¶
func (r TaobaoItemAddAPIRequest) GetCid() int64
GetCid Cid Getter
func (TaobaoItemAddAPIRequest) GetCodPostageId ¶
func (r TaobaoItemAddAPIRequest) GetCodPostageId() int64
GetCodPostageId CodPostageId Getter
func (TaobaoItemAddAPIRequest) GetCpvMemo ¶
func (r TaobaoItemAddAPIRequest) GetCpvMemo() string
GetCpvMemo CpvMemo Getter
func (TaobaoItemAddAPIRequest) GetCustomMadeTypeId ¶
func (r TaobaoItemAddAPIRequest) GetCustomMadeTypeId() string
GetCustomMadeTypeId CustomMadeTypeId Getter
func (TaobaoItemAddAPIRequest) GetDeliveryTimeDeliveryTime ¶
func (r TaobaoItemAddAPIRequest) GetDeliveryTimeDeliveryTime() string
GetDeliveryTimeDeliveryTime DeliveryTimeDeliveryTime Getter
func (TaobaoItemAddAPIRequest) GetDeliveryTimeDeliveryTimeType ¶
func (r TaobaoItemAddAPIRequest) GetDeliveryTimeDeliveryTimeType() string
GetDeliveryTimeDeliveryTimeType DeliveryTimeDeliveryTimeType Getter
func (TaobaoItemAddAPIRequest) GetDeliveryTimeNeedDeliveryTime ¶
func (r TaobaoItemAddAPIRequest) GetDeliveryTimeNeedDeliveryTime() string
GetDeliveryTimeNeedDeliveryTime DeliveryTimeNeedDeliveryTime Getter
func (TaobaoItemAddAPIRequest) GetDesc ¶
func (r TaobaoItemAddAPIRequest) GetDesc() string
GetDesc Desc Getter
func (TaobaoItemAddAPIRequest) GetDescModules ¶
func (r TaobaoItemAddAPIRequest) GetDescModules() string
GetDescModules DescModules Getter
func (TaobaoItemAddAPIRequest) GetEmsFee ¶
func (r TaobaoItemAddAPIRequest) GetEmsFee() float64
GetEmsFee EmsFee Getter
func (TaobaoItemAddAPIRequest) GetExpressFee ¶
func (r TaobaoItemAddAPIRequest) GetExpressFee() float64
GetExpressFee ExpressFee Getter
func (TaobaoItemAddAPIRequest) GetFeatures ¶
func (r TaobaoItemAddAPIRequest) GetFeatures() string
GetFeatures Features Getter
func (TaobaoItemAddAPIRequest) GetFoodSecurityContact ¶
func (r TaobaoItemAddAPIRequest) GetFoodSecurityContact() string
GetFoodSecurityContact FoodSecurityContact Getter
func (TaobaoItemAddAPIRequest) GetFoodSecurityDesignCode ¶
func (r TaobaoItemAddAPIRequest) GetFoodSecurityDesignCode() string
GetFoodSecurityDesignCode FoodSecurityDesignCode Getter
func (TaobaoItemAddAPIRequest) GetFoodSecurityFactory ¶
func (r TaobaoItemAddAPIRequest) GetFoodSecurityFactory() string
GetFoodSecurityFactory FoodSecurityFactory Getter
func (TaobaoItemAddAPIRequest) GetFoodSecurityFactorySite ¶
func (r TaobaoItemAddAPIRequest) GetFoodSecurityFactorySite() string
GetFoodSecurityFactorySite FoodSecurityFactorySite Getter
func (TaobaoItemAddAPIRequest) GetFoodSecurityFoodAdditive ¶
func (r TaobaoItemAddAPIRequest) GetFoodSecurityFoodAdditive() string
GetFoodSecurityFoodAdditive FoodSecurityFoodAdditive Getter
func (TaobaoItemAddAPIRequest) GetFoodSecurityHealthProductNo ¶
func (r TaobaoItemAddAPIRequest) GetFoodSecurityHealthProductNo() string
GetFoodSecurityHealthProductNo FoodSecurityHealthProductNo Getter
func (TaobaoItemAddAPIRequest) GetFoodSecurityMix ¶
func (r TaobaoItemAddAPIRequest) GetFoodSecurityMix() string
GetFoodSecurityMix FoodSecurityMix Getter
func (TaobaoItemAddAPIRequest) GetFoodSecurityPeriod ¶
func (r TaobaoItemAddAPIRequest) GetFoodSecurityPeriod() string
GetFoodSecurityPeriod FoodSecurityPeriod Getter
func (TaobaoItemAddAPIRequest) GetFoodSecurityPlanStorage ¶
func (r TaobaoItemAddAPIRequest) GetFoodSecurityPlanStorage() string
GetFoodSecurityPlanStorage FoodSecurityPlanStorage Getter
func (TaobaoItemAddAPIRequest) GetFoodSecurityPrdLicenseNo ¶
func (r TaobaoItemAddAPIRequest) GetFoodSecurityPrdLicenseNo() string
GetFoodSecurityPrdLicenseNo FoodSecurityPrdLicenseNo Getter
func (TaobaoItemAddAPIRequest) GetFoodSecurityProductDateEnd ¶
func (r TaobaoItemAddAPIRequest) GetFoodSecurityProductDateEnd() string
GetFoodSecurityProductDateEnd FoodSecurityProductDateEnd Getter
func (TaobaoItemAddAPIRequest) GetFoodSecurityProductDateStart ¶
func (r TaobaoItemAddAPIRequest) GetFoodSecurityProductDateStart() string
GetFoodSecurityProductDateStart FoodSecurityProductDateStart Getter
func (TaobaoItemAddAPIRequest) GetFoodSecurityStockDateEnd ¶
func (r TaobaoItemAddAPIRequest) GetFoodSecurityStockDateEnd() string
GetFoodSecurityStockDateEnd FoodSecurityStockDateEnd Getter
func (TaobaoItemAddAPIRequest) GetFoodSecurityStockDateStart ¶
func (r TaobaoItemAddAPIRequest) GetFoodSecurityStockDateStart() string
GetFoodSecurityStockDateStart FoodSecurityStockDateStart Getter
func (TaobaoItemAddAPIRequest) GetFoodSecuritySupplier ¶
func (r TaobaoItemAddAPIRequest) GetFoodSecuritySupplier() string
GetFoodSecuritySupplier FoodSecuritySupplier Getter
func (TaobaoItemAddAPIRequest) GetFreightPayer ¶
func (r TaobaoItemAddAPIRequest) GetFreightPayer() string
GetFreightPayer FreightPayer Getter
func (TaobaoItemAddAPIRequest) GetGlobalStockCountry ¶
func (r TaobaoItemAddAPIRequest) GetGlobalStockCountry() string
GetGlobalStockCountry GlobalStockCountry Getter
func (TaobaoItemAddAPIRequest) GetGlobalStockDeliveryPlace ¶
func (r TaobaoItemAddAPIRequest) GetGlobalStockDeliveryPlace() string
GetGlobalStockDeliveryPlace GlobalStockDeliveryPlace Getter
func (TaobaoItemAddAPIRequest) GetGlobalStockTaxFreePromise ¶
func (r TaobaoItemAddAPIRequest) GetGlobalStockTaxFreePromise() bool
GetGlobalStockTaxFreePromise GlobalStockTaxFreePromise Getter
func (TaobaoItemAddAPIRequest) GetGlobalStockType ¶
func (r TaobaoItemAddAPIRequest) GetGlobalStockType() string
GetGlobalStockType GlobalStockType Getter
func (TaobaoItemAddAPIRequest) GetHasDiscount ¶
func (r TaobaoItemAddAPIRequest) GetHasDiscount() bool
GetHasDiscount HasDiscount Getter
func (TaobaoItemAddAPIRequest) GetHasInvoice ¶
func (r TaobaoItemAddAPIRequest) GetHasInvoice() bool
GetHasInvoice HasInvoice Getter
func (TaobaoItemAddAPIRequest) GetHasShowcase ¶
func (r TaobaoItemAddAPIRequest) GetHasShowcase() bool
GetHasShowcase HasShowcase Getter
func (TaobaoItemAddAPIRequest) GetHasWarranty ¶
func (r TaobaoItemAddAPIRequest) GetHasWarranty() bool
GetHasWarranty HasWarranty Getter
func (TaobaoItemAddAPIRequest) GetIgnorewarning ¶
func (r TaobaoItemAddAPIRequest) GetIgnorewarning() string
GetIgnorewarning Ignorewarning Getter
func (TaobaoItemAddAPIRequest) GetImage ¶
func (r TaobaoItemAddAPIRequest) GetImage() *model.File
GetImage Image Getter
func (TaobaoItemAddAPIRequest) GetImageUrls ¶
func (r TaobaoItemAddAPIRequest) GetImageUrls() []string
GetImageUrls ImageUrls Getter
func (TaobaoItemAddAPIRequest) GetIncrement ¶
func (r TaobaoItemAddAPIRequest) GetIncrement() float64
GetIncrement Increment Getter
func (TaobaoItemAddAPIRequest) GetInputCustomCpv ¶
func (r TaobaoItemAddAPIRequest) GetInputCustomCpv() string
GetInputCustomCpv InputCustomCpv Getter
func (TaobaoItemAddAPIRequest) GetInputPids ¶
func (r TaobaoItemAddAPIRequest) GetInputPids() string
GetInputPids InputPids Getter
func (TaobaoItemAddAPIRequest) GetInputStr ¶
func (r TaobaoItemAddAPIRequest) GetInputStr() string
GetInputStr InputStr Getter
func (TaobaoItemAddAPIRequest) GetInteractiveId ¶
func (r TaobaoItemAddAPIRequest) GetInteractiveId() int64
GetInteractiveId InteractiveId Getter
func (TaobaoItemAddAPIRequest) GetIs3D ¶
func (r TaobaoItemAddAPIRequest) GetIs3D() bool
GetIs3D Is3D Getter
func (TaobaoItemAddAPIRequest) GetIsEx ¶
func (r TaobaoItemAddAPIRequest) GetIsEx() bool
GetIsEx IsEx Getter
func (TaobaoItemAddAPIRequest) GetIsLightningConsignment ¶
func (r TaobaoItemAddAPIRequest) GetIsLightningConsignment() bool
GetIsLightningConsignment IsLightningConsignment Getter
func (TaobaoItemAddAPIRequest) GetIsOffline ¶
func (r TaobaoItemAddAPIRequest) GetIsOffline() string
GetIsOffline IsOffline Getter
func (TaobaoItemAddAPIRequest) GetIsTaobao ¶
func (r TaobaoItemAddAPIRequest) GetIsTaobao() bool
GetIsTaobao IsTaobao Getter
func (TaobaoItemAddAPIRequest) GetIsXinpin ¶
func (r TaobaoItemAddAPIRequest) GetIsXinpin() bool
GetIsXinpin IsXinpin Getter
func (TaobaoItemAddAPIRequest) GetItemSize ¶
func (r TaobaoItemAddAPIRequest) GetItemSize() string
GetItemSize ItemSize Getter
func (TaobaoItemAddAPIRequest) GetItemWeight ¶
func (r TaobaoItemAddAPIRequest) GetItemWeight() string
GetItemWeight ItemWeight Getter
func (TaobaoItemAddAPIRequest) GetLang ¶
func (r TaobaoItemAddAPIRequest) GetLang() string
GetLang Lang Getter
func (TaobaoItemAddAPIRequest) GetLeaseExtendsInfo ¶
func (r TaobaoItemAddAPIRequest) GetLeaseExtendsInfo() string
GetLeaseExtendsInfo LeaseExtendsInfo Getter
func (TaobaoItemAddAPIRequest) GetListTime ¶
func (r TaobaoItemAddAPIRequest) GetListTime() string
GetListTime ListTime Getter
func (TaobaoItemAddAPIRequest) GetLocalityLifeChooseLogis ¶
func (r TaobaoItemAddAPIRequest) GetLocalityLifeChooseLogis() string
GetLocalityLifeChooseLogis LocalityLifeChooseLogis Getter
func (TaobaoItemAddAPIRequest) GetLocalityLifeEticket ¶
func (r TaobaoItemAddAPIRequest) GetLocalityLifeEticket() string
GetLocalityLifeEticket LocalityLifeEticket Getter
func (TaobaoItemAddAPIRequest) GetLocalityLifeExpirydate ¶
func (r TaobaoItemAddAPIRequest) GetLocalityLifeExpirydate() string
GetLocalityLifeExpirydate LocalityLifeExpirydate Getter
func (TaobaoItemAddAPIRequest) GetLocalityLifeMerchant ¶
func (r TaobaoItemAddAPIRequest) GetLocalityLifeMerchant() string
GetLocalityLifeMerchant LocalityLifeMerchant Getter
func (TaobaoItemAddAPIRequest) GetLocalityLifeNetworkId ¶
func (r TaobaoItemAddAPIRequest) GetLocalityLifeNetworkId() string
GetLocalityLifeNetworkId LocalityLifeNetworkId Getter
func (TaobaoItemAddAPIRequest) GetLocalityLifeObs ¶
func (r TaobaoItemAddAPIRequest) GetLocalityLifeObs() string
GetLocalityLifeObs LocalityLifeObs Getter
func (TaobaoItemAddAPIRequest) GetLocalityLifeOnsaleAutoRefundRatio ¶
func (r TaobaoItemAddAPIRequest) GetLocalityLifeOnsaleAutoRefundRatio() int64
GetLocalityLifeOnsaleAutoRefundRatio LocalityLifeOnsaleAutoRefundRatio Getter
func (TaobaoItemAddAPIRequest) GetLocalityLifePackageid ¶
func (r TaobaoItemAddAPIRequest) GetLocalityLifePackageid() string
GetLocalityLifePackageid LocalityLifePackageid Getter
func (TaobaoItemAddAPIRequest) GetLocalityLifeRefundRatio ¶
func (r TaobaoItemAddAPIRequest) GetLocalityLifeRefundRatio() int64
GetLocalityLifeRefundRatio LocalityLifeRefundRatio Getter
func (TaobaoItemAddAPIRequest) GetLocalityLifeRefundmafee ¶
func (r TaobaoItemAddAPIRequest) GetLocalityLifeRefundmafee() string
GetLocalityLifeRefundmafee LocalityLifeRefundmafee Getter
func (TaobaoItemAddAPIRequest) GetLocalityLifeVerification ¶
func (r TaobaoItemAddAPIRequest) GetLocalityLifeVerification() string
GetLocalityLifeVerification LocalityLifeVerification Getter
func (TaobaoItemAddAPIRequest) GetLocalityLifeVersion ¶
func (r TaobaoItemAddAPIRequest) GetLocalityLifeVersion() string
GetLocalityLifeVersion LocalityLifeVersion Getter
func (TaobaoItemAddAPIRequest) GetLocationCity ¶
func (r TaobaoItemAddAPIRequest) GetLocationCity() string
GetLocationCity LocationCity Getter
func (TaobaoItemAddAPIRequest) GetLocationState ¶
func (r TaobaoItemAddAPIRequest) GetLocationState() string
GetLocationState LocationState Getter
func (TaobaoItemAddAPIRequest) GetMsPaymentPrice ¶
func (r TaobaoItemAddAPIRequest) GetMsPaymentPrice() string
GetMsPaymentPrice MsPaymentPrice Getter
func (TaobaoItemAddAPIRequest) GetMsPaymentReferencePrice ¶
func (r TaobaoItemAddAPIRequest) GetMsPaymentReferencePrice() string
GetMsPaymentReferencePrice MsPaymentReferencePrice Getter
func (TaobaoItemAddAPIRequest) GetMsPaymentVoucherPrice ¶
func (r TaobaoItemAddAPIRequest) GetMsPaymentVoucherPrice() string
GetMsPaymentVoucherPrice MsPaymentVoucherPrice Getter
func (TaobaoItemAddAPIRequest) GetNewprepay ¶
func (r TaobaoItemAddAPIRequest) GetNewprepay() string
GetNewprepay Newprepay Getter
func (TaobaoItemAddAPIRequest) GetNum ¶
func (r TaobaoItemAddAPIRequest) GetNum() int64
GetNum Num Getter
func (TaobaoItemAddAPIRequest) GetO2oBindService ¶
func (r TaobaoItemAddAPIRequest) GetO2oBindService() bool
GetO2oBindService O2oBindService Getter
func (TaobaoItemAddAPIRequest) GetOuterId ¶
func (r TaobaoItemAddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoItemAddAPIRequest) GetPaimaiInfoDeposit ¶
func (r TaobaoItemAddAPIRequest) GetPaimaiInfoDeposit() int64
GetPaimaiInfoDeposit PaimaiInfoDeposit Getter
func (TaobaoItemAddAPIRequest) GetPaimaiInfoInterval ¶
func (r TaobaoItemAddAPIRequest) GetPaimaiInfoInterval() int64
GetPaimaiInfoInterval PaimaiInfoInterval Getter
func (TaobaoItemAddAPIRequest) GetPaimaiInfoMode ¶
func (r TaobaoItemAddAPIRequest) GetPaimaiInfoMode() int64
GetPaimaiInfoMode PaimaiInfoMode Getter
func (TaobaoItemAddAPIRequest) GetPaimaiInfoReserve ¶
func (r TaobaoItemAddAPIRequest) GetPaimaiInfoReserve() float64
GetPaimaiInfoReserve PaimaiInfoReserve Getter
func (TaobaoItemAddAPIRequest) GetPaimaiInfoValidHour ¶
func (r TaobaoItemAddAPIRequest) GetPaimaiInfoValidHour() int64
GetPaimaiInfoValidHour PaimaiInfoValidHour Getter
func (TaobaoItemAddAPIRequest) GetPaimaiInfoValidMinute ¶
func (r TaobaoItemAddAPIRequest) GetPaimaiInfoValidMinute() int64
GetPaimaiInfoValidMinute PaimaiInfoValidMinute Getter
func (TaobaoItemAddAPIRequest) GetPicPath ¶
func (r TaobaoItemAddAPIRequest) GetPicPath() string
GetPicPath PicPath Getter
func (TaobaoItemAddAPIRequest) GetPostFee ¶
func (r TaobaoItemAddAPIRequest) GetPostFee() float64
GetPostFee PostFee Getter
func (TaobaoItemAddAPIRequest) GetPostageId ¶
func (r TaobaoItemAddAPIRequest) GetPostageId() int64
GetPostageId PostageId Getter
func (TaobaoItemAddAPIRequest) GetPrice ¶
func (r TaobaoItemAddAPIRequest) GetPrice() float64
GetPrice Price Getter
func (TaobaoItemAddAPIRequest) GetProductId ¶
func (r TaobaoItemAddAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TaobaoItemAddAPIRequest) GetPropertyAlias ¶
func (r TaobaoItemAddAPIRequest) GetPropertyAlias() string
GetPropertyAlias PropertyAlias Getter
func (TaobaoItemAddAPIRequest) GetProps ¶
func (r TaobaoItemAddAPIRequest) GetProps() string
GetProps Props Getter
func (TaobaoItemAddAPIRequest) GetQualification ¶
func (r TaobaoItemAddAPIRequest) GetQualification() string
GetQualification Qualification Getter
func (TaobaoItemAddAPIRequest) GetScenicTicketBookCost ¶
func (r TaobaoItemAddAPIRequest) GetScenicTicketBookCost() string
GetScenicTicketBookCost ScenicTicketBookCost Getter
func (TaobaoItemAddAPIRequest) GetScenicTicketPayWay ¶
func (r TaobaoItemAddAPIRequest) GetScenicTicketPayWay() int64
GetScenicTicketPayWay ScenicTicketPayWay Getter
func (TaobaoItemAddAPIRequest) GetSellPoint ¶
func (r TaobaoItemAddAPIRequest) GetSellPoint() string
GetSellPoint SellPoint Getter
func (TaobaoItemAddAPIRequest) GetSellPromise ¶
func (r TaobaoItemAddAPIRequest) GetSellPromise() bool
GetSellPromise SellPromise Getter
func (TaobaoItemAddAPIRequest) GetSellerCids ¶
func (r TaobaoItemAddAPIRequest) GetSellerCids() string
GetSellerCids SellerCids Getter
func (TaobaoItemAddAPIRequest) GetSkuBarcode ¶
func (r TaobaoItemAddAPIRequest) GetSkuBarcode() string
GetSkuBarcode SkuBarcode Getter
func (TaobaoItemAddAPIRequest) GetSkuDeliveryTimes ¶
func (r TaobaoItemAddAPIRequest) GetSkuDeliveryTimes() string
GetSkuDeliveryTimes SkuDeliveryTimes Getter
func (TaobaoItemAddAPIRequest) GetSkuHdHeight ¶
func (r TaobaoItemAddAPIRequest) GetSkuHdHeight() string
GetSkuHdHeight SkuHdHeight Getter
func (TaobaoItemAddAPIRequest) GetSkuHdLampQuantity ¶
func (r TaobaoItemAddAPIRequest) GetSkuHdLampQuantity() string
GetSkuHdLampQuantity SkuHdLampQuantity Getter
func (TaobaoItemAddAPIRequest) GetSkuHdLength ¶
func (r TaobaoItemAddAPIRequest) GetSkuHdLength() string
GetSkuHdLength SkuHdLength Getter
func (TaobaoItemAddAPIRequest) GetSkuOuterIds ¶
func (r TaobaoItemAddAPIRequest) GetSkuOuterIds() string
GetSkuOuterIds SkuOuterIds Getter
func (TaobaoItemAddAPIRequest) GetSkuPrices ¶
func (r TaobaoItemAddAPIRequest) GetSkuPrices() string
GetSkuPrices SkuPrices Getter
func (TaobaoItemAddAPIRequest) GetSkuProperties ¶
func (r TaobaoItemAddAPIRequest) GetSkuProperties() string
GetSkuProperties SkuProperties Getter
func (TaobaoItemAddAPIRequest) GetSkuQuantities ¶
func (r TaobaoItemAddAPIRequest) GetSkuQuantities() string
GetSkuQuantities SkuQuantities Getter
func (TaobaoItemAddAPIRequest) GetSkuSpecIds ¶
func (r TaobaoItemAddAPIRequest) GetSkuSpecIds() string
GetSkuSpecIds SkuSpecIds Getter
func (TaobaoItemAddAPIRequest) GetSpuConfirm ¶
func (r TaobaoItemAddAPIRequest) GetSpuConfirm() bool
GetSpuConfirm SpuConfirm Getter
func (TaobaoItemAddAPIRequest) GetStuffStatus ¶
func (r TaobaoItemAddAPIRequest) GetStuffStatus() string
GetStuffStatus StuffStatus Getter
func (TaobaoItemAddAPIRequest) GetSubStock ¶
func (r TaobaoItemAddAPIRequest) GetSubStock() int64
GetSubStock SubStock Getter
func (TaobaoItemAddAPIRequest) GetSupportCustomMade ¶
func (r TaobaoItemAddAPIRequest) GetSupportCustomMade() bool
GetSupportCustomMade SupportCustomMade Getter
func (TaobaoItemAddAPIRequest) GetTitle ¶
func (r TaobaoItemAddAPIRequest) GetTitle() string
GetTitle Title Getter
func (TaobaoItemAddAPIRequest) GetType ¶
func (r TaobaoItemAddAPIRequest) GetType() string
GetType Type Getter
func (TaobaoItemAddAPIRequest) GetValidThru ¶
func (r TaobaoItemAddAPIRequest) GetValidThru() int64
GetValidThru ValidThru Getter
func (TaobaoItemAddAPIRequest) GetVideoId ¶
func (r TaobaoItemAddAPIRequest) GetVideoId() int64
GetVideoId VideoId Getter
func (TaobaoItemAddAPIRequest) GetWeight ¶
func (r TaobaoItemAddAPIRequest) GetWeight() int64
GetWeight Weight Getter
func (TaobaoItemAddAPIRequest) GetWirelessDesc ¶
func (r TaobaoItemAddAPIRequest) GetWirelessDesc() string
GetWirelessDesc WirelessDesc Getter
func (*TaobaoItemAddAPIRequest) SetAfterSaleId ¶
func (r *TaobaoItemAddAPIRequest) SetAfterSaleId(_afterSaleId int64) error
SetAfterSaleId is AfterSaleId Setter 售后说明模板id
func (*TaobaoItemAddAPIRequest) SetApproveStatus ¶
func (r *TaobaoItemAddAPIRequest) SetApproveStatus(_approveStatus string) error
SetApproveStatus is ApproveStatus Setter 商品上传后的状态。可选值:onsale(出售中),instock(仓库中);默认值:onsale
func (*TaobaoItemAddAPIRequest) SetAuctionPoint ¶
func (r *TaobaoItemAddAPIRequest) SetAuctionPoint(_auctionPoint int64) error
SetAuctionPoint is AuctionPoint Setter 商品的积分返点比例。如:5,表示:返点比例0.5%. 注意:返点比例必须是>0的整数,而且最大是90,即为9%.B商家在发布非虚拟商品时,返点必须是 5的倍数,即0.5%的倍数。其它是1的倍数,即0.1%的倍数。无名良品商家发布商品时,复用该字段记录积分宝返点比例,返点必须是对应类目的返点步长的整数倍,默认是5,即0.5%。注意此时该字段值依旧必须是>0的整数,最高值不超过500,即50%
func (*TaobaoItemAddAPIRequest) SetAutoFill ¶
func (r *TaobaoItemAddAPIRequest) SetAutoFill(_autoFill string) error
SetAutoFill is AutoFill Setter 代充商品类型。在代充商品的类目下,不传表示不标记商品类型(交易搜索中就不能通过标记搜到相关的交易了)。可选类型: no_mark(不做类型标记) time_card(点卡软件代充) fee_card(话费软件代充)
func (*TaobaoItemAddAPIRequest) SetBarcode ¶
func (r *TaobaoItemAddAPIRequest) SetBarcode(_barcode string) error
SetBarcode is Barcode Setter 商品条形码
func (*TaobaoItemAddAPIRequest) SetBizCode ¶
func (r *TaobaoItemAddAPIRequest) SetBizCode(_bizCode string) error
SetBizCode is BizCode Setter 业务身份编码。淘小铺编码为"taobao-taoxiaopu"
func (*TaobaoItemAddAPIRequest) SetBrokerage ¶
func (r *TaobaoItemAddAPIRequest) SetBrokerage(_brokerage string) error
SetBrokerage is Brokerage Setter 仅淘小铺卖家需要。佣金比例(15.3对应的佣金比例为15.3%).只支持小数点后1位。多余的位数四舍五入(15.32会保存为15.3%
func (*TaobaoItemAddAPIRequest) SetChangeProp ¶
func (r *TaobaoItemAddAPIRequest) SetChangeProp(_changeProp string) error
SetChangeProp is ChangeProp Setter 基础色数据,淘宝不使用
func (*TaobaoItemAddAPIRequest) SetCid ¶
func (r *TaobaoItemAddAPIRequest) SetCid(_cid int64) error
SetCid is Cid Setter 叶子类目id
func (*TaobaoItemAddAPIRequest) SetCodPostageId ¶
func (r *TaobaoItemAddAPIRequest) SetCodPostageId(_codPostageId int64) error
SetCodPostageId is CodPostageId Setter 此为货到付款运费模板的ID,对应的JAVA类型是long,如果COD卖家应用了货到付款运费模板,此值要进行设置。该字段已经废弃
func (*TaobaoItemAddAPIRequest) SetCpvMemo ¶
func (r *TaobaoItemAddAPIRequest) SetCpvMemo(_cpvMemo string) error
SetCpvMemo is CpvMemo Setter 针对当前商品的标准属性值的补充说明,让买家更加了解商品信息减少交易纠纷
func (*TaobaoItemAddAPIRequest) SetCustomMadeTypeId ¶
func (r *TaobaoItemAddAPIRequest) SetCustomMadeTypeId(_customMadeTypeId string) error
SetCustomMadeTypeId is CustomMadeTypeId Setter 定制工具Id如果支持定制市场,这个值不填写,就用之前的定制工具Id,之前的定制工具Id没有值就默认为-1
func (*TaobaoItemAddAPIRequest) SetDeliveryTimeDeliveryTime ¶
func (r *TaobaoItemAddAPIRequest) SetDeliveryTimeDeliveryTime(_deliveryTimeDeliveryTime string) error
SetDeliveryTimeDeliveryTime is DeliveryTimeDeliveryTime Setter 商品级别设置的发货时间。设置了商品级别的发货时间,相对发货时间,则填写相对发货时间的天数(大于3);绝对发货时间,则填写yyyy-mm-dd格式,如2013-11-11
func (*TaobaoItemAddAPIRequest) SetDeliveryTimeDeliveryTimeType ¶
func (r *TaobaoItemAddAPIRequest) SetDeliveryTimeDeliveryTimeType(_deliveryTimeDeliveryTimeType string) error
SetDeliveryTimeDeliveryTimeType is DeliveryTimeDeliveryTimeType Setter 发货时间类型:绝对发货时间或者相对发货时间
func (*TaobaoItemAddAPIRequest) SetDeliveryTimeNeedDeliveryTime ¶
func (r *TaobaoItemAddAPIRequest) SetDeliveryTimeNeedDeliveryTime(_deliveryTimeNeedDeliveryTime string) error
SetDeliveryTimeNeedDeliveryTime is DeliveryTimeNeedDeliveryTime Setter 设置是否使用发货时间,商品级别,sku级别
func (*TaobaoItemAddAPIRequest) SetDesc ¶
func (r *TaobaoItemAddAPIRequest) SetDesc(_desc string) error
SetDesc is Desc Setter 宝贝描述。字数要大于5个字符,小于25000个字符,受违禁词控制
func (*TaobaoItemAddAPIRequest) SetDescModules ¶
func (r *TaobaoItemAddAPIRequest) SetDescModules(_descModules string) error
SetDescModules is DescModules Setter 已废弃
func (*TaobaoItemAddAPIRequest) SetEmsFee ¶
func (r *TaobaoItemAddAPIRequest) SetEmsFee(_emsFee float64) error
SetEmsFee is EmsFee Setter ems费用。取值范围:0.01-999.00;精确到2位小数;单位:元。如:25.07,表示:25元7分
func (*TaobaoItemAddAPIRequest) SetExpressFee ¶
func (r *TaobaoItemAddAPIRequest) SetExpressFee(_expressFee float64) error
SetExpressFee is ExpressFee Setter 快递费用。取值范围:0.01-999.00;精确到2位小数;单位:元。如:15.07,表示:15元7分
func (*TaobaoItemAddAPIRequest) SetFeatures ¶
func (r *TaobaoItemAddAPIRequest) SetFeatures(_features string) error
SetFeatures is Features Setter 宝贝特征值,格式为:【key1:value1;key2:value2;key3:value3;】,key和value用【:】分隔,key&value之间用【;】分隔,只有在Top支持的特征值才能保存到宝贝上,目前支持的Key列表为:mysize_tp
func (*TaobaoItemAddAPIRequest) SetFoodSecurityContact ¶
func (r *TaobaoItemAddAPIRequest) SetFoodSecurityContact(_foodSecurityContact string) error
SetFoodSecurityContact is FoodSecurityContact Setter 厂家联系方式
func (*TaobaoItemAddAPIRequest) SetFoodSecurityDesignCode ¶
func (r *TaobaoItemAddAPIRequest) SetFoodSecurityDesignCode(_foodSecurityDesignCode string) error
SetFoodSecurityDesignCode is FoodSecurityDesignCode Setter 产品标准号
func (*TaobaoItemAddAPIRequest) SetFoodSecurityFactory ¶
func (r *TaobaoItemAddAPIRequest) SetFoodSecurityFactory(_foodSecurityFactory string) error
SetFoodSecurityFactory is FoodSecurityFactory Setter 厂名
func (*TaobaoItemAddAPIRequest) SetFoodSecurityFactorySite ¶
func (r *TaobaoItemAddAPIRequest) SetFoodSecurityFactorySite(_foodSecurityFactorySite string) error
SetFoodSecurityFactorySite is FoodSecurityFactorySite Setter 厂址
func (*TaobaoItemAddAPIRequest) SetFoodSecurityFoodAdditive ¶
func (r *TaobaoItemAddAPIRequest) SetFoodSecurityFoodAdditive(_foodSecurityFoodAdditive string) error
SetFoodSecurityFoodAdditive is FoodSecurityFoodAdditive Setter 食品添加剂
func (*TaobaoItemAddAPIRequest) SetFoodSecurityHealthProductNo ¶
func (r *TaobaoItemAddAPIRequest) SetFoodSecurityHealthProductNo(_foodSecurityHealthProductNo string) error
SetFoodSecurityHealthProductNo is FoodSecurityHealthProductNo Setter 健字号,保健品/膳食营养补充剂 这个类目下特有的信息,此类目下无需填写生产许可证编号(QS),如果填写了生产许可证编号(QS)将被忽略不保存;保存宝贝时,标题前会自动加上健字号产品名称一起作为宝贝标题;
func (*TaobaoItemAddAPIRequest) SetFoodSecurityMix ¶
func (r *TaobaoItemAddAPIRequest) SetFoodSecurityMix(_foodSecurityMix string) error
SetFoodSecurityMix is FoodSecurityMix Setter 配料表
func (*TaobaoItemAddAPIRequest) SetFoodSecurityPeriod ¶
func (r *TaobaoItemAddAPIRequest) SetFoodSecurityPeriod(_foodSecurityPeriod string) error
SetFoodSecurityPeriod is FoodSecurityPeriod Setter 保质期,默认有单位,传入数字
func (*TaobaoItemAddAPIRequest) SetFoodSecurityPlanStorage ¶
func (r *TaobaoItemAddAPIRequest) SetFoodSecurityPlanStorage(_foodSecurityPlanStorage string) error
SetFoodSecurityPlanStorage is FoodSecurityPlanStorage Setter 储藏方法
func (*TaobaoItemAddAPIRequest) SetFoodSecurityPrdLicenseNo ¶
func (r *TaobaoItemAddAPIRequest) SetFoodSecurityPrdLicenseNo(_foodSecurityPrdLicenseNo string) error
SetFoodSecurityPrdLicenseNo is FoodSecurityPrdLicenseNo Setter 生产许可证号
func (*TaobaoItemAddAPIRequest) SetFoodSecurityProductDateEnd ¶
func (r *TaobaoItemAddAPIRequest) SetFoodSecurityProductDateEnd(_foodSecurityProductDateEnd string) error
SetFoodSecurityProductDateEnd is FoodSecurityProductDateEnd Setter 生产结束日期,格式必须为yyyy-MM-dd
func (*TaobaoItemAddAPIRequest) SetFoodSecurityProductDateStart ¶
func (r *TaobaoItemAddAPIRequest) SetFoodSecurityProductDateStart(_foodSecurityProductDateStart string) error
SetFoodSecurityProductDateStart is FoodSecurityProductDateStart Setter 生产开始日期,格式必须为yyyy-MM-dd
func (*TaobaoItemAddAPIRequest) SetFoodSecurityStockDateEnd ¶
func (r *TaobaoItemAddAPIRequest) SetFoodSecurityStockDateEnd(_foodSecurityStockDateEnd string) error
SetFoodSecurityStockDateEnd is FoodSecurityStockDateEnd Setter 进货结束日期,要在生产日期之后,格式必须为yyyy-MM-dd
func (*TaobaoItemAddAPIRequest) SetFoodSecurityStockDateStart ¶
func (r *TaobaoItemAddAPIRequest) SetFoodSecurityStockDateStart(_foodSecurityStockDateStart string) error
SetFoodSecurityStockDateStart is FoodSecurityStockDateStart Setter 进货开始日期,要在生产日期之后,格式必须为yyyy-MM-dd
func (*TaobaoItemAddAPIRequest) SetFoodSecuritySupplier ¶
func (r *TaobaoItemAddAPIRequest) SetFoodSecuritySupplier(_foodSecuritySupplier string) error
SetFoodSecuritySupplier is FoodSecuritySupplier Setter 供货商
func (*TaobaoItemAddAPIRequest) SetFreightPayer ¶
func (r *TaobaoItemAddAPIRequest) SetFreightPayer(_freightPayer string) error
SetFreightPayer is FreightPayer Setter 运费承担方式。可选值:seller(卖家承担),buyer(买家承担);默认值:seller。卖家承担不用设置邮费和postage_id.买家承担的时候,必填邮费和postage_id 如果用户设置了运费模板会优先使用运费模板,否则要同步设置邮费(post_fee,express_fee,ems_fee)
func (*TaobaoItemAddAPIRequest) SetGlobalStockCountry ¶
func (r *TaobaoItemAddAPIRequest) SetGlobalStockCountry(_globalStockCountry string) error
SetGlobalStockCountry is GlobalStockCountry Setter 全球购商品采购地(地区/国家),默认值只在全球购商品采购地(库存类型选择情况生效),地区国家值请填写法定的国家名称,类如(美国, 香港, 日本, 英国, 新西兰, 德国, 韩国, 荷兰, 法国, 意大利, 台湾, 澳门, 加拿大, 瑞士, 西班牙, 泰国, 新加坡, 马来西亚, 菲律宾),不要使用其他
func (*TaobaoItemAddAPIRequest) SetGlobalStockDeliveryPlace ¶
func (r *TaobaoItemAddAPIRequest) SetGlobalStockDeliveryPlace(_globalStockDeliveryPlace string) error
SetGlobalStockDeliveryPlace is GlobalStockDeliveryPlace Setter 全球购商品发货地,发货地现在有两种类型:“国内”和“海外及港澳台”,参数值为1时代表“国内”,值为2时代表“海外及港澳台”,默认为国内。注意:卖家必须已经签署并启用“海外直邮”合约,才能选择发货地为“海外及港澳台”
func (*TaobaoItemAddAPIRequest) SetGlobalStockTaxFreePromise ¶
func (r *TaobaoItemAddAPIRequest) SetGlobalStockTaxFreePromise(_globalStockTaxFreePromise bool) error
SetGlobalStockTaxFreePromise is GlobalStockTaxFreePromise Setter 全球购商品卖家包税承诺,当值为true时,代表卖家承诺包税。注意:请与“全球购商品发货地”配合使用,包税承诺必须满足:1、发货地为海外及港澳台 2、卖家已经签署并启用“包税合约”合约
func (*TaobaoItemAddAPIRequest) SetGlobalStockType ¶
func (r *TaobaoItemAddAPIRequest) SetGlobalStockType(_globalStockType string) error
SetGlobalStockType is GlobalStockType Setter 全球购商品采购地(库存类型),有两种库存类型:现货和代购参数值为1时代表现货,值为2时代表代购。注意:使用时请与 全球购商品采购地(地区/国家)配合使用
func (*TaobaoItemAddAPIRequest) SetHasDiscount ¶
func (r *TaobaoItemAddAPIRequest) SetHasDiscount(_hasDiscount bool) error
SetHasDiscount is HasDiscount Setter 支持会员打折。可选值:true,false;默认值:false(不打折)
func (*TaobaoItemAddAPIRequest) SetHasInvoice ¶
func (r *TaobaoItemAddAPIRequest) SetHasInvoice(_hasInvoice bool) error
SetHasInvoice is HasInvoice Setter 是否有发票。可选值:true,false (商城卖家此字段必须为true);默认值:false(无发票)
func (*TaobaoItemAddAPIRequest) SetHasShowcase ¶
func (r *TaobaoItemAddAPIRequest) SetHasShowcase(_hasShowcase bool) error
SetHasShowcase is HasShowcase Setter 橱窗推荐。可选值:true,false;默认值:false(不推荐)
func (*TaobaoItemAddAPIRequest) SetHasWarranty ¶
func (r *TaobaoItemAddAPIRequest) SetHasWarranty(_hasWarranty bool) error
SetHasWarranty is HasWarranty Setter 是否有保修。可选值:true,false;默认值:false(不保修)
func (*TaobaoItemAddAPIRequest) SetIgnorewarning ¶
func (r *TaobaoItemAddAPIRequest) SetIgnorewarning(_ignorewarning string) error
SetIgnorewarning is Ignorewarning Setter 忽略警告提示.
func (*TaobaoItemAddAPIRequest) SetImage ¶
func (r *TaobaoItemAddAPIRequest) SetImage(_image *model.File) error
SetImage is Image Setter 商品主图片。类型:JPG,GIF;最大长度:3M。(推荐使用pic_path字段,先把图片上传到卖家图片空间)
func (*TaobaoItemAddAPIRequest) SetImageUrls ¶
func (r *TaobaoItemAddAPIRequest) SetImageUrls(_imageUrls []string) error
SetImageUrls is ImageUrls Setter 此字段已经废弃,不再使用
func (*TaobaoItemAddAPIRequest) SetIncrement ¶
func (r *TaobaoItemAddAPIRequest) SetIncrement(_increment float64) error
SetIncrement is Increment Setter 加价(降价)幅度。如果为0,代表系统代理幅度。对于增价拍和荷兰拍来说是加价幅度,对于降价拍来说是降价幅度。
func (*TaobaoItemAddAPIRequest) SetInputCustomCpv ¶
func (r *TaobaoItemAddAPIRequest) SetInputCustomCpv(_inputCustomCpv string) error
SetInputCustomCpv is InputCustomCpv Setter 针对当前商品的自定义属性值,目前是针对销售属性值自定义的,所以调用方需要把自定义属性值对应的虚拟属性值ID(负整数,例如例子中的 -1和-2)像标准属性值值的id一样设置到SKU上,如果自定义属性值有属性值图片,也要设置到属性图片上
func (*TaobaoItemAddAPIRequest) SetInputPids ¶
func (r *TaobaoItemAddAPIRequest) SetInputPids(_inputPids string) error
SetInputPids is InputPids Setter 用户自行输入的类目属性ID串,结构:"pid1,pid2,pid3",如:"20000"(表示品牌) 注:通常一个类目下用户可输入的关键属性不超过1个。
func (*TaobaoItemAddAPIRequest) SetInputStr ¶
func (r *TaobaoItemAddAPIRequest) SetInputStr(_inputStr string) error
SetInputStr is InputStr Setter 用户自行输入的子属性名和属性值,结构:"父属性值;一级子属性名;一级子属性值;二级子属性名;自定义输入值,....",如:“耐克;耐克系列;科比系列;科比系列;2K5,Nike乔丹鞋;乔丹系列;乔丹鞋系列;乔丹鞋系列;json5”,多个自定义属性用','分割,input_str需要与input_pids一一对应,注:通常一个类目下用户可输入的关键属性不超过1个。所有属性别名加起来不能超过3999字节。此处不可以使用“其他”、“其它”和“其她”这三个词。
func (*TaobaoItemAddAPIRequest) SetInteractiveId ¶
func (r *TaobaoItemAddAPIRequest) SetInteractiveId(_interactiveId int64) error
SetInteractiveId is InteractiveId Setter 主图视频互动信息id,必须填写主图视频id才能有互动信息id
func (*TaobaoItemAddAPIRequest) SetIs3D ¶
func (r *TaobaoItemAddAPIRequest) SetIs3D(_is3D bool) error
SetIs3D is Is3D Setter 是否是3D
func (*TaobaoItemAddAPIRequest) SetIsEx ¶
func (r *TaobaoItemAddAPIRequest) SetIsEx(_isEx bool) error
SetIsEx is IsEx Setter 是否在外店显示
func (*TaobaoItemAddAPIRequest) SetIsLightningConsignment ¶
func (r *TaobaoItemAddAPIRequest) SetIsLightningConsignment(_isLightningConsignment bool) error
SetIsLightningConsignment is IsLightningConsignment Setter 实物闪电发货
func (*TaobaoItemAddAPIRequest) SetIsOffline ¶
func (r *TaobaoItemAddAPIRequest) SetIsOffline(_isOffline string) error
SetIsOffline is IsOffline Setter 是否是线下商品。1:线上商品(默认值);2:线上或线下商品;3:线下商品。
func (*TaobaoItemAddAPIRequest) SetIsTaobao ¶
func (r *TaobaoItemAddAPIRequest) SetIsTaobao(_isTaobao bool) error
SetIsTaobao is IsTaobao Setter 是否在淘宝上显示(如果传FALSE,则在淘宝主站无法显示该商品)
func (*TaobaoItemAddAPIRequest) SetIsXinpin ¶
func (r *TaobaoItemAddAPIRequest) SetIsXinpin(_isXinpin bool) error
SetIsXinpin is IsXinpin Setter 商品是否为新品。只有在当前类目开通新品,并且当前用户拥有该类目下发布新品权限时才能设置is_xinpin为true,否则设置true后会返回错误码:isv.invalid-permission:add-xinpin。同时只有一口价全新的宝贝才能设置为新品,否则会返回错误码:isv.invalid-parameter:xinpin。不设置该参数值或设置为false效果一致。
func (*TaobaoItemAddAPIRequest) SetItemSize ¶
func (r *TaobaoItemAddAPIRequest) SetItemSize(_itemSize string) error
SetItemSize is ItemSize Setter 表示商品的体积,如果需要使用按体积计费的运费模板,一定要设置这个值。该值的单位为立方米(m3),如果是其他单位,请转换成成立方米。该值支持两种格式的设置:格式1:bulk:3,单位为立方米(m3),表示直接设置为商品的体积。格式2:length:10;breadth:10;height:10,单位为米(m)。体积和长宽高都支持小数类型。在传入体积或长宽高时候,不能带单位。体积的单位默认为立方米(m3),长宽高的单位默认为米(m)该值支持两种格式的设置:格式1:bulk:3,单位为立方米(m3),表示直接设置为商品的体积。格式2:length:10;breadth:10;height:10,单位为米(m)
func (*TaobaoItemAddAPIRequest) SetItemWeight ¶
func (r *TaobaoItemAddAPIRequest) SetItemWeight(_itemWeight string) error
SetItemWeight is ItemWeight Setter 商品的重量,用于按重量计费的运费模板。注意:单位为kg。只能传入数值类型(包含小数),不能带单位,单位默认为kg。
func (*TaobaoItemAddAPIRequest) SetLang ¶
func (r *TaobaoItemAddAPIRequest) SetLang(_lang string) error
SetLang is Lang Setter 商品文字的字符集。繁体传入"zh_HK",简体传入"zh_CN",不传默认为简体
func (*TaobaoItemAddAPIRequest) SetLeaseExtendsInfo ¶
func (r *TaobaoItemAddAPIRequest) SetLeaseExtendsInfo(_leaseExtendsInfo string) error
SetLeaseExtendsInfo is LeaseExtendsInfo Setter 租赁扩展信息
func (*TaobaoItemAddAPIRequest) SetListTime ¶
func (r *TaobaoItemAddAPIRequest) SetListTime(_listTime string) error
SetListTime is ListTime Setter 定时上架时间。(时间格式:yyyy-MM-dd HH:mm:ss)
func (*TaobaoItemAddAPIRequest) SetLocalityLifeChooseLogis ¶
func (r *TaobaoItemAddAPIRequest) SetLocalityLifeChooseLogis(_localityLifeChooseLogis string) error
SetLocalityLifeChooseLogis is LocalityLifeChooseLogis Setter 发布电子凭证宝贝时候表示是否使用邮寄 0: 代表不使用邮寄; 1:代表使用邮寄;如果不设置这个值,代表不使用邮寄
func (*TaobaoItemAddAPIRequest) SetLocalityLifeEticket ¶
func (r *TaobaoItemAddAPIRequest) SetLocalityLifeEticket(_localityLifeEticket string) error
SetLocalityLifeEticket is LocalityLifeEticket Setter 电子凭证业务属性,数据字典是: 1、is_card:1 (暂时不用) 2、consume_way:4 (1 串码 ,4 身份证)3、consume_midmnick :(核销放行账号:用户id-用户名,支持多个,用逗号分隔,例如 1234-测试账号35,1345-测试账号56)4、market:eticket (电子凭证商品标记) 5、has_pos:1 (1 表示商品配置线下门店,在detail上进行展示 ,没有或者其他值只不展示)格式是: k1:v2;k2:v2;........ 如:has_pos:1;market:eticket;consume_midmnick:901409638-OPPO;consume_way:4
func (*TaobaoItemAddAPIRequest) SetLocalityLifeExpirydate ¶
func (r *TaobaoItemAddAPIRequest) SetLocalityLifeExpirydate(_localityLifeExpirydate string) error
SetLocalityLifeExpirydate is LocalityLifeExpirydate Setter 本地生活电子交易凭证业务,目前此字段只涉及到的信息为有效期;如果有效期为起止日期类型,此值为2012-08-06,2012-08-16如果有效期为【购买成功日 至】类型则格式为2012-08-16如果有效期为天数类型则格式为15
func (*TaobaoItemAddAPIRequest) SetLocalityLifeMerchant ¶
func (r *TaobaoItemAddAPIRequest) SetLocalityLifeMerchant(_localityLifeMerchant string) error
SetLocalityLifeMerchant is LocalityLifeMerchant Setter 码商信息,格式为 码商id:nick
func (*TaobaoItemAddAPIRequest) SetLocalityLifeNetworkId ¶
func (r *TaobaoItemAddAPIRequest) SetLocalityLifeNetworkId(_localityLifeNetworkId string) error
SetLocalityLifeNetworkId is LocalityLifeNetworkId Setter 网点ID
func (*TaobaoItemAddAPIRequest) SetLocalityLifeObs ¶
func (r *TaobaoItemAddAPIRequest) SetLocalityLifeObs(_localityLifeObs string) error
SetLocalityLifeObs is LocalityLifeObs Setter 预约门店是否支持门店自提,1:是
func (*TaobaoItemAddAPIRequest) SetLocalityLifeOnsaleAutoRefundRatio ¶
func (r *TaobaoItemAddAPIRequest) SetLocalityLifeOnsaleAutoRefundRatio(_localityLifeOnsaleAutoRefundRatio int64) error
SetLocalityLifeOnsaleAutoRefundRatio is LocalityLifeOnsaleAutoRefundRatio Setter 电子凭证售中自动退款比例,百分比%前的数字,介于1-100之间的整数
func (*TaobaoItemAddAPIRequest) SetLocalityLifePackageid ¶
func (r *TaobaoItemAddAPIRequest) SetLocalityLifePackageid(_localityLifePackageid string) error
SetLocalityLifePackageid is LocalityLifePackageid Setter 新版电子凭证包 id
func (*TaobaoItemAddAPIRequest) SetLocalityLifeRefundRatio ¶
func (r *TaobaoItemAddAPIRequest) SetLocalityLifeRefundRatio(_localityLifeRefundRatio int64) error
SetLocalityLifeRefundRatio is LocalityLifeRefundRatio Setter 退款比例,百分比%前的数字,1-100的正整数值
func (*TaobaoItemAddAPIRequest) SetLocalityLifeRefundmafee ¶
func (r *TaobaoItemAddAPIRequest) SetLocalityLifeRefundmafee(_localityLifeRefundmafee string) error
SetLocalityLifeRefundmafee is LocalityLifeRefundmafee Setter 退款码费承担方。发布电子凭证宝贝的时候会增加“退款码费承担方”配置项,可选填:(1)s(卖家承担) (2)b(买家承担)
func (*TaobaoItemAddAPIRequest) SetLocalityLifeVerification ¶
func (r *TaobaoItemAddAPIRequest) SetLocalityLifeVerification(_localityLifeVerification string) error
SetLocalityLifeVerification is LocalityLifeVerification Setter 核销打款 1代表核销打款 0代表非核销打款
func (*TaobaoItemAddAPIRequest) SetLocalityLifeVersion ¶
func (r *TaobaoItemAddAPIRequest) SetLocalityLifeVersion(_localityLifeVersion string) error
SetLocalityLifeVersion is LocalityLifeVersion Setter 新版电子凭证字段
func (*TaobaoItemAddAPIRequest) SetLocationCity ¶
func (r *TaobaoItemAddAPIRequest) SetLocationCity(_locationCity string) error
SetLocationCity is LocationCity Setter 所在地城市。如杭州 。
func (*TaobaoItemAddAPIRequest) SetLocationState ¶
func (r *TaobaoItemAddAPIRequest) SetLocationState(_locationState string) error
SetLocationState is LocationState Setter 所在地省份。如浙江
func (*TaobaoItemAddAPIRequest) SetMsPaymentPrice ¶
func (r *TaobaoItemAddAPIRequest) SetMsPaymentPrice(_msPaymentPrice string) error
SetMsPaymentPrice is MsPaymentPrice Setter 订金。在“线上付订金线下付尾款”模式中,有订金、尾款可抵扣金额和参考价,三者需要同时填写。该商品订单首次支付价格为 订金 价格,用户可根据 参考价 估算全款。该模式有别于“一口价”付款方式,针对一个商品,只能选择两种付款方式中的一种,其适用于家装、二手车等场景。详见说明:http://bangpai.taobao.com/group/thread/15031186-303287205.htm
func (*TaobaoItemAddAPIRequest) SetMsPaymentReferencePrice ¶
func (r *TaobaoItemAddAPIRequest) SetMsPaymentReferencePrice(_msPaymentReferencePrice string) error
SetMsPaymentReferencePrice is MsPaymentReferencePrice Setter 参考价。该商品订单首次支付价格为 订金 价格,用户可根据 参考价 估算全款。详见说明:http://bangpai.taobao.com/group/thread/15031186-303287205.htm
func (*TaobaoItemAddAPIRequest) SetMsPaymentVoucherPrice ¶
func (r *TaobaoItemAddAPIRequest) SetMsPaymentVoucherPrice(_msPaymentVoucherPrice string) error
SetMsPaymentVoucherPrice is MsPaymentVoucherPrice Setter 尾款可抵扣金额。详见说明:http://bangpai.taobao.com/group/thread/15031186-303287205.htm
func (*TaobaoItemAddAPIRequest) SetNewprepay ¶
func (r *TaobaoItemAddAPIRequest) SetNewprepay(_newprepay string) error
SetNewprepay is Newprepay Setter 该宝贝是否支持【7天无理由退货】,卖家选择的值只是一个因素,最终以类目和选择的属性条件来确定是否支持7天。填入字符0,表示不支持;未填写或填人字符1,表示支持7天无理由退货;
func (*TaobaoItemAddAPIRequest) SetNum ¶
func (r *TaobaoItemAddAPIRequest) SetNum(_num int64) error
SetNum is Num Setter 商品数量。取值范围:0-900000000的整数。且需要等于Sku所有数量的和。拍卖商品中增加拍只能为1,荷兰拍要在[2,500)范围内。
func (*TaobaoItemAddAPIRequest) SetO2oBindService ¶
func (r *TaobaoItemAddAPIRequest) SetO2oBindService(_o2oBindService bool) error
SetO2oBindService is O2oBindService Setter 汽车O2O绑定线下服务标记,如不为空,表示关联服务,否则,不关联服务。
func (*TaobaoItemAddAPIRequest) SetOuterId ¶
func (r *TaobaoItemAddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 商品外部编码,该字段的最大长度是64个字节
func (*TaobaoItemAddAPIRequest) SetPaimaiInfoDeposit ¶
func (r *TaobaoItemAddAPIRequest) SetPaimaiInfoDeposit(_paimaiInfoDeposit int64) error
SetPaimaiInfoDeposit is PaimaiInfoDeposit Setter 拍卖宝贝的保证金。对于增价拍和荷兰拍来说保证金有两种模式:淘宝默认模式(首次出价金额的10%),自定义固定保证金(固定冻结金额只能输入不超过30万的正整数),并且保证金只冻结1次。对于降价拍来说保证金只有淘宝默认的(竞拍价格的10% * 竞拍数量),并且每次出价都需要冻结保证金。对于拍卖宝贝来说,保证金是必须的,但是默认使用淘宝默认保证金模式,只有用户需要使用自定义固定保证金的时候才需要使用到这个参数,如果该参数不传或传入0则代表使用默认。
func (*TaobaoItemAddAPIRequest) SetPaimaiInfoInterval ¶
func (r *TaobaoItemAddAPIRequest) SetPaimaiInfoInterval(_paimaiInfoInterval int64) error
SetPaimaiInfoInterval is PaimaiInfoInterval Setter 降价拍宝贝的降价周期(分钟)。降价拍宝贝的价格每隔paimai_info.interval时间会下降一次increment。
func (*TaobaoItemAddAPIRequest) SetPaimaiInfoMode ¶
func (r *TaobaoItemAddAPIRequest) SetPaimaiInfoMode(_paimaiInfoMode int64) error
SetPaimaiInfoMode is PaimaiInfoMode Setter 拍卖商品选择的拍卖类型,拍卖类型包括三种:增价拍(1),荷兰拍(2)和降价拍(3)。
func (*TaobaoItemAddAPIRequest) SetPaimaiInfoReserve ¶
func (r *TaobaoItemAddAPIRequest) SetPaimaiInfoReserve(_paimaiInfoReserve float64) error
SetPaimaiInfoReserve is PaimaiInfoReserve Setter 降价拍宝贝的保留价。对于降价拍来说,paimai_info.reserve必须大于0,且小于price-increment,而且(price-paimai_info.reserve)/increment的计算结果必须为整数
func (*TaobaoItemAddAPIRequest) SetPaimaiInfoValidHour ¶
func (r *TaobaoItemAddAPIRequest) SetPaimaiInfoValidHour(_paimaiInfoValidHour int64) error
SetPaimaiInfoValidHour is PaimaiInfoValidHour Setter 自定义销售周期的小时数。拍卖宝贝可以自定义销售周期,这里指定销售周期的小时数。注意,该参数只作为输入参数,不能通过taobao.item.get接口获取。
func (*TaobaoItemAddAPIRequest) SetPaimaiInfoValidMinute ¶
func (r *TaobaoItemAddAPIRequest) SetPaimaiInfoValidMinute(_paimaiInfoValidMinute int64) error
SetPaimaiInfoValidMinute is PaimaiInfoValidMinute Setter 自定义销售周期的分钟数。拍卖宝贝可以自定义销售周期,这里是指定销售周期的分钟数。自定义销售周期的小时数。拍卖宝贝可以自定义销售周期,这里指定销售周期的小时数。注意,该参数只作为输入参数,不能通过taobao.item.get接口获取。
func (*TaobaoItemAddAPIRequest) SetPicPath ¶
func (r *TaobaoItemAddAPIRequest) SetPicPath(_picPath string) error
SetPicPath is PicPath Setter (推荐)商品主图需要关联的图片空间的相对url。这个url所对应的图片必须要属于当前用户。pic_path和image只需要传入一个,如果两个都传,默认选择pic_path
func (*TaobaoItemAddAPIRequest) SetPostFee ¶
func (r *TaobaoItemAddAPIRequest) SetPostFee(_postFee float64) error
SetPostFee is PostFee Setter 平邮费用。取值范围:0.01-999.00;精确到2位小数;单位:元。如:5.07,表示:5元7分. 注:post_fee,express_fee,ems_fee需要一起填写
func (*TaobaoItemAddAPIRequest) SetPostageId ¶
func (r *TaobaoItemAddAPIRequest) SetPostageId(_postageId int64) error
SetPostageId is PostageId Setter 宝贝所属的运费模板ID。取值范围:整数且必须是该卖家的运费模板的ID(可通过taobao.delivery.template.get获得当前会话用户的所有邮费模板)
func (*TaobaoItemAddAPIRequest) SetPrice ¶
func (r *TaobaoItemAddAPIRequest) SetPrice(_price float64) error
SetPrice is Price Setter 商品价格。取值范围:0-100000000;精确到2位小数;单位:元。如:200.07,表示:200元7分。需要在正确的价格区间内。拍卖商品对应的起拍价。
func (*TaobaoItemAddAPIRequest) SetProductId ¶
func (r *TaobaoItemAddAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 商品所属的产品ID(B商家发布商品需要用)
func (*TaobaoItemAddAPIRequest) SetPropertyAlias ¶
func (r *TaobaoItemAddAPIRequest) SetPropertyAlias(_propertyAlias string) error
SetPropertyAlias is PropertyAlias Setter 属性值别名。如pid:vid:别名;pid1:vid1:别名1 ,其中:pid是属性id vid是属性值id。总长度不超过800个字符,如"123:333:你好",引号内的是10个字符。
func (*TaobaoItemAddAPIRequest) SetProps ¶
func (r *TaobaoItemAddAPIRequest) SetProps(_props string) error
SetProps is Props Setter 商品属性列表。格式:pid:vid;pid:vid。属性的pid调用taobao.itemprops.get取得,属性值的vid用taobao.itempropvalues.get取得vid。 如果该类目下面没有属性,可以不用填写。如果有属性,必选属性必填,其他非必选属性可以选择不填写.属性不能超过35对。所有属性加起来包括分割符不能超过549字节,单个属性没有限制。 如果有属性是可输入的话,则用字段input_str填入属性的值
func (*TaobaoItemAddAPIRequest) SetQualification ¶
func (r *TaobaoItemAddAPIRequest) SetQualification(_qualification string) error
SetQualification is Qualification Setter 商品资质信息
func (*TaobaoItemAddAPIRequest) SetScenicTicketBookCost ¶
func (r *TaobaoItemAddAPIRequest) SetScenicTicketBookCost(_scenicTicketBookCost string) error
SetScenicTicketBookCost is ScenicTicketBookCost Setter 景区门票在选择订金支付时候,需要交的预订费。传入的值是1到20之间的数值,小数点后最多可以保留两位(多余的部分将做四舍五入的处理)。这个数值表示的是预订费的比例,最终的预订费为 scenic_ticket_book_cost乘一口价除以100
func (*TaobaoItemAddAPIRequest) SetScenicTicketPayWay ¶
func (r *TaobaoItemAddAPIRequest) SetScenicTicketPayWay(_scenicTicketPayWay int64) error
SetScenicTicketPayWay is ScenicTicketPayWay Setter 景区门票类宝贝发布时候,当卖家签订了支付宝代扣协议时候,需要选择支付方式:全额支付和订金支付。当scenic_ticket_pay_way为1时表示全额支付,为2时表示订金支付
func (*TaobaoItemAddAPIRequest) SetSellPoint ¶
func (r *TaobaoItemAddAPIRequest) SetSellPoint(_sellPoint string) error
SetSellPoint is SellPoint Setter 商品卖点信息,最长150个字符。天猫商家和集市卖家都可用。
func (*TaobaoItemAddAPIRequest) SetSellPromise ¶
func (r *TaobaoItemAddAPIRequest) SetSellPromise(_sellPromise bool) error
SetSellPromise is SellPromise Setter 是否承诺退换货服务!虚拟商品无须设置此项!
func (*TaobaoItemAddAPIRequest) SetSellerCids ¶
func (r *TaobaoItemAddAPIRequest) SetSellerCids(_sellerCids string) error
SetSellerCids is SellerCids Setter 商品所属的店铺类目列表。按逗号分隔。结构:",cid1,cid2,...,",如果店铺类目存在二级类目,必须传入子类目cids。
func (*TaobaoItemAddAPIRequest) SetSkuBarcode ¶
func (r *TaobaoItemAddAPIRequest) SetSkuBarcode(_skuBarcode string) error
SetSkuBarcode is SkuBarcode Setter sku层面的条形码,多个SKU情况,与SKU价格库存格式类似,用逗号分隔
func (*TaobaoItemAddAPIRequest) SetSkuDeliveryTimes ¶
func (r *TaobaoItemAddAPIRequest) SetSkuDeliveryTimes(_skuDeliveryTimes string) error
SetSkuDeliveryTimes is SkuDeliveryTimes Setter 此参数暂时不起作用
func (*TaobaoItemAddAPIRequest) SetSkuHdHeight ¶
func (r *TaobaoItemAddAPIRequest) SetSkuHdHeight(_skuHdHeight string) error
SetSkuHdHeight is SkuHdHeight Setter 家装建材类目,商品SKU的高度,单位为cm,部分类目必选。 天猫和淘宝格式不同。天猫:可选值为:"0-15", "15-25", "25-50", "50-60", "60-80", "80-120", "120-160", "160-200"。 数据和SKU一一对应,用,分隔,格式如:15-25,25-50,25-50。 淘宝:正整数,单位为cm,格式如:20,30,30
func (*TaobaoItemAddAPIRequest) SetSkuHdLampQuantity ¶
func (r *TaobaoItemAddAPIRequest) SetSkuHdLampQuantity(_skuHdLampQuantity string) error
SetSkuHdLampQuantity is SkuHdLampQuantity Setter 家装建材类目,商品SKU的灯头数量,正整数,大于等于3,部分类目必选。天猫商家专用。 数据和SKU一一对应,用,分隔,如:3,5,7
func (*TaobaoItemAddAPIRequest) SetSkuHdLength ¶
func (r *TaobaoItemAddAPIRequest) SetSkuHdLength(_skuHdLength string) error
SetSkuHdLength is SkuHdLength Setter 家装建材类目,商品SKU的长度,正整数,单位为cm,部分类目必选。 数据和SKU一一对应,用,分隔,如:20,30,30
func (*TaobaoItemAddAPIRequest) SetSkuOuterIds ¶
func (r *TaobaoItemAddAPIRequest) SetSkuOuterIds(_skuOuterIds string) error
SetSkuOuterIds is SkuOuterIds Setter Sku的外部id串,结构如:1234,1342,… sku_properties, sku_quantities, sku_prices, sku_outer_ids在输入数据时要一一对应,如果没有sku_outer_ids也要写上这个参数,入参是","(这个是两个sku的示列,逗号数应该是sku个数减1);该参数最大长度是512个字节
func (*TaobaoItemAddAPIRequest) SetSkuPrices ¶
func (r *TaobaoItemAddAPIRequest) SetSkuPrices(_skuPrices string) error
SetSkuPrices is SkuPrices Setter Sku的价格串,结构如:10.00,5.00,… 精确到2位小数;单位:元。如:200.07,表示:200元7分
func (*TaobaoItemAddAPIRequest) SetSkuProperties ¶
func (r *TaobaoItemAddAPIRequest) SetSkuProperties(_skuProperties string) error
SetSkuProperties is SkuProperties Setter 更新的sku的属性串,调用taobao.itemprops.get获取。格式:pid1:vid;pid2:vid,多个sku属性之间用逗号分隔。该字段内的属性需要在props字段同时包含。如果新增商品包含了sku,则此字段一定要传入,字段长度要控制在512个字节以内。
func (*TaobaoItemAddAPIRequest) SetSkuQuantities ¶
func (r *TaobaoItemAddAPIRequest) SetSkuQuantities(_skuQuantities string) error
SetSkuQuantities is SkuQuantities Setter Sku的数量串,结构如:num1,num2,num3 如:2,3
func (*TaobaoItemAddAPIRequest) SetSkuSpecIds ¶
func (r *TaobaoItemAddAPIRequest) SetSkuSpecIds(_skuSpecIds string) error
SetSkuSpecIds is SkuSpecIds Setter 此参数暂时不起作用
func (*TaobaoItemAddAPIRequest) SetSpuConfirm ¶
func (r *TaobaoItemAddAPIRequest) SetSpuConfirm(_spuConfirm bool) error
SetSpuConfirm is SpuConfirm Setter 手机类目spu 优化,信息确认字段
func (*TaobaoItemAddAPIRequest) SetStuffStatus ¶
func (r *TaobaoItemAddAPIRequest) SetStuffStatus(_stuffStatus string) error
SetStuffStatus is StuffStatus Setter 新旧程度。可选值:new(新),second(二手)。B商家不能发布二手商品。如果是二手商品,特定类目下属性里面必填新旧成色属性
func (*TaobaoItemAddAPIRequest) SetSubStock ¶
func (r *TaobaoItemAddAPIRequest) SetSubStock(_subStock int64) error
SetSubStock is SubStock Setter 商品是否支持拍下减库存:1支持;2取消支持(付款减库存);0(默认)不更改集市卖家默认拍下减库存;商城卖家默认付款减库存
func (*TaobaoItemAddAPIRequest) SetSupportCustomMade ¶
func (r *TaobaoItemAddAPIRequest) SetSupportCustomMade(_supportCustomMade bool) error
SetSupportCustomMade is SupportCustomMade Setter 是否支持定制市场 true代表支持,false代表支持,如果为空代表与之前保持不变不会修改
func (*TaobaoItemAddAPIRequest) SetTitle ¶
func (r *TaobaoItemAddAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 宝贝标题。不能超过30字符,受违禁词控制。天猫图书管控类目最大允许120字符;
func (*TaobaoItemAddAPIRequest) SetType ¶
func (r *TaobaoItemAddAPIRequest) SetType(_type string) error
SetType is Type Setter 发布类型。可选值:fixed(一口价),auction(拍卖)。B商家不能发布拍卖商品,而且拍卖商品是没有SKU的。拍卖商品发布时需要附加拍卖商品信息:拍卖类型(paimai_info.mode,拍卖类型包括三种:增价拍[1],荷兰拍[2]以及降价拍[3]),商品数量(num),起拍价(price),价格幅度(increament),保证金(paimai_info.deposit)。另外拍卖商品支持自定义销售周期,通过paimai_info.valid_hour和paimai_info.valid_minute来指定。对于降价拍来说需要设置降价周期(paimai_info.interval)和拍卖保留价(paimai_info.reserve)。注意:通过taobao.item.get接口获取拍卖信息时,会返回除了valid_hour和valid_minute之外的所有拍卖信息。
func (*TaobaoItemAddAPIRequest) SetValidThru ¶
func (r *TaobaoItemAddAPIRequest) SetValidThru(_validThru int64) error
SetValidThru is ValidThru Setter 有效期。可选值:7,14;单位:天;默认值:14
func (*TaobaoItemAddAPIRequest) SetVideoId ¶
func (r *TaobaoItemAddAPIRequest) SetVideoId(_videoId int64) error
SetVideoId is VideoId Setter 主图视频id
func (*TaobaoItemAddAPIRequest) SetWeight ¶
func (r *TaobaoItemAddAPIRequest) SetWeight(_weight int64) error
SetWeight is Weight Setter 商品的重量(商超卖家专用字段)
func (*TaobaoItemAddAPIRequest) SetWirelessDesc ¶
func (r *TaobaoItemAddAPIRequest) SetWirelessDesc(_wirelessDesc string) error
SetWirelessDesc is WirelessDesc Setter 无线的宝贝描述
type TaobaoItemAddAPIResponse ¶
type TaobaoItemAddAPIResponse struct { model.CommonResponse TaobaoItemAddAPIResponseModel }
TaobaoItemAddAPIResponse 添加一个商品 API返回值 taobao.item.add
此接口用于新增一个淘宝商品 商品的属性和sku的属性有包含的关系,商品的价格要位于sku的价格区间之中(例如,sku价格有5元、10元两种,那么商品的价格就需要大于等于5元,小于等于10元,否则新增商品会失败) 商品的类目和商品的价格、sku的价格都有一定的相关性(具体的关系要通过类目属性查询接口获得) 商品的运费承担方式和邮费设置有相关性,卖家承担运费不用设置邮费,买家承担运费需要设置邮费 当关键属性值选择了“其他”的时候,需要输入input_pids和input_str商品才能添加成功。 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
type TaobaoItemAddAPIResponseModel ¶
type TaobaoItemAddAPIResponseModel struct { XMLName xml.Name `xml:"item_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品结构,仅有numIid和created返回 Item *Item `json:"item,omitempty" xml:"item,omitempty"` }
TaobaoItemAddAPIResponseModel is 添加一个商品 成功返回结果
type TaobaoItemAnchorGetAPIRequest ¶
type TaobaoItemAnchorGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemAnchorGetAPIRequest 获取可用宝贝描述规范化模块 API请求 taobao.item.anchor.get
根据类目id和宝贝描述规范化打标类型获取该类目可用的宝贝描述模块中的锚点
func NewTaobaoItemAnchorGetRequest ¶
func NewTaobaoItemAnchorGetRequest() *TaobaoItemAnchorGetAPIRequest
NewTaobaoItemAnchorGetRequest 初始化TaobaoItemAnchorGetAPIRequest对象
func (TaobaoItemAnchorGetAPIRequest) GetApiMethodName ¶
func (r TaobaoItemAnchorGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemAnchorGetAPIRequest) GetApiParams ¶
func (r TaobaoItemAnchorGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemAnchorGetAPIRequest) GetCatId ¶
func (r TaobaoItemAnchorGetAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (TaobaoItemAnchorGetAPIRequest) GetType ¶
func (r TaobaoItemAnchorGetAPIRequest) GetType() int64
GetType Type Getter
func (*TaobaoItemAnchorGetAPIRequest) SetCatId ¶
func (r *TaobaoItemAnchorGetAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 对应类目编号
func (*TaobaoItemAnchorGetAPIRequest) SetType ¶
func (r *TaobaoItemAnchorGetAPIRequest) SetType(_type int64) error
SetType is Type Setter 宝贝模板类型是人工打标还是自动打标:人工打标为1,自动打标为0.人工和自动打标为-1.(最小值:-1,最大值:1)
type TaobaoItemAnchorGetAPIResponse ¶
type TaobaoItemAnchorGetAPIResponse struct { model.CommonResponse TaobaoItemAnchorGetAPIResponseModel }
TaobaoItemAnchorGetAPIResponse 获取可用宝贝描述规范化模块 API返回值 taobao.item.anchor.get
根据类目id和宝贝描述规范化打标类型获取该类目可用的宝贝描述模块中的锚点
type TaobaoItemAnchorGetAPIResponseModel ¶
type TaobaoItemAnchorGetAPIResponseModel struct { XMLName xml.Name `xml:"item_anchor_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 宝贝描述规范化可使用打标模块的锚点信息 AnchorModules []IdsModule `json:"anchor_modules,omitempty" xml:"anchor_modules>ids_module,omitempty"` // 返回的宝贝描述模板结果数目 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoItemAnchorGetAPIResponseModel is 获取可用宝贝描述规范化模块 成功返回结果
type TaobaoItemBarcodeUpdateAPIRequest ¶
type TaobaoItemBarcodeUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemBarcodeUpdateAPIRequest 更新商品条形码信息 API请求 taobao.item.barcode.update
通过该接口,将商品以及SKU上得条形码信息补全
func NewTaobaoItemBarcodeUpdateRequest ¶
func NewTaobaoItemBarcodeUpdateRequest() *TaobaoItemBarcodeUpdateAPIRequest
NewTaobaoItemBarcodeUpdateRequest 初始化TaobaoItemBarcodeUpdateAPIRequest对象
func (TaobaoItemBarcodeUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoItemBarcodeUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemBarcodeUpdateAPIRequest) GetApiParams ¶
func (r TaobaoItemBarcodeUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemBarcodeUpdateAPIRequest) GetIsforce ¶
func (r TaobaoItemBarcodeUpdateAPIRequest) GetIsforce() bool
GetIsforce Isforce Getter
func (TaobaoItemBarcodeUpdateAPIRequest) GetItemBarcode ¶
func (r TaobaoItemBarcodeUpdateAPIRequest) GetItemBarcode() string
GetItemBarcode ItemBarcode Getter
func (TaobaoItemBarcodeUpdateAPIRequest) GetItemId ¶
func (r TaobaoItemBarcodeUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoItemBarcodeUpdateAPIRequest) GetSkuBarcodes ¶
func (r TaobaoItemBarcodeUpdateAPIRequest) GetSkuBarcodes() string
GetSkuBarcodes SkuBarcodes Getter
func (TaobaoItemBarcodeUpdateAPIRequest) GetSkuIds ¶
func (r TaobaoItemBarcodeUpdateAPIRequest) GetSkuIds() string
GetSkuIds SkuIds Getter
func (TaobaoItemBarcodeUpdateAPIRequest) GetSrc ¶
func (r TaobaoItemBarcodeUpdateAPIRequest) GetSrc() string
GetSrc Src Getter
func (*TaobaoItemBarcodeUpdateAPIRequest) SetIsforce ¶
func (r *TaobaoItemBarcodeUpdateAPIRequest) SetIsforce(_isforce bool) error
SetIsforce is Isforce Setter 是否强制保存商品条码。true:强制保存false :需要执行条码库校验
func (*TaobaoItemBarcodeUpdateAPIRequest) SetItemBarcode ¶
func (r *TaobaoItemBarcodeUpdateAPIRequest) SetItemBarcode(_itemBarcode string) error
SetItemBarcode is ItemBarcode Setter 商品条形码,如果不用更新,可选择不填
func (*TaobaoItemBarcodeUpdateAPIRequest) SetItemId ¶
func (r *TaobaoItemBarcodeUpdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 被更新商品的ID
func (*TaobaoItemBarcodeUpdateAPIRequest) SetSkuBarcodes ¶
func (r *TaobaoItemBarcodeUpdateAPIRequest) SetSkuBarcodes(_skuBarcodes string) error
SetSkuBarcodes is SkuBarcodes Setter SKU维度的条形码,和sku_ids字段一一对应,中间以英文逗号分隔
func (*TaobaoItemBarcodeUpdateAPIRequest) SetSkuIds ¶
func (r *TaobaoItemBarcodeUpdateAPIRequest) SetSkuIds(_skuIds string) error
SetSkuIds is SkuIds Setter 被更新SKU的ID列表,中间以英文逗号进行分隔。如果没有SKU或者不需要更新SKU的条形码,不需要设置
func (*TaobaoItemBarcodeUpdateAPIRequest) SetSrc ¶
func (r *TaobaoItemBarcodeUpdateAPIRequest) SetSrc(_src string) error
SetSrc is Src Setter 访问来源,这字段提供给千牛扫码枪用,其他调用方,不需要填写
type TaobaoItemBarcodeUpdateAPIResponse ¶
type TaobaoItemBarcodeUpdateAPIResponse struct { model.CommonResponse TaobaoItemBarcodeUpdateAPIResponseModel }
TaobaoItemBarcodeUpdateAPIResponse 更新商品条形码信息 API返回值 taobao.item.barcode.update
通过该接口,将商品以及SKU上得条形码信息补全
type TaobaoItemBarcodeUpdateAPIResponseModel ¶
type TaobaoItemBarcodeUpdateAPIResponseModel struct { XMLName xml.Name `xml:"item_barcode_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品结构里的num_iid,modified Item *Item `json:"item,omitempty" xml:"item,omitempty"` }
TaobaoItemBarcodeUpdateAPIResponseModel is 更新商品条形码信息 成功返回结果
type TaobaoItemCarturlGetAPIRequest ¶
type TaobaoItemCarturlGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemCarturlGetAPIRequest 加购URL获取 API请求 taobao.item.carturl.get
获取加购URL,支持添加商品到购物车
func NewTaobaoItemCarturlGetRequest ¶
func NewTaobaoItemCarturlGetRequest() *TaobaoItemCarturlGetAPIRequest
NewTaobaoItemCarturlGetRequest 初始化TaobaoItemCarturlGetAPIRequest对象
func (TaobaoItemCarturlGetAPIRequest) GetApiMethodName ¶
func (r TaobaoItemCarturlGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemCarturlGetAPIRequest) GetApiParams ¶
func (r TaobaoItemCarturlGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemCarturlGetAPIRequest) GetCallbackUrl ¶
func (r TaobaoItemCarturlGetAPIRequest) GetCallbackUrl() string
GetCallbackUrl CallbackUrl Getter
func (TaobaoItemCarturlGetAPIRequest) GetExtParams ¶
func (r TaobaoItemCarturlGetAPIRequest) GetExtParams() string
GetExtParams ExtParams Getter
func (TaobaoItemCarturlGetAPIRequest) GetItemIds ¶
func (r TaobaoItemCarturlGetAPIRequest) GetItemIds() []string
GetItemIds ItemIds Getter
func (TaobaoItemCarturlGetAPIRequest) GetType ¶
func (r TaobaoItemCarturlGetAPIRequest) GetType() string
GetType Type Getter
func (TaobaoItemCarturlGetAPIRequest) GetUserId ¶
func (r TaobaoItemCarturlGetAPIRequest) GetUserId() int64
GetUserId UserId Getter
func (TaobaoItemCarturlGetAPIRequest) GetUserNick ¶
func (r TaobaoItemCarturlGetAPIRequest) GetUserNick() string
GetUserNick UserNick Getter
func (*TaobaoItemCarturlGetAPIRequest) SetCallbackUrl ¶
func (r *TaobaoItemCarturlGetAPIRequest) SetCallbackUrl(_callbackUrl string) error
SetCallbackUrl is CallbackUrl Setter 回调地址,需要是EWS域名地址。可不填,默认到购物车页面
func (*TaobaoItemCarturlGetAPIRequest) SetExtParams ¶
func (r *TaobaoItemCarturlGetAPIRequest) SetExtParams(_extParams string) error
SetExtParams is ExtParams Setter 扩展属性,关注店铺的时候会传递下去,格式为K:V|K:V格式
func (*TaobaoItemCarturlGetAPIRequest) SetItemIds ¶
func (r *TaobaoItemCarturlGetAPIRequest) SetItemIds(_itemIds []string) error
SetItemIds is ItemIds Setter 商品信息,格式为 商品ID_SKU ID_数量,多条记录以逗号(,)分割
func (*TaobaoItemCarturlGetAPIRequest) SetType ¶
func (r *TaobaoItemCarturlGetAPIRequest) SetType(_type string) error
SetType is Type Setter 端类型,默认是tb,可选tb,hm
func (*TaobaoItemCarturlGetAPIRequest) SetUserId ¶
func (r *TaobaoItemCarturlGetAPIRequest) SetUserId(_userId int64) error
SetUserId is UserId Setter 商家ID
func (*TaobaoItemCarturlGetAPIRequest) SetUserNick ¶
func (r *TaobaoItemCarturlGetAPIRequest) SetUserNick(_userNick string) error
SetUserNick is UserNick Setter 商家Nick,优先使用user_id
type TaobaoItemCarturlGetAPIResponse ¶
type TaobaoItemCarturlGetAPIResponse struct { model.CommonResponse TaobaoItemCarturlGetAPIResponseModel }
TaobaoItemCarturlGetAPIResponse 加购URL获取 API返回值 taobao.item.carturl.get
获取加购URL,支持添加商品到购物车
type TaobaoItemCarturlGetAPIResponseModel ¶
type TaobaoItemCarturlGetAPIResponseModel struct { XMLName xml.Name `xml:"item_carturl_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 加购的URL地址 Result string `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoItemCarturlGetAPIResponseModel is 加购URL获取 成功返回结果
type TaobaoItemDeleteAPIRequest ¶
TaobaoItemDeleteAPIRequest 删除单条商品 API请求 taobao.item.delete
删除单条商品
func NewTaobaoItemDeleteRequest ¶
func NewTaobaoItemDeleteRequest() *TaobaoItemDeleteAPIRequest
NewTaobaoItemDeleteRequest 初始化TaobaoItemDeleteAPIRequest对象
func (TaobaoItemDeleteAPIRequest) GetApiMethodName ¶
func (r TaobaoItemDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemDeleteAPIRequest) GetApiParams ¶
func (r TaobaoItemDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemDeleteAPIRequest) GetNumIid ¶
func (r TaobaoItemDeleteAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (*TaobaoItemDeleteAPIRequest) SetNumIid ¶
func (r *TaobaoItemDeleteAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品数字ID,该参数必须
type TaobaoItemDeleteAPIResponse ¶
type TaobaoItemDeleteAPIResponse struct { model.CommonResponse TaobaoItemDeleteAPIResponseModel }
TaobaoItemDeleteAPIResponse 删除单条商品 API返回值 taobao.item.delete
删除单条商品
type TaobaoItemDeleteAPIResponseModel ¶
type TaobaoItemDeleteAPIResponseModel struct { XMLName xml.Name `xml:"item_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 被删除商品的相关信息 Item *Item `json:"item,omitempty" xml:"item,omitempty"` }
TaobaoItemDeleteAPIResponseModel is 删除单条商品 成功返回结果
type TaobaoItemImgDeleteAPIRequest ¶
type TaobaoItemImgDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemImgDeleteAPIRequest 删除商品图片 API请求 taobao.item.img.delete
删除商品图片
func NewTaobaoItemImgDeleteRequest ¶
func NewTaobaoItemImgDeleteRequest() *TaobaoItemImgDeleteAPIRequest
NewTaobaoItemImgDeleteRequest 初始化TaobaoItemImgDeleteAPIRequest对象
func (TaobaoItemImgDeleteAPIRequest) GetApiMethodName ¶
func (r TaobaoItemImgDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemImgDeleteAPIRequest) GetApiParams ¶
func (r TaobaoItemImgDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemImgDeleteAPIRequest) GetId ¶
func (r TaobaoItemImgDeleteAPIRequest) GetId() int64
GetId Id Getter
func (TaobaoItemImgDeleteAPIRequest) GetIsSixthPic ¶
func (r TaobaoItemImgDeleteAPIRequest) GetIsSixthPic() bool
GetIsSixthPic IsSixthPic Getter
func (TaobaoItemImgDeleteAPIRequest) GetNumIid ¶
func (r TaobaoItemImgDeleteAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (*TaobaoItemImgDeleteAPIRequest) SetId ¶
func (r *TaobaoItemImgDeleteAPIRequest) SetId(_id int64) error
SetId is Id Setter 商品图片ID;如果是竖图,请将id的值设置为1
func (*TaobaoItemImgDeleteAPIRequest) SetIsSixthPic ¶
func (r *TaobaoItemImgDeleteAPIRequest) SetIsSixthPic(_isSixthPic bool) error
SetIsSixthPic is IsSixthPic Setter 标记是否要删除第6张图,因为第6张图与普通商品图片不是存储在同一个位置的无图片ID,所以要通过一个标记来判断是否为第6张图,目前第6张图业务主要用在女装业务下
func (*TaobaoItemImgDeleteAPIRequest) SetNumIid ¶
func (r *TaobaoItemImgDeleteAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品数字ID
type TaobaoItemImgDeleteAPIResponse ¶
type TaobaoItemImgDeleteAPIResponse struct { model.CommonResponse TaobaoItemImgDeleteAPIResponseModel }
TaobaoItemImgDeleteAPIResponse 删除商品图片 API返回值 taobao.item.img.delete
删除商品图片
type TaobaoItemImgDeleteAPIResponseModel ¶
type TaobaoItemImgDeleteAPIResponseModel struct { XMLName xml.Name `xml:"item_img_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品图片结构 ItemImg *ItemImg `json:"item_img,omitempty" xml:"item_img,omitempty"` }
TaobaoItemImgDeleteAPIResponseModel is 删除商品图片 成功返回结果
type TaobaoItemImgUploadAPIRequest ¶
type TaobaoItemImgUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemImgUploadAPIRequest 添加商品图片 API请求 taobao.item.img.upload
添加一张商品图片到num_iid指定的商品中 传入的num_iid所对应的商品必须属于当前会话的用户 如果更新图片需要设置itemimg_id,且该itemimg_id的图片记录需要属于传入的num_iid对应的商品。如果新增图片则不用设置 。 使用taobao.item.seller.get中返回的item_imgs字段获取图片id。 商品图片有数量和大小上的限制,根据卖家享有的服务(如:卖家订购了多图服务等),商品图片数量限制不同。
func NewTaobaoItemImgUploadRequest ¶
func NewTaobaoItemImgUploadRequest() *TaobaoItemImgUploadAPIRequest
NewTaobaoItemImgUploadRequest 初始化TaobaoItemImgUploadAPIRequest对象
func (TaobaoItemImgUploadAPIRequest) GetApiMethodName ¶
func (r TaobaoItemImgUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemImgUploadAPIRequest) GetApiParams ¶
func (r TaobaoItemImgUploadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemImgUploadAPIRequest) GetId ¶
func (r TaobaoItemImgUploadAPIRequest) GetId() int64
GetId Id Getter
func (TaobaoItemImgUploadAPIRequest) GetImage ¶
func (r TaobaoItemImgUploadAPIRequest) GetImage() *model.File
GetImage Image Getter
func (TaobaoItemImgUploadAPIRequest) GetIsMajor ¶
func (r TaobaoItemImgUploadAPIRequest) GetIsMajor() bool
GetIsMajor IsMajor Getter
func (TaobaoItemImgUploadAPIRequest) GetIsRectangle ¶
func (r TaobaoItemImgUploadAPIRequest) GetIsRectangle() bool
GetIsRectangle IsRectangle Getter
func (TaobaoItemImgUploadAPIRequest) GetNumIid ¶
func (r TaobaoItemImgUploadAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoItemImgUploadAPIRequest) GetPosition ¶
func (r TaobaoItemImgUploadAPIRequest) GetPosition() int64
GetPosition Position Getter
func (*TaobaoItemImgUploadAPIRequest) SetId ¶
func (r *TaobaoItemImgUploadAPIRequest) SetId(_id int64) error
SetId is Id Setter 商品图片id(如果是更新图片,则需要传该参数)
func (*TaobaoItemImgUploadAPIRequest) SetImage ¶
func (r *TaobaoItemImgUploadAPIRequest) SetImage(_image *model.File) error
SetImage is Image Setter 商品图片内容类型:JPG;最大:3M 。支持的文件类型:jpg,jpeg,png
func (*TaobaoItemImgUploadAPIRequest) SetIsMajor ¶
func (r *TaobaoItemImgUploadAPIRequest) SetIsMajor(_isMajor bool) error
SetIsMajor is IsMajor Setter 是否将该图片设为主图,可选值:true,false;默认值:false(非主图)
func (*TaobaoItemImgUploadAPIRequest) SetIsRectangle ¶
func (r *TaobaoItemImgUploadAPIRequest) SetIsRectangle(_isRectangle bool) error
SetIsRectangle is IsRectangle Setter 是否3:4长方形图片,绑定3:4主图视频时用于上传3:4商品主图
func (*TaobaoItemImgUploadAPIRequest) SetNumIid ¶
func (r *TaobaoItemImgUploadAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品数字ID,该参数必须
func (*TaobaoItemImgUploadAPIRequest) SetPosition ¶
func (r *TaobaoItemImgUploadAPIRequest) SetPosition(_position int64) error
SetPosition is Position Setter 图片序号
type TaobaoItemImgUploadAPIResponse ¶
type TaobaoItemImgUploadAPIResponse struct { model.CommonResponse TaobaoItemImgUploadAPIResponseModel }
TaobaoItemImgUploadAPIResponse 添加商品图片 API返回值 taobao.item.img.upload
添加一张商品图片到num_iid指定的商品中 传入的num_iid所对应的商品必须属于当前会话的用户 如果更新图片需要设置itemimg_id,且该itemimg_id的图片记录需要属于传入的num_iid对应的商品。如果新增图片则不用设置 。 使用taobao.item.seller.get中返回的item_imgs字段获取图片id。 商品图片有数量和大小上的限制,根据卖家享有的服务(如:卖家订购了多图服务等),商品图片数量限制不同。
type TaobaoItemImgUploadAPIResponseModel ¶
type TaobaoItemImgUploadAPIResponseModel struct { XMLName xml.Name `xml:"item_img_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品图片结构 ItemImg *ItemImg `json:"item_img,omitempty" xml:"item_img,omitempty"` }
TaobaoItemImgUploadAPIResponseModel is 添加商品图片 成功返回结果
type TaobaoItemJointImgAPIRequest ¶
TaobaoItemJointImgAPIRequest 商品关联子图 API请求 taobao.item.joint.img
* 关联一张商品图片到num_iid指定的商品中<br/> * 传入的num_iid所对应的商品必须属于当前会话的用户<br/> * 商品图片关联在卖家身份和图片来源上的限制,卖家要是B卖家或订购了多图服务才能关联图片,并且图片要来自于卖家自己的图片空间才行<br/> * 商品图片数量有限制。不管是上传的图片还是关联的图片,他们的总数不能超过一定限额
func NewTaobaoItemJointImgRequest ¶
func NewTaobaoItemJointImgRequest() *TaobaoItemJointImgAPIRequest
NewTaobaoItemJointImgRequest 初始化TaobaoItemJointImgAPIRequest对象
func (TaobaoItemJointImgAPIRequest) GetApiMethodName ¶
func (r TaobaoItemJointImgAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemJointImgAPIRequest) GetApiParams ¶
func (r TaobaoItemJointImgAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemJointImgAPIRequest) GetId ¶
func (r TaobaoItemJointImgAPIRequest) GetId() int64
GetId Id Getter
func (TaobaoItemJointImgAPIRequest) GetIsMajor ¶
func (r TaobaoItemJointImgAPIRequest) GetIsMajor() bool
GetIsMajor IsMajor Getter
func (TaobaoItemJointImgAPIRequest) GetIsRectangle ¶
func (r TaobaoItemJointImgAPIRequest) GetIsRectangle() bool
GetIsRectangle IsRectangle Getter
func (TaobaoItemJointImgAPIRequest) GetNumIid ¶
func (r TaobaoItemJointImgAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoItemJointImgAPIRequest) GetPicPath ¶
func (r TaobaoItemJointImgAPIRequest) GetPicPath() string
GetPicPath PicPath Getter
func (TaobaoItemJointImgAPIRequest) GetPosition ¶
func (r TaobaoItemJointImgAPIRequest) GetPosition() int64
GetPosition Position Getter
func (*TaobaoItemJointImgAPIRequest) SetId ¶
func (r *TaobaoItemJointImgAPIRequest) SetId(_id int64) error
SetId is Id Setter 商品图片id(如果是更新图片,则需要传该参数)
func (*TaobaoItemJointImgAPIRequest) SetIsMajor ¶
func (r *TaobaoItemJointImgAPIRequest) SetIsMajor(_isMajor bool) error
SetIsMajor is IsMajor Setter 上传的图片是否关联为商品主图
func (*TaobaoItemJointImgAPIRequest) SetIsRectangle ¶
func (r *TaobaoItemJointImgAPIRequest) SetIsRectangle(_isRectangle bool) error
SetIsRectangle is IsRectangle Setter 是否3:4长方形图片,绑定3:4主图视频时用于上传3:4商品主图
func (*TaobaoItemJointImgAPIRequest) SetNumIid ¶
func (r *TaobaoItemJointImgAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品数字ID,必选
func (*TaobaoItemJointImgAPIRequest) SetPicPath ¶
func (r *TaobaoItemJointImgAPIRequest) SetPicPath(_picPath string) error
SetPicPath is PicPath Setter 图片URL,图片空间图片的相对地址,支持的文件类型:jpg,jpeg,png
func (*TaobaoItemJointImgAPIRequest) SetPosition ¶
func (r *TaobaoItemJointImgAPIRequest) SetPosition(_position int64) error
SetPosition is Position Setter 图片序号
type TaobaoItemJointImgAPIResponse ¶
type TaobaoItemJointImgAPIResponse struct { model.CommonResponse TaobaoItemJointImgAPIResponseModel }
TaobaoItemJointImgAPIResponse 商品关联子图 API返回值 taobao.item.joint.img
* 关联一张商品图片到num_iid指定的商品中<br/> * 传入的num_iid所对应的商品必须属于当前会话的用户<br/> * 商品图片关联在卖家身份和图片来源上的限制,卖家要是B卖家或订购了多图服务才能关联图片,并且图片要来自于卖家自己的图片空间才行<br/> * 商品图片数量有限制。不管是上传的图片还是关联的图片,他们的总数不能超过一定限额
type TaobaoItemJointImgAPIResponseModel ¶
type TaobaoItemJointImgAPIResponseModel struct { XMLName xml.Name `xml:"item_joint_img_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品图片信息 ItemImg *ItemImg `json:"item_img,omitempty" xml:"item_img,omitempty"` }
TaobaoItemJointImgAPIResponseModel is 商品关联子图 成功返回结果
type TaobaoItemJointPropimgAPIRequest ¶
type TaobaoItemJointPropimgAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemJointPropimgAPIRequest 商品关联属性图 API请求 taobao.item.joint.propimg
* 关联一张商品属性图片到num_iid指定的商品中<br/> * 传入的num_iid所对应的商品必须属于当前会话的用户<br/> * 图片的属性必须要是颜色的属性,这个在前台显示的时候需要和sku进行关联的<br/> * 商品图片关联在卖家身份和图片来源上的限制,卖家要是B卖家或订购了多图服务才能关联图片,并且图片要来自于卖家自己的图片空间才行<br/> * 商品图片数量有限制。不管是上传的图片还是关联的图片,他们的总数不能超过一定限额,最多不能超过24张(每个颜色属性都有一张)
func NewTaobaoItemJointPropimgRequest ¶
func NewTaobaoItemJointPropimgRequest() *TaobaoItemJointPropimgAPIRequest
NewTaobaoItemJointPropimgRequest 初始化TaobaoItemJointPropimgAPIRequest对象
func (TaobaoItemJointPropimgAPIRequest) GetApiMethodName ¶
func (r TaobaoItemJointPropimgAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemJointPropimgAPIRequest) GetApiParams ¶
func (r TaobaoItemJointPropimgAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemJointPropimgAPIRequest) GetId ¶
func (r TaobaoItemJointPropimgAPIRequest) GetId() int64
GetId Id Getter
func (TaobaoItemJointPropimgAPIRequest) GetNumIid ¶
func (r TaobaoItemJointPropimgAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoItemJointPropimgAPIRequest) GetPicPath ¶
func (r TaobaoItemJointPropimgAPIRequest) GetPicPath() string
GetPicPath PicPath Getter
func (TaobaoItemJointPropimgAPIRequest) GetPosition ¶
func (r TaobaoItemJointPropimgAPIRequest) GetPosition() int64
GetPosition Position Getter
func (TaobaoItemJointPropimgAPIRequest) GetProperties ¶
func (r TaobaoItemJointPropimgAPIRequest) GetProperties() string
GetProperties Properties Getter
func (*TaobaoItemJointPropimgAPIRequest) SetId ¶
func (r *TaobaoItemJointPropimgAPIRequest) SetId(_id int64) error
SetId is Id Setter 属性图片ID。如果是新增不需要填写
func (*TaobaoItemJointPropimgAPIRequest) SetNumIid ¶
func (r *TaobaoItemJointPropimgAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品数字ID,必选
func (*TaobaoItemJointPropimgAPIRequest) SetPicPath ¶
func (r *TaobaoItemJointPropimgAPIRequest) SetPicPath(_picPath string) error
SetPicPath is PicPath Setter 图片地址(传入图片相对地址即可,即不需包含 http://img02.taobao.net/bao/uploaded )
func (*TaobaoItemJointPropimgAPIRequest) SetPosition ¶
func (r *TaobaoItemJointPropimgAPIRequest) SetPosition(_position int64) error
SetPosition is Position Setter 图片序号
func (*TaobaoItemJointPropimgAPIRequest) SetProperties ¶
func (r *TaobaoItemJointPropimgAPIRequest) SetProperties(_properties string) error
SetProperties is Properties Setter 属性列表。调用taobao.itemprops.get获取,属性必须是颜色属性,格式:pid:vid。
type TaobaoItemJointPropimgAPIResponse ¶
type TaobaoItemJointPropimgAPIResponse struct { model.CommonResponse TaobaoItemJointPropimgAPIResponseModel }
TaobaoItemJointPropimgAPIResponse 商品关联属性图 API返回值 taobao.item.joint.propimg
* 关联一张商品属性图片到num_iid指定的商品中<br/> * 传入的num_iid所对应的商品必须属于当前会话的用户<br/> * 图片的属性必须要是颜色的属性,这个在前台显示的时候需要和sku进行关联的<br/> * 商品图片关联在卖家身份和图片来源上的限制,卖家要是B卖家或订购了多图服务才能关联图片,并且图片要来自于卖家自己的图片空间才行<br/> * 商品图片数量有限制。不管是上传的图片还是关联的图片,他们的总数不能超过一定限额,最多不能超过24张(每个颜色属性都有一张)
type TaobaoItemJointPropimgAPIResponseModel ¶
type TaobaoItemJointPropimgAPIResponseModel struct { XMLName xml.Name `xml:"item_joint_propimg_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 属性图片对象信息 PropImg *PropImg `json:"prop_img,omitempty" xml:"prop_img,omitempty"` }
TaobaoItemJointPropimgAPIResponseModel is 商品关联属性图 成功返回结果
type TaobaoItemPermitCheckAPIRequest ¶
type TaobaoItemPermitCheckAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemPermitCheckAPIRequest 发品资质校验 API请求 taobao.item.permit.check
对淘宝商品发品、编辑前的预校验接口
func NewTaobaoItemPermitCheckRequest ¶
func NewTaobaoItemPermitCheckRequest() *TaobaoItemPermitCheckAPIRequest
NewTaobaoItemPermitCheckRequest 初始化TaobaoItemPermitCheckAPIRequest对象
func (TaobaoItemPermitCheckAPIRequest) GetApiMethodName ¶
func (r TaobaoItemPermitCheckAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemPermitCheckAPIRequest) GetApiParams ¶
func (r TaobaoItemPermitCheckAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemPermitCheckAPIRequest) GetCid ¶
func (r TaobaoItemPermitCheckAPIRequest) GetCid() int64
GetCid Cid Getter
func (TaobaoItemPermitCheckAPIRequest) GetItemId ¶
func (r TaobaoItemPermitCheckAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoItemPermitCheckAPIRequest) GetType ¶
func (r TaobaoItemPermitCheckAPIRequest) GetType() string
GetType Type Getter
func (*TaobaoItemPermitCheckAPIRequest) SetCid ¶
func (r *TaobaoItemPermitCheckAPIRequest) SetCid(_cid int64) error
SetCid is Cid Setter 类目id
func (*TaobaoItemPermitCheckAPIRequest) SetItemId ¶
func (r *TaobaoItemPermitCheckAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
func (*TaobaoItemPermitCheckAPIRequest) SetType ¶
func (r *TaobaoItemPermitCheckAPIRequest) SetType(_type string) error
SetType is Type Setter 发布类型。可选值:fixed(一口价),auction(拍卖)
type TaobaoItemPermitCheckAPIResponse ¶
type TaobaoItemPermitCheckAPIResponse struct { model.CommonResponse TaobaoItemPermitCheckAPIResponseModel }
TaobaoItemPermitCheckAPIResponse 发品资质校验 API返回值 taobao.item.permit.check
对淘宝商品发品、编辑前的预校验接口
type TaobaoItemPermitCheckAPIResponseModel ¶
type TaobaoItemPermitCheckAPIResponseModel struct { XMLName xml.Name `xml:"item_permit_check_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 错误码 Errorcode string `json:"errorcode,omitempty" xml:"errorcode,omitempty"` // 是否成功 Error bool `json:"error,omitempty" xml:"error,omitempty"` }
TaobaoItemPermitCheckAPIResponseModel is 发品资质校验 成功返回结果
type TaobaoItemPriceUpdateAPIRequest ¶
type TaobaoItemPriceUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemPriceUpdateAPIRequest 更新商品价格 API请求 taobao.item.price.update
更新商品价格
func NewTaobaoItemPriceUpdateRequest ¶
func NewTaobaoItemPriceUpdateRequest() *TaobaoItemPriceUpdateAPIRequest
NewTaobaoItemPriceUpdateRequest 初始化TaobaoItemPriceUpdateAPIRequest对象
func (TaobaoItemPriceUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemPriceUpdateAPIRequest) GetApiParams ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemPriceUpdateAPIRequest) GetApproveStatus ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetApproveStatus() string
GetApproveStatus ApproveStatus Getter
func (TaobaoItemPriceUpdateAPIRequest) GetAuctionPoint ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetAuctionPoint() int64
GetAuctionPoint AuctionPoint Getter
func (TaobaoItemPriceUpdateAPIRequest) GetAutoFill ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetAutoFill() string
GetAutoFill AutoFill Getter
func (TaobaoItemPriceUpdateAPIRequest) GetCid ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetCid() int64
GetCid Cid Getter
func (TaobaoItemPriceUpdateAPIRequest) GetCodPostageId ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetCodPostageId() int64
GetCodPostageId CodPostageId Getter
func (TaobaoItemPriceUpdateAPIRequest) GetDesc ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetDesc() string
GetDesc Desc Getter
func (TaobaoItemPriceUpdateAPIRequest) GetEmsFee ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetEmsFee() float64
GetEmsFee EmsFee Getter
func (TaobaoItemPriceUpdateAPIRequest) GetExpressFee ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetExpressFee() float64
GetExpressFee ExpressFee Getter
func (TaobaoItemPriceUpdateAPIRequest) GetFreightPayer ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetFreightPayer() string
GetFreightPayer FreightPayer Getter
func (TaobaoItemPriceUpdateAPIRequest) GetHasDiscount ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetHasDiscount() bool
GetHasDiscount HasDiscount Getter
func (TaobaoItemPriceUpdateAPIRequest) GetHasInvoice ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetHasInvoice() bool
GetHasInvoice HasInvoice Getter
func (TaobaoItemPriceUpdateAPIRequest) GetHasShowcase ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetHasShowcase() bool
GetHasShowcase HasShowcase Getter
func (TaobaoItemPriceUpdateAPIRequest) GetHasWarranty ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetHasWarranty() bool
GetHasWarranty HasWarranty Getter
func (TaobaoItemPriceUpdateAPIRequest) GetIgnorewarning ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetIgnorewarning() string
GetIgnorewarning Ignorewarning Getter
func (TaobaoItemPriceUpdateAPIRequest) GetImage ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetImage() *model.File
GetImage Image Getter
func (TaobaoItemPriceUpdateAPIRequest) GetIncrement ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetIncrement() float64
GetIncrement Increment Getter
func (TaobaoItemPriceUpdateAPIRequest) GetInputPids ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetInputPids() string
GetInputPids InputPids Getter
func (TaobaoItemPriceUpdateAPIRequest) GetInputStr ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetInputStr() string
GetInputStr InputStr Getter
func (TaobaoItemPriceUpdateAPIRequest) GetIs3D ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetIs3D() bool
GetIs3D Is3D Getter
func (TaobaoItemPriceUpdateAPIRequest) GetIsEx ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetIsEx() bool
GetIsEx IsEx Getter
func (TaobaoItemPriceUpdateAPIRequest) GetIsLightningConsignment ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetIsLightningConsignment() bool
GetIsLightningConsignment IsLightningConsignment Getter
func (TaobaoItemPriceUpdateAPIRequest) GetIsReplaceSku ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetIsReplaceSku() bool
GetIsReplaceSku IsReplaceSku Getter
func (TaobaoItemPriceUpdateAPIRequest) GetIsTaobao ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetIsTaobao() bool
GetIsTaobao IsTaobao Getter
func (TaobaoItemPriceUpdateAPIRequest) GetIsXinpin ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetIsXinpin() bool
GetIsXinpin IsXinpin Getter
func (TaobaoItemPriceUpdateAPIRequest) GetLang ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetLang() string
GetLang Lang Getter
func (TaobaoItemPriceUpdateAPIRequest) GetListTime ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetListTime() string
GetListTime ListTime Getter
func (TaobaoItemPriceUpdateAPIRequest) GetLocationCity ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetLocationCity() string
GetLocationCity LocationCity Getter
func (TaobaoItemPriceUpdateAPIRequest) GetLocationState ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetLocationState() string
GetLocationState LocationState Getter
func (TaobaoItemPriceUpdateAPIRequest) GetNum ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetNum() int64
GetNum Num Getter
func (TaobaoItemPriceUpdateAPIRequest) GetNumIid ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoItemPriceUpdateAPIRequest) GetOuterId ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoItemPriceUpdateAPIRequest) GetPicPath ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetPicPath() string
GetPicPath PicPath Getter
func (TaobaoItemPriceUpdateAPIRequest) GetPostFee ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetPostFee() float64
GetPostFee PostFee Getter
func (TaobaoItemPriceUpdateAPIRequest) GetPostageId ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetPostageId() int64
GetPostageId PostageId Getter
func (TaobaoItemPriceUpdateAPIRequest) GetPrice ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetPrice() float64
GetPrice Price Getter
func (TaobaoItemPriceUpdateAPIRequest) GetProductId ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TaobaoItemPriceUpdateAPIRequest) GetPropertyAlias ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetPropertyAlias() string
GetPropertyAlias PropertyAlias Getter
func (TaobaoItemPriceUpdateAPIRequest) GetProps ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetProps() string
GetProps Props Getter
func (TaobaoItemPriceUpdateAPIRequest) GetSellPromise ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetSellPromise() bool
GetSellPromise SellPromise Getter
func (TaobaoItemPriceUpdateAPIRequest) GetSellerCids ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetSellerCids() string
GetSellerCids SellerCids Getter
func (TaobaoItemPriceUpdateAPIRequest) GetSkuOuterIds ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetSkuOuterIds() string
GetSkuOuterIds SkuOuterIds Getter
func (TaobaoItemPriceUpdateAPIRequest) GetSkuPrices ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetSkuPrices() string
GetSkuPrices SkuPrices Getter
func (TaobaoItemPriceUpdateAPIRequest) GetSkuProperties ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetSkuProperties() string
GetSkuProperties SkuProperties Getter
func (TaobaoItemPriceUpdateAPIRequest) GetSkuQuantities ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetSkuQuantities() string
GetSkuQuantities SkuQuantities Getter
func (TaobaoItemPriceUpdateAPIRequest) GetStuffStatus ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetStuffStatus() string
GetStuffStatus StuffStatus Getter
func (TaobaoItemPriceUpdateAPIRequest) GetSubStock ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetSubStock() int64
GetSubStock SubStock Getter
func (TaobaoItemPriceUpdateAPIRequest) GetTitle ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetTitle() string
GetTitle Title Getter
func (TaobaoItemPriceUpdateAPIRequest) GetValidThru ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetValidThru() int64
GetValidThru ValidThru Getter
func (TaobaoItemPriceUpdateAPIRequest) GetWeight ¶
func (r TaobaoItemPriceUpdateAPIRequest) GetWeight() int64
GetWeight Weight Getter
func (*TaobaoItemPriceUpdateAPIRequest) SetApproveStatus ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetApproveStatus(_approveStatus string) error
SetApproveStatus is ApproveStatus Setter 商品上传后的状态。可选值:onsale(出售中),instock(库中),如果同时更新商品状态为出售中及list_time为将来的时间,则商品还是处于定时上架的状态, 此时item.is_timing为true
func (*TaobaoItemPriceUpdateAPIRequest) SetAuctionPoint ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetAuctionPoint(_auctionPoint int64) error
SetAuctionPoint is AuctionPoint Setter 商品的积分返点比例。如:5 表示返点比例0.5%. 注意:返点比例必须是>0的整数,而且最大是90,即为9%.B商家在发布非虚拟商品时,返点必须是 5的倍数,即0.5%的倍数。其它是1的倍数,即0.1%的倍数。无名良品商家发布商品时,复用该字段记录积分宝返点比例,返点必须是对应类目的返点步长的整数倍,默认是5,即0.5%。注意此时该字段值依旧必须是>0的整数,注意此时该字段值依旧必须是>0的整数,最高值不超过500,即50%
func (*TaobaoItemPriceUpdateAPIRequest) SetAutoFill ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetAutoFill(_autoFill string) error
SetAutoFill is AutoFill Setter 代充商品类型。只有少数类目下的商品可以标记上此字段,具体哪些类目可以上传可以通过taobao.itemcat.features.get获得。在代充商品的类目下,不传表示不标记商品类型(交易搜索中就不能通过标记搜到相关的交易了)。可选类型: <br/>no_mark(不做类型标记) <br/>time_card(点卡软件代充) <br/>fee_card(话费软件代充)
func (*TaobaoItemPriceUpdateAPIRequest) SetCid ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetCid(_cid int64) error
SetCid is Cid Setter 叶子类目id
func (*TaobaoItemPriceUpdateAPIRequest) SetCodPostageId ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetCodPostageId(_codPostageId int64) error
SetCodPostageId is CodPostageId Setter 货到付款运费模板ID
func (*TaobaoItemPriceUpdateAPIRequest) SetDesc ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetDesc(_desc string) error
SetDesc is Desc Setter 商品描述. 字数要大于5个字符,小于25000个字符 ,受违禁词控制
func (*TaobaoItemPriceUpdateAPIRequest) SetEmsFee ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetEmsFee(_emsFee float64) error
SetEmsFee is EmsFee Setter ems费用。取值范围:0.01-999.00;精确到2位小数;单位:元。如:25.07,表示:25元7分
func (*TaobaoItemPriceUpdateAPIRequest) SetExpressFee ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetExpressFee(_expressFee float64) error
SetExpressFee is ExpressFee Setter 快递费用。取值范围:0.01-999.00;精确到2位小数;单位:元。如:15.07,表示:15元7分
func (*TaobaoItemPriceUpdateAPIRequest) SetFreightPayer ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetFreightPayer(_freightPayer string) error
SetFreightPayer is FreightPayer Setter 运费承担方式。运费承担方式。可选值:seller(卖家承担),buyer(买家承担);
func (*TaobaoItemPriceUpdateAPIRequest) SetHasDiscount ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetHasDiscount(_hasDiscount bool) error
SetHasDiscount is HasDiscount Setter 支持会员打折。可选值:true,false;
func (*TaobaoItemPriceUpdateAPIRequest) SetHasInvoice ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetHasInvoice(_hasInvoice bool) error
SetHasInvoice is HasInvoice Setter 是否有发票。可选值:true,false (商城卖家此字段必须为true)
func (*TaobaoItemPriceUpdateAPIRequest) SetHasShowcase ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetHasShowcase(_hasShowcase bool) error
SetHasShowcase is HasShowcase Setter 橱窗推荐。可选值:true,false;
func (*TaobaoItemPriceUpdateAPIRequest) SetHasWarranty ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetHasWarranty(_hasWarranty bool) error
SetHasWarranty is HasWarranty Setter 是否有保修。可选值:true,false;
func (*TaobaoItemPriceUpdateAPIRequest) SetIgnorewarning ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetIgnorewarning(_ignorewarning string) error
SetIgnorewarning is Ignorewarning Setter 忽略警告提示.
func (*TaobaoItemPriceUpdateAPIRequest) SetImage ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetImage(_image *model.File) error
SetImage is Image Setter 商品图片。类型:JPG,GIF;最大长度:500k
func (*TaobaoItemPriceUpdateAPIRequest) SetIncrement ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetIncrement(_increment float64) error
SetIncrement is Increment Setter 加价幅度 如果为0,代表系统代理幅度
func (*TaobaoItemPriceUpdateAPIRequest) SetInputPids ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetInputPids(_inputPids string) error
SetInputPids is InputPids Setter 用户自行输入的类目属性ID串,结构:"pid1,pid2,pid3",如:"20000"(表示品牌) 注:通常一个类目下用户可输入的关键属性不超过1个。
func (*TaobaoItemPriceUpdateAPIRequest) SetInputStr ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetInputStr(_inputStr string) error
SetInputStr is InputStr Setter 用户自行输入的子属性名和属性值,结构:"父属性值;一级子属性名;一级子属性值;二级子属性名;自定义输入值,....",如:“耐克;耐克系列;科比系列;科比系列;2K5,Nike乔丹鞋;乔丹系列;乔丹鞋系列;乔丹鞋系列;json5”,多个自定义属性用','分割,input_str需要与input_pids一一对应,注:通常一个类目下用户可输入的关键属性不超过1个。所有属性别名加起来不能超过3999字节。此处不可以使用“其他”、“其它”和“其她”这三个词。
func (*TaobaoItemPriceUpdateAPIRequest) SetIs3D ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetIs3D(_is3D bool) error
SetIs3D is Is3D Setter 是否是3D
func (*TaobaoItemPriceUpdateAPIRequest) SetIsEx ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetIsEx(_isEx bool) error
SetIsEx is IsEx Setter 是否在外店显示
func (*TaobaoItemPriceUpdateAPIRequest) SetIsLightningConsignment ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetIsLightningConsignment(_isLightningConsignment bool) error
SetIsLightningConsignment is IsLightningConsignment Setter 实物闪电发货。注意:在售的闪电发货产品不允许取消闪电发货,需要先下架商品才能取消闪电发货标记
func (*TaobaoItemPriceUpdateAPIRequest) SetIsReplaceSku ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetIsReplaceSku(_isReplaceSku bool) error
SetIsReplaceSku is IsReplaceSku Setter 是否替换sku
func (*TaobaoItemPriceUpdateAPIRequest) SetIsTaobao ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetIsTaobao(_isTaobao bool) error
SetIsTaobao is IsTaobao Setter 是否在淘宝上显示
func (*TaobaoItemPriceUpdateAPIRequest) SetIsXinpin ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetIsXinpin(_isXinpin bool) error
SetIsXinpin is IsXinpin Setter 商品是否为新品。只有在当前类目开通新品,并且当前用户拥有该类目下发布新品权限时才能设置is_xinpin为true,否则设置true后会返回错误码:isv.invalid-permission:xinpin。同时只有一口价全新的宝贝才能设置为新品,否则会返回错误码:isv.invalid-parameter:xinpin。不设置参数就保持原有值。
func (*TaobaoItemPriceUpdateAPIRequest) SetLang ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetLang(_lang string) error
SetLang is Lang Setter 商品文字的版本,繁体传入”zh_HK”,简体传入”zh_CN”
func (*TaobaoItemPriceUpdateAPIRequest) SetListTime ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetListTime(_listTime string) error
SetListTime is ListTime Setter 上架时间。不论是更新架下的商品还是出售中的商品,如果这个字段小于当前时间则直接上架商品,并且上架的时间为更新商品的时间,此时item.is_timing为false,如果大于当前时间则宝贝会下架进入定时上架的宝贝中。
func (*TaobaoItemPriceUpdateAPIRequest) SetLocationCity ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetLocationCity(_locationCity string) error
SetLocationCity is LocationCity Setter 所在地城市。如杭州 具体可以下载http://dl.open.taobao.com/sdk/商品城市列表.rar 取到
func (*TaobaoItemPriceUpdateAPIRequest) SetLocationState ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetLocationState(_locationState string) error
SetLocationState is LocationState Setter 所在地省份。如浙江 具体可以下载http://dl.open.taobao.com/sdk/商品城市列表.rar 取到
func (*TaobaoItemPriceUpdateAPIRequest) SetNum ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetNum(_num int64) error
SetNum is Num Setter 商品数量,取值范围:0-999999的整数。且需要等于Sku所有数量的和
func (*TaobaoItemPriceUpdateAPIRequest) SetNumIid ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品数字ID,该参数必须
func (*TaobaoItemPriceUpdateAPIRequest) SetOuterId ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 商家编码
func (*TaobaoItemPriceUpdateAPIRequest) SetPicPath ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetPicPath(_picPath string) error
SetPicPath is PicPath Setter 商品主图需要关联的图片空间的相对url。这个url所对应的图片必须要属于当前用户。pic_path和image只需要传入一个,如果两个都传,默认选择pic_path
func (*TaobaoItemPriceUpdateAPIRequest) SetPostFee ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetPostFee(_postFee float64) error
SetPostFee is PostFee Setter 平邮费用。取值范围:0.01-999.00;精确到2位小数;单位:元。如:5.07,表示:5元7分, 注:post_fee,express_fee,ems_fee需一起填写
func (*TaobaoItemPriceUpdateAPIRequest) SetPostageId ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetPostageId(_postageId int64) error
SetPostageId is PostageId Setter 宝贝所属的运费模板ID。取值范围:整数且必须是该卖家的运费模板的ID(可通过taobao.postages.get获得当前会话用户的所有邮费模板)
func (*TaobaoItemPriceUpdateAPIRequest) SetPrice ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetPrice(_price float64) error
SetPrice is Price Setter 商品价格。取值范围:0-100000000;精确到2位小数;单位:元。如:200.07,表示:200元7分。需要在正确的价格区间内。
func (*TaobaoItemPriceUpdateAPIRequest) SetProductId ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 商品所属的产品ID(B商家发布商品需要用)
func (*TaobaoItemPriceUpdateAPIRequest) SetPropertyAlias ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetPropertyAlias(_propertyAlias string) error
SetPropertyAlias is PropertyAlias Setter 属性值别名。如pid:vid:别名;pid1:vid1:别名1, pid:属性id vid:值id。总长度不超过512字节
func (*TaobaoItemPriceUpdateAPIRequest) SetProps ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetProps(_props string) error
SetProps is Props Setter 商品属性列表。格式:pid:vid;pid:vid。属性的pid调用taobao.itemprops.get取得,属性值的vid用taobao.itempropvalues.get取得vid。 如果该类目下面没有属性,可以不用填写。如果有属性,必选属性必填,其他非必选属性可以选择不填写.属性不能超过35对。所有属性加起来包括分割符不能超过549字节,单个属性没有限制。 如果有属性是可输入的话,则用字段input_str填入属性的值。
func (*TaobaoItemPriceUpdateAPIRequest) SetSellPromise ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetSellPromise(_sellPromise bool) error
SetSellPromise is SellPromise Setter 是否承诺退换货服务!虚拟商品无须设置此项!
func (*TaobaoItemPriceUpdateAPIRequest) SetSellerCids ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetSellerCids(_sellerCids string) error
SetSellerCids is SellerCids Setter 重新关联商品与店铺类目,结构:",cid1,cid2,...,",如果店铺类目存在二级类目,必须传入子类目cids。
func (*TaobaoItemPriceUpdateAPIRequest) SetSkuOuterIds ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetSkuOuterIds(_skuOuterIds string) error
SetSkuOuterIds is SkuOuterIds Setter Sku的外部id串,结构如:1234,1342,… sku_properties, sku_quantities, sku_prices, sku_outer_ids在输入数据时要一一对应,如果没有sku_outer_ids也要写上这个参数,入参是","(这个是两个sku的示列,逗号数应该是sku个数减1);该参数最大长度是512个字节
func (*TaobaoItemPriceUpdateAPIRequest) SetSkuPrices ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetSkuPrices(_skuPrices string) error
SetSkuPrices is SkuPrices Setter 更新的Sku的价格串,结构如:10.00,5.00,… 精确到2位小数;单位:元。如:200.07,表示:200元7分
func (*TaobaoItemPriceUpdateAPIRequest) SetSkuProperties ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetSkuProperties(_skuProperties string) error
SetSkuProperties is SkuProperties Setter 更新的Sku的属性串,调用taobao.itemprops.get获取类目属性,如果属性是销售属性,再用taobao.itempropvalues.get取得vid。格式:pid:vid;pid:vid。该字段内的销售属性也需要在props字段填写 。如果更新时有对Sku进行操作,则Sku的properties一定要传入。
func (*TaobaoItemPriceUpdateAPIRequest) SetSkuQuantities ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetSkuQuantities(_skuQuantities string) error
SetSkuQuantities is SkuQuantities Setter 更新的Sku的数量串,结构如:num1,num2,num3 如:2,3,4
func (*TaobaoItemPriceUpdateAPIRequest) SetStuffStatus ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetStuffStatus(_stuffStatus string) error
SetStuffStatus is StuffStatus Setter 商品新旧程度。可选值:new(全新),unused(闲置),second(二手)。
func (*TaobaoItemPriceUpdateAPIRequest) SetSubStock ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetSubStock(_subStock int64) error
SetSubStock is SubStock Setter 商品是否支持拍下减库存:1支持;2取消支持(付款减库存);0(默认)不更改 集市卖家默认拍下减库存; 商城卖家默认付款减库存
func (*TaobaoItemPriceUpdateAPIRequest) SetTitle ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 宝贝标题. 不能超过60字符,受违禁词控制
func (*TaobaoItemPriceUpdateAPIRequest) SetValidThru ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetValidThru(_validThru int64) error
SetValidThru is ValidThru Setter 有效期。可选值:7,14;单位:天;
func (*TaobaoItemPriceUpdateAPIRequest) SetWeight ¶
func (r *TaobaoItemPriceUpdateAPIRequest) SetWeight(_weight int64) error
SetWeight is Weight Setter 商品的重量(商超卖家专用字段)
type TaobaoItemPriceUpdateAPIResponse ¶
type TaobaoItemPriceUpdateAPIResponse struct { model.CommonResponse TaobaoItemPriceUpdateAPIResponseModel }
TaobaoItemPriceUpdateAPIResponse 更新商品价格 API返回值 taobao.item.price.update
更新商品价格
type TaobaoItemPriceUpdateAPIResponseModel ¶
type TaobaoItemPriceUpdateAPIResponseModel struct { XMLName xml.Name `xml:"item_price_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品结构里的num_iid,modified Item *Item `json:"item,omitempty" xml:"item,omitempty"` }
TaobaoItemPriceUpdateAPIResponseModel is 更新商品价格 成功返回结果
type TaobaoItemPromotionRuleGetAPIRequest ¶
type TaobaoItemPromotionRuleGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemPromotionRuleGetAPIRequest 获取商品已生效营销活动更新规则 API请求 taobao.item.promotion.rule.get
获取商品已生效的更新规则信息,主要包含库存禁止修改,商品一口价禁止修改,库存减少锁定等规则生效信息
func NewTaobaoItemPromotionRuleGetRequest ¶
func NewTaobaoItemPromotionRuleGetRequest() *TaobaoItemPromotionRuleGetAPIRequest
NewTaobaoItemPromotionRuleGetRequest 初始化TaobaoItemPromotionRuleGetAPIRequest对象
func (TaobaoItemPromotionRuleGetAPIRequest) GetApiMethodName ¶
func (r TaobaoItemPromotionRuleGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemPromotionRuleGetAPIRequest) GetApiParams ¶
func (r TaobaoItemPromotionRuleGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemPromotionRuleGetAPIRequest) GetItemId ¶
func (r TaobaoItemPromotionRuleGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (*TaobaoItemPromotionRuleGetAPIRequest) SetItemId ¶
func (r *TaobaoItemPromotionRuleGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
type TaobaoItemPromotionRuleGetAPIResponse ¶
type TaobaoItemPromotionRuleGetAPIResponse struct { model.CommonResponse TaobaoItemPromotionRuleGetAPIResponseModel }
TaobaoItemPromotionRuleGetAPIResponse 获取商品已生效营销活动更新规则 API返回值 taobao.item.promotion.rule.get
获取商品已生效的更新规则信息,主要包含库存禁止修改,商品一口价禁止修改,库存减少锁定等规则生效信息
type TaobaoItemPromotionRuleGetAPIResponseModel ¶
type TaobaoItemPromotionRuleGetAPIResponseModel struct { XMLName xml.Name `xml:"item_promotion_rule_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品规则信息 Rules []ItemPromotionRule `json:"rules,omitempty" xml:"rules>item_promotion_rule,omitempty"` // 商品是否命中更新规则 Effec bool `json:"effec,omitempty" xml:"effec,omitempty"` }
TaobaoItemPromotionRuleGetAPIResponseModel is 获取商品已生效营销活动更新规则 成功返回结果
type TaobaoItemPropimgDeleteAPIRequest ¶
type TaobaoItemPropimgDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemPropimgDeleteAPIRequest 删除属性图片 API请求 taobao.item.propimg.delete
删除propimg_id 所指定的商品属性图片 <br/>传入的num_iid所对应的商品必须属于当前会话的用户 <br/>propimg_id对应的属性图片需要属于num_iid对应的商品
func NewTaobaoItemPropimgDeleteRequest ¶
func NewTaobaoItemPropimgDeleteRequest() *TaobaoItemPropimgDeleteAPIRequest
NewTaobaoItemPropimgDeleteRequest 初始化TaobaoItemPropimgDeleteAPIRequest对象
func (TaobaoItemPropimgDeleteAPIRequest) GetApiMethodName ¶
func (r TaobaoItemPropimgDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemPropimgDeleteAPIRequest) GetApiParams ¶
func (r TaobaoItemPropimgDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemPropimgDeleteAPIRequest) GetId ¶
func (r TaobaoItemPropimgDeleteAPIRequest) GetId() int64
GetId Id Getter
func (TaobaoItemPropimgDeleteAPIRequest) GetNumIid ¶
func (r TaobaoItemPropimgDeleteAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (*TaobaoItemPropimgDeleteAPIRequest) SetId ¶
func (r *TaobaoItemPropimgDeleteAPIRequest) SetId(_id int64) error
SetId is Id Setter 商品属性图片ID
func (*TaobaoItemPropimgDeleteAPIRequest) SetNumIid ¶
func (r *TaobaoItemPropimgDeleteAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品数字ID,必选
type TaobaoItemPropimgDeleteAPIResponse ¶
type TaobaoItemPropimgDeleteAPIResponse struct { model.CommonResponse TaobaoItemPropimgDeleteAPIResponseModel }
TaobaoItemPropimgDeleteAPIResponse 删除属性图片 API返回值 taobao.item.propimg.delete
删除propimg_id 所指定的商品属性图片 <br/>传入的num_iid所对应的商品必须属于当前会话的用户 <br/>propimg_id对应的属性图片需要属于num_iid对应的商品
type TaobaoItemPropimgDeleteAPIResponseModel ¶
type TaobaoItemPropimgDeleteAPIResponseModel struct { XMLName xml.Name `xml:"item_propimg_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 属性图片结构 PropImg *PropImg `json:"prop_img,omitempty" xml:"prop_img,omitempty"` }
TaobaoItemPropimgDeleteAPIResponseModel is 删除属性图片 成功返回结果
type TaobaoItemPropimgUploadAPIRequest ¶
type TaobaoItemPropimgUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemPropimgUploadAPIRequest 添加或修改属性图片 API请求 taobao.item.propimg.upload
添加一张商品属性图片到num_iid指定的商品中 <br/>传入的num_iid所对应的商品必须属于当前会话的用户 <br/>图片的属性必须要是颜色的属性,这个在前台显示的时候需要和sku进行关联的 <br/>商品属性图片只有享有服务的卖家(如:淘宝大卖家、订购了淘宝多图服务的卖家)才能上传 <br/>商品属性图片有数量和大小上的限制,最多不能超过24张(每个颜色属性都有一张)。
func NewTaobaoItemPropimgUploadRequest ¶
func NewTaobaoItemPropimgUploadRequest() *TaobaoItemPropimgUploadAPIRequest
NewTaobaoItemPropimgUploadRequest 初始化TaobaoItemPropimgUploadAPIRequest对象
func (TaobaoItemPropimgUploadAPIRequest) GetApiMethodName ¶
func (r TaobaoItemPropimgUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemPropimgUploadAPIRequest) GetApiParams ¶
func (r TaobaoItemPropimgUploadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemPropimgUploadAPIRequest) GetId ¶
func (r TaobaoItemPropimgUploadAPIRequest) GetId() int64
GetId Id Getter
func (TaobaoItemPropimgUploadAPIRequest) GetImage ¶
func (r TaobaoItemPropimgUploadAPIRequest) GetImage() *model.File
GetImage Image Getter
func (TaobaoItemPropimgUploadAPIRequest) GetNumIid ¶
func (r TaobaoItemPropimgUploadAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoItemPropimgUploadAPIRequest) GetPosition ¶
func (r TaobaoItemPropimgUploadAPIRequest) GetPosition() int64
GetPosition Position Getter
func (TaobaoItemPropimgUploadAPIRequest) GetProperties ¶
func (r TaobaoItemPropimgUploadAPIRequest) GetProperties() string
GetProperties Properties Getter
func (*TaobaoItemPropimgUploadAPIRequest) SetId ¶
func (r *TaobaoItemPropimgUploadAPIRequest) SetId(_id int64) error
SetId is Id Setter 属性图片ID。如果是新增不需要填写
func (*TaobaoItemPropimgUploadAPIRequest) SetImage ¶
func (r *TaobaoItemPropimgUploadAPIRequest) SetImage(_image *model.File) error
SetImage is Image Setter 属性图片内容。类型:JPG,GIF;图片大小不超过:3M
func (*TaobaoItemPropimgUploadAPIRequest) SetNumIid ¶
func (r *TaobaoItemPropimgUploadAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品数字ID,必选
func (*TaobaoItemPropimgUploadAPIRequest) SetPosition ¶
func (r *TaobaoItemPropimgUploadAPIRequest) SetPosition(_position int64) error
SetPosition is Position Setter 图片位置
func (*TaobaoItemPropimgUploadAPIRequest) SetProperties ¶
func (r *TaobaoItemPropimgUploadAPIRequest) SetProperties(_properties string) error
SetProperties is Properties Setter 属性列表。调用taobao.itemprops.get获取类目属性,属性必须是颜色属性,再用taobao.itempropvalues.get取得vid。格式:pid:vid。
type TaobaoItemPropimgUploadAPIResponse ¶
type TaobaoItemPropimgUploadAPIResponse struct { model.CommonResponse TaobaoItemPropimgUploadAPIResponseModel }
TaobaoItemPropimgUploadAPIResponse 添加或修改属性图片 API返回值 taobao.item.propimg.upload
添加一张商品属性图片到num_iid指定的商品中 <br/>传入的num_iid所对应的商品必须属于当前会话的用户 <br/>图片的属性必须要是颜色的属性,这个在前台显示的时候需要和sku进行关联的 <br/>商品属性图片只有享有服务的卖家(如:淘宝大卖家、订购了淘宝多图服务的卖家)才能上传 <br/>商品属性图片有数量和大小上的限制,最多不能超过24张(每个颜色属性都有一张)。
type TaobaoItemPropimgUploadAPIResponseModel ¶
type TaobaoItemPropimgUploadAPIResponseModel struct { XMLName xml.Name `xml:"item_propimg_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // PropImg属性图片结构 PropImg *PropImg `json:"prop_img,omitempty" xml:"prop_img,omitempty"` }
TaobaoItemPropimgUploadAPIResponseModel is 添加或修改属性图片 成功返回结果
type TaobaoItemQualificationDisplayGetAPIRequest ¶
type TaobaoItemQualificationDisplayGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemQualificationDisplayGetAPIRequest 资质采集配置异步获取接口 API请求 taobao.item.qualification.display.get
根据类目,商品,属性等参与动态获得资质采集配置
func NewTaobaoItemQualificationDisplayGetRequest ¶
func NewTaobaoItemQualificationDisplayGetRequest() *TaobaoItemQualificationDisplayGetAPIRequest
NewTaobaoItemQualificationDisplayGetRequest 初始化TaobaoItemQualificationDisplayGetAPIRequest对象
func (TaobaoItemQualificationDisplayGetAPIRequest) GetApiMethodName ¶
func (r TaobaoItemQualificationDisplayGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemQualificationDisplayGetAPIRequest) GetApiParams ¶
func (r TaobaoItemQualificationDisplayGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemQualificationDisplayGetAPIRequest) GetCategoryId ¶
func (r TaobaoItemQualificationDisplayGetAPIRequest) GetCategoryId() int64
GetCategoryId CategoryId Getter
func (TaobaoItemQualificationDisplayGetAPIRequest) GetItemId ¶
func (r TaobaoItemQualificationDisplayGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoItemQualificationDisplayGetAPIRequest) GetParam ¶
func (r TaobaoItemQualificationDisplayGetAPIRequest) GetParam() string
GetParam Param Getter
func (*TaobaoItemQualificationDisplayGetAPIRequest) SetCategoryId ¶
func (r *TaobaoItemQualificationDisplayGetAPIRequest) SetCategoryId(_categoryId int64) error
SetCategoryId is CategoryId Setter 类目id
func (*TaobaoItemQualificationDisplayGetAPIRequest) SetItemId ¶
func (r *TaobaoItemQualificationDisplayGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
func (*TaobaoItemQualificationDisplayGetAPIRequest) SetParam ¶
func (r *TaobaoItemQualificationDisplayGetAPIRequest) SetParam(_param string) error
SetParam is Param Setter 参数列表,为key和value都是string的map的转化的json格式
type TaobaoItemQualificationDisplayGetAPIResponse ¶
type TaobaoItemQualificationDisplayGetAPIResponse struct { model.CommonResponse TaobaoItemQualificationDisplayGetAPIResponseModel }
TaobaoItemQualificationDisplayGetAPIResponse 资质采集配置异步获取接口 API返回值 taobao.item.qualification.display.get
根据类目,商品,属性等参与动态获得资质采集配置
type TaobaoItemQualificationDisplayGetAPIResponseModel ¶
type TaobaoItemQualificationDisplayGetAPIResponseModel struct { XMLName xml.Name `xml:"item_qualification_display_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回资质采集配置 DisplayConf *DisplayQualifications `json:"display_conf,omitempty" xml:"display_conf,omitempty"` }
TaobaoItemQualificationDisplayGetAPIResponseModel is 资质采集配置异步获取接口 成功返回结果
type TaobaoItemQuantityUpdateAPIRequest ¶
type TaobaoItemQuantityUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemQuantityUpdateAPIRequest 宝贝/SKU库存修改 API请求 taobao.item.quantity.update
提供按照全量或增量形式修改宝贝/SKU库存的功能
func NewTaobaoItemQuantityUpdateRequest ¶
func NewTaobaoItemQuantityUpdateRequest() *TaobaoItemQuantityUpdateAPIRequest
NewTaobaoItemQuantityUpdateRequest 初始化TaobaoItemQuantityUpdateAPIRequest对象
func (TaobaoItemQuantityUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoItemQuantityUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemQuantityUpdateAPIRequest) GetApiParams ¶
func (r TaobaoItemQuantityUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemQuantityUpdateAPIRequest) GetNumIid ¶
func (r TaobaoItemQuantityUpdateAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoItemQuantityUpdateAPIRequest) GetOuterId ¶
func (r TaobaoItemQuantityUpdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoItemQuantityUpdateAPIRequest) GetQuantity ¶
func (r TaobaoItemQuantityUpdateAPIRequest) GetQuantity() int64
GetQuantity Quantity Getter
func (TaobaoItemQuantityUpdateAPIRequest) GetSkuId ¶
func (r TaobaoItemQuantityUpdateAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (TaobaoItemQuantityUpdateAPIRequest) GetType ¶
func (r TaobaoItemQuantityUpdateAPIRequest) GetType() int64
GetType Type Getter
func (*TaobaoItemQuantityUpdateAPIRequest) SetNumIid ¶
func (r *TaobaoItemQuantityUpdateAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品数字ID,必填参数
func (*TaobaoItemQuantityUpdateAPIRequest) SetOuterId ¶
func (r *TaobaoItemQuantityUpdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter SKU的商家编码,可选参数。如果不填则默认修改宝贝的库存,如果填了则按照商家编码搜索出对应的SKU并修改库存。当sku_id和本字段都填写时以sku_id为准搜索对应SKU
func (*TaobaoItemQuantityUpdateAPIRequest) SetQuantity ¶
func (r *TaobaoItemQuantityUpdateAPIRequest) SetQuantity(_quantity int64) error
SetQuantity is Quantity Setter 库存修改值,必选。当全量更新库存时,quantity必须为大于等于0的正整数;当增量更新库存时,quantity为整数,可小于等于0。若增量更新时传入的库存为负数,则负数与实际库存之和不能小于0。比如当前实际库存为1,传入增量更新quantity=-1,库存改为0
func (*TaobaoItemQuantityUpdateAPIRequest) SetSkuId ¶
func (r *TaobaoItemQuantityUpdateAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter 要操作的SKU的数字ID,可选。如果不填默认修改宝贝的库存,如果填上则修改该SKU的库存
func (*TaobaoItemQuantityUpdateAPIRequest) SetType ¶
func (r *TaobaoItemQuantityUpdateAPIRequest) SetType(_type int64) error
SetType is Type Setter 库存更新方式,可选。1为全量更新,2为增量更新。如果不填,默认为全量更新
type TaobaoItemQuantityUpdateAPIResponse ¶
type TaobaoItemQuantityUpdateAPIResponse struct { model.CommonResponse TaobaoItemQuantityUpdateAPIResponseModel }
TaobaoItemQuantityUpdateAPIResponse 宝贝/SKU库存修改 API返回值 taobao.item.quantity.update
提供按照全量或增量形式修改宝贝/SKU库存的功能
type TaobaoItemQuantityUpdateAPIResponseModel ¶
type TaobaoItemQuantityUpdateAPIResponseModel struct { XMLName xml.Name `xml:"item_quantity_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // iid、numIid、num和modified,skus中每个sku的skuId、quantity和modified Item *Item `json:"item,omitempty" xml:"item,omitempty"` }
TaobaoItemQuantityUpdateAPIResponseModel is 宝贝/SKU库存修改 成功返回结果
type TaobaoItemSellerGetAPIRequest ¶
type TaobaoItemSellerGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemSellerGetAPIRequest 获取单个商品详细信息 API请求 taobao.item.seller.get
获取单个商品的全部信息 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
func NewTaobaoItemSellerGetRequest ¶
func NewTaobaoItemSellerGetRequest() *TaobaoItemSellerGetAPIRequest
NewTaobaoItemSellerGetRequest 初始化TaobaoItemSellerGetAPIRequest对象
func (TaobaoItemSellerGetAPIRequest) GetApiMethodName ¶
func (r TaobaoItemSellerGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemSellerGetAPIRequest) GetApiParams ¶
func (r TaobaoItemSellerGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemSellerGetAPIRequest) GetFields ¶
func (r TaobaoItemSellerGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoItemSellerGetAPIRequest) GetNumIid ¶
func (r TaobaoItemSellerGetAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (*TaobaoItemSellerGetAPIRequest) SetFields ¶
func (r *TaobaoItemSellerGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需要返回的商品字段列表。可选值:Item商品结构体中所有字段均可返回,多个字段用“,”分隔。
func (*TaobaoItemSellerGetAPIRequest) SetNumIid ¶
func (r *TaobaoItemSellerGetAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品数字ID
type TaobaoItemSellerGetAPIResponse ¶
type TaobaoItemSellerGetAPIResponse struct { model.CommonResponse TaobaoItemSellerGetAPIResponseModel }
TaobaoItemSellerGetAPIResponse 获取单个商品详细信息 API返回值 taobao.item.seller.get
获取单个商品的全部信息 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
type TaobaoItemSellerGetAPIResponseModel ¶
type TaobaoItemSellerGetAPIResponseModel struct { XMLName xml.Name `xml:"item_seller_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品详细信息 Item *Item `json:"item,omitempty" xml:"item,omitempty"` }
TaobaoItemSellerGetAPIResponseModel is 获取单个商品详细信息 成功返回结果
type TaobaoItemSkuAddAPIRequest ¶
TaobaoItemSkuAddAPIRequest 添加SKU API请求 taobao.item.sku.add
新增一个sku到num_iid指定的商品中 <br/>传入的iid所对应的商品必须属于当前会话的用户
func NewTaobaoItemSkuAddRequest ¶
func NewTaobaoItemSkuAddRequest() *TaobaoItemSkuAddAPIRequest
NewTaobaoItemSkuAddRequest 初始化TaobaoItemSkuAddAPIRequest对象
func (TaobaoItemSkuAddAPIRequest) GetApiMethodName ¶
func (r TaobaoItemSkuAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemSkuAddAPIRequest) GetApiParams ¶
func (r TaobaoItemSkuAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemSkuAddAPIRequest) GetIgnorewarning ¶
func (r TaobaoItemSkuAddAPIRequest) GetIgnorewarning() string
GetIgnorewarning Ignorewarning Getter
func (TaobaoItemSkuAddAPIRequest) GetItemPrice ¶
func (r TaobaoItemSkuAddAPIRequest) GetItemPrice() float64
GetItemPrice ItemPrice Getter
func (TaobaoItemSkuAddAPIRequest) GetLang ¶
func (r TaobaoItemSkuAddAPIRequest) GetLang() string
GetLang Lang Getter
func (TaobaoItemSkuAddAPIRequest) GetNumIid ¶
func (r TaobaoItemSkuAddAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoItemSkuAddAPIRequest) GetOuterId ¶
func (r TaobaoItemSkuAddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoItemSkuAddAPIRequest) GetPrice ¶
func (r TaobaoItemSkuAddAPIRequest) GetPrice() float64
GetPrice Price Getter
func (TaobaoItemSkuAddAPIRequest) GetProperties ¶
func (r TaobaoItemSkuAddAPIRequest) GetProperties() string
GetProperties Properties Getter
func (TaobaoItemSkuAddAPIRequest) GetQuantity ¶
func (r TaobaoItemSkuAddAPIRequest) GetQuantity() int64
GetQuantity Quantity Getter
func (*TaobaoItemSkuAddAPIRequest) SetIgnorewarning ¶
func (r *TaobaoItemSkuAddAPIRequest) SetIgnorewarning(_ignorewarning string) error
SetIgnorewarning is Ignorewarning Setter 忽略警告提示.
func (*TaobaoItemSkuAddAPIRequest) SetItemPrice ¶
func (r *TaobaoItemSkuAddAPIRequest) SetItemPrice(_itemPrice float64) error
SetItemPrice is ItemPrice Setter sku所属商品的价格。当用户新增sku,使商品价格不属于sku价格之间的时候,用于修改商品的价格,使sku能够添加成功
func (*TaobaoItemSkuAddAPIRequest) SetLang ¶
func (r *TaobaoItemSkuAddAPIRequest) SetLang(_lang string) error
SetLang is Lang Setter Sku文字的版本。可选值:zh_HK(繁体),zh_CN(简体);默认值:zh_CN
func (*TaobaoItemSkuAddAPIRequest) SetNumIid ¶
func (r *TaobaoItemSkuAddAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter Sku所属商品数字id。必选
func (*TaobaoItemSkuAddAPIRequest) SetOuterId ¶
func (r *TaobaoItemSkuAddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter Sku的商家外部id
func (*TaobaoItemSkuAddAPIRequest) SetPrice ¶
func (r *TaobaoItemSkuAddAPIRequest) SetPrice(_price float64) error
SetPrice is Price Setter Sku的销售价格。商品的价格要在商品所有的sku的价格之间。精确到2位小数;单位:元。如:200.07,表示:200元7分
func (*TaobaoItemSkuAddAPIRequest) SetProperties ¶
func (r *TaobaoItemSkuAddAPIRequest) SetProperties(_properties string) error
SetProperties is Properties Setter Sku属性串。格式:pid:vid;pid:vid,如:1627207:3232483;1630696:3284570,表示:机身颜色:军绿色;手机套餐:一电一充。
func (*TaobaoItemSkuAddAPIRequest) SetQuantity ¶
func (r *TaobaoItemSkuAddAPIRequest) SetQuantity(_quantity int64) error
SetQuantity is Quantity Setter Sku的库存数量。sku的总数量应该小于等于商品总数量(Item的NUM)。取值范围:大于零的整数
type TaobaoItemSkuAddAPIResponse ¶
type TaobaoItemSkuAddAPIResponse struct { model.CommonResponse TaobaoItemSkuAddAPIResponseModel }
TaobaoItemSkuAddAPIResponse 添加SKU API返回值 taobao.item.sku.add
新增一个sku到num_iid指定的商品中 <br/>传入的iid所对应的商品必须属于当前会话的用户
type TaobaoItemSkuAddAPIResponseModel ¶
type TaobaoItemSkuAddAPIResponseModel struct { XMLName xml.Name `xml:"item_sku_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // sku Sku *Sku `json:"sku,omitempty" xml:"sku,omitempty"` }
TaobaoItemSkuAddAPIResponseModel is 添加SKU 成功返回结果
type TaobaoItemSkuDeleteAPIRequest ¶
type TaobaoItemSkuDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemSkuDeleteAPIRequest 删除SKU API请求 taobao.item.sku.delete
删除一个sku的数据<br/>需要删除的sku通过属性properties进行匹配查找
func NewTaobaoItemSkuDeleteRequest ¶
func NewTaobaoItemSkuDeleteRequest() *TaobaoItemSkuDeleteAPIRequest
NewTaobaoItemSkuDeleteRequest 初始化TaobaoItemSkuDeleteAPIRequest对象
func (TaobaoItemSkuDeleteAPIRequest) GetApiMethodName ¶
func (r TaobaoItemSkuDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemSkuDeleteAPIRequest) GetApiParams ¶
func (r TaobaoItemSkuDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemSkuDeleteAPIRequest) GetIgnorewarning ¶
func (r TaobaoItemSkuDeleteAPIRequest) GetIgnorewarning() string
GetIgnorewarning Ignorewarning Getter
func (TaobaoItemSkuDeleteAPIRequest) GetItemNum ¶
func (r TaobaoItemSkuDeleteAPIRequest) GetItemNum() int64
GetItemNum ItemNum Getter
func (TaobaoItemSkuDeleteAPIRequest) GetItemPrice ¶
func (r TaobaoItemSkuDeleteAPIRequest) GetItemPrice() float64
GetItemPrice ItemPrice Getter
func (TaobaoItemSkuDeleteAPIRequest) GetLang ¶
func (r TaobaoItemSkuDeleteAPIRequest) GetLang() string
GetLang Lang Getter
func (TaobaoItemSkuDeleteAPIRequest) GetNumIid ¶
func (r TaobaoItemSkuDeleteAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoItemSkuDeleteAPIRequest) GetProperties ¶
func (r TaobaoItemSkuDeleteAPIRequest) GetProperties() string
GetProperties Properties Getter
func (*TaobaoItemSkuDeleteAPIRequest) SetIgnorewarning ¶
func (r *TaobaoItemSkuDeleteAPIRequest) SetIgnorewarning(_ignorewarning string) error
SetIgnorewarning is Ignorewarning Setter 忽略警告提示.
func (*TaobaoItemSkuDeleteAPIRequest) SetItemNum ¶
func (r *TaobaoItemSkuDeleteAPIRequest) SetItemNum(_itemNum int64) error
SetItemNum is ItemNum Setter sku所属商品的数量,大于0的整数。当用户删除sku,使商品数量不等于sku数量之和时候,用于修改商品的数量,使sku能够删除成功。特别是删除最后一个sku的时候,一定要设置商品数量到正常的值,否则删除失败
func (*TaobaoItemSkuDeleteAPIRequest) SetItemPrice ¶
func (r *TaobaoItemSkuDeleteAPIRequest) SetItemPrice(_itemPrice float64) error
SetItemPrice is ItemPrice Setter sku所属商品的价格。当用户删除sku,使商品价格不属于sku价格之间的时候,用于修改商品的价格,使sku能够删除成功
func (*TaobaoItemSkuDeleteAPIRequest) SetLang ¶
func (r *TaobaoItemSkuDeleteAPIRequest) SetLang(_lang string) error
SetLang is Lang Setter Sku文字的版本。可选值:zh_HK(繁体),zh_CN(简体);默认值:zh_CN
func (*TaobaoItemSkuDeleteAPIRequest) SetNumIid ¶
func (r *TaobaoItemSkuDeleteAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter Sku所属商品数字id,可通过 taobao.item.get 获取。必选
func (*TaobaoItemSkuDeleteAPIRequest) SetProperties ¶
func (r *TaobaoItemSkuDeleteAPIRequest) SetProperties(_properties string) error
SetProperties is Properties Setter Sku属性串。格式:pid:vid;pid:vid,如: 1627207:3232483;1630696:3284570,表示机身颜色:军绿色;手机套餐:一电一充
type TaobaoItemSkuDeleteAPIResponse ¶
type TaobaoItemSkuDeleteAPIResponse struct { model.CommonResponse TaobaoItemSkuDeleteAPIResponseModel }
TaobaoItemSkuDeleteAPIResponse 删除SKU API返回值 taobao.item.sku.delete
删除一个sku的数据<br/>需要删除的sku通过属性properties进行匹配查找
type TaobaoItemSkuDeleteAPIResponseModel ¶
type TaobaoItemSkuDeleteAPIResponseModel struct { XMLName xml.Name `xml:"item_sku_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // Sku结构 Sku *Sku `json:"sku,omitempty" xml:"sku,omitempty"` }
TaobaoItemSkuDeleteAPIResponseModel is 删除SKU 成功返回结果
type TaobaoItemSkuGetAPIRequest ¶
TaobaoItemSkuGetAPIRequest 获取SKU API请求 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 NewTaobaoItemSkuGetRequest ¶
func NewTaobaoItemSkuGetRequest() *TaobaoItemSkuGetAPIRequest
NewTaobaoItemSkuGetRequest 初始化TaobaoItemSkuGetAPIRequest对象
func (TaobaoItemSkuGetAPIRequest) GetApiMethodName ¶
func (r TaobaoItemSkuGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemSkuGetAPIRequest) GetApiParams ¶
func (r TaobaoItemSkuGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemSkuGetAPIRequest) GetFields ¶
func (r TaobaoItemSkuGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoItemSkuGetAPIRequest) GetNumIid ¶
func (r TaobaoItemSkuGetAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoItemSkuGetAPIRequest) GetSkuId ¶
func (r TaobaoItemSkuGetAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (*TaobaoItemSkuGetAPIRequest) SetFields ¶
func (r *TaobaoItemSkuGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表。可选值:Sku结构体中的所有字段;字段之间用“,”分隔。
func (*TaobaoItemSkuGetAPIRequest) SetNumIid ¶
func (r *TaobaoItemSkuGetAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品的数字IID(num_iid和nick必传一个,推荐用num_iid),传商品的数字id返回的结果里包含cspu(SKu上的产品规格信息)。
func (*TaobaoItemSkuGetAPIRequest) SetSkuId ¶
func (r *TaobaoItemSkuGetAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter Sku的id。可以通过taobao.item.seller.get得到
type TaobaoItemSkuGetAPIResponse ¶
type TaobaoItemSkuGetAPIResponse struct { model.CommonResponse TaobaoItemSkuGetAPIResponseModel }
TaobaoItemSkuGetAPIResponse 获取SKU API返回值 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>
type TaobaoItemSkuGetAPIResponseModel ¶
type TaobaoItemSkuGetAPIResponseModel struct { XMLName xml.Name `xml:"item_sku_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // Sku Sku *Sku `json:"sku,omitempty" xml:"sku,omitempty"` }
TaobaoItemSkuGetAPIResponseModel is 获取SKU 成功返回结果
type TaobaoItemSkuPriceUpdateAPIRequest ¶
type TaobaoItemSkuPriceUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemSkuPriceUpdateAPIRequest 更新商品SKU的价格 API请求 taobao.item.sku.price.update
更新商品SKU的价格
func NewTaobaoItemSkuPriceUpdateRequest ¶
func NewTaobaoItemSkuPriceUpdateRequest() *TaobaoItemSkuPriceUpdateAPIRequest
NewTaobaoItemSkuPriceUpdateRequest 初始化TaobaoItemSkuPriceUpdateAPIRequest对象
func (TaobaoItemSkuPriceUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoItemSkuPriceUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemSkuPriceUpdateAPIRequest) GetApiParams ¶
func (r TaobaoItemSkuPriceUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemSkuPriceUpdateAPIRequest) GetIgnorewarning ¶
func (r TaobaoItemSkuPriceUpdateAPIRequest) GetIgnorewarning() string
GetIgnorewarning Ignorewarning Getter
func (TaobaoItemSkuPriceUpdateAPIRequest) GetItemPrice ¶
func (r TaobaoItemSkuPriceUpdateAPIRequest) GetItemPrice() float64
GetItemPrice ItemPrice Getter
func (TaobaoItemSkuPriceUpdateAPIRequest) GetLang ¶
func (r TaobaoItemSkuPriceUpdateAPIRequest) GetLang() string
GetLang Lang Getter
func (TaobaoItemSkuPriceUpdateAPIRequest) GetNumIid ¶
func (r TaobaoItemSkuPriceUpdateAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoItemSkuPriceUpdateAPIRequest) GetOuterId ¶
func (r TaobaoItemSkuPriceUpdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoItemSkuPriceUpdateAPIRequest) GetPrice ¶
func (r TaobaoItemSkuPriceUpdateAPIRequest) GetPrice() float64
GetPrice Price Getter
func (TaobaoItemSkuPriceUpdateAPIRequest) GetProperties ¶
func (r TaobaoItemSkuPriceUpdateAPIRequest) GetProperties() string
GetProperties Properties Getter
func (TaobaoItemSkuPriceUpdateAPIRequest) GetQuantity ¶
func (r TaobaoItemSkuPriceUpdateAPIRequest) GetQuantity() int64
GetQuantity Quantity Getter
func (*TaobaoItemSkuPriceUpdateAPIRequest) SetIgnorewarning ¶
func (r *TaobaoItemSkuPriceUpdateAPIRequest) SetIgnorewarning(_ignorewarning string) error
SetIgnorewarning is Ignorewarning Setter 忽略警告提示.
func (*TaobaoItemSkuPriceUpdateAPIRequest) SetItemPrice ¶
func (r *TaobaoItemSkuPriceUpdateAPIRequest) SetItemPrice(_itemPrice float64) error
SetItemPrice is ItemPrice Setter sku所属商品的价格。当用户更新sku,使商品价格不属于sku价格之间的时候,用于修改商品的价格,使sku能够更新成功
func (*TaobaoItemSkuPriceUpdateAPIRequest) SetLang ¶
func (r *TaobaoItemSkuPriceUpdateAPIRequest) SetLang(_lang string) error
SetLang is Lang Setter Sku文字的版本。可选值:zh_HK(繁体),zh_CN(简体);默认值:zh_CN
func (*TaobaoItemSkuPriceUpdateAPIRequest) SetNumIid ¶
func (r *TaobaoItemSkuPriceUpdateAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter Sku所属商品数字id,可通过 taobao.item.get 获取
func (*TaobaoItemSkuPriceUpdateAPIRequest) SetOuterId ¶
func (r *TaobaoItemSkuPriceUpdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter Sku的商家外部id
func (*TaobaoItemSkuPriceUpdateAPIRequest) SetPrice ¶
func (r *TaobaoItemSkuPriceUpdateAPIRequest) SetPrice(_price float64) error
SetPrice is Price Setter Sku的销售价格。精确到2位小数;单位:元。如:200.07,表示:200元7分。修改后的sku价格要保证商品的价格在所有sku价格所形成的价格区间内(例如:商品价格为6元,sku价格有5元、10元两种,如果要修改5元sku的价格,那么修改的范围只能是0-6元之间;如果要修改10元的sku,那么修改的范围只能是6到无穷大的区间中)
func (*TaobaoItemSkuPriceUpdateAPIRequest) SetProperties ¶
func (r *TaobaoItemSkuPriceUpdateAPIRequest) SetProperties(_properties string) error
SetProperties is Properties Setter Sku属性串。格式:pid:vid;pid:vid,如: 1627207:3232483;1630696:3284570,表示机身颜色:军绿色;手机套餐:一电一充
func (*TaobaoItemSkuPriceUpdateAPIRequest) SetQuantity ¶
func (r *TaobaoItemSkuPriceUpdateAPIRequest) SetQuantity(_quantity int64) error
SetQuantity is Quantity Setter Sku的库存数量。sku的总数量应该小于等于商品总数量(Item的NUM),sku数量变化后item的总数量也会随着变化。取值范围:大于等于零的整数
type TaobaoItemSkuPriceUpdateAPIResponse ¶
type TaobaoItemSkuPriceUpdateAPIResponse struct { model.CommonResponse TaobaoItemSkuPriceUpdateAPIResponseModel }
TaobaoItemSkuPriceUpdateAPIResponse 更新商品SKU的价格 API返回值 taobao.item.sku.price.update
更新商品SKU的价格
type TaobaoItemSkuPriceUpdateAPIResponseModel ¶
type TaobaoItemSkuPriceUpdateAPIResponseModel struct { XMLName xml.Name `xml:"item_sku_price_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品SKU信息(只包含num_iid和modified) Sku *Sku `json:"sku,omitempty" xml:"sku,omitempty"` }
TaobaoItemSkuPriceUpdateAPIResponseModel is 更新商品SKU的价格 成功返回结果
type TaobaoItemSkuUpdateAPIRequest ¶
type TaobaoItemSkuUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemSkuUpdateAPIRequest 更新SKU信息 API请求 taobao.item.sku.update
*更新一个sku的数据 <br/>*需要更新的sku通过属性properties进行匹配查找 <br/>*商品的数量和价格必须大于等于0 <br/>*sku记录会更新到指定的num_iid对应的商品中 <br/>*num_iid对应的商品必须属于当前的会话用户
func NewTaobaoItemSkuUpdateRequest ¶
func NewTaobaoItemSkuUpdateRequest() *TaobaoItemSkuUpdateAPIRequest
NewTaobaoItemSkuUpdateRequest 初始化TaobaoItemSkuUpdateAPIRequest对象
func (TaobaoItemSkuUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoItemSkuUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemSkuUpdateAPIRequest) GetApiParams ¶
func (r TaobaoItemSkuUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemSkuUpdateAPIRequest) GetIgnorewarning ¶
func (r TaobaoItemSkuUpdateAPIRequest) GetIgnorewarning() string
GetIgnorewarning Ignorewarning Getter
func (TaobaoItemSkuUpdateAPIRequest) GetItemPrice ¶
func (r TaobaoItemSkuUpdateAPIRequest) GetItemPrice() float64
GetItemPrice ItemPrice Getter
func (TaobaoItemSkuUpdateAPIRequest) GetLang ¶
func (r TaobaoItemSkuUpdateAPIRequest) GetLang() string
GetLang Lang Getter
func (TaobaoItemSkuUpdateAPIRequest) GetNumIid ¶
func (r TaobaoItemSkuUpdateAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoItemSkuUpdateAPIRequest) GetOuterId ¶
func (r TaobaoItemSkuUpdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoItemSkuUpdateAPIRequest) GetPrice ¶
func (r TaobaoItemSkuUpdateAPIRequest) GetPrice() float64
GetPrice Price Getter
func (TaobaoItemSkuUpdateAPIRequest) GetProperties ¶
func (r TaobaoItemSkuUpdateAPIRequest) GetProperties() string
GetProperties Properties Getter
func (TaobaoItemSkuUpdateAPIRequest) GetQuantity ¶
func (r TaobaoItemSkuUpdateAPIRequest) GetQuantity() int64
GetQuantity Quantity Getter
func (*TaobaoItemSkuUpdateAPIRequest) SetIgnorewarning ¶
func (r *TaobaoItemSkuUpdateAPIRequest) SetIgnorewarning(_ignorewarning string) error
SetIgnorewarning is Ignorewarning Setter 忽略警告提示.
func (*TaobaoItemSkuUpdateAPIRequest) SetItemPrice ¶
func (r *TaobaoItemSkuUpdateAPIRequest) SetItemPrice(_itemPrice float64) error
SetItemPrice is ItemPrice Setter sku所属商品的价格。当用户更新sku,使商品价格不属于sku价格之间的时候,用于修改商品的价格,使sku能够更新成功
func (*TaobaoItemSkuUpdateAPIRequest) SetLang ¶
func (r *TaobaoItemSkuUpdateAPIRequest) SetLang(_lang string) error
SetLang is Lang Setter Sku文字的版本。可选值:zh_HK(繁体),zh_CN(简体);默认值:zh_CN
func (*TaobaoItemSkuUpdateAPIRequest) SetNumIid ¶
func (r *TaobaoItemSkuUpdateAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter Sku所属商品数字id,可通过 taobao.item.get 获取
func (*TaobaoItemSkuUpdateAPIRequest) SetOuterId ¶
func (r *TaobaoItemSkuUpdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter Sku的商家外部id
func (*TaobaoItemSkuUpdateAPIRequest) SetPrice ¶
func (r *TaobaoItemSkuUpdateAPIRequest) SetPrice(_price float64) error
SetPrice is Price Setter Sku的销售价格。精确到2位小数;单位:元。如:200.07,表示:200元7分。修改后的sku价格要保证商品的价格在所有sku价格所形成的价格区间内(例如:商品价格为6元,sku价格有5元、10元两种,如果要修改5元sku的价格,那么修改的范围只能是0-6元之间;如果要修改10元的sku,那么修改的范围只能是6到无穷大的区间中)
func (*TaobaoItemSkuUpdateAPIRequest) SetProperties ¶
func (r *TaobaoItemSkuUpdateAPIRequest) SetProperties(_properties string) error
SetProperties is Properties Setter Sku属性串。格式:pid:vid;pid:vid,如: 1627207:3232483;1630696:3284570,表示机身颜色:军绿色;手机套餐:一电一充。<br/>如果包含自定义属性,则格式为pid:vid;pid2:vid2;$pText:vText , 其中$pText:vText为自定义属性。限制:其中$pText的’$’前缀不能少,且pText和vText文本中不可以存在 冒号:和分号;以及逗号,
func (*TaobaoItemSkuUpdateAPIRequest) SetQuantity ¶
func (r *TaobaoItemSkuUpdateAPIRequest) SetQuantity(_quantity int64) error
SetQuantity is Quantity Setter Sku的库存数量。sku的总数量应该小于等于商品总数量(Item的NUM),sku数量变化后item的总数量也会随着变化。取值范围:大于等于零的整数
type TaobaoItemSkuUpdateAPIResponse ¶
type TaobaoItemSkuUpdateAPIResponse struct { model.CommonResponse TaobaoItemSkuUpdateAPIResponseModel }
TaobaoItemSkuUpdateAPIResponse 更新SKU信息 API返回值 taobao.item.sku.update
*更新一个sku的数据 <br/>*需要更新的sku通过属性properties进行匹配查找 <br/>*商品的数量和价格必须大于等于0 <br/>*sku记录会更新到指定的num_iid对应的商品中 <br/>*num_iid对应的商品必须属于当前的会话用户
type TaobaoItemSkuUpdateAPIResponseModel ¶
type TaobaoItemSkuUpdateAPIResponseModel struct { XMLName xml.Name `xml:"item_sku_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品Sku Sku *Sku `json:"sku,omitempty" xml:"sku,omitempty"` }
TaobaoItemSkuUpdateAPIResponseModel is 更新SKU信息 成功返回结果
type TaobaoItemSkusGetAPIRequest ¶
TaobaoItemSkusGetAPIRequest 根据商品ID列表获取SKU信息 API请求 taobao.item.skus.get
* 获取多个商品下的所有sku <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
func NewTaobaoItemSkusGetRequest ¶
func NewTaobaoItemSkusGetRequest() *TaobaoItemSkusGetAPIRequest
NewTaobaoItemSkusGetRequest 初始化TaobaoItemSkusGetAPIRequest对象
func (TaobaoItemSkusGetAPIRequest) GetApiMethodName ¶
func (r TaobaoItemSkusGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemSkusGetAPIRequest) GetApiParams ¶
func (r TaobaoItemSkusGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemSkusGetAPIRequest) GetFields ¶
func (r TaobaoItemSkusGetAPIRequest) GetFields() []string
GetFields Fields Getter
func (TaobaoItemSkusGetAPIRequest) GetNumIids ¶
func (r TaobaoItemSkusGetAPIRequest) GetNumIids() string
GetNumIids NumIids Getter
func (*TaobaoItemSkusGetAPIRequest) SetFields ¶
func (r *TaobaoItemSkusGetAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 需返回的字段列表。可选值:Sku结构体中的所有字段;字段之间用“,”分隔。
func (*TaobaoItemSkusGetAPIRequest) SetNumIids ¶
func (r *TaobaoItemSkusGetAPIRequest) SetNumIids(_numIids string) error
SetNumIids is NumIids Setter sku所属商品数字id,必选。num_iid个数不能超过40个
type TaobaoItemSkusGetAPIResponse ¶
type TaobaoItemSkusGetAPIResponse struct { model.CommonResponse TaobaoItemSkusGetAPIResponseModel }
TaobaoItemSkusGetAPIResponse 根据商品ID列表获取SKU信息 API返回值 taobao.item.skus.get
* 获取多个商品下的所有sku <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
type TaobaoItemSkusGetAPIResponseModel ¶
type TaobaoItemSkusGetAPIResponseModel struct { XMLName xml.Name `xml:"item_skus_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // Sku列表 Skus []Sku `json:"skus,omitempty" xml:"skus>sku,omitempty"` }
TaobaoItemSkusGetAPIResponseModel is 根据商品ID列表获取SKU信息 成功返回结果
type TaobaoItemTemplatesGetAPIRequest ¶
TaobaoItemTemplatesGetAPIRequest 获取用户宝贝详情页模板名称 API请求 taobao.item.templates.get
查询当前登录用户的店铺的宝贝详情页的模板名称
func NewTaobaoItemTemplatesGetRequest ¶
func NewTaobaoItemTemplatesGetRequest() *TaobaoItemTemplatesGetAPIRequest
NewTaobaoItemTemplatesGetRequest 初始化TaobaoItemTemplatesGetAPIRequest对象
func (TaobaoItemTemplatesGetAPIRequest) GetApiMethodName ¶
func (r TaobaoItemTemplatesGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemTemplatesGetAPIRequest) GetApiParams ¶
func (r TaobaoItemTemplatesGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type TaobaoItemTemplatesGetAPIResponse ¶
type TaobaoItemTemplatesGetAPIResponse struct { model.CommonResponse TaobaoItemTemplatesGetAPIResponseModel }
TaobaoItemTemplatesGetAPIResponse 获取用户宝贝详情页模板名称 API返回值 taobao.item.templates.get
查询当前登录用户的店铺的宝贝详情页的模板名称
type TaobaoItemTemplatesGetAPIResponseModel ¶
type TaobaoItemTemplatesGetAPIResponseModel struct { XMLName xml.Name `xml:"item_templates_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回宝贝模板对象。包含模板id,模板name,还有模板的类别(0表示外店,1表示内店) ItemTemplateList []ItemTemplate `json:"item_template_list,omitempty" xml:"item_template_list>item_template,omitempty"` }
TaobaoItemTemplatesGetAPIResponseModel is 获取用户宝贝详情页模板名称 成功返回结果
type TaobaoItemUpdateAPIRequest ¶
TaobaoItemUpdateAPIRequest 更新商品信息 API请求 taobao.item.update
根据传入的num_iid更新对应的商品的数据。 传入的num_iid所对应的商品必须属于当前会话的用户 商品的属性和sku的属性有包含的关系,商品的价格要位于sku的价格区间之中(例如,sku价格有5元、10元两种,那么商品的价格就需要大于等于5元,小于等于10元,否则更新商品会失败) 商品的类目和商品的价格、sku的价格都有一定的相关性(具体的关系要通过类目属性查询接口获得) 当关键属性值更新为“其他”的时候,需要输入input_pids和input_str商品才能更新成功。该接口不支持产品属性修改。
func NewTaobaoItemUpdateRequest ¶
func NewTaobaoItemUpdateRequest() *TaobaoItemUpdateAPIRequest
NewTaobaoItemUpdateRequest 初始化TaobaoItemUpdateAPIRequest对象
func (TaobaoItemUpdateAPIRequest) GetAfterSaleId ¶
func (r TaobaoItemUpdateAPIRequest) GetAfterSaleId() int64
GetAfterSaleId AfterSaleId Getter
func (TaobaoItemUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoItemUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemUpdateAPIRequest) GetApiParams ¶
func (r TaobaoItemUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemUpdateAPIRequest) GetApproveStatus ¶
func (r TaobaoItemUpdateAPIRequest) GetApproveStatus() string
GetApproveStatus ApproveStatus Getter
func (TaobaoItemUpdateAPIRequest) GetAuctionPoint ¶
func (r TaobaoItemUpdateAPIRequest) GetAuctionPoint() int64
GetAuctionPoint AuctionPoint Getter
func (TaobaoItemUpdateAPIRequest) GetAutoFill ¶
func (r TaobaoItemUpdateAPIRequest) GetAutoFill() string
GetAutoFill AutoFill Getter
func (TaobaoItemUpdateAPIRequest) GetBarcode ¶
func (r TaobaoItemUpdateAPIRequest) GetBarcode() string
GetBarcode Barcode Getter
func (TaobaoItemUpdateAPIRequest) GetChangeProp ¶
func (r TaobaoItemUpdateAPIRequest) GetChangeProp() string
GetChangeProp ChangeProp Getter
func (TaobaoItemUpdateAPIRequest) GetCid ¶
func (r TaobaoItemUpdateAPIRequest) GetCid() int64
GetCid Cid Getter
func (TaobaoItemUpdateAPIRequest) GetCodPostageId ¶
func (r TaobaoItemUpdateAPIRequest) GetCodPostageId() int64
GetCodPostageId CodPostageId Getter
func (TaobaoItemUpdateAPIRequest) GetCpvMemo ¶
func (r TaobaoItemUpdateAPIRequest) GetCpvMemo() string
GetCpvMemo CpvMemo Getter
func (TaobaoItemUpdateAPIRequest) GetDeliveryTimeDeliveryTime ¶
func (r TaobaoItemUpdateAPIRequest) GetDeliveryTimeDeliveryTime() string
GetDeliveryTimeDeliveryTime DeliveryTimeDeliveryTime Getter
func (TaobaoItemUpdateAPIRequest) GetDeliveryTimeDeliveryTimeType ¶
func (r TaobaoItemUpdateAPIRequest) GetDeliveryTimeDeliveryTimeType() string
GetDeliveryTimeDeliveryTimeType DeliveryTimeDeliveryTimeType Getter
func (TaobaoItemUpdateAPIRequest) GetDeliveryTimeNeedDeliveryTime ¶
func (r TaobaoItemUpdateAPIRequest) GetDeliveryTimeNeedDeliveryTime() string
GetDeliveryTimeNeedDeliveryTime DeliveryTimeNeedDeliveryTime Getter
func (TaobaoItemUpdateAPIRequest) GetDesc ¶
func (r TaobaoItemUpdateAPIRequest) GetDesc() string
GetDesc Desc Getter
func (TaobaoItemUpdateAPIRequest) GetDescModules ¶
func (r TaobaoItemUpdateAPIRequest) GetDescModules() string
GetDescModules DescModules Getter
func (TaobaoItemUpdateAPIRequest) GetEmptyFields ¶
func (r TaobaoItemUpdateAPIRequest) GetEmptyFields() string
GetEmptyFields EmptyFields Getter
func (TaobaoItemUpdateAPIRequest) GetEmsFee ¶
func (r TaobaoItemUpdateAPIRequest) GetEmsFee() float64
GetEmsFee EmsFee Getter
func (TaobaoItemUpdateAPIRequest) GetExpressFee ¶
func (r TaobaoItemUpdateAPIRequest) GetExpressFee() float64
GetExpressFee ExpressFee Getter
func (TaobaoItemUpdateAPIRequest) GetFeatures ¶
func (r TaobaoItemUpdateAPIRequest) GetFeatures() string
GetFeatures Features Getter
func (TaobaoItemUpdateAPIRequest) GetFoodSecurityContact ¶
func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityContact() string
GetFoodSecurityContact FoodSecurityContact Getter
func (TaobaoItemUpdateAPIRequest) GetFoodSecurityDesignCode ¶
func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityDesignCode() string
GetFoodSecurityDesignCode FoodSecurityDesignCode Getter
func (TaobaoItemUpdateAPIRequest) GetFoodSecurityFactory ¶
func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityFactory() string
GetFoodSecurityFactory FoodSecurityFactory Getter
func (TaobaoItemUpdateAPIRequest) GetFoodSecurityFactorySite ¶
func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityFactorySite() string
GetFoodSecurityFactorySite FoodSecurityFactorySite Getter
func (TaobaoItemUpdateAPIRequest) GetFoodSecurityFoodAdditive ¶
func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityFoodAdditive() string
GetFoodSecurityFoodAdditive FoodSecurityFoodAdditive Getter
func (TaobaoItemUpdateAPIRequest) GetFoodSecurityHealthProductNo ¶
func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityHealthProductNo() string
GetFoodSecurityHealthProductNo FoodSecurityHealthProductNo Getter
func (TaobaoItemUpdateAPIRequest) GetFoodSecurityMix ¶
func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityMix() string
GetFoodSecurityMix FoodSecurityMix Getter
func (TaobaoItemUpdateAPIRequest) GetFoodSecurityPeriod ¶
func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityPeriod() string
GetFoodSecurityPeriod FoodSecurityPeriod Getter
func (TaobaoItemUpdateAPIRequest) GetFoodSecurityPlanStorage ¶
func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityPlanStorage() string
GetFoodSecurityPlanStorage FoodSecurityPlanStorage Getter
func (TaobaoItemUpdateAPIRequest) GetFoodSecurityPrdLicenseNo ¶
func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityPrdLicenseNo() string
GetFoodSecurityPrdLicenseNo FoodSecurityPrdLicenseNo Getter
func (TaobaoItemUpdateAPIRequest) GetFoodSecurityProductDateEnd ¶
func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityProductDateEnd() string
GetFoodSecurityProductDateEnd FoodSecurityProductDateEnd Getter
func (TaobaoItemUpdateAPIRequest) GetFoodSecurityProductDateStart ¶
func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityProductDateStart() string
GetFoodSecurityProductDateStart FoodSecurityProductDateStart Getter
func (TaobaoItemUpdateAPIRequest) GetFoodSecurityStockDateEnd ¶
func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityStockDateEnd() string
GetFoodSecurityStockDateEnd FoodSecurityStockDateEnd Getter
func (TaobaoItemUpdateAPIRequest) GetFoodSecurityStockDateStart ¶
func (r TaobaoItemUpdateAPIRequest) GetFoodSecurityStockDateStart() string
GetFoodSecurityStockDateStart FoodSecurityStockDateStart Getter
func (TaobaoItemUpdateAPIRequest) GetFoodSecuritySupplier ¶
func (r TaobaoItemUpdateAPIRequest) GetFoodSecuritySupplier() string
GetFoodSecuritySupplier FoodSecuritySupplier Getter
func (TaobaoItemUpdateAPIRequest) GetFreightPayer ¶
func (r TaobaoItemUpdateAPIRequest) GetFreightPayer() string
GetFreightPayer FreightPayer Getter
func (TaobaoItemUpdateAPIRequest) GetGlobalStockCountry ¶
func (r TaobaoItemUpdateAPIRequest) GetGlobalStockCountry() string
GetGlobalStockCountry GlobalStockCountry Getter
func (TaobaoItemUpdateAPIRequest) GetGlobalStockDeliveryPlace ¶
func (r TaobaoItemUpdateAPIRequest) GetGlobalStockDeliveryPlace() string
GetGlobalStockDeliveryPlace GlobalStockDeliveryPlace Getter
func (TaobaoItemUpdateAPIRequest) GetGlobalStockTaxFreePromise ¶
func (r TaobaoItemUpdateAPIRequest) GetGlobalStockTaxFreePromise() bool
GetGlobalStockTaxFreePromise GlobalStockTaxFreePromise Getter
func (TaobaoItemUpdateAPIRequest) GetGlobalStockType ¶
func (r TaobaoItemUpdateAPIRequest) GetGlobalStockType() string
GetGlobalStockType GlobalStockType Getter
func (TaobaoItemUpdateAPIRequest) GetHasDiscount ¶
func (r TaobaoItemUpdateAPIRequest) GetHasDiscount() bool
GetHasDiscount HasDiscount Getter
func (TaobaoItemUpdateAPIRequest) GetHasInvoice ¶
func (r TaobaoItemUpdateAPIRequest) GetHasInvoice() bool
GetHasInvoice HasInvoice Getter
func (TaobaoItemUpdateAPIRequest) GetHasShowcase ¶
func (r TaobaoItemUpdateAPIRequest) GetHasShowcase() bool
GetHasShowcase HasShowcase Getter
func (TaobaoItemUpdateAPIRequest) GetHasWarranty ¶
func (r TaobaoItemUpdateAPIRequest) GetHasWarranty() bool
GetHasWarranty HasWarranty Getter
func (TaobaoItemUpdateAPIRequest) GetIgnorewarning ¶
func (r TaobaoItemUpdateAPIRequest) GetIgnorewarning() string
GetIgnorewarning Ignorewarning Getter
func (TaobaoItemUpdateAPIRequest) GetImage ¶
func (r TaobaoItemUpdateAPIRequest) GetImage() *model.File
GetImage Image Getter
func (TaobaoItemUpdateAPIRequest) GetIncrement ¶
func (r TaobaoItemUpdateAPIRequest) GetIncrement() float64
GetIncrement Increment Getter
func (TaobaoItemUpdateAPIRequest) GetInputCustomCpv ¶
func (r TaobaoItemUpdateAPIRequest) GetInputCustomCpv() string
GetInputCustomCpv InputCustomCpv Getter
func (TaobaoItemUpdateAPIRequest) GetInputPids ¶
func (r TaobaoItemUpdateAPIRequest) GetInputPids() string
GetInputPids InputPids Getter
func (TaobaoItemUpdateAPIRequest) GetInputStr ¶
func (r TaobaoItemUpdateAPIRequest) GetInputStr() string
GetInputStr InputStr Getter
func (TaobaoItemUpdateAPIRequest) GetInteractiveId ¶
func (r TaobaoItemUpdateAPIRequest) GetInteractiveId() int64
GetInteractiveId InteractiveId Getter
func (TaobaoItemUpdateAPIRequest) GetIs3D ¶
func (r TaobaoItemUpdateAPIRequest) GetIs3D() bool
GetIs3D Is3D Getter
func (TaobaoItemUpdateAPIRequest) GetIsEx ¶
func (r TaobaoItemUpdateAPIRequest) GetIsEx() bool
GetIsEx IsEx Getter
func (TaobaoItemUpdateAPIRequest) GetIsLightningConsignment ¶
func (r TaobaoItemUpdateAPIRequest) GetIsLightningConsignment() bool
GetIsLightningConsignment IsLightningConsignment Getter
func (TaobaoItemUpdateAPIRequest) GetIsOffline ¶
func (r TaobaoItemUpdateAPIRequest) GetIsOffline() string
GetIsOffline IsOffline Getter
func (TaobaoItemUpdateAPIRequest) GetIsReplaceSku ¶
func (r TaobaoItemUpdateAPIRequest) GetIsReplaceSku() bool
GetIsReplaceSku IsReplaceSku Getter
func (TaobaoItemUpdateAPIRequest) GetIsTaobao ¶
func (r TaobaoItemUpdateAPIRequest) GetIsTaobao() bool
GetIsTaobao IsTaobao Getter
func (TaobaoItemUpdateAPIRequest) GetIsXinpin ¶
func (r TaobaoItemUpdateAPIRequest) GetIsXinpin() bool
GetIsXinpin IsXinpin Getter
func (TaobaoItemUpdateAPIRequest) GetItemSize ¶
func (r TaobaoItemUpdateAPIRequest) GetItemSize() string
GetItemSize ItemSize Getter
func (TaobaoItemUpdateAPIRequest) GetItemWeight ¶
func (r TaobaoItemUpdateAPIRequest) GetItemWeight() string
GetItemWeight ItemWeight Getter
func (TaobaoItemUpdateAPIRequest) GetLang ¶
func (r TaobaoItemUpdateAPIRequest) GetLang() string
GetLang Lang Getter
func (TaobaoItemUpdateAPIRequest) GetLeaseExtendsInfo ¶
func (r TaobaoItemUpdateAPIRequest) GetLeaseExtendsInfo() string
GetLeaseExtendsInfo LeaseExtendsInfo Getter
func (TaobaoItemUpdateAPIRequest) GetListTime ¶
func (r TaobaoItemUpdateAPIRequest) GetListTime() string
GetListTime ListTime Getter
func (TaobaoItemUpdateAPIRequest) GetLocalityLifeChooseLogis ¶
func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeChooseLogis() string
GetLocalityLifeChooseLogis LocalityLifeChooseLogis Getter
func (TaobaoItemUpdateAPIRequest) GetLocalityLifeEticket ¶
func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeEticket() string
GetLocalityLifeEticket LocalityLifeEticket Getter
func (TaobaoItemUpdateAPIRequest) GetLocalityLifeExpirydate ¶
func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeExpirydate() string
GetLocalityLifeExpirydate LocalityLifeExpirydate Getter
func (TaobaoItemUpdateAPIRequest) GetLocalityLifeMerchant ¶
func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeMerchant() string
GetLocalityLifeMerchant LocalityLifeMerchant Getter
func (TaobaoItemUpdateAPIRequest) GetLocalityLifeNetworkId ¶
func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeNetworkId() string
GetLocalityLifeNetworkId LocalityLifeNetworkId Getter
func (TaobaoItemUpdateAPIRequest) GetLocalityLifeObs ¶
func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeObs() string
GetLocalityLifeObs LocalityLifeObs Getter
func (TaobaoItemUpdateAPIRequest) GetLocalityLifeOnsaleAutoRefundRatio ¶
func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeOnsaleAutoRefundRatio() int64
GetLocalityLifeOnsaleAutoRefundRatio LocalityLifeOnsaleAutoRefundRatio Getter
func (TaobaoItemUpdateAPIRequest) GetLocalityLifePackageid ¶
func (r TaobaoItemUpdateAPIRequest) GetLocalityLifePackageid() string
GetLocalityLifePackageid LocalityLifePackageid Getter
func (TaobaoItemUpdateAPIRequest) GetLocalityLifeRefundRatio ¶
func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeRefundRatio() int64
GetLocalityLifeRefundRatio LocalityLifeRefundRatio Getter
func (TaobaoItemUpdateAPIRequest) GetLocalityLifeRefundmafee ¶
func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeRefundmafee() string
GetLocalityLifeRefundmafee LocalityLifeRefundmafee Getter
func (TaobaoItemUpdateAPIRequest) GetLocalityLifeVerification ¶
func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeVerification() string
GetLocalityLifeVerification LocalityLifeVerification Getter
func (TaobaoItemUpdateAPIRequest) GetLocalityLifeVersion ¶
func (r TaobaoItemUpdateAPIRequest) GetLocalityLifeVersion() string
GetLocalityLifeVersion LocalityLifeVersion Getter
func (TaobaoItemUpdateAPIRequest) GetLocationCity ¶
func (r TaobaoItemUpdateAPIRequest) GetLocationCity() string
GetLocationCity LocationCity Getter
func (TaobaoItemUpdateAPIRequest) GetLocationState ¶
func (r TaobaoItemUpdateAPIRequest) GetLocationState() string
GetLocationState LocationState Getter
func (TaobaoItemUpdateAPIRequest) GetMsPaymentPrice ¶
func (r TaobaoItemUpdateAPIRequest) GetMsPaymentPrice() string
GetMsPaymentPrice MsPaymentPrice Getter
func (TaobaoItemUpdateAPIRequest) GetMsPaymentReferencePrice ¶
func (r TaobaoItemUpdateAPIRequest) GetMsPaymentReferencePrice() string
GetMsPaymentReferencePrice MsPaymentReferencePrice Getter
func (TaobaoItemUpdateAPIRequest) GetMsPaymentVoucherPrice ¶
func (r TaobaoItemUpdateAPIRequest) GetMsPaymentVoucherPrice() string
GetMsPaymentVoucherPrice MsPaymentVoucherPrice Getter
func (TaobaoItemUpdateAPIRequest) GetNewprepay ¶
func (r TaobaoItemUpdateAPIRequest) GetNewprepay() string
GetNewprepay Newprepay Getter
func (TaobaoItemUpdateAPIRequest) GetNum ¶
func (r TaobaoItemUpdateAPIRequest) GetNum() int64
GetNum Num Getter
func (TaobaoItemUpdateAPIRequest) GetNumIid ¶
func (r TaobaoItemUpdateAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoItemUpdateAPIRequest) GetO2oBindService ¶
func (r TaobaoItemUpdateAPIRequest) GetO2oBindService() bool
GetO2oBindService O2oBindService Getter
func (TaobaoItemUpdateAPIRequest) GetOuterId ¶
func (r TaobaoItemUpdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoItemUpdateAPIRequest) GetPaimaiInfoDeposit ¶
func (r TaobaoItemUpdateAPIRequest) GetPaimaiInfoDeposit() int64
GetPaimaiInfoDeposit PaimaiInfoDeposit Getter
func (TaobaoItemUpdateAPIRequest) GetPaimaiInfoInterval ¶
func (r TaobaoItemUpdateAPIRequest) GetPaimaiInfoInterval() int64
GetPaimaiInfoInterval PaimaiInfoInterval Getter
func (TaobaoItemUpdateAPIRequest) GetPaimaiInfoMode ¶
func (r TaobaoItemUpdateAPIRequest) GetPaimaiInfoMode() int64
GetPaimaiInfoMode PaimaiInfoMode Getter
func (TaobaoItemUpdateAPIRequest) GetPaimaiInfoReserve ¶
func (r TaobaoItemUpdateAPIRequest) GetPaimaiInfoReserve() float64
GetPaimaiInfoReserve PaimaiInfoReserve Getter
func (TaobaoItemUpdateAPIRequest) GetPaimaiInfoValidHour ¶
func (r TaobaoItemUpdateAPIRequest) GetPaimaiInfoValidHour() int64
GetPaimaiInfoValidHour PaimaiInfoValidHour Getter
func (TaobaoItemUpdateAPIRequest) GetPaimaiInfoValidMinute ¶
func (r TaobaoItemUpdateAPIRequest) GetPaimaiInfoValidMinute() int64
GetPaimaiInfoValidMinute PaimaiInfoValidMinute Getter
func (TaobaoItemUpdateAPIRequest) GetPicPath ¶
func (r TaobaoItemUpdateAPIRequest) GetPicPath() string
GetPicPath PicPath Getter
func (TaobaoItemUpdateAPIRequest) GetPostFee ¶
func (r TaobaoItemUpdateAPIRequest) GetPostFee() float64
GetPostFee PostFee Getter
func (TaobaoItemUpdateAPIRequest) GetPostageId ¶
func (r TaobaoItemUpdateAPIRequest) GetPostageId() int64
GetPostageId PostageId Getter
func (TaobaoItemUpdateAPIRequest) GetPrice ¶
func (r TaobaoItemUpdateAPIRequest) GetPrice() float64
GetPrice Price Getter
func (TaobaoItemUpdateAPIRequest) GetProductId ¶
func (r TaobaoItemUpdateAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TaobaoItemUpdateAPIRequest) GetPropertyAlias ¶
func (r TaobaoItemUpdateAPIRequest) GetPropertyAlias() string
GetPropertyAlias PropertyAlias Getter
func (TaobaoItemUpdateAPIRequest) GetProps ¶
func (r TaobaoItemUpdateAPIRequest) GetProps() string
GetProps Props Getter
func (TaobaoItemUpdateAPIRequest) GetQualification ¶
func (r TaobaoItemUpdateAPIRequest) GetQualification() string
GetQualification Qualification Getter
func (TaobaoItemUpdateAPIRequest) GetScenicTicketBookCost ¶
func (r TaobaoItemUpdateAPIRequest) GetScenicTicketBookCost() string
GetScenicTicketBookCost ScenicTicketBookCost Getter
func (TaobaoItemUpdateAPIRequest) GetScenicTicketPayWay ¶
func (r TaobaoItemUpdateAPIRequest) GetScenicTicketPayWay() int64
GetScenicTicketPayWay ScenicTicketPayWay Getter
func (TaobaoItemUpdateAPIRequest) GetSellPoint ¶
func (r TaobaoItemUpdateAPIRequest) GetSellPoint() string
GetSellPoint SellPoint Getter
func (TaobaoItemUpdateAPIRequest) GetSellPromise ¶
func (r TaobaoItemUpdateAPIRequest) GetSellPromise() bool
GetSellPromise SellPromise Getter
func (TaobaoItemUpdateAPIRequest) GetSellerCids ¶
func (r TaobaoItemUpdateAPIRequest) GetSellerCids() string
GetSellerCids SellerCids Getter
func (TaobaoItemUpdateAPIRequest) GetSkuBarcode ¶
func (r TaobaoItemUpdateAPIRequest) GetSkuBarcode() string
GetSkuBarcode SkuBarcode Getter
func (TaobaoItemUpdateAPIRequest) GetSkuDeliveryTimes ¶
func (r TaobaoItemUpdateAPIRequest) GetSkuDeliveryTimes() string
GetSkuDeliveryTimes SkuDeliveryTimes Getter
func (TaobaoItemUpdateAPIRequest) GetSkuHdHeight ¶
func (r TaobaoItemUpdateAPIRequest) GetSkuHdHeight() string
GetSkuHdHeight SkuHdHeight Getter
func (TaobaoItemUpdateAPIRequest) GetSkuHdLampQuantity ¶
func (r TaobaoItemUpdateAPIRequest) GetSkuHdLampQuantity() string
GetSkuHdLampQuantity SkuHdLampQuantity Getter
func (TaobaoItemUpdateAPIRequest) GetSkuHdLength ¶
func (r TaobaoItemUpdateAPIRequest) GetSkuHdLength() string
GetSkuHdLength SkuHdLength Getter
func (TaobaoItemUpdateAPIRequest) GetSkuOuterIds ¶
func (r TaobaoItemUpdateAPIRequest) GetSkuOuterIds() string
GetSkuOuterIds SkuOuterIds Getter
func (TaobaoItemUpdateAPIRequest) GetSkuPrices ¶
func (r TaobaoItemUpdateAPIRequest) GetSkuPrices() string
GetSkuPrices SkuPrices Getter
func (TaobaoItemUpdateAPIRequest) GetSkuProperties ¶
func (r TaobaoItemUpdateAPIRequest) GetSkuProperties() string
GetSkuProperties SkuProperties Getter
func (TaobaoItemUpdateAPIRequest) GetSkuQuantities ¶
func (r TaobaoItemUpdateAPIRequest) GetSkuQuantities() string
GetSkuQuantities SkuQuantities Getter
func (TaobaoItemUpdateAPIRequest) GetSkuSpecIds ¶
func (r TaobaoItemUpdateAPIRequest) GetSkuSpecIds() string
GetSkuSpecIds SkuSpecIds Getter
func (TaobaoItemUpdateAPIRequest) GetSpuConfirm ¶
func (r TaobaoItemUpdateAPIRequest) GetSpuConfirm() bool
GetSpuConfirm SpuConfirm Getter
func (TaobaoItemUpdateAPIRequest) GetStuffStatus ¶
func (r TaobaoItemUpdateAPIRequest) GetStuffStatus() string
GetStuffStatus StuffStatus Getter
func (TaobaoItemUpdateAPIRequest) GetSubStock ¶
func (r TaobaoItemUpdateAPIRequest) GetSubStock() int64
GetSubStock SubStock Getter
func (TaobaoItemUpdateAPIRequest) GetTitle ¶
func (r TaobaoItemUpdateAPIRequest) GetTitle() string
GetTitle Title Getter
func (TaobaoItemUpdateAPIRequest) GetValidThru ¶
func (r TaobaoItemUpdateAPIRequest) GetValidThru() int64
GetValidThru ValidThru Getter
func (TaobaoItemUpdateAPIRequest) GetVideoId ¶
func (r TaobaoItemUpdateAPIRequest) GetVideoId() int64
GetVideoId VideoId Getter
func (TaobaoItemUpdateAPIRequest) GetWeight ¶
func (r TaobaoItemUpdateAPIRequest) GetWeight() int64
GetWeight Weight Getter
func (TaobaoItemUpdateAPIRequest) GetWirelessDesc ¶
func (r TaobaoItemUpdateAPIRequest) GetWirelessDesc() string
GetWirelessDesc WirelessDesc Getter
func (*TaobaoItemUpdateAPIRequest) SetAfterSaleId ¶
func (r *TaobaoItemUpdateAPIRequest) SetAfterSaleId(_afterSaleId int64) error
SetAfterSaleId is AfterSaleId Setter 售后说明模板id
func (*TaobaoItemUpdateAPIRequest) SetApproveStatus ¶
func (r *TaobaoItemUpdateAPIRequest) SetApproveStatus(_approveStatus string) error
SetApproveStatus is ApproveStatus Setter 商品上传后的状态。可选值:onsale(出售中),instock(库中),如果同时更新商品状态为出售中及list_time为将来的时间,则商品还是处于定时上架的状态, 此时item.is_timing为true
func (*TaobaoItemUpdateAPIRequest) SetAuctionPoint ¶
func (r *TaobaoItemUpdateAPIRequest) SetAuctionPoint(_auctionPoint int64) error
SetAuctionPoint is AuctionPoint Setter 商品的积分返点比例。如:5 表示返点比例0.5%. 注意:返点比例必须是>0的整数,而且最大是90,即为9%.B商家在发布非虚拟商品时,返点必须是 5的倍数,即0.5%的倍数。其它是1的倍数,即0.1%的倍数。无名良品商家发布商品时,复用该字段记录积分宝返点比例,返点必须是对应类目的返点步长的整数倍,默认是5,即0.5%。注意此时该字段值依旧必须是>0的整数,注意此时该字段值依旧必须是>0的整数,最高值不超过500,即50%
func (*TaobaoItemUpdateAPIRequest) SetAutoFill ¶
func (r *TaobaoItemUpdateAPIRequest) SetAutoFill(_autoFill string) error
SetAutoFill is AutoFill Setter 代充商品类型。只有少数类目下的商品可以标记上此字段,具体哪些类目可以上传可以通过taobao.itemcat.features.get获得。在代充商品的类目下,不传表示不标记商品类型(交易搜索中就不能通过标记搜到相关的交易了)。可选类型: no_mark(不做类型标记) time_card(点卡软件代充) fee_card(话费软件代充)
func (*TaobaoItemUpdateAPIRequest) SetBarcode ¶
func (r *TaobaoItemUpdateAPIRequest) SetBarcode(_barcode string) error
SetBarcode is Barcode Setter 商品条形码
func (*TaobaoItemUpdateAPIRequest) SetChangeProp ¶
func (r *TaobaoItemUpdateAPIRequest) SetChangeProp(_changeProp string) error
SetChangeProp is ChangeProp Setter 基础色数据,淘宝不使用
func (*TaobaoItemUpdateAPIRequest) SetCid ¶
func (r *TaobaoItemUpdateAPIRequest) SetCid(_cid int64) error
SetCid is Cid Setter 叶子类目id
func (*TaobaoItemUpdateAPIRequest) SetCodPostageId ¶
func (r *TaobaoItemUpdateAPIRequest) SetCodPostageId(_codPostageId int64) error
SetCodPostageId is CodPostageId Setter 货到付款运费模板ID该字段已经废弃,货到付款模板已经集成到运费模板中。
func (*TaobaoItemUpdateAPIRequest) SetCpvMemo ¶
func (r *TaobaoItemUpdateAPIRequest) SetCpvMemo(_cpvMemo string) error
SetCpvMemo is CpvMemo Setter 针对当前商品的标准属性值的补充说明,让买家更加了解商品信息减少交易纠纷
func (*TaobaoItemUpdateAPIRequest) SetDeliveryTimeDeliveryTime ¶
func (r *TaobaoItemUpdateAPIRequest) SetDeliveryTimeDeliveryTime(_deliveryTimeDeliveryTime string) error
SetDeliveryTimeDeliveryTime is DeliveryTimeDeliveryTime Setter 商品级别设置的发货时间。设置了商品级别的发货时间,相对发货时间,则填写相对发货时间的天数(大于3);绝对发货时间,则填写yyyy-mm-dd格式,如2013-11-11
func (*TaobaoItemUpdateAPIRequest) SetDeliveryTimeDeliveryTimeType ¶
func (r *TaobaoItemUpdateAPIRequest) SetDeliveryTimeDeliveryTimeType(_deliveryTimeDeliveryTimeType string) error
SetDeliveryTimeDeliveryTimeType is DeliveryTimeDeliveryTimeType Setter 发货时间类型:绝对发货时间或者相对发货时间
func (*TaobaoItemUpdateAPIRequest) SetDeliveryTimeNeedDeliveryTime ¶
func (r *TaobaoItemUpdateAPIRequest) SetDeliveryTimeNeedDeliveryTime(_deliveryTimeNeedDeliveryTime string) error
SetDeliveryTimeNeedDeliveryTime is DeliveryTimeNeedDeliveryTime Setter 设置是否使用发货时间,商品级别,sku级别
func (*TaobaoItemUpdateAPIRequest) SetDesc ¶
func (r *TaobaoItemUpdateAPIRequest) SetDesc(_desc string) error
SetDesc is Desc Setter 商品描述. 字数要大于5个字符,小于25000个字符 ,受违禁词控制
func (*TaobaoItemUpdateAPIRequest) SetDescModules ¶
func (r *TaobaoItemUpdateAPIRequest) SetDescModules(_descModules string) error
SetDescModules is DescModules Setter 已废弃
func (*TaobaoItemUpdateAPIRequest) SetEmptyFields ¶
func (r *TaobaoItemUpdateAPIRequest) SetEmptyFields(_emptyFields string) error
SetEmptyFields is EmptyFields Setter 支持宝贝信息的删除,如需删除对应的食品安全信息中的储藏方法、保质期, 则应该设置此参数的值为:food_security.plan_storage,food_security.period; 各个参数的名称之间用【,】分割, 如果对应的参数有设置过值,即使在这个列表中,也不会被删除; 目前支持此功能的宝贝信息如下:食品安全信息所有字段、电子交易凭证字段(locality_life,locality_life.verification,locality_life.refund_ratio,locality_life.network_id ,locality_life.onsale_auto_refund_ratio)。支持对全球购宝贝信息的清除(字符串中包含global_stock)
func (*TaobaoItemUpdateAPIRequest) SetEmsFee ¶
func (r *TaobaoItemUpdateAPIRequest) SetEmsFee(_emsFee float64) error
SetEmsFee is EmsFee Setter ems费用。取值范围:0.01-999.00;精确到2位小数;单位:元。如:25.07,表示:25元7分
func (*TaobaoItemUpdateAPIRequest) SetExpressFee ¶
func (r *TaobaoItemUpdateAPIRequest) SetExpressFee(_expressFee float64) error
SetExpressFee is ExpressFee Setter 快递费用。取值范围:0.01-999.00;精确到2位小数;单位:元。如:15.07,表示:15元7分
func (*TaobaoItemUpdateAPIRequest) SetFeatures ¶
func (r *TaobaoItemUpdateAPIRequest) SetFeatures(_features string) error
SetFeatures is Features Setter 宝贝特征值,格式为:【key1:value1;key2:value2;key3:value3;】,key和value用【:】分隔,key&value之间用【;】分隔,只有在Top支持的特征值才能保存到宝贝上,目前支持的Key列表为:mysize_tp,是指尺码库对应的key
func (*TaobaoItemUpdateAPIRequest) SetFoodSecurityContact ¶
func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityContact(_foodSecurityContact string) error
SetFoodSecurityContact is FoodSecurityContact Setter 厂家联系方式
func (*TaobaoItemUpdateAPIRequest) SetFoodSecurityDesignCode ¶
func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityDesignCode(_foodSecurityDesignCode string) error
SetFoodSecurityDesignCode is FoodSecurityDesignCode Setter 产品标准号
func (*TaobaoItemUpdateAPIRequest) SetFoodSecurityFactory ¶
func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityFactory(_foodSecurityFactory string) error
SetFoodSecurityFactory is FoodSecurityFactory Setter 厂名
func (*TaobaoItemUpdateAPIRequest) SetFoodSecurityFactorySite ¶
func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityFactorySite(_foodSecurityFactorySite string) error
SetFoodSecurityFactorySite is FoodSecurityFactorySite Setter 厂址
func (*TaobaoItemUpdateAPIRequest) SetFoodSecurityFoodAdditive ¶
func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityFoodAdditive(_foodSecurityFoodAdditive string) error
SetFoodSecurityFoodAdditive is FoodSecurityFoodAdditive Setter 食品添加剂
func (*TaobaoItemUpdateAPIRequest) SetFoodSecurityHealthProductNo ¶
func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityHealthProductNo(_foodSecurityHealthProductNo string) error
SetFoodSecurityHealthProductNo is FoodSecurityHealthProductNo Setter 健字号,保健品/膳食营养补充剂 这个类目下特有的信息,此类目下无需填写生产许可证编号(QS),如果填写了生产许可证编号(QS)将被忽略不保存;保存宝贝时,标题前会自动加上健字号产品名称一起作为宝贝标题;
func (*TaobaoItemUpdateAPIRequest) SetFoodSecurityMix ¶
func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityMix(_foodSecurityMix string) error
SetFoodSecurityMix is FoodSecurityMix Setter 配料表
func (*TaobaoItemUpdateAPIRequest) SetFoodSecurityPeriod ¶
func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityPeriod(_foodSecurityPeriod string) error
SetFoodSecurityPeriod is FoodSecurityPeriod Setter 保质期,默认有单位,传入数字
func (*TaobaoItemUpdateAPIRequest) SetFoodSecurityPlanStorage ¶
func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityPlanStorage(_foodSecurityPlanStorage string) error
SetFoodSecurityPlanStorage is FoodSecurityPlanStorage Setter 储藏方法
func (*TaobaoItemUpdateAPIRequest) SetFoodSecurityPrdLicenseNo ¶
func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityPrdLicenseNo(_foodSecurityPrdLicenseNo string) error
SetFoodSecurityPrdLicenseNo is FoodSecurityPrdLicenseNo Setter 生产许可证号
func (*TaobaoItemUpdateAPIRequest) SetFoodSecurityProductDateEnd ¶
func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityProductDateEnd(_foodSecurityProductDateEnd string) error
SetFoodSecurityProductDateEnd is FoodSecurityProductDateEnd Setter 生产结束日期,格式必须为yyyy-MM-dd
func (*TaobaoItemUpdateAPIRequest) SetFoodSecurityProductDateStart ¶
func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityProductDateStart(_foodSecurityProductDateStart string) error
SetFoodSecurityProductDateStart is FoodSecurityProductDateStart Setter 生产开始日期,格式必须为yyyy-MM-dd
func (*TaobaoItemUpdateAPIRequest) SetFoodSecurityStockDateEnd ¶
func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityStockDateEnd(_foodSecurityStockDateEnd string) error
SetFoodSecurityStockDateEnd is FoodSecurityStockDateEnd Setter 进货结束日期,要在生产日期之后,格式必须为yyyy-MM-dd
func (*TaobaoItemUpdateAPIRequest) SetFoodSecurityStockDateStart ¶
func (r *TaobaoItemUpdateAPIRequest) SetFoodSecurityStockDateStart(_foodSecurityStockDateStart string) error
SetFoodSecurityStockDateStart is FoodSecurityStockDateStart Setter 进货开始日期,要在生产日期之后,格式必须为yyyy-MM-dd
func (*TaobaoItemUpdateAPIRequest) SetFoodSecuritySupplier ¶
func (r *TaobaoItemUpdateAPIRequest) SetFoodSecuritySupplier(_foodSecuritySupplier string) error
SetFoodSecuritySupplier is FoodSecuritySupplier Setter 供货商
func (*TaobaoItemUpdateAPIRequest) SetFreightPayer ¶
func (r *TaobaoItemUpdateAPIRequest) SetFreightPayer(_freightPayer string) error
SetFreightPayer is FreightPayer Setter 运费承担方式。运费承担方式。可选值:seller(卖家承担),buyer(买家承担);
func (*TaobaoItemUpdateAPIRequest) SetGlobalStockCountry ¶
func (r *TaobaoItemUpdateAPIRequest) SetGlobalStockCountry(_globalStockCountry string) error
SetGlobalStockCountry is GlobalStockCountry Setter 全球购商品采购地(地区/国家),默认值只在全球购商品采购地(库存类型选择情况生效),地区国家值为(美国, 香港, 日本, 英国, 新西兰, 德国, 韩国, 荷兰, 澳洲, 法国, 意大利, 台湾, 澳门, 加拿大, 瑞士, 西班牙, 泰国, 新加坡, 马来西亚, 菲律宾, 其他)
func (*TaobaoItemUpdateAPIRequest) SetGlobalStockDeliveryPlace ¶
func (r *TaobaoItemUpdateAPIRequest) SetGlobalStockDeliveryPlace(_globalStockDeliveryPlace string) error
SetGlobalStockDeliveryPlace is GlobalStockDeliveryPlace Setter 全球购商品发货地,发货地现在有两种类型:“国内”和“海外及港澳台”,参数值为1时代表“国内”,值为2时代表“海外及港澳台”
func (*TaobaoItemUpdateAPIRequest) SetGlobalStockTaxFreePromise ¶
func (r *TaobaoItemUpdateAPIRequest) SetGlobalStockTaxFreePromise(_globalStockTaxFreePromise bool) error
SetGlobalStockTaxFreePromise is GlobalStockTaxFreePromise Setter 全球购商品卖家包税承诺,当值为true时,代表卖家承诺包税。
func (*TaobaoItemUpdateAPIRequest) SetGlobalStockType ¶
func (r *TaobaoItemUpdateAPIRequest) SetGlobalStockType(_globalStockType string) error
SetGlobalStockType is GlobalStockType Setter 全球购商品采购地(库存类型)全球购商品有两种库存类型:现货和代购 参数值为1时代表现货,值为2时代表代购。注意:使用时请与 全球购商品采购地(地区/国家)配合使用
func (*TaobaoItemUpdateAPIRequest) SetHasDiscount ¶
func (r *TaobaoItemUpdateAPIRequest) SetHasDiscount(_hasDiscount bool) error
SetHasDiscount is HasDiscount Setter 支持会员打折。可选值:true,false;
func (*TaobaoItemUpdateAPIRequest) SetHasInvoice ¶
func (r *TaobaoItemUpdateAPIRequest) SetHasInvoice(_hasInvoice bool) error
SetHasInvoice is HasInvoice Setter 是否有发票。可选值:true,false (商城卖家此字段必须为true)
func (*TaobaoItemUpdateAPIRequest) SetHasShowcase ¶
func (r *TaobaoItemUpdateAPIRequest) SetHasShowcase(_hasShowcase bool) error
SetHasShowcase is HasShowcase Setter 橱窗推荐。可选值:true,false;
func (*TaobaoItemUpdateAPIRequest) SetHasWarranty ¶
func (r *TaobaoItemUpdateAPIRequest) SetHasWarranty(_hasWarranty bool) error
SetHasWarranty is HasWarranty Setter 是否有保修。可选值:true,false;
func (*TaobaoItemUpdateAPIRequest) SetIgnorewarning ¶
func (r *TaobaoItemUpdateAPIRequest) SetIgnorewarning(_ignorewarning string) error
SetIgnorewarning is Ignorewarning Setter 忽略警告提示.
func (*TaobaoItemUpdateAPIRequest) SetImage ¶
func (r *TaobaoItemUpdateAPIRequest) SetImage(_image *model.File) error
SetImage is Image Setter 商品图片。类型:JPG,GIF;最大长度:3M
func (*TaobaoItemUpdateAPIRequest) SetIncrement ¶
func (r *TaobaoItemUpdateAPIRequest) SetIncrement(_increment float64) error
SetIncrement is Increment Setter 加价(降价)幅度。如果为0,代表系统代理幅度。对于增价拍和荷兰拍来说是加价幅度,对于降价拍来说是降价幅度。
func (*TaobaoItemUpdateAPIRequest) SetInputCustomCpv ¶
func (r *TaobaoItemUpdateAPIRequest) SetInputCustomCpv(_inputCustomCpv string) error
SetInputCustomCpv is InputCustomCpv Setter 针对当前商品的自定义属性值
func (*TaobaoItemUpdateAPIRequest) SetInputPids ¶
func (r *TaobaoItemUpdateAPIRequest) SetInputPids(_inputPids string) error
SetInputPids is InputPids Setter 用户自行输入的类目属性ID串,结构:"pid1,pid2,pid3",如:"20000"(表示品牌) 注:通常一个类目下用户可输入的关键属性不超过1个。
func (*TaobaoItemUpdateAPIRequest) SetInputStr ¶
func (r *TaobaoItemUpdateAPIRequest) SetInputStr(_inputStr string) error
SetInputStr is InputStr Setter 用户自行输入的子属性名和属性值,结构:"父属性值;一级子属性名;一级子属性值;二级子属性名;自定义输入值,....",如:“耐克;耐克系列;科比系列;科比系列;2K5,Nike乔丹鞋;乔丹系列;乔丹鞋系列;乔丹鞋系列;json5”,多个自定义属性用','分割,input_str需要与input_pids一一对应,注:通常一个类目下用户可输入的关键属性不超过1个。所有属性别名加起来不能超过3999字节。此处不可以使用“其他”、“其它”和“其她”这三个词。
func (*TaobaoItemUpdateAPIRequest) SetInteractiveId ¶
func (r *TaobaoItemUpdateAPIRequest) SetInteractiveId(_interactiveId int64) error
SetInteractiveId is InteractiveId Setter 主图视频互动信息id,必须有主图视频id才能传互动信息id
func (*TaobaoItemUpdateAPIRequest) SetIs3D ¶
func (r *TaobaoItemUpdateAPIRequest) SetIs3D(_is3D bool) error
SetIs3D is Is3D Setter 是否是3D
func (*TaobaoItemUpdateAPIRequest) SetIsEx ¶
func (r *TaobaoItemUpdateAPIRequest) SetIsEx(_isEx bool) error
SetIsEx is IsEx Setter 是否在外店显示
func (*TaobaoItemUpdateAPIRequest) SetIsLightningConsignment ¶
func (r *TaobaoItemUpdateAPIRequest) SetIsLightningConsignment(_isLightningConsignment bool) error
SetIsLightningConsignment is IsLightningConsignment Setter 实物闪电发货。注意:在售的闪电发货产品不允许取消闪电发货,需要先下架商品才能取消闪电发货标记
func (*TaobaoItemUpdateAPIRequest) SetIsOffline ¶
func (r *TaobaoItemUpdateAPIRequest) SetIsOffline(_isOffline string) error
SetIsOffline is IsOffline Setter 是否是线下商品。1:线上商品(默认值);2:线上或线下商品;3:线下商品。
func (*TaobaoItemUpdateAPIRequest) SetIsReplaceSku ¶
func (r *TaobaoItemUpdateAPIRequest) SetIsReplaceSku(_isReplaceSku bool) error
SetIsReplaceSku is IsReplaceSku Setter 是否替换sku
func (*TaobaoItemUpdateAPIRequest) SetIsTaobao ¶
func (r *TaobaoItemUpdateAPIRequest) SetIsTaobao(_isTaobao bool) error
SetIsTaobao is IsTaobao Setter 是否在淘宝上显示(如果传FALSE,则在淘宝主站无法显示该商品)
func (*TaobaoItemUpdateAPIRequest) SetIsXinpin ¶
func (r *TaobaoItemUpdateAPIRequest) SetIsXinpin(_isXinpin bool) error
SetIsXinpin is IsXinpin Setter 商品是否为新品。只有在当前类目开通新品,并且当前用户拥有该类目下发布新品权限时才能设置is_xinpin为true,否则设置true后会返回错误码:isv.invalid-permission:xinpin。同时只有一口价全新的宝贝才能设置为新品,否则会返回错误码:isv.invalid-parameter:xinpin。不设置参数就保持原有值。
func (*TaobaoItemUpdateAPIRequest) SetItemSize ¶
func (r *TaobaoItemUpdateAPIRequest) SetItemSize(_itemSize string) error
SetItemSize is ItemSize Setter 表示商品的体积,如果需要使用按体积计费的运费模板,一定要设置这个值。该值的单位为立方米(m3),如果是其他单位,请转换成成立方米。该值支持两种格式的设置:格式1:bulk:3,单位为立方米(m3),表示直接设置为商品的体积。格式2:length:10;breadth:10;height:10,单位为米(m)。体积和长宽高都支持小数类型。在传入体积或长宽高时候,不能带单位。体积的单位默认为立方米(m3),长宽高的单位默认为米(m)在编辑的时候,如果需要删除体积属性,请设置该值为0,如bulk:0
func (*TaobaoItemUpdateAPIRequest) SetItemWeight ¶
func (r *TaobaoItemUpdateAPIRequest) SetItemWeight(_itemWeight string) error
SetItemWeight is ItemWeight Setter 商品的重量,用于按重量计费的运费模板。注意:单位为kg。 只能传入数值类型(包含小数),不能带单位,单位默认为kg。 在编辑时候,如果需要在商品里删除重量的信息,就需要将值设置为0
func (*TaobaoItemUpdateAPIRequest) SetLang ¶
func (r *TaobaoItemUpdateAPIRequest) SetLang(_lang string) error
SetLang is Lang Setter 商品文字的版本,繁体传入”zh_HK”,简体传入”zh_CN”
func (*TaobaoItemUpdateAPIRequest) SetLeaseExtendsInfo ¶
func (r *TaobaoItemUpdateAPIRequest) SetLeaseExtendsInfo(_leaseExtendsInfo string) error
SetLeaseExtendsInfo is LeaseExtendsInfo Setter 淘宝租赁扩展信息
func (*TaobaoItemUpdateAPIRequest) SetListTime ¶
func (r *TaobaoItemUpdateAPIRequest) SetListTime(_listTime string) error
SetListTime is ListTime Setter 上架时间。大于当前时间则宝贝会下架进入定时上架的宝贝中。
func (*TaobaoItemUpdateAPIRequest) SetLocalityLifeChooseLogis ¶
func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeChooseLogis(_localityLifeChooseLogis string) error
SetLocalityLifeChooseLogis is LocalityLifeChooseLogis Setter 编辑电子凭证宝贝时候表示是否使用邮寄0: 代表不使用邮寄;1:代表使用邮寄;如果不设置这个值,代表不使用邮寄
func (*TaobaoItemUpdateAPIRequest) SetLocalityLifeEticket ¶
func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeEticket(_localityLifeEticket string) error
SetLocalityLifeEticket is LocalityLifeEticket Setter 电子凭证业务属性,数据字典是: 1、is_card:1 (暂时不用) 2、consume_way:4 (1 串码 ,4 身份证)3、consume_midmnick :(核销放行账号:用户id-用户名,支持多个,用逗号分隔,例如 1234-测试账号35,1345-测试账号56)4、market:eticket (电子凭证商品标记) 5、has_pos:1 (1 表示商品配置线下门店,在detail上进行展示 ,没有或者其他值只不展示)格式是: k1:v2;k2:v2;........ 如:has_pos:1;market:eticket;consume_midmnick:901409638-OPPO;consume_way:4
func (*TaobaoItemUpdateAPIRequest) SetLocalityLifeExpirydate ¶
func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeExpirydate(_localityLifeExpirydate string) error
SetLocalityLifeExpirydate is LocalityLifeExpirydate Setter 本地生活电子交易凭证业务,目前此字段只涉及到的信息为有效期;如果有效期为起止日期类型,此值为2012-08-06,2012-08-16如果有效期为【购买成功日 至】类型则格式为2012-08-16如果有效期为天数类型则格式为15
func (*TaobaoItemUpdateAPIRequest) SetLocalityLifeMerchant ¶
func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeMerchant(_localityLifeMerchant string) error
SetLocalityLifeMerchant is LocalityLifeMerchant Setter 码商信息,格式为 码商id:nick
func (*TaobaoItemUpdateAPIRequest) SetLocalityLifeNetworkId ¶
func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeNetworkId(_localityLifeNetworkId string) error
SetLocalityLifeNetworkId is LocalityLifeNetworkId Setter 网点ID,在参数empty_fields里设置locality_life.network_id可删除网点ID
func (*TaobaoItemUpdateAPIRequest) SetLocalityLifeObs ¶
func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeObs(_localityLifeObs string) error
SetLocalityLifeObs is LocalityLifeObs Setter 预约门店是否支持门店自提,1:是
func (*TaobaoItemUpdateAPIRequest) SetLocalityLifeOnsaleAutoRefundRatio ¶
func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeOnsaleAutoRefundRatio(_localityLifeOnsaleAutoRefundRatio int64) error
SetLocalityLifeOnsaleAutoRefundRatio is LocalityLifeOnsaleAutoRefundRatio Setter 电子凭证售中自动退款比例,百分比%前的数字,介于1-100之间的整数
func (*TaobaoItemUpdateAPIRequest) SetLocalityLifePackageid ¶
func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifePackageid(_localityLifePackageid string) error
SetLocalityLifePackageid is LocalityLifePackageid Setter 新版电子凭证包id
func (*TaobaoItemUpdateAPIRequest) SetLocalityLifeRefundRatio ¶
func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeRefundRatio(_localityLifeRefundRatio int64) error
SetLocalityLifeRefundRatio is LocalityLifeRefundRatio Setter 退款比例,百分比%前的数字,1-100的正整数值; 在参数empty_fields里设置locality_life.refund_ratio可删除退款比例
func (*TaobaoItemUpdateAPIRequest) SetLocalityLifeRefundmafee ¶
func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeRefundmafee(_localityLifeRefundmafee string) error
SetLocalityLifeRefundmafee is LocalityLifeRefundmafee Setter 退款码费承担方。发布电子凭证宝贝的时候会增加“退款码费承担方”配置项,可选填:(1)s(卖家承担) (2)b(买家承担)
func (*TaobaoItemUpdateAPIRequest) SetLocalityLifeVerification ¶
func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeVerification(_localityLifeVerification string) error
SetLocalityLifeVerification is LocalityLifeVerification Setter 核销打款,1代表核销打款 0代表非核销打款; 在参数empty_fields里设置locality_life.verification可删除核销打款
func (*TaobaoItemUpdateAPIRequest) SetLocalityLifeVersion ¶
func (r *TaobaoItemUpdateAPIRequest) SetLocalityLifeVersion(_localityLifeVersion string) error
SetLocalityLifeVersion is LocalityLifeVersion Setter 电子凭证版本 新版电子凭证值:1
func (*TaobaoItemUpdateAPIRequest) SetLocationCity ¶
func (r *TaobaoItemUpdateAPIRequest) SetLocationCity(_locationCity string) error
SetLocationCity is LocationCity Setter 所在地城市。如杭州
func (*TaobaoItemUpdateAPIRequest) SetLocationState ¶
func (r *TaobaoItemUpdateAPIRequest) SetLocationState(_locationState string) error
SetLocationState is LocationState Setter 所在地省份。如浙江
func (*TaobaoItemUpdateAPIRequest) SetMsPaymentPrice ¶
func (r *TaobaoItemUpdateAPIRequest) SetMsPaymentPrice(_msPaymentPrice string) error
SetMsPaymentPrice is MsPaymentPrice Setter 订金
func (*TaobaoItemUpdateAPIRequest) SetMsPaymentReferencePrice ¶
func (r *TaobaoItemUpdateAPIRequest) SetMsPaymentReferencePrice(_msPaymentReferencePrice string) error
SetMsPaymentReferencePrice is MsPaymentReferencePrice Setter 参考价
func (*TaobaoItemUpdateAPIRequest) SetMsPaymentVoucherPrice ¶
func (r *TaobaoItemUpdateAPIRequest) SetMsPaymentVoucherPrice(_msPaymentVoucherPrice string) error
SetMsPaymentVoucherPrice is MsPaymentVoucherPrice Setter 尾款可抵扣金额
func (*TaobaoItemUpdateAPIRequest) SetNewprepay ¶
func (r *TaobaoItemUpdateAPIRequest) SetNewprepay(_newprepay string) error
SetNewprepay is Newprepay Setter 该宝贝是否支持【7天无理由退货】,卖家选择的值只是一个因素,最终以类目和选择的属性条件来确定是否支持7天。填入字符0,表示不支持;未填写或填人字符1,表示支持7天无理由退货;<br>注意:使用该API修改商品其它属性如标题title时,如需保持商品不支持7天无理由退货状态,该字段需传入0 。
func (*TaobaoItemUpdateAPIRequest) SetNum ¶
func (r *TaobaoItemUpdateAPIRequest) SetNum(_num int64) error
SetNum is Num Setter 商品数量,取值范围:0-900000000的整数。且需要等于Sku所有数量的和 拍卖商品中增加拍只能为1,荷兰拍要在[2,500)范围内。
func (*TaobaoItemUpdateAPIRequest) SetNumIid ¶
func (r *TaobaoItemUpdateAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品数字ID,该参数必须
func (*TaobaoItemUpdateAPIRequest) SetO2oBindService ¶
func (r *TaobaoItemUpdateAPIRequest) SetO2oBindService(_o2oBindService bool) error
SetO2oBindService is O2oBindService Setter 汽车O2O绑定线下服务标记,如不为空,表示关联服务,否则,不关联服务。
func (*TaobaoItemUpdateAPIRequest) SetOuterId ¶
func (r *TaobaoItemUpdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 商家编码
func (*TaobaoItemUpdateAPIRequest) SetPaimaiInfoDeposit ¶
func (r *TaobaoItemUpdateAPIRequest) SetPaimaiInfoDeposit(_paimaiInfoDeposit int64) error
SetPaimaiInfoDeposit is PaimaiInfoDeposit Setter 拍卖宝贝的保证金。对于增价拍和荷兰拍来说保证金有两种模式:淘宝默认模式(首次出价金额的10%),自定义固定保证金(固定冻结金额只能输入不超过30万的正整数),并且保证金只冻结1次。对于降价拍来说保证金只有淘宝默认的(竞拍价格的10% * 竞拍数量),并且每次出价都需要冻结保证金。对于拍卖宝贝来说,保证金是必须的,但是默认使用淘宝默认保证金模式,只有用户需要使用自定义固定保证金的时候才需要使用到这个参数。如果该参数不传或传入0则代表使用默认。
func (*TaobaoItemUpdateAPIRequest) SetPaimaiInfoInterval ¶
func (r *TaobaoItemUpdateAPIRequest) SetPaimaiInfoInterval(_paimaiInfoInterval int64) error
SetPaimaiInfoInterval is PaimaiInfoInterval Setter 降价拍宝贝的降价周期(分钟)。降价拍宝贝的价格每隔paimai_info.interval时间会下降一次increment。
func (*TaobaoItemUpdateAPIRequest) SetPaimaiInfoMode ¶
func (r *TaobaoItemUpdateAPIRequest) SetPaimaiInfoMode(_paimaiInfoMode int64) error
SetPaimaiInfoMode is PaimaiInfoMode Setter 拍卖商品选择的拍卖类型,拍卖类型包括三种:增价拍(1),荷兰拍(2)和降价拍(3)。
func (*TaobaoItemUpdateAPIRequest) SetPaimaiInfoReserve ¶
func (r *TaobaoItemUpdateAPIRequest) SetPaimaiInfoReserve(_paimaiInfoReserve float64) error
SetPaimaiInfoReserve is PaimaiInfoReserve Setter 降价拍宝贝的保留价。对于降价拍来说,paimai_info.reserve必须大于0,且小于price-increment,而且(price-paimai_info.reserve)/increment的计算结果必须为整数
func (*TaobaoItemUpdateAPIRequest) SetPaimaiInfoValidHour ¶
func (r *TaobaoItemUpdateAPIRequest) SetPaimaiInfoValidHour(_paimaiInfoValidHour int64) error
SetPaimaiInfoValidHour is PaimaiInfoValidHour Setter 自定义销售周期的小时数。拍卖宝贝可以自定义销售周期,这里指定销售周期的小时数。自定义销售周期的小时数。拍卖宝贝可以自定义销售周期,这里指定销售周期的小时数。注意,该参数只作为输入参数,不能通过taobao.item.get接口获取。
func (*TaobaoItemUpdateAPIRequest) SetPaimaiInfoValidMinute ¶
func (r *TaobaoItemUpdateAPIRequest) SetPaimaiInfoValidMinute(_paimaiInfoValidMinute int64) error
SetPaimaiInfoValidMinute is PaimaiInfoValidMinute Setter 自定义销售周期的分钟数。拍卖宝贝可以自定义销售周期,这里是指定销售周期的分钟数。自定义销售周期的小时数。拍卖宝贝可以自定义销售周期,这里指定销售周期的小时数。注意,该参数只作为输入参数,不能通过taobao.item.get接口获取。
func (*TaobaoItemUpdateAPIRequest) SetPicPath ¶
func (r *TaobaoItemUpdateAPIRequest) SetPicPath(_picPath string) error
SetPicPath is PicPath Setter 商品主图需要关联的图片空间的相对url。这个url所对应的图片必须要属于当前用户。pic_path和image只需要传入一个,如果两个都传,默认选择pic_path
func (*TaobaoItemUpdateAPIRequest) SetPostFee ¶
func (r *TaobaoItemUpdateAPIRequest) SetPostFee(_postFee float64) error
SetPostFee is PostFee Setter 平邮费用。取值范围:0.01-999.00;精确到2位小数;单位:元。如:5.07,表示:5元7分, 注:post_fee,express_fee,ems_fee需一起填写
func (*TaobaoItemUpdateAPIRequest) SetPostageId ¶
func (r *TaobaoItemUpdateAPIRequest) SetPostageId(_postageId int64) error
SetPostageId is PostageId Setter 宝贝所属的运费模板ID。取值范围:整数且必须是该卖家的运费模板的ID(可通过taobao.delivery.templates.get获得当前会话用户的所有邮费模板)
func (*TaobaoItemUpdateAPIRequest) SetPrice ¶
func (r *TaobaoItemUpdateAPIRequest) SetPrice(_price float64) error
SetPrice is Price Setter 商品价格。取值范围:0-100000000;精确到2位小数;单位:元。如:200.07,表示:200元7分。需要在正确的价格区间内。 拍卖商品对应的起拍价。
func (*TaobaoItemUpdateAPIRequest) SetProductId ¶
func (r *TaobaoItemUpdateAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 商品所属的产品ID(B商家发布商品需要用)
func (*TaobaoItemUpdateAPIRequest) SetPropertyAlias ¶
func (r *TaobaoItemUpdateAPIRequest) SetPropertyAlias(_propertyAlias string) error
SetPropertyAlias is PropertyAlias Setter 属性值别名。如pid:vid:别名;pid1:vid1:别名1, pid:属性id vid:值id。总长度不超过800个字符,如"123:333:你好",引号内的是10个字符。
func (*TaobaoItemUpdateAPIRequest) SetProps ¶
func (r *TaobaoItemUpdateAPIRequest) SetProps(_props string) error
SetProps is Props Setter 商品属性列表。格式:pid:vid;pid:vid。属性的pid调用taobao.itemprops.get取得,属性值的vid用taobao.itempropvalues.get取得vid。 如果该类目下面没有属性,可以不用填写。如果有属性,必选属性必填,其他非必选属性可以选择不填写.属性不能超过35对。所有属性加起来包括分割符不能超过549字节,单个属性没有限制。 如果有属性是可输入的话,则用字段input_str填入属性的值。
func (*TaobaoItemUpdateAPIRequest) SetQualification ¶
func (r *TaobaoItemUpdateAPIRequest) SetQualification(_qualification string) error
SetQualification is Qualification Setter 商品资质信息
func (*TaobaoItemUpdateAPIRequest) SetScenicTicketBookCost ¶
func (r *TaobaoItemUpdateAPIRequest) SetScenicTicketBookCost(_scenicTicketBookCost string) error
SetScenicTicketBookCost is ScenicTicketBookCost Setter 景区门票在选择订金支付时候,需要交的预订费。传入的值是1到20之间的数值,小数点后最多可以保留两位(多余的部分将做四舍五入的处理)。这个数值表示的是预订费的比例,最终的预订费为 scenic_ticket_book_cost乘一口价除以100
func (*TaobaoItemUpdateAPIRequest) SetScenicTicketPayWay ¶
func (r *TaobaoItemUpdateAPIRequest) SetScenicTicketPayWay(_scenicTicketPayWay int64) error
SetScenicTicketPayWay is ScenicTicketPayWay Setter 景区门票类宝贝编辑时候,当卖家签订了支付宝代扣协议时候,需要选择支付方式:全额支付和订金支付。当scenic_ticket_pay_way为1时表示全额支付,为2时表示订金支付
func (*TaobaoItemUpdateAPIRequest) SetSellPoint ¶
func (r *TaobaoItemUpdateAPIRequest) SetSellPoint(_sellPoint string) error
SetSellPoint is SellPoint Setter 商品卖点信息,最长150个字符。天猫和集市都可用
func (*TaobaoItemUpdateAPIRequest) SetSellPromise ¶
func (r *TaobaoItemUpdateAPIRequest) SetSellPromise(_sellPromise bool) error
SetSellPromise is SellPromise Setter 是否承诺退换货服务!虚拟商品无须设置此项!
func (*TaobaoItemUpdateAPIRequest) SetSellerCids ¶
func (r *TaobaoItemUpdateAPIRequest) SetSellerCids(_sellerCids string) error
SetSellerCids is SellerCids Setter 重新关联商品与店铺类目,结构:",cid1,cid2,...,",如果店铺类目存在二级类目,必须传入子类目cids。
func (*TaobaoItemUpdateAPIRequest) SetSkuBarcode ¶
func (r *TaobaoItemUpdateAPIRequest) SetSkuBarcode(_skuBarcode string) error
SetSkuBarcode is SkuBarcode Setter sku层面的条形码,多个SKU情况,与SKU价格库存格式类似,用逗号分隔
func (*TaobaoItemUpdateAPIRequest) SetSkuDeliveryTimes ¶
func (r *TaobaoItemUpdateAPIRequest) SetSkuDeliveryTimes(_skuDeliveryTimes string) error
SetSkuDeliveryTimes is SkuDeliveryTimes Setter 此参数暂时不起作用
func (*TaobaoItemUpdateAPIRequest) SetSkuHdHeight ¶
func (r *TaobaoItemUpdateAPIRequest) SetSkuHdHeight(_skuHdHeight string) error
SetSkuHdHeight is SkuHdHeight Setter 家装建材类目,商品SKU的高度,单位为cm,部分类目必选。 天猫和淘宝格式不同。天猫:可选值为:"0-15", "15-25", "25-50", "50-60", "60-80", "80-120", "120-160", "160-200"。 数据和SKU一一对应,用,分隔,格式如:15-25,25-50,25-50。 淘宝:正整数,单位为cm,格式如:20,30,30
func (*TaobaoItemUpdateAPIRequest) SetSkuHdLampQuantity ¶
func (r *TaobaoItemUpdateAPIRequest) SetSkuHdLampQuantity(_skuHdLampQuantity string) error
SetSkuHdLampQuantity is SkuHdLampQuantity Setter 家装建材类目,商品SKU的灯头数量,正整数,大于等于3,部分类目必选。 数据和SKU一一对应,用,分隔,如:3,5,7
func (*TaobaoItemUpdateAPIRequest) SetSkuHdLength ¶
func (r *TaobaoItemUpdateAPIRequest) SetSkuHdLength(_skuHdLength string) error
SetSkuHdLength is SkuHdLength Setter 家装建材类目,商品SKU的长度,正整数,单位为cm,部分类目必选。 数据和SKU一一对应,用,分隔,如:20,30,30
func (*TaobaoItemUpdateAPIRequest) SetSkuOuterIds ¶
func (r *TaobaoItemUpdateAPIRequest) SetSkuOuterIds(_skuOuterIds string) error
SetSkuOuterIds is SkuOuterIds Setter Sku的外部id串,结构如:1234,1342,… sku_properties, sku_quantities, sku_prices, sku_outer_ids在输入数据时要一一对应,如果没有sku_outer_ids也要写上这个参数,入参是","(这个是两个sku的示列,逗号数应该是sku个数减1);该参数最大长度是512个字节
func (*TaobaoItemUpdateAPIRequest) SetSkuPrices ¶
func (r *TaobaoItemUpdateAPIRequest) SetSkuPrices(_skuPrices string) error
SetSkuPrices is SkuPrices Setter 更新的Sku的价格串,结构如:10.00,5.00,… 精确到2位小数;单位:元。如:200.07,表示:200元7分
func (*TaobaoItemUpdateAPIRequest) SetSkuProperties ¶
func (r *TaobaoItemUpdateAPIRequest) SetSkuProperties(_skuProperties string) error
SetSkuProperties is SkuProperties Setter 更新的sku的属性串,调用taobao.itemprops.get获取。格式:pid1:vid;pid2:vid,多个sku属性之间用逗号分隔。该字段内的属性需要在props字段同时包含。如果新增商品包含了sku,则此字段一定要传入,字段长度要控制在512个字节以内。
func (*TaobaoItemUpdateAPIRequest) SetSkuQuantities ¶
func (r *TaobaoItemUpdateAPIRequest) SetSkuQuantities(_skuQuantities string) error
SetSkuQuantities is SkuQuantities Setter 更新的Sku的数量串,结构如:num1,num2,num3 如:2,3,4
func (*TaobaoItemUpdateAPIRequest) SetSkuSpecIds ¶
func (r *TaobaoItemUpdateAPIRequest) SetSkuSpecIds(_skuSpecIds string) error
SetSkuSpecIds is SkuSpecIds Setter 此参数暂时不起作用
func (*TaobaoItemUpdateAPIRequest) SetSpuConfirm ¶
func (r *TaobaoItemUpdateAPIRequest) SetSpuConfirm(_spuConfirm bool) error
SetSpuConfirm is SpuConfirm Setter 手机类目spu 产品信息确认声明
func (*TaobaoItemUpdateAPIRequest) SetStuffStatus ¶
func (r *TaobaoItemUpdateAPIRequest) SetStuffStatus(_stuffStatus string) error
SetStuffStatus is StuffStatus Setter 商品新旧程度。可选值:new(全新),unused(闲置),second(二手)。
func (*TaobaoItemUpdateAPIRequest) SetSubStock ¶
func (r *TaobaoItemUpdateAPIRequest) SetSubStock(_subStock int64) error
SetSubStock is SubStock Setter 商品是否支持拍下减库存:1支持;2取消支持(付款减库存);0(默认)不更改 集市卖家默认拍下减库存; 商城卖家默认付款减库存
func (*TaobaoItemUpdateAPIRequest) SetTitle ¶
func (r *TaobaoItemUpdateAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 宝贝标题. 不能超过30字符,受违禁词控制
func (*TaobaoItemUpdateAPIRequest) SetValidThru ¶
func (r *TaobaoItemUpdateAPIRequest) SetValidThru(_validThru int64) error
SetValidThru is ValidThru Setter 有效期。可选值:7,14;单位:天;
func (*TaobaoItemUpdateAPIRequest) SetVideoId ¶
func (r *TaobaoItemUpdateAPIRequest) SetVideoId(_videoId int64) error
SetVideoId is VideoId Setter 主图视频id
func (*TaobaoItemUpdateAPIRequest) SetWeight ¶
func (r *TaobaoItemUpdateAPIRequest) SetWeight(_weight int64) error
SetWeight is Weight Setter 商品的重量(商超卖家专用字段)
func (*TaobaoItemUpdateAPIRequest) SetWirelessDesc ¶
func (r *TaobaoItemUpdateAPIRequest) SetWirelessDesc(_wirelessDesc string) error
SetWirelessDesc is WirelessDesc Setter 无线的宝贝描述
type TaobaoItemUpdateAPIResponse ¶
type TaobaoItemUpdateAPIResponse struct { model.CommonResponse TaobaoItemUpdateAPIResponseModel }
TaobaoItemUpdateAPIResponse 更新商品信息 API返回值 taobao.item.update
根据传入的num_iid更新对应的商品的数据。 传入的num_iid所对应的商品必须属于当前会话的用户 商品的属性和sku的属性有包含的关系,商品的价格要位于sku的价格区间之中(例如,sku价格有5元、10元两种,那么商品的价格就需要大于等于5元,小于等于10元,否则更新商品会失败) 商品的类目和商品的价格、sku的价格都有一定的相关性(具体的关系要通过类目属性查询接口获得) 当关键属性值更新为“其他”的时候,需要输入input_pids和input_str商品才能更新成功。该接口不支持产品属性修改。
type TaobaoItemUpdateAPIResponseModel ¶
type TaobaoItemUpdateAPIResponseModel struct { XMLName xml.Name `xml:"item_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品结构 Item *Item `json:"item,omitempty" xml:"item,omitempty"` }
TaobaoItemUpdateAPIResponseModel is 更新商品信息 成功返回结果
type TaobaoItemUpdateDelistingAPIRequest ¶
type TaobaoItemUpdateDelistingAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemUpdateDelistingAPIRequest 商品下架 API请求 taobao.item.update.delisting
* 单个商品下架<br/> * 输入的num_iid必须属于当前会话用户
func NewTaobaoItemUpdateDelistingRequest ¶
func NewTaobaoItemUpdateDelistingRequest() *TaobaoItemUpdateDelistingAPIRequest
NewTaobaoItemUpdateDelistingRequest 初始化TaobaoItemUpdateDelistingAPIRequest对象
func (TaobaoItemUpdateDelistingAPIRequest) GetApiMethodName ¶
func (r TaobaoItemUpdateDelistingAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemUpdateDelistingAPIRequest) GetApiParams ¶
func (r TaobaoItemUpdateDelistingAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemUpdateDelistingAPIRequest) GetNumIid ¶
func (r TaobaoItemUpdateDelistingAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (*TaobaoItemUpdateDelistingAPIRequest) SetNumIid ¶
func (r *TaobaoItemUpdateDelistingAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品数字ID,该参数必须
type TaobaoItemUpdateDelistingAPIResponse ¶
type TaobaoItemUpdateDelistingAPIResponse struct { model.CommonResponse TaobaoItemUpdateDelistingAPIResponseModel }
TaobaoItemUpdateDelistingAPIResponse 商品下架 API返回值 taobao.item.update.delisting
* 单个商品下架<br/> * 输入的num_iid必须属于当前会话用户
type TaobaoItemUpdateDelistingAPIResponseModel ¶
type TaobaoItemUpdateDelistingAPIResponseModel struct { XMLName xml.Name `xml:"item_update_delisting_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回商品更新信息:返回的结果是:num_iid和modified Item *Item `json:"item,omitempty" xml:"item,omitempty"` }
TaobaoItemUpdateDelistingAPIResponseModel is 商品下架 成功返回结果
type TaobaoItemUpdateDelistingTmallAPIRequest ¶
type TaobaoItemUpdateDelistingTmallAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemUpdateDelistingTmallAPIRequest taobao.item.update.delisting.tmall API请求 taobao.item.update.delisting.tmall
* 单个商品下架<br/> * 输入的num_iid必须属于当前会话用户
func NewTaobaoItemUpdateDelistingTmallRequest ¶
func NewTaobaoItemUpdateDelistingTmallRequest() *TaobaoItemUpdateDelistingTmallAPIRequest
NewTaobaoItemUpdateDelistingTmallRequest 初始化TaobaoItemUpdateDelistingTmallAPIRequest对象
func (TaobaoItemUpdateDelistingTmallAPIRequest) GetApiMethodName ¶
func (r TaobaoItemUpdateDelistingTmallAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemUpdateDelistingTmallAPIRequest) GetApiParams ¶
func (r TaobaoItemUpdateDelistingTmallAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemUpdateDelistingTmallAPIRequest) GetNumIid ¶
func (r TaobaoItemUpdateDelistingTmallAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (*TaobaoItemUpdateDelistingTmallAPIRequest) SetNumIid ¶
func (r *TaobaoItemUpdateDelistingTmallAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品数字ID,该参数必须
type TaobaoItemUpdateDelistingTmallAPIResponse ¶
type TaobaoItemUpdateDelistingTmallAPIResponse struct { model.CommonResponse TaobaoItemUpdateDelistingTmallAPIResponseModel }
TaobaoItemUpdateDelistingTmallAPIResponse taobao.item.update.delisting.tmall API返回值 taobao.item.update.delisting.tmall
* 单个商品下架<br/> * 输入的num_iid必须属于当前会话用户
type TaobaoItemUpdateDelistingTmallAPIResponseModel ¶
type TaobaoItemUpdateDelistingTmallAPIResponseModel struct { XMLName xml.Name `xml:"item_update_delisting_tmall_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回商品更新信息:返回的结果是:num_iid和modified Item *Item `json:"item,omitempty" xml:"item,omitempty"` }
TaobaoItemUpdateDelistingTmallAPIResponseModel is taobao.item.update.delisting.tmall 成功返回结果
type TaobaoItemUpdateListingAPIRequest ¶
type TaobaoItemUpdateListingAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemUpdateListingAPIRequest 一口价商品上架 API请求 taobao.item.update.listing
* 单个商品上架<br/>* 输入的num_iid必须属于当前会话用户
func NewTaobaoItemUpdateListingRequest ¶
func NewTaobaoItemUpdateListingRequest() *TaobaoItemUpdateListingAPIRequest
NewTaobaoItemUpdateListingRequest 初始化TaobaoItemUpdateListingAPIRequest对象
func (TaobaoItemUpdateListingAPIRequest) GetApiMethodName ¶
func (r TaobaoItemUpdateListingAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemUpdateListingAPIRequest) GetApiParams ¶
func (r TaobaoItemUpdateListingAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemUpdateListingAPIRequest) GetNum ¶
func (r TaobaoItemUpdateListingAPIRequest) GetNum() int64
GetNum Num Getter
func (TaobaoItemUpdateListingAPIRequest) GetNumIid ¶
func (r TaobaoItemUpdateListingAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (*TaobaoItemUpdateListingAPIRequest) SetNum ¶
func (r *TaobaoItemUpdateListingAPIRequest) SetNum(_num int64) error
SetNum is Num Setter 需要上架的商品的数量。取值范围:大于零的整数。如果商品有sku,则上架数量默认为所有sku数量总和,不可修改。否则商品数量根据设置数量调整为num
func (*TaobaoItemUpdateListingAPIRequest) SetNumIid ¶
func (r *TaobaoItemUpdateListingAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品数字ID,该参数必须
type TaobaoItemUpdateListingAPIResponse ¶
type TaobaoItemUpdateListingAPIResponse struct { model.CommonResponse TaobaoItemUpdateListingAPIResponseModel }
TaobaoItemUpdateListingAPIResponse 一口价商品上架 API返回值 taobao.item.update.listing
* 单个商品上架<br/>* 输入的num_iid必须属于当前会话用户
type TaobaoItemUpdateListingAPIResponseModel ¶
type TaobaoItemUpdateListingAPIResponseModel struct { XMLName xml.Name `xml:"item_update_listing_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 上架后返回的商品信息:返回的结果就是:num_iid和modified Item *Item `json:"item,omitempty" xml:"item,omitempty"` }
TaobaoItemUpdateListingAPIResponseModel is 一口价商品上架 成功返回结果
type TaobaoItemUpdateListingTmallAPIRequest ¶
type TaobaoItemUpdateListingTmallAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemUpdateListingTmallAPIRequest taobao.item.update.listing天猫分流 API请求 taobao.item.update.listing.tmall
* 单个商品上架<br/>* 输入的num_iid必须属于当前会话用户
func NewTaobaoItemUpdateListingTmallRequest ¶
func NewTaobaoItemUpdateListingTmallRequest() *TaobaoItemUpdateListingTmallAPIRequest
NewTaobaoItemUpdateListingTmallRequest 初始化TaobaoItemUpdateListingTmallAPIRequest对象
func (TaobaoItemUpdateListingTmallAPIRequest) GetApiMethodName ¶
func (r TaobaoItemUpdateListingTmallAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemUpdateListingTmallAPIRequest) GetApiParams ¶
func (r TaobaoItemUpdateListingTmallAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemUpdateListingTmallAPIRequest) GetNum ¶
func (r TaobaoItemUpdateListingTmallAPIRequest) GetNum() int64
GetNum Num Getter
func (TaobaoItemUpdateListingTmallAPIRequest) GetNumIid ¶
func (r TaobaoItemUpdateListingTmallAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (*TaobaoItemUpdateListingTmallAPIRequest) SetNum ¶
func (r *TaobaoItemUpdateListingTmallAPIRequest) SetNum(_num int64) error
SetNum is Num Setter 需要上架的商品的数量。取值范围:大于零的整数。如果商品有sku,则上架数量默认为所有sku数量总和,不可修改。否则商品数量根据设置数量调整为num
func (*TaobaoItemUpdateListingTmallAPIRequest) SetNumIid ¶
func (r *TaobaoItemUpdateListingTmallAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品数字ID,该参数必须
type TaobaoItemUpdateListingTmallAPIResponse ¶
type TaobaoItemUpdateListingTmallAPIResponse struct { model.CommonResponse TaobaoItemUpdateListingTmallAPIResponseModel }
TaobaoItemUpdateListingTmallAPIResponse taobao.item.update.listing天猫分流 API返回值 taobao.item.update.listing.tmall
* 单个商品上架<br/>* 输入的num_iid必须属于当前会话用户
type TaobaoItemUpdateListingTmallAPIResponseModel ¶
type TaobaoItemUpdateListingTmallAPIResponseModel struct { XMLName xml.Name `xml:"item_update_listing_tmall_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 上架后返回的商品信息:返回的结果就是:num_iid和modified Item *Item `json:"item,omitempty" xml:"item,omitempty"` }
TaobaoItemUpdateListingTmallAPIResponseModel is taobao.item.update.listing天猫分流 成功返回结果
type TaobaoItemsCustomGetAPIRequest ¶
type TaobaoItemsCustomGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemsCustomGetAPIRequest 根据外部ID取商品 API请求 taobao.items.custom.get
跟据卖家设定的商品外部id获取商品,只能获取授权卖家的商品 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
func NewTaobaoItemsCustomGetRequest ¶
func NewTaobaoItemsCustomGetRequest() *TaobaoItemsCustomGetAPIRequest
NewTaobaoItemsCustomGetRequest 初始化TaobaoItemsCustomGetAPIRequest对象
func (TaobaoItemsCustomGetAPIRequest) GetApiMethodName ¶
func (r TaobaoItemsCustomGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemsCustomGetAPIRequest) GetApiParams ¶
func (r TaobaoItemsCustomGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemsCustomGetAPIRequest) GetFields ¶
func (r TaobaoItemsCustomGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoItemsCustomGetAPIRequest) GetOuterId ¶
func (r TaobaoItemsCustomGetAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (*TaobaoItemsCustomGetAPIRequest) SetFields ¶
func (r *TaobaoItemsCustomGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表,参考:Item商品结构体说明,其中barcode、sku.barcode等条形码字段暂不支持;多个字段之间用“,”分隔。
func (*TaobaoItemsCustomGetAPIRequest) SetOuterId ¶
func (r *TaobaoItemsCustomGetAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 商品的外部商品ID,支持批量,最多不超过40个。
type TaobaoItemsCustomGetAPIResponse ¶
type TaobaoItemsCustomGetAPIResponse struct { model.CommonResponse TaobaoItemsCustomGetAPIResponseModel }
TaobaoItemsCustomGetAPIResponse 根据外部ID取商品 API返回值 taobao.items.custom.get
跟据卖家设定的商品外部id获取商品,只能获取授权卖家的商品 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
type TaobaoItemsCustomGetAPIResponseModel ¶
type TaobaoItemsCustomGetAPIResponseModel struct { XMLName xml.Name `xml:"items_custom_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品列表,具体返回字段以fields决定 Items []Item `json:"items,omitempty" xml:"items>item,omitempty"` }
TaobaoItemsCustomGetAPIResponseModel is 根据外部ID取商品 成功返回结果
type TaobaoItemsInventoryGetAPIRequest ¶
type TaobaoItemsInventoryGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemsInventoryGetAPIRequest 得到当前会话用户库存中的商品列表 API请求 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 NewTaobaoItemsInventoryGetRequest ¶
func NewTaobaoItemsInventoryGetRequest() *TaobaoItemsInventoryGetAPIRequest
NewTaobaoItemsInventoryGetRequest 初始化TaobaoItemsInventoryGetAPIRequest对象
func (TaobaoItemsInventoryGetAPIRequest) GetApiMethodName ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemsInventoryGetAPIRequest) GetApiParams ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemsInventoryGetAPIRequest) GetAuctionType ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetAuctionType() string
GetAuctionType AuctionType Getter
func (TaobaoItemsInventoryGetAPIRequest) GetBanner ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetBanner() string
GetBanner Banner Getter
func (TaobaoItemsInventoryGetAPIRequest) GetCid ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetCid() int64
GetCid Cid Getter
func (TaobaoItemsInventoryGetAPIRequest) GetEndModified ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetEndModified() string
GetEndModified EndModified Getter
func (TaobaoItemsInventoryGetAPIRequest) GetFields ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoItemsInventoryGetAPIRequest) GetHasDiscount ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetHasDiscount() bool
GetHasDiscount HasDiscount Getter
func (TaobaoItemsInventoryGetAPIRequest) GetIsEx ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetIsEx() bool
GetIsEx IsEx Getter
func (TaobaoItemsInventoryGetAPIRequest) GetIsTaobao ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetIsTaobao() bool
GetIsTaobao IsTaobao Getter
func (TaobaoItemsInventoryGetAPIRequest) GetOrderBy ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetOrderBy() string
GetOrderBy OrderBy Getter
func (TaobaoItemsInventoryGetAPIRequest) GetPageNo ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoItemsInventoryGetAPIRequest) GetPageSize ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoItemsInventoryGetAPIRequest) GetQ ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetQ() string
GetQ Q Getter
func (TaobaoItemsInventoryGetAPIRequest) GetSellerCids ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetSellerCids() string
GetSellerCids SellerCids Getter
func (TaobaoItemsInventoryGetAPIRequest) GetStartModified ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetStartModified() string
GetStartModified StartModified Getter
func (*TaobaoItemsInventoryGetAPIRequest) SetAuctionType ¶
func (r *TaobaoItemsInventoryGetAPIRequest) SetAuctionType(_auctionType string) error
SetAuctionType is AuctionType Setter 商品类型:a-拍卖,b-一口价
func (*TaobaoItemsInventoryGetAPIRequest) SetBanner ¶
func (r *TaobaoItemsInventoryGetAPIRequest) SetBanner(_banner string) error
SetBanner is Banner Setter 分类字段。可选值:<br>regular_shelved(定时上架)<br>never_on_shelf(从未上架)<br>off_shelf(我下架的)<br><font color='red'>for_shelved(等待所有上架)<br>sold_out(全部卖完)<br>violation_off_shelf(违规下架的)<br>默认查询for_shelved(等待所有上架)这个状态的商品<br></font>注:for_shelved(等待所有上架)=regular_shelved(定时上架)+never_on_shelf(从未上架)+off_shelf(我下架的)
func (*TaobaoItemsInventoryGetAPIRequest) SetCid ¶
func (r *TaobaoItemsInventoryGetAPIRequest) SetCid(_cid int64) error
SetCid is Cid Setter 商品类目ID。ItemCat中的cid字段。可以通过taobao.itemcats.get取到
func (*TaobaoItemsInventoryGetAPIRequest) SetEndModified ¶
func (r *TaobaoItemsInventoryGetAPIRequest) SetEndModified(_endModified string) error
SetEndModified is EndModified Setter 商品结束修改时间
func (*TaobaoItemsInventoryGetAPIRequest) SetFields ¶
func (r *TaobaoItemsInventoryGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表。可选值为 Item 商品结构体中的以下字段: approve_status,num_iid,title,nick,type,cid,pic_url,num,props,valid_thru, list_time,price,has_discount,has_invoice,has_warranty,has_showcase, modified,delist_time,postage_id,seller_cids,outer_id;字段之间用“,”分隔。<br> 不支持其他字段,如果需要获取其他字段数据,调用taobao.item.seller.get。
func (*TaobaoItemsInventoryGetAPIRequest) SetHasDiscount ¶
func (r *TaobaoItemsInventoryGetAPIRequest) SetHasDiscount(_hasDiscount bool) error
SetHasDiscount is HasDiscount Setter 是否参与会员折扣。可选值:true,false。默认不过滤该条件
func (*TaobaoItemsInventoryGetAPIRequest) SetIsEx ¶
func (r *TaobaoItemsInventoryGetAPIRequest) SetIsEx(_isEx bool) error
SetIsEx is IsEx Setter 商品是否在外部网店显示
func (*TaobaoItemsInventoryGetAPIRequest) SetIsTaobao ¶
func (r *TaobaoItemsInventoryGetAPIRequest) SetIsTaobao(_isTaobao bool) error
SetIsTaobao is IsTaobao Setter 商品是否在淘宝显示
func (*TaobaoItemsInventoryGetAPIRequest) SetOrderBy ¶
func (r *TaobaoItemsInventoryGetAPIRequest) SetOrderBy(_orderBy string) error
SetOrderBy is OrderBy Setter 排序方式。格式为column:asc/desc ,column可选值:list_time(上架时间),delist_time(下架时间),num(商品数量),modified(最近修改时间);默认上架时间降序(即最新上架排在前面)。如按照上架时间降序排序方式为list_time:desc
func (*TaobaoItemsInventoryGetAPIRequest) SetPageNo ¶
func (r *TaobaoItemsInventoryGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码。取值范围:大于零小于等于101的整数;默认值为1,即返回第一页数据。当页码超过101页时系统就会报错,故请大家在用此接口获取数据时尽可能的细化自己的搜索条件,例如根据修改时间分段获取商品。
func (*TaobaoItemsInventoryGetAPIRequest) SetPageSize ¶
func (r *TaobaoItemsInventoryGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数。取值范围:大于零的整数;最大值:200;默认值:40。
func (*TaobaoItemsInventoryGetAPIRequest) SetQ ¶
func (r *TaobaoItemsInventoryGetAPIRequest) SetQ(_q string) error
SetQ is Q Setter 搜索字段。搜索商品的title。
func (*TaobaoItemsInventoryGetAPIRequest) SetSellerCids ¶
func (r *TaobaoItemsInventoryGetAPIRequest) SetSellerCids(_sellerCids string) error
SetSellerCids is SellerCids Setter 卖家店铺内自定义类目ID。多个之间用“,”分隔。可以根据taobao.sellercats.list.get获得.(<font color="red">注:目前最多支持32个ID号传入</font>)
func (*TaobaoItemsInventoryGetAPIRequest) SetStartModified ¶
func (r *TaobaoItemsInventoryGetAPIRequest) SetStartModified(_startModified string) error
SetStartModified is StartModified Setter 商品起始修改时间
type TaobaoItemsInventoryGetAPIResponse ¶
type TaobaoItemsInventoryGetAPIResponse struct { model.CommonResponse TaobaoItemsInventoryGetAPIResponseModel }
TaobaoItemsInventoryGetAPIResponse 得到当前会话用户库存中的商品列表 API返回值 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>
type TaobaoItemsInventoryGetAPIResponseModel ¶
type TaobaoItemsInventoryGetAPIResponseModel struct { XMLName xml.Name `xml:"items_inventory_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 搜索到底商品列表,具体字段根据设定的fields决定,不包括desc,stuff_status字段 Items []Item `json:"items,omitempty" xml:"items>item,omitempty"` // 搜索到符合条件的结果总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoItemsInventoryGetAPIResponseModel is 得到当前会话用户库存中的商品列表 成功返回结果
type TaobaoItemsOnsaleGetAPIRequest ¶
type TaobaoItemsOnsaleGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemsOnsaleGetAPIRequest 获取当前会话用户出售中的商品列表 API请求 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 NewTaobaoItemsOnsaleGetRequest ¶
func NewTaobaoItemsOnsaleGetRequest() *TaobaoItemsOnsaleGetAPIRequest
NewTaobaoItemsOnsaleGetRequest 初始化TaobaoItemsOnsaleGetAPIRequest对象
func (TaobaoItemsOnsaleGetAPIRequest) GetApiMethodName ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemsOnsaleGetAPIRequest) GetApiParams ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemsOnsaleGetAPIRequest) GetAuctionType ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetAuctionType() string
GetAuctionType AuctionType Getter
func (TaobaoItemsOnsaleGetAPIRequest) GetCid ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetCid() int64
GetCid Cid Getter
func (TaobaoItemsOnsaleGetAPIRequest) GetEndModified ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetEndModified() string
GetEndModified EndModified Getter
func (TaobaoItemsOnsaleGetAPIRequest) GetFields ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoItemsOnsaleGetAPIRequest) GetHasDiscount ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetHasDiscount() bool
GetHasDiscount HasDiscount Getter
func (TaobaoItemsOnsaleGetAPIRequest) GetHasShowcase ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetHasShowcase() bool
GetHasShowcase HasShowcase Getter
func (TaobaoItemsOnsaleGetAPIRequest) GetIsCombine ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetIsCombine() bool
GetIsCombine IsCombine Getter
func (TaobaoItemsOnsaleGetAPIRequest) GetIsCspu ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetIsCspu() bool
GetIsCspu IsCspu Getter
func (TaobaoItemsOnsaleGetAPIRequest) GetIsEx ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetIsEx() bool
GetIsEx IsEx Getter
func (TaobaoItemsOnsaleGetAPIRequest) GetIsTaobao ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetIsTaobao() bool
GetIsTaobao IsTaobao Getter
func (TaobaoItemsOnsaleGetAPIRequest) GetOrderBy ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetOrderBy() string
GetOrderBy OrderBy Getter
func (TaobaoItemsOnsaleGetAPIRequest) GetPageNo ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoItemsOnsaleGetAPIRequest) GetPageSize ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoItemsOnsaleGetAPIRequest) GetQ ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetQ() string
GetQ Q Getter
func (TaobaoItemsOnsaleGetAPIRequest) GetSellerCids ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetSellerCids() string
GetSellerCids SellerCids Getter
func (TaobaoItemsOnsaleGetAPIRequest) GetStartModified ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetStartModified() string
GetStartModified StartModified Getter
func (*TaobaoItemsOnsaleGetAPIRequest) SetAuctionType ¶
func (r *TaobaoItemsOnsaleGetAPIRequest) SetAuctionType(_auctionType string) error
SetAuctionType is AuctionType Setter 商品类型:a-拍卖,b-一口价
func (*TaobaoItemsOnsaleGetAPIRequest) SetCid ¶
func (r *TaobaoItemsOnsaleGetAPIRequest) SetCid(_cid int64) error
SetCid is Cid Setter 商品类目ID。ItemCat中的cid字段。可以通过taobao.itemcats.get取到
func (*TaobaoItemsOnsaleGetAPIRequest) SetEndModified ¶
func (r *TaobaoItemsOnsaleGetAPIRequest) SetEndModified(_endModified string) error
SetEndModified is EndModified Setter 结束的修改时间
func (*TaobaoItemsOnsaleGetAPIRequest) SetFields ¶
func (r *TaobaoItemsOnsaleGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表。可选值:Item商品结构体中的以下字段: approve_status,num_iid,title,nick,type,cid,pic_url,num,props,valid_thru,list_time,price,has_discount,has_invoice,has_warranty,has_showcase,modified,delist_time,postage_id,seller_cids,outer_id,sold_quantity ;字段之间用“,”分隔。不支持其他字段,如果需要获取其他字段数据,调用taobao.item.seller.get 获取。
func (*TaobaoItemsOnsaleGetAPIRequest) SetHasDiscount ¶
func (r *TaobaoItemsOnsaleGetAPIRequest) SetHasDiscount(_hasDiscount bool) error
SetHasDiscount is HasDiscount Setter 是否参与会员折扣。可选值:true,false。默认不过滤该条件
func (*TaobaoItemsOnsaleGetAPIRequest) SetHasShowcase ¶
func (r *TaobaoItemsOnsaleGetAPIRequest) SetHasShowcase(_hasShowcase bool) error
SetHasShowcase is HasShowcase Setter 是否橱窗推荐。 可选值:true,false。默认不过滤该条件
func (*TaobaoItemsOnsaleGetAPIRequest) SetIsCombine ¶
func (r *TaobaoItemsOnsaleGetAPIRequest) SetIsCombine(_isCombine bool) error
SetIsCombine is IsCombine Setter 组合商品
func (*TaobaoItemsOnsaleGetAPIRequest) SetIsCspu ¶
func (r *TaobaoItemsOnsaleGetAPIRequest) SetIsCspu(_isCspu bool) error
SetIsCspu is IsCspu Setter 是否挂接了达尔文标准产品体系
func (*TaobaoItemsOnsaleGetAPIRequest) SetIsEx ¶
func (r *TaobaoItemsOnsaleGetAPIRequest) SetIsEx(_isEx bool) error
SetIsEx is IsEx Setter 商品是否在外部网店显示
func (*TaobaoItemsOnsaleGetAPIRequest) SetIsTaobao ¶
func (r *TaobaoItemsOnsaleGetAPIRequest) SetIsTaobao(_isTaobao bool) error
SetIsTaobao is IsTaobao Setter 商品是否在淘宝显示
func (*TaobaoItemsOnsaleGetAPIRequest) SetOrderBy ¶
func (r *TaobaoItemsOnsaleGetAPIRequest) SetOrderBy(_orderBy string) error
SetOrderBy is OrderBy Setter 排序方式。格式为column:asc/desc ,column可选值:list_time(上架时间),delist_time(下架时间),num(商品数量),modified(最近修改时间),sold_quantity(商品销量),;默认上架时间降序(即最新上架排在前面)。如按照上架时间降序排序方式为list_time:desc
func (*TaobaoItemsOnsaleGetAPIRequest) SetPageNo ¶
func (r *TaobaoItemsOnsaleGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码。取值范围:大于零的整数。默认值为1,即默认返回第一页数据。用此接口获取数据时,当翻页获取的条数(page_no*page_size)超过10万,为了保护后台搜索引擎,接口将报错。所以请大家尽可能的细化自己的搜索条件,例如根据修改时间分段获取商品
func (*TaobaoItemsOnsaleGetAPIRequest) SetPageSize ¶
func (r *TaobaoItemsOnsaleGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数。取值范围:大于零的整数;最大值:200;默认值:40。用此接口获取数据时,当翻页获取的条数(page_no*page_size)超过2万,为了保护后台搜索引擎,接口将报错。所以请大家尽可能的细化自己的搜索条件,例如根据修改时间分段获取商品
func (*TaobaoItemsOnsaleGetAPIRequest) SetQ ¶
func (r *TaobaoItemsOnsaleGetAPIRequest) SetQ(_q string) error
SetQ is Q Setter 搜索字段。搜索商品的title。
func (*TaobaoItemsOnsaleGetAPIRequest) SetSellerCids ¶
func (r *TaobaoItemsOnsaleGetAPIRequest) SetSellerCids(_sellerCids string) error
SetSellerCids is SellerCids Setter 卖家店铺内自定义类目ID。多个之间用“,”分隔。可以根据taobao.sellercats.list.get获得.(<font color="red">注:目前最多支持32个ID号传入</font>)
func (*TaobaoItemsOnsaleGetAPIRequest) SetStartModified ¶
func (r *TaobaoItemsOnsaleGetAPIRequest) SetStartModified(_startModified string) error
SetStartModified is StartModified Setter 起始的修改时间
type TaobaoItemsOnsaleGetAPIResponse ¶
type TaobaoItemsOnsaleGetAPIResponse struct { model.CommonResponse TaobaoItemsOnsaleGetAPIResponseModel }
TaobaoItemsOnsaleGetAPIResponse 获取当前会话用户出售中的商品列表 API返回值 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>
type TaobaoItemsOnsaleGetAPIResponseModel ¶
type TaobaoItemsOnsaleGetAPIResponseModel struct { XMLName xml.Name `xml:"items_onsale_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 搜索到的商品列表,具体字段根据设定的fields决定,不包括desc字段 Items []Item `json:"items,omitempty" xml:"items>item,omitempty"` // 搜索到符合条件的结果总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoItemsOnsaleGetAPIResponseModel is 获取当前会话用户出售中的商品列表 成功返回结果
type TaobaoItemsSellerListGetAPIRequest ¶
type TaobaoItemsSellerListGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoItemsSellerListGetAPIRequest 批量获取商品详细信息 API请求 taobao.items.seller.list.get
批量获取商品详细信息 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
func NewTaobaoItemsSellerListGetRequest ¶
func NewTaobaoItemsSellerListGetRequest() *TaobaoItemsSellerListGetAPIRequest
NewTaobaoItemsSellerListGetRequest 初始化TaobaoItemsSellerListGetAPIRequest对象
func (TaobaoItemsSellerListGetAPIRequest) GetApiMethodName ¶
func (r TaobaoItemsSellerListGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoItemsSellerListGetAPIRequest) GetApiParams ¶
func (r TaobaoItemsSellerListGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemsSellerListGetAPIRequest) GetFields ¶
func (r TaobaoItemsSellerListGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoItemsSellerListGetAPIRequest) GetNumIids ¶
func (r TaobaoItemsSellerListGetAPIRequest) GetNumIids() []string
GetNumIids NumIids Getter
func (*TaobaoItemsSellerListGetAPIRequest) SetFields ¶
func (r *TaobaoItemsSellerListGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需要返回的商品字段列表。可选值:点击返回结果中的Item结构体中能展示出来的所有字段,多个字段用“,”分隔。注:返回所有sku信息的字段名称是sku而不是skus。
func (*TaobaoItemsSellerListGetAPIRequest) SetNumIids ¶
func (r *TaobaoItemsSellerListGetAPIRequest) SetNumIids(_numIids []string) error
SetNumIids is NumIids Setter 商品ID列表,多个ID用半角逗号隔开,一次最多不超过20个。注:获取不存在的商品ID或获取别人的商品都不会报错,但没有商品数据返回。
type TaobaoItemsSellerListGetAPIResponse ¶
type TaobaoItemsSellerListGetAPIResponse struct { model.CommonResponse TaobaoItemsSellerListGetAPIResponseModel }
TaobaoItemsSellerListGetAPIResponse 批量获取商品详细信息 API返回值 taobao.items.seller.list.get
批量获取商品详细信息 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
type TaobaoItemsSellerListGetAPIResponseModel ¶
type TaobaoItemsSellerListGetAPIResponseModel struct { XMLName xml.Name `xml:"items_seller_list_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品详细信息列表 Items []Item `json:"items,omitempty" xml:"items>item,omitempty"` }
TaobaoItemsSellerListGetAPIResponseModel is 批量获取商品详细信息 成功返回结果
type TaobaoMiniappItemsGetAPIRequest ¶
type TaobaoMiniappItemsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappItemsGetAPIRequest 批量获取商品信息 API请求 taobao.miniapp.items.get
获取商品公开属性,只允许在商家应用环境中使用
func NewTaobaoMiniappItemsGetRequest ¶
func NewTaobaoMiniappItemsGetRequest() *TaobaoMiniappItemsGetAPIRequest
NewTaobaoMiniappItemsGetRequest 初始化TaobaoMiniappItemsGetAPIRequest对象
func (TaobaoMiniappItemsGetAPIRequest) GetApiMethodName ¶
func (r TaobaoMiniappItemsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappItemsGetAPIRequest) GetApiParams ¶
func (r TaobaoMiniappItemsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappItemsGetAPIRequest) GetFields ¶
func (r TaobaoMiniappItemsGetAPIRequest) GetFields() []string
GetFields Fields Getter
func (TaobaoMiniappItemsGetAPIRequest) GetNumIids ¶
func (r TaobaoMiniappItemsGetAPIRequest) GetNumIids() []string
GetNumIids NumIids Getter
func (*TaobaoMiniappItemsGetAPIRequest) SetFields ¶
func (r *TaobaoMiniappItemsGetAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 需要返回的商品对象字段。可选值:Item商品结构体中字段均可返回(其中item_weight,item_size,sold_quantity暂未返回);多个字段用“,”分隔。如果想返回整个子对象,fields设置相应字段,如itemimg;如果想返回子对象里面的某个字段,那字段设为某个值,如itemimg.url。
func (*TaobaoMiniappItemsGetAPIRequest) SetNumIids ¶
func (r *TaobaoMiniappItemsGetAPIRequest) SetNumIids(_numIids []string) error
SetNumIids is NumIids Setter 商品数字id列表,多个num_iid用逗号隔开,一次不超过50个。
type TaobaoMiniappItemsGetAPIResponse ¶
type TaobaoMiniappItemsGetAPIResponse struct { model.CommonResponse TaobaoMiniappItemsGetAPIResponseModel }
TaobaoMiniappItemsGetAPIResponse 批量获取商品信息 API返回值 taobao.miniapp.items.get
获取商品公开属性,只允许在商家应用环境中使用
type TaobaoMiniappItemsGetAPIResponseModel ¶
type TaobaoMiniappItemsGetAPIResponseModel struct { XMLName xml.Name `xml:"miniapp_items_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // Item(商品)结构 Items []Item `json:"items,omitempty" xml:"items>item,omitempty"` }
TaobaoMiniappItemsGetAPIResponseModel is 批量获取商品信息 成功返回结果
type TaobaoProductAddAPIRequest ¶
TaobaoProductAddAPIRequest 上传一个产品,不包括产品非主图和属性图片 API请求 taobao.product.add
获取类目ID,必需是叶子类目ID;调用taobao.itemcats.get.v2获取 <br/>传入关键属性,结构:pid:vid;pid:vid.调用taobao.itemprops.get.v2获取pid,<br/>调用taobao.itempropvalues.get获取vid;如果碰到用户自定义属性,请用customer_props.<br/>新增:套装产品发布,目前支持单件多个即 A*2 形式的套装
func NewTaobaoProductAddRequest ¶
func NewTaobaoProductAddRequest() *TaobaoProductAddAPIRequest
NewTaobaoProductAddRequest 初始化TaobaoProductAddAPIRequest对象
func (TaobaoProductAddAPIRequest) GetApiMethodName ¶
func (r TaobaoProductAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoProductAddAPIRequest) GetApiParams ¶
func (r TaobaoProductAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoProductAddAPIRequest) GetBinds ¶
func (r TaobaoProductAddAPIRequest) GetBinds() string
GetBinds Binds Getter
func (TaobaoProductAddAPIRequest) GetCid ¶
func (r TaobaoProductAddAPIRequest) GetCid() int64
GetCid Cid Getter
func (TaobaoProductAddAPIRequest) GetCustomerProps ¶
func (r TaobaoProductAddAPIRequest) GetCustomerProps() string
GetCustomerProps CustomerProps Getter
func (TaobaoProductAddAPIRequest) GetDesc ¶
func (r TaobaoProductAddAPIRequest) GetDesc() string
GetDesc Desc Getter
func (TaobaoProductAddAPIRequest) GetImage ¶
func (r TaobaoProductAddAPIRequest) GetImage() *model.File
GetImage Image Getter
func (TaobaoProductAddAPIRequest) GetMajor ¶
func (r TaobaoProductAddAPIRequest) GetMajor() bool
GetMajor Major Getter
func (TaobaoProductAddAPIRequest) GetMarketTime ¶
func (r TaobaoProductAddAPIRequest) GetMarketTime() string
GetMarketTime MarketTime Getter
func (TaobaoProductAddAPIRequest) GetName ¶
func (r TaobaoProductAddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoProductAddAPIRequest) GetNativeUnkeyprops ¶
func (r TaobaoProductAddAPIRequest) GetNativeUnkeyprops() string
GetNativeUnkeyprops NativeUnkeyprops Getter
func (TaobaoProductAddAPIRequest) GetOuterId ¶
func (r TaobaoProductAddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoProductAddAPIRequest) GetPrice ¶
func (r TaobaoProductAddAPIRequest) GetPrice() string
GetPrice Price Getter
func (TaobaoProductAddAPIRequest) GetPropertyAlias ¶
func (r TaobaoProductAddAPIRequest) GetPropertyAlias() string
GetPropertyAlias PropertyAlias Getter
func (TaobaoProductAddAPIRequest) GetProps ¶
func (r TaobaoProductAddAPIRequest) GetProps() string
GetProps Props Getter
func (TaobaoProductAddAPIRequest) GetSaleProps ¶
func (r TaobaoProductAddAPIRequest) GetSaleProps() string
GetSaleProps SaleProps Getter
func (*TaobaoProductAddAPIRequest) SetBinds ¶
func (r *TaobaoProductAddAPIRequest) SetBinds(_binds string) error
SetBinds is Binds Setter 非关键属性结构:pid:vid;pid:vid.<br>非关键属性<font color=red>不包含</font>关键属性、销售属性、用户自定义属性、商品属性;<br>调用taobao.itemprops.get获取pid,调用taobao.itempropvalues.get获取vid.<br><font color=red>注:支持最大长度为512字节</font>
func (*TaobaoProductAddAPIRequest) SetCid ¶
func (r *TaobaoProductAddAPIRequest) SetCid(_cid int64) error
SetCid is Cid Setter 商品类目ID.调用taobao.itemcats.get获取;注意:必须是叶子类目 id.
func (*TaobaoProductAddAPIRequest) SetCustomerProps ¶
func (r *TaobaoProductAddAPIRequest) SetCustomerProps(_customerProps string) error
SetCustomerProps is CustomerProps Setter 用户自定义属性,结构:pid1:value1;pid2:value2,如果有型号,系列等子属性用: 隔开 例如:“20000:优衣库:型号:001;632501:1234”,表示“品牌:优衣库:型号:001;货号:1234”<br><font color=red>注:包含所有自定义属性的传入</font>
func (*TaobaoProductAddAPIRequest) SetDesc ¶
func (r *TaobaoProductAddAPIRequest) SetDesc(_desc string) error
SetDesc is Desc Setter 产品描述.最大不超过25000个字符
func (*TaobaoProductAddAPIRequest) SetImage ¶
func (r *TaobaoProductAddAPIRequest) SetImage(_image *model.File) error
SetImage is Image Setter 产品主图片.最大1M,目前仅支持GIF,JPG.
func (*TaobaoProductAddAPIRequest) SetMajor ¶
func (r *TaobaoProductAddAPIRequest) SetMajor(_major bool) error
SetMajor is Major Setter 是不是主图
func (*TaobaoProductAddAPIRequest) SetMarketTime ¶
func (r *TaobaoProductAddAPIRequest) SetMarketTime(_marketTime string) error
SetMarketTime is MarketTime Setter 上市时间。目前只支持鞋城类目传入此参数
func (*TaobaoProductAddAPIRequest) SetName ¶
func (r *TaobaoProductAddAPIRequest) SetName(_name string) error
SetName is Name Setter 产品名称,最大30个字符.
func (*TaobaoProductAddAPIRequest) SetNativeUnkeyprops ¶
func (r *TaobaoProductAddAPIRequest) SetNativeUnkeyprops(_nativeUnkeyprops string) error
SetNativeUnkeyprops is NativeUnkeyprops Setter native_unkeyprops
func (*TaobaoProductAddAPIRequest) SetOuterId ¶
func (r *TaobaoProductAddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 外部产品ID
func (*TaobaoProductAddAPIRequest) SetPrice ¶
func (r *TaobaoProductAddAPIRequest) SetPrice(_price string) error
SetPrice is Price Setter 产品市场价.精确到2位小数;单位为元.如:200.07
func (*TaobaoProductAddAPIRequest) SetPropertyAlias ¶
func (r *TaobaoProductAddAPIRequest) SetPropertyAlias(_propertyAlias string) error
SetPropertyAlias is PropertyAlias Setter 销售属性值别名。格式为pid1:vid1:alias1;pid1:vid2:alia2。只有少数销售属性值支持传入别名,比如颜色和尺寸
func (*TaobaoProductAddAPIRequest) SetProps ¶
func (r *TaobaoProductAddAPIRequest) SetProps(_props string) error
SetProps is Props Setter 关键属性 结构:pid:vid;pid:vid.调用taobao.itemprops.get获取pid,调用taobao.itempropvalues.get获取vid;如果碰到用户自定义属性,请用customer_props.
func (*TaobaoProductAddAPIRequest) SetSaleProps ¶
func (r *TaobaoProductAddAPIRequest) SetSaleProps(_saleProps string) error
SetSaleProps is SaleProps Setter 销售属性结构:pid:vid;pid:vid.调用taobao.itemprops.get获取is_sale_prop=true的pid,调用taobao.itempropvalues.get获取vid.
type TaobaoProductAddAPIResponse ¶
type TaobaoProductAddAPIResponse struct { model.CommonResponse TaobaoProductAddAPIResponseModel }
TaobaoProductAddAPIResponse 上传一个产品,不包括产品非主图和属性图片 API返回值 taobao.product.add
获取类目ID,必需是叶子类目ID;调用taobao.itemcats.get.v2获取 <br/>传入关键属性,结构:pid:vid;pid:vid.调用taobao.itemprops.get.v2获取pid,<br/>调用taobao.itempropvalues.get获取vid;如果碰到用户自定义属性,请用customer_props.<br/>新增:套装产品发布,目前支持单件多个即 A*2 形式的套装
type TaobaoProductAddAPIResponseModel ¶
type TaobaoProductAddAPIResponseModel struct { XMLName xml.Name `xml:"product_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 产品结构 Product *Product `json:"product,omitempty" xml:"product,omitempty"` }
TaobaoProductAddAPIResponseModel is 上传一个产品,不包括产品非主图和属性图片 成功返回结果
type TaobaoProductGetAPIRequest ¶
TaobaoProductGetAPIRequest 获取一个产品的信息 API请求 taobao.product.get
天猫商家发布商品时,查询关联产品信息时使用,非商品查询接口。商品查询接口:taobao.item.seller.get<br> 两种方式查看一个产品详细信息: 传入product_id来查询;传入cid和props来查询 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
func NewTaobaoProductGetRequest ¶
func NewTaobaoProductGetRequest() *TaobaoProductGetAPIRequest
NewTaobaoProductGetRequest 初始化TaobaoProductGetAPIRequest对象
func (TaobaoProductGetAPIRequest) GetApiMethodName ¶
func (r TaobaoProductGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoProductGetAPIRequest) GetApiParams ¶
func (r TaobaoProductGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoProductGetAPIRequest) GetCid ¶
func (r TaobaoProductGetAPIRequest) GetCid() int64
GetCid Cid Getter
func (TaobaoProductGetAPIRequest) GetFields ¶
func (r TaobaoProductGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoProductGetAPIRequest) GetProductId ¶
func (r TaobaoProductGetAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TaobaoProductGetAPIRequest) GetProps ¶
func (r TaobaoProductGetAPIRequest) GetProps() string
GetProps Props Getter
func (*TaobaoProductGetAPIRequest) SetCid ¶
func (r *TaobaoProductGetAPIRequest) SetCid(_cid int64) error
SetCid is Cid Setter 商品类目id.调用taobao.itemcats.get获取;必须是叶子类目id,如果没有传product_id,那么cid和props必须要传.
func (*TaobaoProductGetAPIRequest) SetFields ¶
func (r *TaobaoProductGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表.可选值:Product数据结构中的所有字段;多个字段之间用","分隔.
func (*TaobaoProductGetAPIRequest) SetProductId ¶
func (r *TaobaoProductGetAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter Product的id.两种方式来查看一个产品:1.传入product_id来查询 2.传入cid和props来查询
func (*TaobaoProductGetAPIRequest) SetProps ¶
func (r *TaobaoProductGetAPIRequest) SetProps(_props string) error
SetProps is Props Setter 比如:诺基亚N73这个产品的关键属性列表就是:品牌:诺基亚;型号:N73,对应的PV值就是10005:10027;10006:29729.
type TaobaoProductGetAPIResponse ¶
type TaobaoProductGetAPIResponse struct { model.CommonResponse TaobaoProductGetAPIResponseModel }
TaobaoProductGetAPIResponse 获取一个产品的信息 API返回值 taobao.product.get
天猫商家发布商品时,查询关联产品信息时使用,非商品查询接口。商品查询接口:taobao.item.seller.get<br> 两种方式查看一个产品详细信息: 传入product_id来查询;传入cid和props来查询 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=itemapi" target="_blank">点击查看更多商品API说明</a></strong>
type TaobaoProductGetAPIResponseModel ¶
type TaobaoProductGetAPIResponseModel struct { XMLName xml.Name `xml:"product_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回具体信息为入参fields请求的字段信息 Product *Product `json:"product,omitempty" xml:"product,omitempty"` }
TaobaoProductGetAPIResponseModel is 获取一个产品的信息 成功返回结果
type TaobaoProductImgUploadAPIRequest ¶
type TaobaoProductImgUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoProductImgUploadAPIRequest 上传单张产品非主图,如果需要传多张,可调多次 API请求 taobao.product.img.upload
1.传入产品ID <br/>2.传入图片内容 <br/>注意:图片最大为500K,只支持JPG,GIF格式,如果需要传多张,可调多次
func NewTaobaoProductImgUploadRequest ¶
func NewTaobaoProductImgUploadRequest() *TaobaoProductImgUploadAPIRequest
NewTaobaoProductImgUploadRequest 初始化TaobaoProductImgUploadAPIRequest对象
func (TaobaoProductImgUploadAPIRequest) GetApiMethodName ¶
func (r TaobaoProductImgUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoProductImgUploadAPIRequest) GetApiParams ¶
func (r TaobaoProductImgUploadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoProductImgUploadAPIRequest) GetId ¶
func (r TaobaoProductImgUploadAPIRequest) GetId() int64
GetId Id Getter
func (TaobaoProductImgUploadAPIRequest) GetImage ¶
func (r TaobaoProductImgUploadAPIRequest) GetImage() *model.File
GetImage Image Getter
func (TaobaoProductImgUploadAPIRequest) GetIsMajor ¶
func (r TaobaoProductImgUploadAPIRequest) GetIsMajor() bool
GetIsMajor IsMajor Getter
func (TaobaoProductImgUploadAPIRequest) GetPosition ¶
func (r TaobaoProductImgUploadAPIRequest) GetPosition() int64
GetPosition Position Getter
func (TaobaoProductImgUploadAPIRequest) GetProductId ¶
func (r TaobaoProductImgUploadAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (*TaobaoProductImgUploadAPIRequest) SetId ¶
func (r *TaobaoProductImgUploadAPIRequest) SetId(_id int64) error
SetId is Id Setter 产品图片ID.修改图片时需要传入
func (*TaobaoProductImgUploadAPIRequest) SetImage ¶
func (r *TaobaoProductImgUploadAPIRequest) SetImage(_image *model.File) error
SetImage is Image Setter 图片内容.图片最大为500K,只支持JPG,GIF格式.
func (*TaobaoProductImgUploadAPIRequest) SetIsMajor ¶
func (r *TaobaoProductImgUploadAPIRequest) SetIsMajor(_isMajor bool) error
SetIsMajor is IsMajor Setter 是否将该图片设为主图.可选值:true,false;默认值:false.
func (*TaobaoProductImgUploadAPIRequest) SetPosition ¶
func (r *TaobaoProductImgUploadAPIRequest) SetPosition(_position int64) error
SetPosition is Position Setter 图片序号
func (*TaobaoProductImgUploadAPIRequest) SetProductId ¶
func (r *TaobaoProductImgUploadAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID.Product的id
type TaobaoProductImgUploadAPIResponse ¶
type TaobaoProductImgUploadAPIResponse struct { model.CommonResponse TaobaoProductImgUploadAPIResponseModel }
TaobaoProductImgUploadAPIResponse 上传单张产品非主图,如果需要传多张,可调多次 API返回值 taobao.product.img.upload
1.传入产品ID <br/>2.传入图片内容 <br/>注意:图片最大为500K,只支持JPG,GIF格式,如果需要传多张,可调多次
type TaobaoProductImgUploadAPIResponseModel ¶
type TaobaoProductImgUploadAPIResponseModel struct { XMLName xml.Name `xml:"product_img_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回产品图片结构中的:url,id,created,modified ProductImg *ProductImg `json:"product_img,omitempty" xml:"product_img,omitempty"` }
TaobaoProductImgUploadAPIResponseModel is 上传单张产品非主图,如果需要传多张,可调多次 成功返回结果
type TaobaoProductPropimgUploadAPIRequest ¶
type TaobaoProductPropimgUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoProductPropimgUploadAPIRequest 上传单张产品属性图片,如果需要传多张,可调多次 API请求 taobao.product.propimg.upload
传入产品ID <br/>传入props,目前仅支持颜色属性.调用taobao.itemprops.get.v2取得颜色属性pid,<br/>再用taobao.itempropvalues.get取得vid;格式:pid:vid,只能传入一个颜色pid:vid串; <br/>传入图片内容 <br/>注意:图片最大为2M,只支持JPG,GIF,如果需要传多张,可调多次
func NewTaobaoProductPropimgUploadRequest ¶
func NewTaobaoProductPropimgUploadRequest() *TaobaoProductPropimgUploadAPIRequest
NewTaobaoProductPropimgUploadRequest 初始化TaobaoProductPropimgUploadAPIRequest对象
func (TaobaoProductPropimgUploadAPIRequest) GetApiMethodName ¶
func (r TaobaoProductPropimgUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoProductPropimgUploadAPIRequest) GetApiParams ¶
func (r TaobaoProductPropimgUploadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoProductPropimgUploadAPIRequest) GetId ¶
func (r TaobaoProductPropimgUploadAPIRequest) GetId() int64
GetId Id Getter
func (TaobaoProductPropimgUploadAPIRequest) GetImage ¶
func (r TaobaoProductPropimgUploadAPIRequest) GetImage() *model.File
GetImage Image Getter
func (TaobaoProductPropimgUploadAPIRequest) GetPosition ¶
func (r TaobaoProductPropimgUploadAPIRequest) GetPosition() int64
GetPosition Position Getter
func (TaobaoProductPropimgUploadAPIRequest) GetProductId ¶
func (r TaobaoProductPropimgUploadAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TaobaoProductPropimgUploadAPIRequest) GetProps ¶
func (r TaobaoProductPropimgUploadAPIRequest) GetProps() string
GetProps Props Getter
func (*TaobaoProductPropimgUploadAPIRequest) SetId ¶
func (r *TaobaoProductPropimgUploadAPIRequest) SetId(_id int64) error
SetId is Id Setter 产品属性图片ID
func (*TaobaoProductPropimgUploadAPIRequest) SetImage ¶
func (r *TaobaoProductPropimgUploadAPIRequest) SetImage(_image *model.File) error
SetImage is Image Setter 图片内容.图片最大为2M,只支持JPG,GIF.
func (*TaobaoProductPropimgUploadAPIRequest) SetPosition ¶
func (r *TaobaoProductPropimgUploadAPIRequest) SetPosition(_position int64) error
SetPosition is Position Setter 图片序号
func (*TaobaoProductPropimgUploadAPIRequest) SetProductId ¶
func (r *TaobaoProductPropimgUploadAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID.Product的id
func (*TaobaoProductPropimgUploadAPIRequest) SetProps ¶
func (r *TaobaoProductPropimgUploadAPIRequest) SetProps(_props string) error
SetProps is Props Setter 属性串.目前仅支持颜色属性.调用taobao.itemprops.get获取类目属性,取得颜色属性pid,再用taobao.itempropvalues.get取得vid;格式:pid:vid,只能传入一个颜色pid:vid串;
type TaobaoProductPropimgUploadAPIResponse ¶
type TaobaoProductPropimgUploadAPIResponse struct { model.CommonResponse TaobaoProductPropimgUploadAPIResponseModel }
TaobaoProductPropimgUploadAPIResponse 上传单张产品属性图片,如果需要传多张,可调多次 API返回值 taobao.product.propimg.upload
传入产品ID <br/>传入props,目前仅支持颜色属性.调用taobao.itemprops.get.v2取得颜色属性pid,<br/>再用taobao.itempropvalues.get取得vid;格式:pid:vid,只能传入一个颜色pid:vid串; <br/>传入图片内容 <br/>注意:图片最大为2M,只支持JPG,GIF,如果需要传多张,可调多次
type TaobaoProductPropimgUploadAPIResponseModel ¶
type TaobaoProductPropimgUploadAPIResponseModel struct { XMLName xml.Name `xml:"product_propimg_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 支持返回产品属性图片中的:url,id,created,modified ProductPropImg *ProductPropImg `json:"product_prop_img,omitempty" xml:"product_prop_img,omitempty"` }
TaobaoProductPropimgUploadAPIResponseModel is 上传单张产品属性图片,如果需要传多张,可调多次 成功返回结果
type TaobaoProductUpdateAPIRequest ¶
type TaobaoProductUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoProductUpdateAPIRequest 修改一个产品,可以修改主图,不能修改子图片 API请求 taobao.product.update
传入产品ID <br/>可修改字段:outer_id,binds,sale_props,name,price,desc,image <br/>注意:1.可以修改主图,不能修改子图片,主图最大500K,目前仅支持GIF,JPG<br/> 2.商城卖家产品发布24小时后不能作删除或修改操作
func NewTaobaoProductUpdateRequest ¶
func NewTaobaoProductUpdateRequest() *TaobaoProductUpdateAPIRequest
NewTaobaoProductUpdateRequest 初始化TaobaoProductUpdateAPIRequest对象
func (TaobaoProductUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoProductUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoProductUpdateAPIRequest) GetApiParams ¶
func (r TaobaoProductUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoProductUpdateAPIRequest) GetBinds ¶
func (r TaobaoProductUpdateAPIRequest) GetBinds() string
GetBinds Binds Getter
func (TaobaoProductUpdateAPIRequest) GetDesc ¶
func (r TaobaoProductUpdateAPIRequest) GetDesc() string
GetDesc Desc Getter
func (TaobaoProductUpdateAPIRequest) GetImage ¶
func (r TaobaoProductUpdateAPIRequest) GetImage() *model.File
GetImage Image Getter
func (TaobaoProductUpdateAPIRequest) GetMajor ¶
func (r TaobaoProductUpdateAPIRequest) GetMajor() bool
GetMajor Major Getter
func (TaobaoProductUpdateAPIRequest) GetName ¶
func (r TaobaoProductUpdateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoProductUpdateAPIRequest) GetNativeUnkeyprops ¶
func (r TaobaoProductUpdateAPIRequest) GetNativeUnkeyprops() string
GetNativeUnkeyprops NativeUnkeyprops Getter
func (TaobaoProductUpdateAPIRequest) GetOuterId ¶
func (r TaobaoProductUpdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoProductUpdateAPIRequest) GetPrice ¶
func (r TaobaoProductUpdateAPIRequest) GetPrice() string
GetPrice Price Getter
func (TaobaoProductUpdateAPIRequest) GetProductId ¶
func (r TaobaoProductUpdateAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TaobaoProductUpdateAPIRequest) GetSaleProps ¶
func (r TaobaoProductUpdateAPIRequest) GetSaleProps() string
GetSaleProps SaleProps Getter
func (*TaobaoProductUpdateAPIRequest) SetBinds ¶
func (r *TaobaoProductUpdateAPIRequest) SetBinds(_binds string) error
SetBinds is Binds Setter 非关键属性.调用taobao.itemprops.get获取pid,调用taobao.itempropvalues.get获取vid;格式:pid:vid;pid:vid
func (*TaobaoProductUpdateAPIRequest) SetDesc ¶
func (r *TaobaoProductUpdateAPIRequest) SetDesc(_desc string) error
SetDesc is Desc Setter 产品描述.最大不超过25000个字符
func (*TaobaoProductUpdateAPIRequest) SetImage ¶
func (r *TaobaoProductUpdateAPIRequest) SetImage(_image *model.File) error
SetImage is Image Setter 产品主图.最大500K,目前仅支持GIF,JPG
func (*TaobaoProductUpdateAPIRequest) SetMajor ¶
func (r *TaobaoProductUpdateAPIRequest) SetMajor(_major bool) error
SetMajor is Major Setter 是否是主图
func (*TaobaoProductUpdateAPIRequest) SetName ¶
func (r *TaobaoProductUpdateAPIRequest) SetName(_name string) error
SetName is Name Setter 产品名称.最大不超过30个字符
func (*TaobaoProductUpdateAPIRequest) SetNativeUnkeyprops ¶
func (r *TaobaoProductUpdateAPIRequest) SetNativeUnkeyprops(_nativeUnkeyprops string) error
SetNativeUnkeyprops is NativeUnkeyprops Setter 自定义非关键属性
func (*TaobaoProductUpdateAPIRequest) SetOuterId ¶
func (r *TaobaoProductUpdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 外部产品ID
func (*TaobaoProductUpdateAPIRequest) SetPrice ¶
func (r *TaobaoProductUpdateAPIRequest) SetPrice(_price string) error
SetPrice is Price Setter 产品市场价.精确到2位小数;单位为元.如:200.07
func (*TaobaoProductUpdateAPIRequest) SetProductId ¶
func (r *TaobaoProductUpdateAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID
func (*TaobaoProductUpdateAPIRequest) SetSaleProps ¶
func (r *TaobaoProductUpdateAPIRequest) SetSaleProps(_saleProps string) error
SetSaleProps is SaleProps Setter 销售属性.调用taobao.itemprops.get获取pid,调用taobao.itempropvalues.get获取vid;格式:pid:vid;pid:vid
type TaobaoProductUpdateAPIResponse ¶
type TaobaoProductUpdateAPIResponse struct { model.CommonResponse TaobaoProductUpdateAPIResponseModel }
TaobaoProductUpdateAPIResponse 修改一个产品,可以修改主图,不能修改子图片 API返回值 taobao.product.update
传入产品ID <br/>可修改字段:outer_id,binds,sale_props,name,price,desc,image <br/>注意:1.可以修改主图,不能修改子图片,主图最大500K,目前仅支持GIF,JPG<br/> 2.商城卖家产品发布24小时后不能作删除或修改操作
type TaobaoProductUpdateAPIResponseModel ¶
type TaobaoProductUpdateAPIResponseModel struct { XMLName xml.Name `xml:"product_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回product数据结构中的:product_id,modified Product *Product `json:"product,omitempty" xml:"product,omitempty"` }
TaobaoProductUpdateAPIResponseModel is 修改一个产品,可以修改主图,不能修改子图片 成功返回结果
type TaobaoProductsGetAPIRequest ¶
TaobaoProductsGetAPIRequest 获取产品列表 API请求 taobao.products.get
根据淘宝会员帐号搜索所有产品信息,推荐使用taobao.products.search 注意:支持分页,每页最多返回100条,默认值为40,页码从1开始,默认为第一页
func NewTaobaoProductsGetRequest ¶
func NewTaobaoProductsGetRequest() *TaobaoProductsGetAPIRequest
NewTaobaoProductsGetRequest 初始化TaobaoProductsGetAPIRequest对象
func (TaobaoProductsGetAPIRequest) GetApiMethodName ¶
func (r TaobaoProductsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoProductsGetAPIRequest) GetApiParams ¶
func (r TaobaoProductsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoProductsGetAPIRequest) GetFields ¶
func (r TaobaoProductsGetAPIRequest) GetFields() []string
GetFields Fields Getter
func (TaobaoProductsGetAPIRequest) GetNick ¶
func (r TaobaoProductsGetAPIRequest) GetNick() string
GetNick Nick Getter
func (TaobaoProductsGetAPIRequest) GetPageNo ¶
func (r TaobaoProductsGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoProductsGetAPIRequest) GetPageSize ¶
func (r TaobaoProductsGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (*TaobaoProductsGetAPIRequest) SetFields ¶
func (r *TaobaoProductsGetAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 需返回的字段列表.可选值:Product数据结构中的所有字段;多个字段之间用","分隔
func (*TaobaoProductsGetAPIRequest) SetNick ¶
func (r *TaobaoProductsGetAPIRequest) SetNick(_nick string) error
SetNick is Nick Setter 用户昵称
func (*TaobaoProductsGetAPIRequest) SetPageNo ¶
func (r *TaobaoProductsGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码.传入值为1代表第一页,传入值为2代表第二页,依此类推.默认返回的数据是从第一页开始.
func (*TaobaoProductsGetAPIRequest) SetPageSize ¶
func (r *TaobaoProductsGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数.每页返回最多返回100条,默认值为40
type TaobaoProductsGetAPIResponse ¶
type TaobaoProductsGetAPIResponse struct { model.CommonResponse TaobaoProductsGetAPIResponseModel }
TaobaoProductsGetAPIResponse 获取产品列表 API返回值 taobao.products.get
根据淘宝会员帐号搜索所有产品信息,推荐使用taobao.products.search 注意:支持分页,每页最多返回100条,默认值为40,页码从1开始,默认为第一页
type TaobaoProductsGetAPIResponseModel ¶
type TaobaoProductsGetAPIResponseModel struct { XMLName xml.Name `xml:"products_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回具体信息为入参fields请求的字段信息 Products []Product `json:"products,omitempty" xml:"products>product,omitempty"` }
TaobaoProductsGetAPIResponseModel is 获取产品列表 成功返回结果
type TaobaoProductsSearchAPIRequest ¶
type TaobaoProductsSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoProductsSearchAPIRequest 搜索产品信息 API请求 taobao.products.search
只有天猫商家发布商品时才需要用到,并非商品搜索api,当前暂不提供商品搜索api。<br/>二种方式搜索所有产品信息(二种至少传一种): <br/> 传入关键字q搜索<br/> 传入cid和props搜索<br/> 返回值支持:product_id,name,pic_path,cid,props,price,tsc<br/> 当用户指定了cid并且cid为垂直市场(3C电器城、鞋城)的类目id时,默认只返回小二确认<br/>的产品。如果用户没有指定cid,或cid为普通的类目,默认返回商家确认或小二确认的产<br/>品。如果用户自定了status字段,以指定的status类型为准。 <br/>新增一:
传入suite_items_str 按规格搜索套装产品。 返回字段增加suite_items_str,is_suite_effecitve支持。
func NewTaobaoProductsSearchRequest ¶
func NewTaobaoProductsSearchRequest() *TaobaoProductsSearchAPIRequest
NewTaobaoProductsSearchRequest 初始化TaobaoProductsSearchAPIRequest对象
func (TaobaoProductsSearchAPIRequest) GetApiMethodName ¶
func (r TaobaoProductsSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoProductsSearchAPIRequest) GetApiParams ¶
func (r TaobaoProductsSearchAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoProductsSearchAPIRequest) GetBarcodeStr ¶
func (r TaobaoProductsSearchAPIRequest) GetBarcodeStr() string
GetBarcodeStr BarcodeStr Getter
func (TaobaoProductsSearchAPIRequest) GetCid ¶
func (r TaobaoProductsSearchAPIRequest) GetCid() int64
GetCid Cid Getter
func (TaobaoProductsSearchAPIRequest) GetCustomerProps ¶
func (r TaobaoProductsSearchAPIRequest) GetCustomerProps() string
GetCustomerProps CustomerProps Getter
func (TaobaoProductsSearchAPIRequest) GetFields ¶
func (r TaobaoProductsSearchAPIRequest) GetFields() []string
GetFields Fields Getter
func (TaobaoProductsSearchAPIRequest) GetMarketId ¶
func (r TaobaoProductsSearchAPIRequest) GetMarketId() string
GetMarketId MarketId Getter
func (TaobaoProductsSearchAPIRequest) GetPageNo ¶
func (r TaobaoProductsSearchAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoProductsSearchAPIRequest) GetPageSize ¶
func (r TaobaoProductsSearchAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoProductsSearchAPIRequest) GetProps ¶
func (r TaobaoProductsSearchAPIRequest) GetProps() string
GetProps Props Getter
func (TaobaoProductsSearchAPIRequest) GetQ ¶
func (r TaobaoProductsSearchAPIRequest) GetQ() string
GetQ Q Getter
func (TaobaoProductsSearchAPIRequest) GetStatus ¶
func (r TaobaoProductsSearchAPIRequest) GetStatus() string
GetStatus Status Getter
func (TaobaoProductsSearchAPIRequest) GetSuiteItemsStr ¶
func (r TaobaoProductsSearchAPIRequest) GetSuiteItemsStr() string
GetSuiteItemsStr SuiteItemsStr Getter
func (TaobaoProductsSearchAPIRequest) GetVerticalMarket ¶
func (r TaobaoProductsSearchAPIRequest) GetVerticalMarket() int64
GetVerticalMarket VerticalMarket Getter
func (*TaobaoProductsSearchAPIRequest) SetBarcodeStr ¶
func (r *TaobaoProductsSearchAPIRequest) SetBarcodeStr(_barcodeStr string) error
SetBarcodeStr is BarcodeStr Setter 按条码搜索产品信息,多个逗号隔开,不支持条码为全零的方式
func (*TaobaoProductsSearchAPIRequest) SetCid ¶
func (r *TaobaoProductsSearchAPIRequest) SetCid(_cid int64) error
SetCid is Cid Setter 商品类目ID.调用taobao.itemcats.get获取.
func (*TaobaoProductsSearchAPIRequest) SetCustomerProps ¶
func (r *TaobaoProductsSearchAPIRequest) SetCustomerProps(_customerProps string) error
SetCustomerProps is CustomerProps Setter 用户自定义关键属性,结构:pid1:value1;pid2:value2,如果有型号,系列等子属性用: 隔开 例如:“20000:优衣库:型号:001;632501:1234”,表示“品牌:优衣库:型号:001;货号:1234”
func (*TaobaoProductsSearchAPIRequest) SetFields ¶
func (r *TaobaoProductsSearchAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 需返回的字段列表.可选值:Product数据结构中的以下字段:product_id,name,pic_url,cid,props,price,tsc;多个字段之间用","分隔.新增字段status(product的当前状态)
func (*TaobaoProductsSearchAPIRequest) SetMarketId ¶
func (r *TaobaoProductsSearchAPIRequest) SetMarketId(_marketId string) error
SetMarketId is MarketId Setter 市场ID,1为取C2C市场的产品信息, 2为取B2C市场的产品信息。 不填写此值则默认取C2C的产品信息。
func (*TaobaoProductsSearchAPIRequest) SetPageNo ¶
func (r *TaobaoProductsSearchAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码.传入值为1代表第一页,传入值为2代表第二页,依此类推.默认返回的数据是从第一页开始.
func (*TaobaoProductsSearchAPIRequest) SetPageSize ¶
func (r *TaobaoProductsSearchAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数.每页返回最多返回100条,默认值为40.
func (*TaobaoProductsSearchAPIRequest) SetProps ¶
func (r *TaobaoProductsSearchAPIRequest) SetProps(_props string) error
SetProps is Props Setter 属性,属性值的组合.格式:pid:vid;pid:vid;调用taobao.itemprops.get获取类目属性pid <br/>,再用taobao.itempropvalues.get取得vid.
func (*TaobaoProductsSearchAPIRequest) SetQ ¶
func (r *TaobaoProductsSearchAPIRequest) SetQ(_q string) error
SetQ is Q Setter 搜索的关键词是用来搜索产品的title. 注:q,cid和props至少传入一个
func (*TaobaoProductsSearchAPIRequest) SetStatus ¶
func (r *TaobaoProductsSearchAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter 想要获取的产品的状态列表,支持多个状态并列获取,多个状态之间用","分隔,最多同时指定5种状态。例如,只获取小二确认的spu传入"3",只要商家确认的传入"0",既要小二确认又要商家确认的传入"0,3"。目前只支持者两种类型的状态搜索,输入其他状态无效。
func (*TaobaoProductsSearchAPIRequest) SetSuiteItemsStr ¶
func (r *TaobaoProductsSearchAPIRequest) SetSuiteItemsStr(_suiteItemsStr string) error
SetSuiteItemsStr is SuiteItemsStr Setter 按关联产品规格specs搜索套装产品
func (*TaobaoProductsSearchAPIRequest) SetVerticalMarket ¶
func (r *TaobaoProductsSearchAPIRequest) SetVerticalMarket(_verticalMarket int64) error
SetVerticalMarket is VerticalMarket Setter 传入值为:3表示3C表示3C垂直市场产品,4表示鞋城垂直市场产品,8表示网游垂直市场产品。一次只能指定一种垂直市场类型
type TaobaoProductsSearchAPIResponse ¶
type TaobaoProductsSearchAPIResponse struct { model.CommonResponse TaobaoProductsSearchAPIResponseModel }
TaobaoProductsSearchAPIResponse 搜索产品信息 API返回值 taobao.products.search
只有天猫商家发布商品时才需要用到,并非商品搜索api,当前暂不提供商品搜索api。<br/>二种方式搜索所有产品信息(二种至少传一种): <br/> 传入关键字q搜索<br/> 传入cid和props搜索<br/> 返回值支持:product_id,name,pic_path,cid,props,price,tsc<br/> 当用户指定了cid并且cid为垂直市场(3C电器城、鞋城)的类目id时,默认只返回小二确认<br/>的产品。如果用户没有指定cid,或cid为普通的类目,默认返回商家确认或小二确认的产<br/>品。如果用户自定了status字段,以指定的status类型为准。 <br/>新增一:
传入suite_items_str 按规格搜索套装产品。 返回字段增加suite_items_str,is_suite_effecitve支持。
type TaobaoProductsSearchAPIResponseModel ¶
type TaobaoProductsSearchAPIResponseModel struct { XMLName xml.Name `xml:"products_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回具体信息为入参fields请求的字段信息 Products []Product `json:"products,omitempty" xml:"products>product,omitempty"` // 结果总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoProductsSearchAPIResponseModel is 搜索产品信息 成功返回结果
type TaobaoSkusCustomGetAPIRequest ¶
type TaobaoSkusCustomGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSkusCustomGetAPIRequest 根据外部ID取商品SKU API请求 taobao.skus.custom.get
跟据卖家设定的Sku的外部id获取商品,如果一个outer_id对应多个Sku会返回所有符合条件的sku <br/>这个Sku所属卖家从传入的session中获取,需要session绑定(注:iid标签里是num_iid的值,可以用作num_iid使用)
func NewTaobaoSkusCustomGetRequest ¶
func NewTaobaoSkusCustomGetRequest() *TaobaoSkusCustomGetAPIRequest
NewTaobaoSkusCustomGetRequest 初始化TaobaoSkusCustomGetAPIRequest对象
func (TaobaoSkusCustomGetAPIRequest) GetApiMethodName ¶
func (r TaobaoSkusCustomGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSkusCustomGetAPIRequest) GetApiParams ¶
func (r TaobaoSkusCustomGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSkusCustomGetAPIRequest) GetFields ¶
func (r TaobaoSkusCustomGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoSkusCustomGetAPIRequest) GetOuterId ¶
func (r TaobaoSkusCustomGetAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (*TaobaoSkusCustomGetAPIRequest) SetFields ¶
func (r *TaobaoSkusCustomGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表。可选值:Sku结构体中的所有字段;字段之间用“,”隔开
func (*TaobaoSkusCustomGetAPIRequest) SetOuterId ¶
func (r *TaobaoSkusCustomGetAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter Sku的外部商家ID
type TaobaoSkusCustomGetAPIResponse ¶
type TaobaoSkusCustomGetAPIResponse struct { model.CommonResponse TaobaoSkusCustomGetAPIResponseModel }
TaobaoSkusCustomGetAPIResponse 根据外部ID取商品SKU API返回值 taobao.skus.custom.get
跟据卖家设定的Sku的外部id获取商品,如果一个outer_id对应多个Sku会返回所有符合条件的sku <br/>这个Sku所属卖家从传入的session中获取,需要session绑定(注:iid标签里是num_iid的值,可以用作num_iid使用)
type TaobaoSkusCustomGetAPIResponseModel ¶
type TaobaoSkusCustomGetAPIResponseModel struct { XMLName xml.Name `xml:"skus_custom_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // Sku对象,具体字段以fields决定 Skus []Sku `json:"skus,omitempty" xml:"skus>sku,omitempty"` }
TaobaoSkusCustomGetAPIResponseModel is 根据外部ID取商品SKU 成功返回结果
type TaobaoSkusQuantityUpdateAPIRequest ¶
type TaobaoSkusQuantityUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSkusQuantityUpdateAPIRequest SKU库存修改 API请求 taobao.skus.quantity.update
提供按照全量/增量的方式批量修改SKU库存的功能
func NewTaobaoSkusQuantityUpdateRequest ¶
func NewTaobaoSkusQuantityUpdateRequest() *TaobaoSkusQuantityUpdateAPIRequest
NewTaobaoSkusQuantityUpdateRequest 初始化TaobaoSkusQuantityUpdateAPIRequest对象
func (TaobaoSkusQuantityUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoSkusQuantityUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSkusQuantityUpdateAPIRequest) GetApiParams ¶
func (r TaobaoSkusQuantityUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSkusQuantityUpdateAPIRequest) GetNumIid ¶
func (r TaobaoSkusQuantityUpdateAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoSkusQuantityUpdateAPIRequest) GetOuteridQuantities ¶
func (r TaobaoSkusQuantityUpdateAPIRequest) GetOuteridQuantities() string
GetOuteridQuantities OuteridQuantities Getter
func (TaobaoSkusQuantityUpdateAPIRequest) GetSkuidQuantities ¶
func (r TaobaoSkusQuantityUpdateAPIRequest) GetSkuidQuantities() string
GetSkuidQuantities SkuidQuantities Getter
func (TaobaoSkusQuantityUpdateAPIRequest) GetType ¶
func (r TaobaoSkusQuantityUpdateAPIRequest) GetType() int64
GetType Type Getter
func (*TaobaoSkusQuantityUpdateAPIRequest) SetNumIid ¶
func (r *TaobaoSkusQuantityUpdateAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 商品数字ID,必填参数
func (*TaobaoSkusQuantityUpdateAPIRequest) SetOuteridQuantities ¶
func (r *TaobaoSkusQuantityUpdateAPIRequest) SetOuteridQuantities(_outeridQuantities string) error
SetOuteridQuantities is OuteridQuantities Setter 特殊可选,skuIdQuantities为空的时候用该字段通过outerId来指定sku和其库存修改值。格式为outerId:库存修改值;outerId:库存修改值。当skuIdQuantities不为空的时候该字段失效。当一个outerId对应多个sku时,所有匹配到的sku都会被修改库存。最多支持20个SKU同时修改。
func (*TaobaoSkusQuantityUpdateAPIRequest) SetSkuidQuantities ¶
func (r *TaobaoSkusQuantityUpdateAPIRequest) SetSkuidQuantities(_skuidQuantities string) error
SetSkuidQuantities is SkuidQuantities Setter sku库存批量修改入参,用于指定一批sku和每个sku的库存修改值,特殊可填。格式为skuId:库存修改值;skuId:库存修改值。最多支持20个SKU同时修改。
func (*TaobaoSkusQuantityUpdateAPIRequest) SetType ¶
func (r *TaobaoSkusQuantityUpdateAPIRequest) SetType(_type int64) error
SetType is Type Setter 库存更新方式,可选。1为全量更新,2为增量更新。如果不填,默认为全量更新。当选择全量更新时,如果库存更新值传入的是负数,会出错并返回错误码;当选择增量更新时,如果库存更新值为负数且绝对值大于当前库存,则sku库存会设置为0.
type TaobaoSkusQuantityUpdateAPIResponse ¶
type TaobaoSkusQuantityUpdateAPIResponse struct { model.CommonResponse TaobaoSkusQuantityUpdateAPIResponseModel }
TaobaoSkusQuantityUpdateAPIResponse SKU库存修改 API返回值 taobao.skus.quantity.update
提供按照全量/增量的方式批量修改SKU库存的功能
type TaobaoSkusQuantityUpdateAPIResponseModel ¶
type TaobaoSkusQuantityUpdateAPIResponseModel struct { XMLName xml.Name `xml:"skus_quantity_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // iid、numIid、num和modified,skus中每个sku的skuId、quantity和modified Item *Item `json:"item,omitempty" xml:"item,omitempty"` }
TaobaoSkusQuantityUpdateAPIResponseModel is SKU库存修改 成功返回结果
type TaobaoUmpPromotionGetAPIRequest ¶
type TaobaoUmpPromotionGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoUmpPromotionGetAPIRequest 商品优惠详情查询 API请求 taobao.ump.promotion.get
商品优惠详情查询,可查询商品设置的详细优惠。包括限时折扣,满就送等官方优惠以及第三方优惠。
func NewTaobaoUmpPromotionGetRequest ¶
func NewTaobaoUmpPromotionGetRequest() *TaobaoUmpPromotionGetAPIRequest
NewTaobaoUmpPromotionGetRequest 初始化TaobaoUmpPromotionGetAPIRequest对象
func (TaobaoUmpPromotionGetAPIRequest) GetApiMethodName ¶
func (r TaobaoUmpPromotionGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoUmpPromotionGetAPIRequest) GetApiParams ¶
func (r TaobaoUmpPromotionGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoUmpPromotionGetAPIRequest) GetItemId ¶
func (r TaobaoUmpPromotionGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (*TaobaoUmpPromotionGetAPIRequest) SetItemId ¶
func (r *TaobaoUmpPromotionGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
type TaobaoUmpPromotionGetAPIResponse ¶
type TaobaoUmpPromotionGetAPIResponse struct { model.CommonResponse TaobaoUmpPromotionGetAPIResponseModel }
TaobaoUmpPromotionGetAPIResponse 商品优惠详情查询 API返回值 taobao.ump.promotion.get
商品优惠详情查询,可查询商品设置的详细优惠。包括限时折扣,满就送等官方优惠以及第三方优惠。
type TaobaoUmpPromotionGetAPIResponseModel ¶
type TaobaoUmpPromotionGetAPIResponseModel struct { XMLName xml.Name `xml:"ump_promotion_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 优惠详细信息 Promotions *PromotionDisplayTop `json:"promotions,omitempty" xml:"promotions,omitempty"` }
TaobaoUmpPromotionGetAPIResponseModel is 商品优惠详情查询 成功返回结果
type TaobaoXhotelIntlAriNotifyAPIRequest ¶
type TaobaoXhotelIntlAriNotifyAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelIntlAriNotifyAPIRequest 国际酒店集团价库变更通知 API请求 taobao.xhotel.intl.ari.notify
国际酒店集团价库变更时通知变更内容,平台及时更新价库信息,保证价库新鲜度
func NewTaobaoXhotelIntlAriNotifyRequest ¶
func NewTaobaoXhotelIntlAriNotifyRequest() *TaobaoXhotelIntlAriNotifyAPIRequest
NewTaobaoXhotelIntlAriNotifyRequest 初始化TaobaoXhotelIntlAriNotifyAPIRequest对象
func (TaobaoXhotelIntlAriNotifyAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelIntlAriNotifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelIntlAriNotifyAPIRequest) GetApiParams ¶
func (r TaobaoXhotelIntlAriNotifyAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelIntlAriNotifyAPIRequest) GetCacheChangeList ¶
func (r TaobaoXhotelIntlAriNotifyAPIRequest) GetCacheChangeList() []CacheChangeInfo
GetCacheChangeList CacheChangeList Getter
func (*TaobaoXhotelIntlAriNotifyAPIRequest) SetCacheChangeList ¶
func (r *TaobaoXhotelIntlAriNotifyAPIRequest) SetCacheChangeList(_cacheChangeList []CacheChangeInfo) error
SetCacheChangeList is CacheChangeList Setter 缓存变更
type TaobaoXhotelIntlAriNotifyAPIResponse ¶
type TaobaoXhotelIntlAriNotifyAPIResponse struct { model.CommonResponse TaobaoXhotelIntlAriNotifyAPIResponseModel }
TaobaoXhotelIntlAriNotifyAPIResponse 国际酒店集团价库变更通知 API返回值 taobao.xhotel.intl.ari.notify
国际酒店集团价库变更时通知变更内容,平台及时更新价库信息,保证价库新鲜度
type TaobaoXhotelIntlAriNotifyAPIResponseModel ¶
type TaobaoXhotelIntlAriNotifyAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_intl_ari_notify_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 通知结果 Module *CacheChangeNotifyResult `json:"module,omitempty" xml:"module,omitempty"` }
TaobaoXhotelIntlAriNotifyAPIResponseModel is 国际酒店集团价库变更通知 成功返回结果
type Ticket ¶
type Ticket struct { // 审核原因 Reason string `json:"reason,omitempty" xml:"reason,omitempty"` // 关于审核原因,更详细的说明 Memo string `json:"memo,omitempty" xml:"memo,omitempty"` // 产品规格申请时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 产品规格审核单最后修改时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 产品规格ID SpecId int64 `json:"spec_id,omitempty" xml:"spec_id,omitempty"` // 创建人ID CreateUserId int64 `json:"create_user_id,omitempty" xml:"create_user_id,omitempty"` // 如果产品规格,需要商家审核,为商家审核用户ID AuditSellerId int64 `json:"audit_seller_id,omitempty" xml:"audit_seller_id,omitempty"` // 1, "商家确认"<br/>2, "商家拒绝"<br/>3, "小二确认"<br/>4, "小二拒绝"<br/>5, "待商家处理"<br/>6, "商家审核超时"<br/>7, "待小二审核"<br/>9, "品牌商确认"<br/>10, "免审通过"<br/>14, "免审拒绝" Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
Ticket 结构体
type TimeSpan ¶
type TimeSpan struct { // 变更开始时间 Start string `json:"start,omitempty" xml:"start,omitempty"` // 变更结束时间 End string `json:"end,omitempty" xml:"end,omitempty"` // 变更时间段内的具体有变更的日期掩码 ChangeDateMask string `json:"change_date_mask,omitempty" xml:"change_date_mask,omitempty"` }
TimeSpan 结构体
type TmallItemAddSchemaGetAPIRequest ¶
type TmallItemAddSchemaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemAddSchemaGetAPIRequest 天猫发布商品规则获取 API请求 tmall.item.add.schema.get
通过类目以及productId获取商品发布规则;
func NewTmallItemAddSchemaGetRequest ¶
func NewTmallItemAddSchemaGetRequest() *TmallItemAddSchemaGetAPIRequest
NewTmallItemAddSchemaGetRequest 初始化TmallItemAddSchemaGetAPIRequest对象
func (TmallItemAddSchemaGetAPIRequest) GetApiMethodName ¶
func (r TmallItemAddSchemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemAddSchemaGetAPIRequest) GetApiParams ¶
func (r TmallItemAddSchemaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemAddSchemaGetAPIRequest) GetCategoryId ¶
func (r TmallItemAddSchemaGetAPIRequest) GetCategoryId() int64
GetCategoryId CategoryId Getter
func (TmallItemAddSchemaGetAPIRequest) GetIsvInit ¶
func (r TmallItemAddSchemaGetAPIRequest) GetIsvInit() bool
GetIsvInit IsvInit Getter
func (TmallItemAddSchemaGetAPIRequest) GetProductId ¶
func (r TmallItemAddSchemaGetAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TmallItemAddSchemaGetAPIRequest) GetType ¶
func (r TmallItemAddSchemaGetAPIRequest) GetType() string
GetType Type Getter
func (*TmallItemAddSchemaGetAPIRequest) SetCategoryId ¶
func (r *TmallItemAddSchemaGetAPIRequest) SetCategoryId(_categoryId int64) error
SetCategoryId is CategoryId Setter 商品发布的目标类目,必须是叶子类目
func (*TmallItemAddSchemaGetAPIRequest) SetIsvInit ¶
func (r *TmallItemAddSchemaGetAPIRequest) SetIsvInit(_isvInit bool) error
SetIsvInit is IsvInit Setter 正常接口调用时,请忽略这个参数或者填FALSE。这个参数提供给ISV对接Schema时,如果想先获取了解所有字段和规则,可以将此字段设置为true,product_id也就不需要提供了,设置为0即可
func (*TmallItemAddSchemaGetAPIRequest) SetProductId ¶
func (r *TmallItemAddSchemaGetAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 商品发布的目标product_id
func (*TmallItemAddSchemaGetAPIRequest) SetType ¶
func (r *TmallItemAddSchemaGetAPIRequest) SetType(_type string) error
SetType is Type Setter 发布商品类型,一口价填“b”,拍卖填"a"
type TmallItemAddSchemaGetAPIResponse ¶
type TmallItemAddSchemaGetAPIResponse struct { model.CommonResponse TmallItemAddSchemaGetAPIResponseModel }
TmallItemAddSchemaGetAPIResponse 天猫发布商品规则获取 API返回值 tmall.item.add.schema.get
通过类目以及productId获取商品发布规则;
type TmallItemAddSchemaGetAPIResponseModel ¶
type TmallItemAddSchemaGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_add_schema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回发布商品的规则文档 AddItemResult string `json:"add_item_result,omitempty" xml:"add_item_result,omitempty"` }
TmallItemAddSchemaGetAPIResponseModel is 天猫发布商品规则获取 成功返回结果
type TmallItemAddSimpleschemaGetAPIRequest ¶
TmallItemAddSimpleschemaGetAPIRequest 天猫发布商品规则获取 API请求 tmall.item.add.simpleschema.get
通过商家信息获取商品发布字段和规则。
func NewTmallItemAddSimpleschemaGetRequest ¶
func NewTmallItemAddSimpleschemaGetRequest() *TmallItemAddSimpleschemaGetAPIRequest
NewTmallItemAddSimpleschemaGetRequest 初始化TmallItemAddSimpleschemaGetAPIRequest对象
func (TmallItemAddSimpleschemaGetAPIRequest) GetApiMethodName ¶
func (r TmallItemAddSimpleschemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemAddSimpleschemaGetAPIRequest) GetApiParams ¶
func (r TmallItemAddSimpleschemaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type TmallItemAddSimpleschemaGetAPIResponse ¶
type TmallItemAddSimpleschemaGetAPIResponse struct { model.CommonResponse TmallItemAddSimpleschemaGetAPIResponseModel }
TmallItemAddSimpleschemaGetAPIResponse 天猫发布商品规则获取 API返回值 tmall.item.add.simpleschema.get
通过商家信息获取商品发布字段和规则。
type TmallItemAddSimpleschemaGetAPIResponseModel ¶
type TmallItemAddSimpleschemaGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_add_simpleschema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回发布商品的规则文档 Result string `json:"result,omitempty" xml:"result,omitempty"` }
TmallItemAddSimpleschemaGetAPIResponseModel is 天猫发布商品规则获取 成功返回结果
type TmallItemCalculateHscodeGetAPIRequest ¶
type TmallItemCalculateHscodeGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemCalculateHscodeGetAPIRequest 算法获取hscode API请求 tmall.item.calculate.hscode.get
算法获取hscode
func NewTmallItemCalculateHscodeGetRequest ¶
func NewTmallItemCalculateHscodeGetRequest() *TmallItemCalculateHscodeGetAPIRequest
NewTmallItemCalculateHscodeGetRequest 初始化TmallItemCalculateHscodeGetAPIRequest对象
func (TmallItemCalculateHscodeGetAPIRequest) GetApiMethodName ¶
func (r TmallItemCalculateHscodeGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemCalculateHscodeGetAPIRequest) GetApiParams ¶
func (r TmallItemCalculateHscodeGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemCalculateHscodeGetAPIRequest) GetItemId ¶
func (r TmallItemCalculateHscodeGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (*TmallItemCalculateHscodeGetAPIRequest) SetItemId ¶
func (r *TmallItemCalculateHscodeGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
type TmallItemCalculateHscodeGetAPIResponse ¶
type TmallItemCalculateHscodeGetAPIResponse struct { model.CommonResponse TmallItemCalculateHscodeGetAPIResponseModel }
TmallItemCalculateHscodeGetAPIResponse 算法获取hscode API返回值 tmall.item.calculate.hscode.get
算法获取hscode
type TmallItemCalculateHscodeGetAPIResponseModel ¶
type TmallItemCalculateHscodeGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_calculate_hscode_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 算法返回预测的hscode数据 Results []string `json:"results,omitempty" xml:"results>string,omitempty"` }
TmallItemCalculateHscodeGetAPIResponseModel is 算法获取hscode 成功返回结果
type TmallItemCombineGetAPIRequest ¶
type TmallItemCombineGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemCombineGetAPIRequest 组合商品获取接口 API请求 tmall.item.combine.get
查询组合商品的SKU信息
func NewTmallItemCombineGetRequest ¶
func NewTmallItemCombineGetRequest() *TmallItemCombineGetAPIRequest
NewTmallItemCombineGetRequest 初始化TmallItemCombineGetAPIRequest对象
func (TmallItemCombineGetAPIRequest) GetApiMethodName ¶
func (r TmallItemCombineGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemCombineGetAPIRequest) GetApiParams ¶
func (r TmallItemCombineGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemCombineGetAPIRequest) GetItemId ¶
func (r TmallItemCombineGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (*TmallItemCombineGetAPIRequest) SetItemId ¶
func (r *TmallItemCombineGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 组合商品ID
type TmallItemCombineGetAPIResponse ¶
type TmallItemCombineGetAPIResponse struct { model.CommonResponse TmallItemCombineGetAPIResponseModel }
TmallItemCombineGetAPIResponse 组合商品获取接口 API返回值 tmall.item.combine.get
查询组合商品的SKU信息
type TmallItemCombineGetAPIResponseModel ¶
type TmallItemCombineGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_combine_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // results Results []string `json:"results,omitempty" xml:"results>string,omitempty"` }
TmallItemCombineGetAPIResponseModel is 组合商品获取接口 成功返回结果
type TmallItemDapeiTemplateQueryAPIRequest ¶
type TmallItemDapeiTemplateQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemDapeiTemplateQueryAPIRequest 搭配查询接口 API请求 tmall.item.dapei.template.query
根据条件获取搭配内容
func NewTmallItemDapeiTemplateQueryRequest ¶
func NewTmallItemDapeiTemplateQueryRequest() *TmallItemDapeiTemplateQueryAPIRequest
NewTmallItemDapeiTemplateQueryRequest 初始化TmallItemDapeiTemplateQueryAPIRequest对象
func (TmallItemDapeiTemplateQueryAPIRequest) GetApiMethodName ¶
func (r TmallItemDapeiTemplateQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemDapeiTemplateQueryAPIRequest) GetApiParams ¶
func (r TmallItemDapeiTemplateQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemDapeiTemplateQueryAPIRequest) GetPageIndex ¶
func (r TmallItemDapeiTemplateQueryAPIRequest) GetPageIndex() int64
GetPageIndex PageIndex Getter
func (TmallItemDapeiTemplateQueryAPIRequest) GetPageSize ¶
func (r TmallItemDapeiTemplateQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TmallItemDapeiTemplateQueryAPIRequest) GetTitle ¶
func (r TmallItemDapeiTemplateQueryAPIRequest) GetTitle() string
GetTitle Title Getter
func (*TmallItemDapeiTemplateQueryAPIRequest) SetPageIndex ¶
func (r *TmallItemDapeiTemplateQueryAPIRequest) SetPageIndex(_pageIndex int64) error
SetPageIndex is PageIndex Setter 页码
func (*TmallItemDapeiTemplateQueryAPIRequest) SetPageSize ¶
func (r *TmallItemDapeiTemplateQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页大小
func (*TmallItemDapeiTemplateQueryAPIRequest) SetTitle ¶
func (r *TmallItemDapeiTemplateQueryAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 搭配标题
type TmallItemDapeiTemplateQueryAPIResponse ¶
type TmallItemDapeiTemplateQueryAPIResponse struct { model.CommonResponse TmallItemDapeiTemplateQueryAPIResponseModel }
TmallItemDapeiTemplateQueryAPIResponse 搭配查询接口 API返回值 tmall.item.dapei.template.query
根据条件获取搭配内容
type TmallItemDapeiTemplateQueryAPIResponseModel ¶
type TmallItemDapeiTemplateQueryAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_dapei_template_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TmallItemDapeiTemplateQueryResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TmallItemDapeiTemplateQueryAPIResponseModel is 搭配查询接口 成功返回结果
type TmallItemDapeiTemplateQueryResultSet ¶
type TmallItemDapeiTemplateQueryResultSet struct { // firstResult Results []DapeiDo `json:"results,omitempty" xml:"results>dapei_do,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // totalResults TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // totalPage TotalPage int64 `json:"total_page,omitempty" xml:"total_page,omitempty"` // pageIndex PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"` // error Error bool `json:"error,omitempty" xml:"error,omitempty"` }
TmallItemDapeiTemplateQueryResultSet 结构体
type TmallItemDescModulesGetAPIRequest ¶
type TmallItemDescModulesGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemDescModulesGetAPIRequest 商品描述模块信息获取 API请求 tmall.item.desc.modules.get
商品描述模块信息获取,包括运营设定的类目级别的模块信息以及用户自定义模块数量约束。
func NewTmallItemDescModulesGetRequest ¶
func NewTmallItemDescModulesGetRequest() *TmallItemDescModulesGetAPIRequest
NewTmallItemDescModulesGetRequest 初始化TmallItemDescModulesGetAPIRequest对象
func (TmallItemDescModulesGetAPIRequest) GetApiMethodName ¶
func (r TmallItemDescModulesGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemDescModulesGetAPIRequest) GetApiParams ¶
func (r TmallItemDescModulesGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemDescModulesGetAPIRequest) GetCatId ¶
func (r TmallItemDescModulesGetAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (TmallItemDescModulesGetAPIRequest) GetUsrId ¶
func (r TmallItemDescModulesGetAPIRequest) GetUsrId() string
GetUsrId UsrId Getter
func (*TmallItemDescModulesGetAPIRequest) SetCatId ¶
func (r *TmallItemDescModulesGetAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 淘宝后台发布商品的叶子类目id,可通过taobao.itemcats.get查到。api 访问地址http://api.taobao.com/apidoc/api.htm?spm=0.0.0.0.CFhhk4&path=cid:3-apiId:122
func (*TmallItemDescModulesGetAPIRequest) SetUsrId ¶
func (r *TmallItemDescModulesGetAPIRequest) SetUsrId(_usrId string) error
SetUsrId is UsrId Setter 商家主帐号id
type TmallItemDescModulesGetAPIResponse ¶
type TmallItemDescModulesGetAPIResponse struct { model.CommonResponse TmallItemDescModulesGetAPIResponseModel }
TmallItemDescModulesGetAPIResponse 商品描述模块信息获取 API返回值 tmall.item.desc.modules.get
商品描述模块信息获取,包括运营设定的类目级别的模块信息以及用户自定义模块数量约束。
type TmallItemDescModulesGetAPIResponseModel ¶
type TmallItemDescModulesGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_desc_modules_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回描述模块信息 ModularDescInfo *ModularDescInfo `json:"modular_desc_info,omitempty" xml:"modular_desc_info,omitempty"` }
TmallItemDescModulesGetAPIResponseModel is 商品描述模块信息获取 成功返回结果
type TmallItemHscodeAuditResultsQueryAPIRequest ¶
type TmallItemHscodeAuditResultsQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemHscodeAuditResultsQueryAPIRequest 商品hscode信息审核状态查询接口 API请求 tmall.item.hscode.audit.results.query
通过此接口查询天猫跨境商品的hscode信息审核状态,卖家可以参考返回结果判断是否需要调整商品hscode相关信息。
func NewTmallItemHscodeAuditResultsQueryRequest ¶
func NewTmallItemHscodeAuditResultsQueryRequest() *TmallItemHscodeAuditResultsQueryAPIRequest
NewTmallItemHscodeAuditResultsQueryRequest 初始化TmallItemHscodeAuditResultsQueryAPIRequest对象
func (TmallItemHscodeAuditResultsQueryAPIRequest) GetApiMethodName ¶
func (r TmallItemHscodeAuditResultsQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemHscodeAuditResultsQueryAPIRequest) GetApiParams ¶
func (r TmallItemHscodeAuditResultsQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemHscodeAuditResultsQueryAPIRequest) GetItemId ¶
func (r TmallItemHscodeAuditResultsQueryAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (*TmallItemHscodeAuditResultsQueryAPIRequest) SetItemId ¶
func (r *TmallItemHscodeAuditResultsQueryAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
type TmallItemHscodeAuditResultsQueryAPIResponse ¶
type TmallItemHscodeAuditResultsQueryAPIResponse struct { model.CommonResponse TmallItemHscodeAuditResultsQueryAPIResponseModel }
TmallItemHscodeAuditResultsQueryAPIResponse 商品hscode信息审核状态查询接口 API返回值 tmall.item.hscode.audit.results.query
通过此接口查询天猫跨境商品的hscode信息审核状态,卖家可以参考返回结果判断是否需要调整商品hscode相关信息。
type TmallItemHscodeAuditResultsQueryAPIResponseModel ¶
type TmallItemHscodeAuditResultsQueryAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_hscode_audit_results_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品或sku的hscode信息审核状态。 ResultList []HscodeAuditInfo `json:"result_list,omitempty" xml:"result_list>hscode_audit_info,omitempty"` }
TmallItemHscodeAuditResultsQueryAPIResponseModel is 商品hscode信息审核状态查询接口 成功返回结果
type TmallItemHscodeDetailGetAPIRequest ¶
type TmallItemHscodeDetailGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemHscodeDetailGetAPIRequest 通过hscode获取计量单位 API请求 tmall.item.hscode.detail.get
通过hscode获取计量单位和销售单位
func NewTmallItemHscodeDetailGetRequest ¶
func NewTmallItemHscodeDetailGetRequest() *TmallItemHscodeDetailGetAPIRequest
NewTmallItemHscodeDetailGetRequest 初始化TmallItemHscodeDetailGetAPIRequest对象
func (TmallItemHscodeDetailGetAPIRequest) GetApiMethodName ¶
func (r TmallItemHscodeDetailGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemHscodeDetailGetAPIRequest) GetApiParams ¶
func (r TmallItemHscodeDetailGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemHscodeDetailGetAPIRequest) GetHscode ¶
func (r TmallItemHscodeDetailGetAPIRequest) GetHscode() string
GetHscode Hscode Getter
func (*TmallItemHscodeDetailGetAPIRequest) SetHscode ¶
func (r *TmallItemHscodeDetailGetAPIRequest) SetHscode(_hscode string) error
SetHscode is Hscode Setter hscode
type TmallItemHscodeDetailGetAPIResponse ¶
type TmallItemHscodeDetailGetAPIResponse struct { model.CommonResponse TmallItemHscodeDetailGetAPIResponseModel }
TmallItemHscodeDetailGetAPIResponse 通过hscode获取计量单位 API返回值 tmall.item.hscode.detail.get
通过hscode获取计量单位和销售单位
type TmallItemHscodeDetailGetAPIResponseModel ¶
type TmallItemHscodeDetailGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_hscode_detail_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回的计量单位和销售单位 Results []string `json:"results,omitempty" xml:"results>string,omitempty"` }
TmallItemHscodeDetailGetAPIResponseModel is 通过hscode获取计量单位 成功返回结果
type TmallItemIncrementUpdateSchemaGetAPIRequest ¶
type TmallItemIncrementUpdateSchemaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemIncrementUpdateSchemaGetAPIRequest 天猫增量更新商品规则获取 API请求 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 NewTmallItemIncrementUpdateSchemaGetRequest ¶
func NewTmallItemIncrementUpdateSchemaGetRequest() *TmallItemIncrementUpdateSchemaGetAPIRequest
NewTmallItemIncrementUpdateSchemaGetRequest 初始化TmallItemIncrementUpdateSchemaGetAPIRequest对象
func (TmallItemIncrementUpdateSchemaGetAPIRequest) GetApiMethodName ¶
func (r TmallItemIncrementUpdateSchemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemIncrementUpdateSchemaGetAPIRequest) GetApiParams ¶
func (r TmallItemIncrementUpdateSchemaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemIncrementUpdateSchemaGetAPIRequest) GetItemId ¶
func (r TmallItemIncrementUpdateSchemaGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TmallItemIncrementUpdateSchemaGetAPIRequest) GetXmlData ¶
func (r TmallItemIncrementUpdateSchemaGetAPIRequest) GetXmlData() string
GetXmlData XmlData Getter
func (*TmallItemIncrementUpdateSchemaGetAPIRequest) SetItemId ¶
func (r *TmallItemIncrementUpdateSchemaGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 需要编辑的商品ID
func (*TmallItemIncrementUpdateSchemaGetAPIRequest) SetXmlData ¶
func (r *TmallItemIncrementUpdateSchemaGetAPIRequest) SetXmlData(_xmlData string) error
SetXmlData is XmlData Setter 如果入参xml_data指定了更新的字段,则只返回指定字段的规则(ISV如果功能性很强,如明确更新Title,请拼装好此字段以提升API整体性能)
type TmallItemIncrementUpdateSchemaGetAPIResponse ¶
type TmallItemIncrementUpdateSchemaGetAPIResponse struct { model.CommonResponse TmallItemIncrementUpdateSchemaGetAPIResponseModel }
TmallItemIncrementUpdateSchemaGetAPIResponse 天猫增量更新商品规则获取 API返回值 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命名)
type TmallItemIncrementUpdateSchemaGetAPIResponseModel ¶
type TmallItemIncrementUpdateSchemaGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_increment_update_schema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回增量更新商品的规则文档 UpdateItemResult string `json:"update_item_result,omitempty" xml:"update_item_result,omitempty"` }
TmallItemIncrementUpdateSchemaGetAPIResponseModel is 天猫增量更新商品规则获取 成功返回结果
type TmallItemOuteridUpdateAPIRequest ¶
type TmallItemOuteridUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemOuteridUpdateAPIRequest 天猫商品/SKU商家编码更新接口 API请求 tmall.item.outerid.update
天猫商品/SKU商家编码更新接口;支持商品、SKU的商家编码同时更新;支持同一商品下的SKU批量更新。(感谢sample小雨提供接口命名)
func NewTmallItemOuteridUpdateRequest ¶
func NewTmallItemOuteridUpdateRequest() *TmallItemOuteridUpdateAPIRequest
NewTmallItemOuteridUpdateRequest 初始化TmallItemOuteridUpdateAPIRequest对象
func (TmallItemOuteridUpdateAPIRequest) GetApiMethodName ¶
func (r TmallItemOuteridUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemOuteridUpdateAPIRequest) GetApiParams ¶
func (r TmallItemOuteridUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemOuteridUpdateAPIRequest) GetItemId ¶
func (r TmallItemOuteridUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TmallItemOuteridUpdateAPIRequest) GetOuterId ¶
func (r TmallItemOuteridUpdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TmallItemOuteridUpdateAPIRequest) GetSkuOuters ¶
func (r TmallItemOuteridUpdateAPIRequest) GetSkuOuters() []UpdateSkuOuterId
GetSkuOuters SkuOuters Getter
func (*TmallItemOuteridUpdateAPIRequest) SetItemId ¶
func (r *TmallItemOuteridUpdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
func (*TmallItemOuteridUpdateAPIRequest) SetOuterId ¶
func (r *TmallItemOuteridUpdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 商品维度商家编码,如果不修改可以不传;清空请设置空串
func (*TmallItemOuteridUpdateAPIRequest) SetSkuOuters ¶
func (r *TmallItemOuteridUpdateAPIRequest) SetSkuOuters(_skuOuters []UpdateSkuOuterId) error
SetSkuOuters is SkuOuters Setter 商品SKU更新OuterId时候用的数据
type TmallItemOuteridUpdateAPIResponse ¶
type TmallItemOuteridUpdateAPIResponse struct { model.CommonResponse TmallItemOuteridUpdateAPIResponseModel }
TmallItemOuteridUpdateAPIResponse 天猫商品/SKU商家编码更新接口 API返回值 tmall.item.outerid.update
天猫商品/SKU商家编码更新接口;支持商品、SKU的商家编码同时更新;支持同一商品下的SKU批量更新。(感谢sample小雨提供接口命名)
type TmallItemOuteridUpdateAPIResponseModel ¶
type TmallItemOuteridUpdateAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_outerid_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商家编码更新结果 OuteridUpdateResult string `json:"outerid_update_result,omitempty" xml:"outerid_update_result,omitempty"` }
TmallItemOuteridUpdateAPIResponseModel is 天猫商品/SKU商家编码更新接口 成功返回结果
type TmallItemPriceUpdateAPIRequest ¶
type TmallItemPriceUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemPriceUpdateAPIRequest 天猫商品/SKU价格更新接口 API请求 tmall.item.price.update
天猫商品/SKU价格更新接口,支持商品、SKU价格同时更新,支持同一商品下的SKU批量更新。
func NewTmallItemPriceUpdateRequest ¶
func NewTmallItemPriceUpdateRequest() *TmallItemPriceUpdateAPIRequest
NewTmallItemPriceUpdateRequest 初始化TmallItemPriceUpdateAPIRequest对象
func (TmallItemPriceUpdateAPIRequest) GetApiMethodName ¶
func (r TmallItemPriceUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemPriceUpdateAPIRequest) GetApiParams ¶
func (r TmallItemPriceUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemPriceUpdateAPIRequest) GetItemId ¶
func (r TmallItemPriceUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TmallItemPriceUpdateAPIRequest) GetItemPrice ¶
func (r TmallItemPriceUpdateAPIRequest) GetItemPrice() float64
GetItemPrice ItemPrice Getter
func (TmallItemPriceUpdateAPIRequest) GetOptions ¶
func (r TmallItemPriceUpdateAPIRequest) GetOptions() *UpdateItemPriceOption
GetOptions Options Getter
func (TmallItemPriceUpdateAPIRequest) GetSkuPrices ¶
func (r TmallItemPriceUpdateAPIRequest) GetSkuPrices() []UpdateSkuPrice
GetSkuPrices SkuPrices Getter
func (*TmallItemPriceUpdateAPIRequest) SetItemId ¶
func (r *TmallItemPriceUpdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
func (*TmallItemPriceUpdateAPIRequest) SetItemPrice ¶
func (r *TmallItemPriceUpdateAPIRequest) SetItemPrice(_itemPrice float64) error
SetItemPrice is ItemPrice Setter 被更新商品价格
func (*TmallItemPriceUpdateAPIRequest) SetOptions ¶
func (r *TmallItemPriceUpdateAPIRequest) SetOptions(_options *UpdateItemPriceOption) error
SetOptions is Options Setter 商品价格更新时候的可选参数
func (*TmallItemPriceUpdateAPIRequest) SetSkuPrices ¶
func (r *TmallItemPriceUpdateAPIRequest) SetSkuPrices(_skuPrices []UpdateSkuPrice) error
SetSkuPrices is SkuPrices Setter 更新SKU价格时候的SKU价格对象;如果没有SKU或者不更新SKU价格,可以不填;查找SKU目前支持ID,属性串和商家编码三种模式,建议选用一种最合适的,切勿滥用,一次调用中如果混合使用,更新结果不可预期!
type TmallItemPriceUpdateAPIResponse ¶
type TmallItemPriceUpdateAPIResponse struct { model.CommonResponse TmallItemPriceUpdateAPIResponseModel }
TmallItemPriceUpdateAPIResponse 天猫商品/SKU价格更新接口 API返回值 tmall.item.price.update
天猫商品/SKU价格更新接口,支持商品、SKU价格同时更新,支持同一商品下的SKU批量更新。
type TmallItemPriceUpdateAPIResponseModel ¶
type TmallItemPriceUpdateAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_price_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 价格更新结果 PriceUpdateResult string `json:"price_update_result,omitempty" xml:"price_update_result,omitempty"` }
TmallItemPriceUpdateAPIResponseModel is 天猫商品/SKU价格更新接口 成功返回结果
type TmallItemQuantityUpdateAPIRequest ¶
type TmallItemQuantityUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemQuantityUpdateAPIRequest 天猫商品/SKU库存更新接口 API请求 tmall.item.quantity.update
天猫商品/SKU库存更新接口;支持商品库存更新;支持同一商品下的SKU批量更新。
func NewTmallItemQuantityUpdateRequest ¶
func NewTmallItemQuantityUpdateRequest() *TmallItemQuantityUpdateAPIRequest
NewTmallItemQuantityUpdateRequest 初始化TmallItemQuantityUpdateAPIRequest对象
func (TmallItemQuantityUpdateAPIRequest) GetApiMethodName ¶
func (r TmallItemQuantityUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemQuantityUpdateAPIRequest) GetApiParams ¶
func (r TmallItemQuantityUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemQuantityUpdateAPIRequest) GetItemId ¶
func (r TmallItemQuantityUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TmallItemQuantityUpdateAPIRequest) GetItemQuantity ¶
func (r TmallItemQuantityUpdateAPIRequest) GetItemQuantity() int64
GetItemQuantity ItemQuantity Getter
func (TmallItemQuantityUpdateAPIRequest) GetOptions ¶
func (r TmallItemQuantityUpdateAPIRequest) GetOptions() *UpdateItemQuantityOption
GetOptions Options Getter
func (TmallItemQuantityUpdateAPIRequest) GetSkuQuantities ¶
func (r TmallItemQuantityUpdateAPIRequest) GetSkuQuantities() []UpdateSkuQuantity
GetSkuQuantities SkuQuantities Getter
func (*TmallItemQuantityUpdateAPIRequest) SetItemId ¶
func (r *TmallItemQuantityUpdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
func (*TmallItemQuantityUpdateAPIRequest) SetItemQuantity ¶
func (r *TmallItemQuantityUpdateAPIRequest) SetItemQuantity(_itemQuantity int64) error
SetItemQuantity is ItemQuantity Setter 商品库存数;增量编辑方式支持正数、负数。(无SKU商品使用这个字段)
func (*TmallItemQuantityUpdateAPIRequest) SetOptions ¶
func (r *TmallItemQuantityUpdateAPIRequest) SetOptions(_options *UpdateItemQuantityOption) error
SetOptions is Options Setter 商品库存更新时候的可选参数
func (*TmallItemQuantityUpdateAPIRequest) SetSkuQuantities ¶
func (r *TmallItemQuantityUpdateAPIRequest) SetSkuQuantities(_skuQuantities []UpdateSkuQuantity) error
SetSkuQuantities is SkuQuantities Setter 更新SKU库存时候的SKU库存对象;如果没有SKU或者不更新SKU库存,可以不填;查找SKU目前支持ID,属性串和商家编码三种模式,建议选用一种最合适的,切勿滥用,一次调用中如果混合使用,更新结果不可预期!
type TmallItemQuantityUpdateAPIResponse ¶
type TmallItemQuantityUpdateAPIResponse struct { model.CommonResponse TmallItemQuantityUpdateAPIResponseModel }
TmallItemQuantityUpdateAPIResponse 天猫商品/SKU库存更新接口 API返回值 tmall.item.quantity.update
天猫商品/SKU库存更新接口;支持商品库存更新;支持同一商品下的SKU批量更新。
type TmallItemQuantityUpdateAPIResponseModel ¶
type TmallItemQuantityUpdateAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_quantity_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 库存更新结果,商品id QuantityUpdateResult string `json:"quantity_update_result,omitempty" xml:"quantity_update_result,omitempty"` }
TmallItemQuantityUpdateAPIResponseModel is 天猫商品/SKU库存更新接口 成功返回结果
type TmallItemSchemaAddAPIRequest ¶
TmallItemSchemaAddAPIRequest 天猫根据规则发布商品 API请求 tmall.item.schema.add
天猫TopSchema发布商品。
func NewTmallItemSchemaAddRequest ¶
func NewTmallItemSchemaAddRequest() *TmallItemSchemaAddAPIRequest
NewTmallItemSchemaAddRequest 初始化TmallItemSchemaAddAPIRequest对象
func (TmallItemSchemaAddAPIRequest) GetApiMethodName ¶
func (r TmallItemSchemaAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemSchemaAddAPIRequest) GetApiParams ¶
func (r TmallItemSchemaAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemSchemaAddAPIRequest) GetCategoryId ¶
func (r TmallItemSchemaAddAPIRequest) GetCategoryId() int64
GetCategoryId CategoryId Getter
func (TmallItemSchemaAddAPIRequest) GetProductId ¶
func (r TmallItemSchemaAddAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TmallItemSchemaAddAPIRequest) GetXmlData ¶
func (r TmallItemSchemaAddAPIRequest) GetXmlData() string
GetXmlData XmlData Getter
func (*TmallItemSchemaAddAPIRequest) SetCategoryId ¶
func (r *TmallItemSchemaAddAPIRequest) SetCategoryId(_categoryId int64) error
SetCategoryId is CategoryId Setter 商品发布的目标类目,必须是叶子类目
func (*TmallItemSchemaAddAPIRequest) SetProductId ¶
func (r *TmallItemSchemaAddAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 发布商品的productId,如果tmall.product.match.schema.get获取到得字段为空,这个参数传入0,否则需要通过tmall.product.schema.match查询到得可用productId
func (*TmallItemSchemaAddAPIRequest) SetXmlData ¶
func (r *TmallItemSchemaAddAPIRequest) SetXmlData(_xmlData string) error
SetXmlData is XmlData Setter 根据tmall.item.add.schema.get生成的商品发布规则入参数据
type TmallItemSchemaAddAPIResponse ¶
type TmallItemSchemaAddAPIResponse struct { model.CommonResponse TmallItemSchemaAddAPIResponseModel }
TmallItemSchemaAddAPIResponse 天猫根据规则发布商品 API返回值 tmall.item.schema.add
天猫TopSchema发布商品。
type TmallItemSchemaAddAPIResponseModel ¶
type TmallItemSchemaAddAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_schema_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回商品发布结果 AddItemResult string `json:"add_item_result,omitempty" xml:"add_item_result,omitempty"` // 发布商品操作成功时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` }
TmallItemSchemaAddAPIResponseModel is 天猫根据规则发布商品 成功返回结果
type TmallItemSchemaIncrementUpdateAPIRequest ¶
type TmallItemSchemaIncrementUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemSchemaIncrementUpdateAPIRequest 天猫根据规则增量更新商品 API请求 tmall.item.schema.increment.update
增量方式修改天猫商品的API。只要是此接口支持增量修改的字段,可以同时更新。(感谢爱慕旗舰店提供API命名)
func NewTmallItemSchemaIncrementUpdateRequest ¶
func NewTmallItemSchemaIncrementUpdateRequest() *TmallItemSchemaIncrementUpdateAPIRequest
NewTmallItemSchemaIncrementUpdateRequest 初始化TmallItemSchemaIncrementUpdateAPIRequest对象
func (TmallItemSchemaIncrementUpdateAPIRequest) GetApiMethodName ¶
func (r TmallItemSchemaIncrementUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemSchemaIncrementUpdateAPIRequest) GetApiParams ¶
func (r TmallItemSchemaIncrementUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemSchemaIncrementUpdateAPIRequest) GetItemId ¶
func (r TmallItemSchemaIncrementUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TmallItemSchemaIncrementUpdateAPIRequest) GetXmlData ¶
func (r TmallItemSchemaIncrementUpdateAPIRequest) GetXmlData() string
GetXmlData XmlData Getter
func (*TmallItemSchemaIncrementUpdateAPIRequest) SetItemId ¶
func (r *TmallItemSchemaIncrementUpdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 需要编辑的商品ID
func (*TmallItemSchemaIncrementUpdateAPIRequest) SetXmlData ¶
func (r *TmallItemSchemaIncrementUpdateAPIRequest) SetXmlData(_xmlData string) error
SetXmlData is XmlData Setter 根据tmall.item.increment.update.schema.get生成的商品增量编辑规则入参数据。需要更新的字段,一定要在入参的XML重点update_fields字段中明确指明
type TmallItemSchemaIncrementUpdateAPIResponse ¶
type TmallItemSchemaIncrementUpdateAPIResponse struct { model.CommonResponse TmallItemSchemaIncrementUpdateAPIResponseModel }
TmallItemSchemaIncrementUpdateAPIResponse 天猫根据规则增量更新商品 API返回值 tmall.item.schema.increment.update
增量方式修改天猫商品的API。只要是此接口支持增量修改的字段,可以同时更新。(感谢爱慕旗舰店提供API命名)
type TmallItemSchemaIncrementUpdateAPIResponseModel ¶
type TmallItemSchemaIncrementUpdateAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_schema_increment_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回商品发布结果 UpdateItemResult string `json:"update_item_result,omitempty" xml:"update_item_result,omitempty"` // 商品更新操作成功时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` }
TmallItemSchemaIncrementUpdateAPIResponseModel is 天猫根据规则增量更新商品 成功返回结果
type TmallItemSchemaUpdateAPIRequest ¶
type TmallItemSchemaUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemSchemaUpdateAPIRequest 天猫根据规则编辑商品 API请求 tmall.item.schema.update
天猫根据规则编辑商品
func NewTmallItemSchemaUpdateRequest ¶
func NewTmallItemSchemaUpdateRequest() *TmallItemSchemaUpdateAPIRequest
NewTmallItemSchemaUpdateRequest 初始化TmallItemSchemaUpdateAPIRequest对象
func (TmallItemSchemaUpdateAPIRequest) GetApiMethodName ¶
func (r TmallItemSchemaUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemSchemaUpdateAPIRequest) GetApiParams ¶
func (r TmallItemSchemaUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemSchemaUpdateAPIRequest) GetCategoryId ¶
func (r TmallItemSchemaUpdateAPIRequest) GetCategoryId() int64
GetCategoryId CategoryId Getter
func (TmallItemSchemaUpdateAPIRequest) GetItemId ¶
func (r TmallItemSchemaUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TmallItemSchemaUpdateAPIRequest) GetProductId ¶
func (r TmallItemSchemaUpdateAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TmallItemSchemaUpdateAPIRequest) GetXmlData ¶
func (r TmallItemSchemaUpdateAPIRequest) GetXmlData() string
GetXmlData XmlData Getter
func (*TmallItemSchemaUpdateAPIRequest) SetCategoryId ¶
func (r *TmallItemSchemaUpdateAPIRequest) SetCategoryId(_categoryId int64) error
SetCategoryId is CategoryId Setter 商品发布的目标类目,必须是叶子类目。如果没有切换类目需求不需要填写
func (*TmallItemSchemaUpdateAPIRequest) SetItemId ¶
func (r *TmallItemSchemaUpdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 需要编辑的商品ID
func (*TmallItemSchemaUpdateAPIRequest) SetProductId ¶
func (r *TmallItemSchemaUpdateAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 商品发布的目标product_id。如果没有切换类目或者切换产品的需求,参数不用填写
func (*TmallItemSchemaUpdateAPIRequest) SetXmlData ¶
func (r *TmallItemSchemaUpdateAPIRequest) SetXmlData(_xmlData string) error
SetXmlData is XmlData Setter 根据tmall.item.update.schema.get生成的商品编辑规则入参数据
type TmallItemSchemaUpdateAPIResponse ¶
type TmallItemSchemaUpdateAPIResponse struct { model.CommonResponse TmallItemSchemaUpdateAPIResponseModel }
TmallItemSchemaUpdateAPIResponse 天猫根据规则编辑商品 API返回值 tmall.item.schema.update
天猫根据规则编辑商品
type TmallItemSchemaUpdateAPIResponseModel ¶
type TmallItemSchemaUpdateAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_schema_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回商品发布结果 UpdateItemResult string `json:"update_item_result,omitempty" xml:"update_item_result,omitempty"` // 商品更新操作成功时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` }
TmallItemSchemaUpdateAPIResponseModel is 天猫根据规则编辑商品 成功返回结果
type TmallItemShiptimeUpdateAPIRequest ¶
type TmallItemShiptimeUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemShiptimeUpdateAPIRequest 更新商品发货时间 API请求 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 NewTmallItemShiptimeUpdateRequest ¶
func NewTmallItemShiptimeUpdateRequest() *TmallItemShiptimeUpdateAPIRequest
NewTmallItemShiptimeUpdateRequest 初始化TmallItemShiptimeUpdateAPIRequest对象
func (TmallItemShiptimeUpdateAPIRequest) GetApiMethodName ¶
func (r TmallItemShiptimeUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemShiptimeUpdateAPIRequest) GetApiParams ¶
func (r TmallItemShiptimeUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemShiptimeUpdateAPIRequest) GetItemId ¶
func (r TmallItemShiptimeUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TmallItemShiptimeUpdateAPIRequest) GetOption ¶
func (r TmallItemShiptimeUpdateAPIRequest) GetOption() *UpdateItemShipTimeOption
GetOption Option Getter
func (TmallItemShiptimeUpdateAPIRequest) GetShipTime ¶
func (r TmallItemShiptimeUpdateAPIRequest) GetShipTime() string
GetShipTime ShipTime Getter
func (TmallItemShiptimeUpdateAPIRequest) GetSkuShipTimes ¶
func (r TmallItemShiptimeUpdateAPIRequest) GetSkuShipTimes() []UpdateSkuShipTime
GetSkuShipTimes SkuShipTimes Getter
func (*TmallItemShiptimeUpdateAPIRequest) SetItemId ¶
func (r *TmallItemShiptimeUpdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
func (*TmallItemShiptimeUpdateAPIRequest) SetOption ¶
func (r *TmallItemShiptimeUpdateAPIRequest) SetOption(_option *UpdateItemShipTimeOption) error
SetOption is Option Setter 批量更新商品/SKU发货时间的备选项
func (*TmallItemShiptimeUpdateAPIRequest) SetShipTime ¶
func (r *TmallItemShiptimeUpdateAPIRequest) SetShipTime(_shipTime string) error
SetShipTime is ShipTime Setter 被更新发货时间(商品级);格式和具体设置的发货时间格式相关。绝对发货时间填写yyyy-MM-dd;相对发货时间填写数字。发货时间必须在当前时间后三天。如果设置的绝对时间小于当前时间的三天后,会清除该商品的发货时间设置。如果是相对时间小于3,则会提示出错。如果shiptimeType为0,要清除商品上的发货时间,该字段可以填任意字符,也可以不填。
func (*TmallItemShiptimeUpdateAPIRequest) SetSkuShipTimes ¶
func (r *TmallItemShiptimeUpdateAPIRequest) SetSkuShipTimes(_skuShipTimes []UpdateSkuShipTime) error
SetSkuShipTimes is SkuShipTimes Setter 被更新SKU的发货时间,后台会根据三个子属性去查找匹配的sku,如果找到就默认对sku进行更新,当无匹配sku且更新类型针对sku,会报错。
type TmallItemShiptimeUpdateAPIResponse ¶
type TmallItemShiptimeUpdateAPIResponse struct { model.CommonResponse TmallItemShiptimeUpdateAPIResponseModel }
TmallItemShiptimeUpdateAPIResponse 更新商品发货时间 API返回值 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 --更新商品 }, 删除商品级的发货时间
type TmallItemShiptimeUpdateAPIResponseModel ¶
type TmallItemShiptimeUpdateAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_shiptime_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 被修改的商品ID Result string `json:"result,omitempty" xml:"result,omitempty"` }
TmallItemShiptimeUpdateAPIResponseModel is 更新商品发货时间 成功返回结果
type TmallItemSimpleschemaAddAPIRequest ¶
type TmallItemSimpleschemaAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemSimpleschemaAddAPIRequest 天猫简化发布商品 API请求 tmall.item.simpleschema.add
天猫简化版schema发布商品。
func NewTmallItemSimpleschemaAddRequest ¶
func NewTmallItemSimpleschemaAddRequest() *TmallItemSimpleschemaAddAPIRequest
NewTmallItemSimpleschemaAddRequest 初始化TmallItemSimpleschemaAddAPIRequest对象
func (TmallItemSimpleschemaAddAPIRequest) GetApiMethodName ¶
func (r TmallItemSimpleschemaAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemSimpleschemaAddAPIRequest) GetApiParams ¶
func (r TmallItemSimpleschemaAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemSimpleschemaAddAPIRequest) GetSchemaXmlFields ¶
func (r TmallItemSimpleschemaAddAPIRequest) GetSchemaXmlFields() string
GetSchemaXmlFields SchemaXmlFields Getter
func (*TmallItemSimpleschemaAddAPIRequest) SetSchemaXmlFields ¶
func (r *TmallItemSimpleschemaAddAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
SetSchemaXmlFields is SchemaXmlFields Setter 根据tmall.item.add.simpleschema.get生成的商品发布规则入参数据
type TmallItemSimpleschemaAddAPIResponse ¶
type TmallItemSimpleschemaAddAPIResponse struct { model.CommonResponse TmallItemSimpleschemaAddAPIResponseModel }
TmallItemSimpleschemaAddAPIResponse 天猫简化发布商品 API返回值 tmall.item.simpleschema.add
天猫简化版schema发布商品。
type TmallItemSimpleschemaAddAPIResponseModel ¶
type TmallItemSimpleschemaAddAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_simpleschema_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 发布成功后返回商品ID Result string `json:"result,omitempty" xml:"result,omitempty"` // 商品最后发布时间。 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` }
TmallItemSimpleschemaAddAPIResponseModel is 天猫简化发布商品 成功返回结果
type TmallItemSimpleschemaUpdateAPIRequest ¶
type TmallItemSimpleschemaUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemSimpleschemaUpdateAPIRequest 天猫简化编辑商品 API请求 tmall.item.simpleschema.update
国外大商家天猫简化编辑商品
func NewTmallItemSimpleschemaUpdateRequest ¶
func NewTmallItemSimpleschemaUpdateRequest() *TmallItemSimpleschemaUpdateAPIRequest
NewTmallItemSimpleschemaUpdateRequest 初始化TmallItemSimpleschemaUpdateAPIRequest对象
func (TmallItemSimpleschemaUpdateAPIRequest) GetApiMethodName ¶
func (r TmallItemSimpleschemaUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemSimpleschemaUpdateAPIRequest) GetApiParams ¶
func (r TmallItemSimpleschemaUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemSimpleschemaUpdateAPIRequest) GetItemId ¶
func (r TmallItemSimpleschemaUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TmallItemSimpleschemaUpdateAPIRequest) GetSchemaXmlFields ¶
func (r TmallItemSimpleschemaUpdateAPIRequest) GetSchemaXmlFields() string
GetSchemaXmlFields SchemaXmlFields Getter
func (*TmallItemSimpleschemaUpdateAPIRequest) SetItemId ¶
func (r *TmallItemSimpleschemaUpdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
func (*TmallItemSimpleschemaUpdateAPIRequest) SetSchemaXmlFields ¶
func (r *TmallItemSimpleschemaUpdateAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
SetSchemaXmlFields is SchemaXmlFields Setter 编辑商品时提交的xml信息
type TmallItemSimpleschemaUpdateAPIResponse ¶
type TmallItemSimpleschemaUpdateAPIResponse struct { model.CommonResponse TmallItemSimpleschemaUpdateAPIResponseModel }
TmallItemSimpleschemaUpdateAPIResponse 天猫简化编辑商品 API返回值 tmall.item.simpleschema.update
国外大商家天猫简化编辑商品
type TmallItemSimpleschemaUpdateAPIResponseModel ¶
type TmallItemSimpleschemaUpdateAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_simpleschema_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // sku与outerId映射信息 SkuMapJson string `json:"sku_map_json,omitempty" xml:"sku_map_json,omitempty"` // 编辑商品的itemid UpdateItemResult string `json:"update_item_result,omitempty" xml:"update_item_result,omitempty"` // 编辑商品操作成功时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` }
TmallItemSimpleschemaUpdateAPIResponseModel is 天猫简化编辑商品 成功返回结果
type TmallItemSizemappingTemplateCreateAPIRequest ¶
type TmallItemSizemappingTemplateCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemSizemappingTemplateCreateAPIRequest 新增天猫商品尺码表模板 API请求 tmall.item.sizemapping.template.create
新增天猫商品尺码表模板<br/><br/>男鞋、女鞋、运动鞋、户外鞋类目,尺码表维度为:<br/>脚长(cm) 必选<br/><br/>内衣-文胸类目,尺码表维度为:<br/>上胸围(cm) 必选<br/>下胸围(cm) 必选<br/>上下胸围差(cm) 必选<br/>身高(cm)<br/>体重(公斤)<br/><br/>内衣-内裤类目,尺码表维度为:<br/>腰围(cm) 必选<br/>臀围(cm) 必选<br/>身高(cm)<br/>体重(公斤)<br/>裤长(cm)<br/>裆部(cm)<br/>脚口(cm)<br/>腿围(cm)<br/><br/>内衣-睡衣上衣/保暖上衣/睡袍类目,尺码表维度为:<br/>身高(cm) 必选<br/>胸围(cm) 必选<br/>体重(公斤)<br/>腰围(cm)<br/>肩宽(cm)<br/>袖长(cm)<br/>衣长(cm)<br/>背宽(cm)<br/>前长(cm)<br/>下摆围(cm)<br/>袖口(cm)<br/>袖肥(cm)<br/>领口(cm)<br/><br/>内衣-睡裤/保暖裤类目,尺码维度为:<br/>身高(cm) 必选<br/>腰围(cm) 必选<br/>体重(公斤)<br/>臀围(cm)<br/>裆部(cm)<br/>裤长(cm)<br/>脚口(cm)<br/>腿围(cm)<br/>裤侧长(cm)<br/><br/>内衣-睡裙类目,尺码维度为:<br/>身高(cm) 必选<br/>胸围(cm) 必选<br/>体重(公斤)<br/>裙长(cm)<br/>腰围(cm)<br/>袖长(cm)<br/>肩宽(cm)<br/>背宽(cm)<br/>腿围(cm)<br/>臀围(cm)<br/>底摆(cm)<br/><br/>男装、女装、运动服、户外服等上装类目,尺码维度为(至少两项必选):<br/>身高(cm)<br/>体重(公斤)<br/>肩宽(cm)<br/>胸围(cm)<br/>腰围(cm)<br/>袖长(cm)<br/>衣长(cm)<br/>背宽(cm)<br/>前长(cm)<br/>摆围(cm)<br/>下摆围(cm)<br/>袖口(cm)<br/>袖肥(cm)<br/>中腰(cm)<br/>领深(cm)<br/>领高(cm)<br/>领宽(cm)<br/>领围(cm)<br/>圆摆后中长(cm)<br/>平摆衣长(cm)<br/>圆摆衣长(cm)<br/><br/>男装、女装、运动服、户外服等下装类目,尺码维度为(至少两项必选):<br/>身高(cm)<br/>体重(公斤)<br/>腰围(cm)<br/>臀围(cm)<br/>裤长(cm)<br/>裙长(cm)<br/>裙摆长(cm)<br/>腿围(cm)<br/>膝围(cm)<br/>小脚围(cm)<br/>拉伸腰围(cm)<br/>坐围(cm)<br/>拉伸坐围(cm)<br/>脚口(cm)<br/>前浪(cm)<br/>后浪(cm)<br/>横档(cm)<br/><br/>如果上述维度满足,可以自定义最多5个维度。<br/><br/>模板格式为:<br/>尺码值:维度名称:数值<br/>如:M:身高(cm):160,L:身高(cm):170
func NewTmallItemSizemappingTemplateCreateRequest ¶
func NewTmallItemSizemappingTemplateCreateRequest() *TmallItemSizemappingTemplateCreateAPIRequest
NewTmallItemSizemappingTemplateCreateRequest 初始化TmallItemSizemappingTemplateCreateAPIRequest对象
func (TmallItemSizemappingTemplateCreateAPIRequest) GetApiMethodName ¶
func (r TmallItemSizemappingTemplateCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemSizemappingTemplateCreateAPIRequest) GetApiParams ¶
func (r TmallItemSizemappingTemplateCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemSizemappingTemplateCreateAPIRequest) GetTemplateContent ¶
func (r TmallItemSizemappingTemplateCreateAPIRequest) GetTemplateContent() string
GetTemplateContent TemplateContent Getter
func (TmallItemSizemappingTemplateCreateAPIRequest) GetTemplateName ¶
func (r TmallItemSizemappingTemplateCreateAPIRequest) GetTemplateName() string
GetTemplateName TemplateName Getter
func (*TmallItemSizemappingTemplateCreateAPIRequest) SetTemplateContent ¶
func (r *TmallItemSizemappingTemplateCreateAPIRequest) SetTemplateContent(_templateContent string) error
SetTemplateContent is TemplateContent Setter 尺码表模板内容,格式为"尺码值:维度名称:数值,尺码值:维度名称:数值"。其中,数值的单位,长度单位为厘米(cm),体重单位为公斤(kg)。尺码值,维度数据不能包含数字,特殊字符。数值为0-999.9的数字,且最多一位小数。
func (*TmallItemSizemappingTemplateCreateAPIRequest) SetTemplateName ¶
func (r *TmallItemSizemappingTemplateCreateAPIRequest) SetTemplateName(_templateName string) error
SetTemplateName is TemplateName Setter 尺码表模板名称
type TmallItemSizemappingTemplateCreateAPIResponse ¶
type TmallItemSizemappingTemplateCreateAPIResponse struct { model.CommonResponse TmallItemSizemappingTemplateCreateAPIResponseModel }
TmallItemSizemappingTemplateCreateAPIResponse 新增天猫商品尺码表模板 API返回值 tmall.item.sizemapping.template.create
新增天猫商品尺码表模板<br/><br/>男鞋、女鞋、运动鞋、户外鞋类目,尺码表维度为:<br/>脚长(cm) 必选<br/><br/>内衣-文胸类目,尺码表维度为:<br/>上胸围(cm) 必选<br/>下胸围(cm) 必选<br/>上下胸围差(cm) 必选<br/>身高(cm)<br/>体重(公斤)<br/><br/>内衣-内裤类目,尺码表维度为:<br/>腰围(cm) 必选<br/>臀围(cm) 必选<br/>身高(cm)<br/>体重(公斤)<br/>裤长(cm)<br/>裆部(cm)<br/>脚口(cm)<br/>腿围(cm)<br/><br/>内衣-睡衣上衣/保暖上衣/睡袍类目,尺码表维度为:<br/>身高(cm) 必选<br/>胸围(cm) 必选<br/>体重(公斤)<br/>腰围(cm)<br/>肩宽(cm)<br/>袖长(cm)<br/>衣长(cm)<br/>背宽(cm)<br/>前长(cm)<br/>下摆围(cm)<br/>袖口(cm)<br/>袖肥(cm)<br/>领口(cm)<br/><br/>内衣-睡裤/保暖裤类目,尺码维度为:<br/>身高(cm) 必选<br/>腰围(cm) 必选<br/>体重(公斤)<br/>臀围(cm)<br/>裆部(cm)<br/>裤长(cm)<br/>脚口(cm)<br/>腿围(cm)<br/>裤侧长(cm)<br/><br/>内衣-睡裙类目,尺码维度为:<br/>身高(cm) 必选<br/>胸围(cm) 必选<br/>体重(公斤)<br/>裙长(cm)<br/>腰围(cm)<br/>袖长(cm)<br/>肩宽(cm)<br/>背宽(cm)<br/>腿围(cm)<br/>臀围(cm)<br/>底摆(cm)<br/><br/>男装、女装、运动服、户外服等上装类目,尺码维度为(至少两项必选):<br/>身高(cm)<br/>体重(公斤)<br/>肩宽(cm)<br/>胸围(cm)<br/>腰围(cm)<br/>袖长(cm)<br/>衣长(cm)<br/>背宽(cm)<br/>前长(cm)<br/>摆围(cm)<br/>下摆围(cm)<br/>袖口(cm)<br/>袖肥(cm)<br/>中腰(cm)<br/>领深(cm)<br/>领高(cm)<br/>领宽(cm)<br/>领围(cm)<br/>圆摆后中长(cm)<br/>平摆衣长(cm)<br/>圆摆衣长(cm)<br/><br/>男装、女装、运动服、户外服等下装类目,尺码维度为(至少两项必选):<br/>身高(cm)<br/>体重(公斤)<br/>腰围(cm)<br/>臀围(cm)<br/>裤长(cm)<br/>裙长(cm)<br/>裙摆长(cm)<br/>腿围(cm)<br/>膝围(cm)<br/>小脚围(cm)<br/>拉伸腰围(cm)<br/>坐围(cm)<br/>拉伸坐围(cm)<br/>脚口(cm)<br/>前浪(cm)<br/>后浪(cm)<br/>横档(cm)<br/><br/>如果上述维度满足,可以自定义最多5个维度。<br/><br/>模板格式为:<br/>尺码值:维度名称:数值<br/>如:M:身高(cm):160,L:身高(cm):170
type TmallItemSizemappingTemplateCreateAPIResponseModel ¶
type TmallItemSizemappingTemplateCreateAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_sizemapping_template_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 尺码表模板 SizeMappingTemplate *SizeMappingTemplateDo `json:"size_mapping_template,omitempty" xml:"size_mapping_template,omitempty"` }
TmallItemSizemappingTemplateCreateAPIResponseModel is 新增天猫商品尺码表模板 成功返回结果
type TmallItemSizemappingTemplateDeleteAPIRequest ¶
type TmallItemSizemappingTemplateDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemSizemappingTemplateDeleteAPIRequest 删除天猫商品尺码表模板 API请求 tmall.item.sizemapping.template.delete
删除天猫商品尺码表模板
func NewTmallItemSizemappingTemplateDeleteRequest ¶
func NewTmallItemSizemappingTemplateDeleteRequest() *TmallItemSizemappingTemplateDeleteAPIRequest
NewTmallItemSizemappingTemplateDeleteRequest 初始化TmallItemSizemappingTemplateDeleteAPIRequest对象
func (TmallItemSizemappingTemplateDeleteAPIRequest) GetApiMethodName ¶
func (r TmallItemSizemappingTemplateDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemSizemappingTemplateDeleteAPIRequest) GetApiParams ¶
func (r TmallItemSizemappingTemplateDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemSizemappingTemplateDeleteAPIRequest) GetTemplateId ¶
func (r TmallItemSizemappingTemplateDeleteAPIRequest) GetTemplateId() int64
GetTemplateId TemplateId Getter
func (*TmallItemSizemappingTemplateDeleteAPIRequest) SetTemplateId ¶
func (r *TmallItemSizemappingTemplateDeleteAPIRequest) SetTemplateId(_templateId int64) error
SetTemplateId is TemplateId Setter 尺码表模板ID
type TmallItemSizemappingTemplateDeleteAPIResponse ¶
type TmallItemSizemappingTemplateDeleteAPIResponse struct { model.CommonResponse TmallItemSizemappingTemplateDeleteAPIResponseModel }
TmallItemSizemappingTemplateDeleteAPIResponse 删除天猫商品尺码表模板 API返回值 tmall.item.sizemapping.template.delete
删除天猫商品尺码表模板
type TmallItemSizemappingTemplateDeleteAPIResponseModel ¶
type TmallItemSizemappingTemplateDeleteAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_sizemapping_template_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 尺码表模板ID TemplateId int64 `json:"template_id,omitempty" xml:"template_id,omitempty"` }
TmallItemSizemappingTemplateDeleteAPIResponseModel is 删除天猫商品尺码表模板 成功返回结果
type TmallItemSizemappingTemplateGetAPIRequest ¶
type TmallItemSizemappingTemplateGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemSizemappingTemplateGetAPIRequest 获取天猫商品尺码表模板 API请求 tmall.item.sizemapping.template.get
获取天猫商品尺码表模板
func NewTmallItemSizemappingTemplateGetRequest ¶
func NewTmallItemSizemappingTemplateGetRequest() *TmallItemSizemappingTemplateGetAPIRequest
NewTmallItemSizemappingTemplateGetRequest 初始化TmallItemSizemappingTemplateGetAPIRequest对象
func (TmallItemSizemappingTemplateGetAPIRequest) GetApiMethodName ¶
func (r TmallItemSizemappingTemplateGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemSizemappingTemplateGetAPIRequest) GetApiParams ¶
func (r TmallItemSizemappingTemplateGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemSizemappingTemplateGetAPIRequest) GetTemplateId ¶
func (r TmallItemSizemappingTemplateGetAPIRequest) GetTemplateId() int64
GetTemplateId TemplateId Getter
func (*TmallItemSizemappingTemplateGetAPIRequest) SetTemplateId ¶
func (r *TmallItemSizemappingTemplateGetAPIRequest) SetTemplateId(_templateId int64) error
SetTemplateId is TemplateId Setter 尺码表模板ID
type TmallItemSizemappingTemplateGetAPIResponse ¶
type TmallItemSizemappingTemplateGetAPIResponse struct { model.CommonResponse TmallItemSizemappingTemplateGetAPIResponseModel }
TmallItemSizemappingTemplateGetAPIResponse 获取天猫商品尺码表模板 API返回值 tmall.item.sizemapping.template.get
获取天猫商品尺码表模板
type TmallItemSizemappingTemplateGetAPIResponseModel ¶
type TmallItemSizemappingTemplateGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_sizemapping_template_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 尺码表模板 SizeMappingTemplate *TmallItemSizemappingTemplateGetModel `json:"size_mapping_template,omitempty" xml:"size_mapping_template,omitempty"` }
TmallItemSizemappingTemplateGetAPIResponseModel is 获取天猫商品尺码表模板 成功返回结果
type TmallItemSizemappingTemplateGetModel ¶
type TmallItemSizemappingTemplateGetModel struct { // 尺码表模板内容,格式为"尺码值:维度名称:数值,尺码值:维度名称:数值"。其中,数值的单位,长度单位为厘米(cm),体重单位为公斤(kg)。 TemplateContent string `json:"template_content,omitempty" xml:"template_content,omitempty"` // 尺码表模板名称 TemplateName string `json:"template_name,omitempty" xml:"template_name,omitempty"` // 尺码表模板ID TemplateId int64 `json:"template_id,omitempty" xml:"template_id,omitempty"` }
TmallItemSizemappingTemplateGetModel 结构体
type TmallItemSizemappingTemplateUpdateAPIRequest ¶
type TmallItemSizemappingTemplateUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemSizemappingTemplateUpdateAPIRequest 更新天猫商品尺码表模板 API请求 tmall.item.sizemapping.template.update
更新天猫商品尺码表模板
func NewTmallItemSizemappingTemplateUpdateRequest ¶
func NewTmallItemSizemappingTemplateUpdateRequest() *TmallItemSizemappingTemplateUpdateAPIRequest
NewTmallItemSizemappingTemplateUpdateRequest 初始化TmallItemSizemappingTemplateUpdateAPIRequest对象
func (TmallItemSizemappingTemplateUpdateAPIRequest) GetApiMethodName ¶
func (r TmallItemSizemappingTemplateUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemSizemappingTemplateUpdateAPIRequest) GetApiParams ¶
func (r TmallItemSizemappingTemplateUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemSizemappingTemplateUpdateAPIRequest) GetTemplateContent ¶
func (r TmallItemSizemappingTemplateUpdateAPIRequest) GetTemplateContent() string
GetTemplateContent TemplateContent Getter
func (TmallItemSizemappingTemplateUpdateAPIRequest) GetTemplateId ¶
func (r TmallItemSizemappingTemplateUpdateAPIRequest) GetTemplateId() int64
GetTemplateId TemplateId Getter
func (TmallItemSizemappingTemplateUpdateAPIRequest) GetTemplateName ¶
func (r TmallItemSizemappingTemplateUpdateAPIRequest) GetTemplateName() string
GetTemplateName TemplateName Getter
func (*TmallItemSizemappingTemplateUpdateAPIRequest) SetTemplateContent ¶
func (r *TmallItemSizemappingTemplateUpdateAPIRequest) SetTemplateContent(_templateContent string) error
SetTemplateContent is TemplateContent Setter 尺码表模板内容,格式为"尺码值:维度名称:数值,尺码值:维度名称:数值"。其中,数值的单位,长度单位为厘米(cm),体重单位为公斤(kg)。尺码值,维度数据不能包含数字,特殊字符。数值为0-999.9的数字,且最多一位小数。
func (*TmallItemSizemappingTemplateUpdateAPIRequest) SetTemplateId ¶
func (r *TmallItemSizemappingTemplateUpdateAPIRequest) SetTemplateId(_templateId int64) error
SetTemplateId is TemplateId Setter 尺码表模板ID
func (*TmallItemSizemappingTemplateUpdateAPIRequest) SetTemplateName ¶
func (r *TmallItemSizemappingTemplateUpdateAPIRequest) SetTemplateName(_templateName string) error
SetTemplateName is TemplateName Setter 尺码表模板名称
type TmallItemSizemappingTemplateUpdateAPIResponse ¶
type TmallItemSizemappingTemplateUpdateAPIResponse struct { model.CommonResponse TmallItemSizemappingTemplateUpdateAPIResponseModel }
TmallItemSizemappingTemplateUpdateAPIResponse 更新天猫商品尺码表模板 API返回值 tmall.item.sizemapping.template.update
更新天猫商品尺码表模板
type TmallItemSizemappingTemplateUpdateAPIResponseModel ¶
type TmallItemSizemappingTemplateUpdateAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_sizemapping_template_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 尺码表模板 SizeMappingTemplate *SizeMappingTemplateDo `json:"size_mapping_template,omitempty" xml:"size_mapping_template,omitempty"` }
TmallItemSizemappingTemplateUpdateAPIResponseModel is 更新天猫商品尺码表模板 成功返回结果
type TmallItemSizemappingTemplatesListAPIRequest ¶
TmallItemSizemappingTemplatesListAPIRequest 获取天猫商品尺码表模板列表 API请求 tmall.item.sizemapping.templates.list
获取所有尺码表模板列表。
func NewTmallItemSizemappingTemplatesListRequest ¶
func NewTmallItemSizemappingTemplatesListRequest() *TmallItemSizemappingTemplatesListAPIRequest
NewTmallItemSizemappingTemplatesListRequest 初始化TmallItemSizemappingTemplatesListAPIRequest对象
func (TmallItemSizemappingTemplatesListAPIRequest) GetApiMethodName ¶
func (r TmallItemSizemappingTemplatesListAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemSizemappingTemplatesListAPIRequest) GetApiParams ¶
func (r TmallItemSizemappingTemplatesListAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type TmallItemSizemappingTemplatesListAPIResponse ¶
type TmallItemSizemappingTemplatesListAPIResponse struct { model.CommonResponse TmallItemSizemappingTemplatesListAPIResponseModel }
TmallItemSizemappingTemplatesListAPIResponse 获取天猫商品尺码表模板列表 API返回值 tmall.item.sizemapping.templates.list
获取所有尺码表模板列表。
type TmallItemSizemappingTemplatesListAPIResponseModel ¶
type TmallItemSizemappingTemplatesListAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_sizemapping_templates_list_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 尺码表模板列表 SizeMappingTemplates []SizeMappingTemplate `json:"size_mapping_templates,omitempty" xml:"size_mapping_templates>size_mapping_template,omitempty"` }
TmallItemSizemappingTemplatesListAPIResponseModel is 获取天猫商品尺码表模板列表 成功返回结果
type TmallItemStoreSchemaUpdateAPIRequest ¶
type TmallItemStoreSchemaUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemStoreSchemaUpdateAPIRequest 天猫门店商品编辑 API请求 tmall.item.store.schema.update
天猫门店商品编辑
func NewTmallItemStoreSchemaUpdateRequest ¶
func NewTmallItemStoreSchemaUpdateRequest() *TmallItemStoreSchemaUpdateAPIRequest
NewTmallItemStoreSchemaUpdateRequest 初始化TmallItemStoreSchemaUpdateAPIRequest对象
func (TmallItemStoreSchemaUpdateAPIRequest) GetApiMethodName ¶
func (r TmallItemStoreSchemaUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemStoreSchemaUpdateAPIRequest) GetApiParams ¶
func (r TmallItemStoreSchemaUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemStoreSchemaUpdateAPIRequest) GetMainItemId ¶
func (r TmallItemStoreSchemaUpdateAPIRequest) GetMainItemId() int64
GetMainItemId MainItemId Getter
func (TmallItemStoreSchemaUpdateAPIRequest) GetStoreId ¶
func (r TmallItemStoreSchemaUpdateAPIRequest) GetStoreId() int64
GetStoreId StoreId Getter
func (TmallItemStoreSchemaUpdateAPIRequest) GetXml ¶
func (r TmallItemStoreSchemaUpdateAPIRequest) GetXml() string
GetXml Xml Getter
func (*TmallItemStoreSchemaUpdateAPIRequest) SetMainItemId ¶
func (r *TmallItemStoreSchemaUpdateAPIRequest) SetMainItemId(_mainItemId int64) error
SetMainItemId is MainItemId Setter 主商品ID
func (*TmallItemStoreSchemaUpdateAPIRequest) SetStoreId ¶
func (r *TmallItemStoreSchemaUpdateAPIRequest) SetStoreId(_storeId int64) error
SetStoreId is StoreId Setter 门店ID
func (*TmallItemStoreSchemaUpdateAPIRequest) SetXml ¶
func (r *TmallItemStoreSchemaUpdateAPIRequest) SetXml(_xml string) error
SetXml is Xml Setter 商品的schema xml
type TmallItemStoreSchemaUpdateAPIResponse ¶
type TmallItemStoreSchemaUpdateAPIResponse struct { model.CommonResponse TmallItemStoreSchemaUpdateAPIResponseModel }
TmallItemStoreSchemaUpdateAPIResponse 天猫门店商品编辑 API返回值 tmall.item.store.schema.update
天猫门店商品编辑
type TmallItemStoreSchemaUpdateAPIResponseModel ¶
type TmallItemStoreSchemaUpdateAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_store_schema_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 无 ApiResult *TmallItemStoreSchemaUpdateApiResult `json:"api_result,omitempty" xml:"api_result,omitempty"` }
TmallItemStoreSchemaUpdateAPIResponseModel is 天猫门店商品编辑 成功返回结果
type TmallItemStoreSchemaUpdateApiResult ¶
type TmallItemStoreSchemaUpdateApiResult struct { // 错误信息 ErMsg string `json:"er_msg,omitempty" xml:"er_msg,omitempty"` // 错误码 ErCode string `json:"er_code,omitempty" xml:"er_code,omitempty"` // 错误信息 MappedErrorMessages string `json:"mapped_error_messages,omitempty" xml:"mapped_error_messages,omitempty"` // 商品ID Result int64 `json:"result,omitempty" xml:"result,omitempty"` // 成功 Error bool `json:"error,omitempty" xml:"error,omitempty"` }
TmallItemStoreSchemaUpdateApiResult 结构体
type TmallItemStoreUpdateSchemaGetAPIRequest ¶
type TmallItemStoreUpdateSchemaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemStoreUpdateSchemaGetAPIRequest 天猫门店商品修改规则获取 API请求 tmall.item.store.update.schema.get
天猫门店商品修改规则获取
func NewTmallItemStoreUpdateSchemaGetRequest ¶
func NewTmallItemStoreUpdateSchemaGetRequest() *TmallItemStoreUpdateSchemaGetAPIRequest
NewTmallItemStoreUpdateSchemaGetRequest 初始化TmallItemStoreUpdateSchemaGetAPIRequest对象
func (TmallItemStoreUpdateSchemaGetAPIRequest) GetApiMethodName ¶
func (r TmallItemStoreUpdateSchemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemStoreUpdateSchemaGetAPIRequest) GetApiParams ¶
func (r TmallItemStoreUpdateSchemaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemStoreUpdateSchemaGetAPIRequest) GetMainItemId ¶
func (r TmallItemStoreUpdateSchemaGetAPIRequest) GetMainItemId() int64
GetMainItemId MainItemId Getter
func (TmallItemStoreUpdateSchemaGetAPIRequest) GetStoreId ¶
func (r TmallItemStoreUpdateSchemaGetAPIRequest) GetStoreId() int64
GetStoreId StoreId Getter
func (*TmallItemStoreUpdateSchemaGetAPIRequest) SetMainItemId ¶
func (r *TmallItemStoreUpdateSchemaGetAPIRequest) SetMainItemId(_mainItemId int64) error
SetMainItemId is MainItemId Setter 主商品ID
func (*TmallItemStoreUpdateSchemaGetAPIRequest) SetStoreId ¶
func (r *TmallItemStoreUpdateSchemaGetAPIRequest) SetStoreId(_storeId int64) error
SetStoreId is StoreId Setter 门店ID
type TmallItemStoreUpdateSchemaGetAPIResponse ¶
type TmallItemStoreUpdateSchemaGetAPIResponse struct { model.CommonResponse TmallItemStoreUpdateSchemaGetAPIResponseModel }
TmallItemStoreUpdateSchemaGetAPIResponse 天猫门店商品修改规则获取 API返回值 tmall.item.store.update.schema.get
天猫门店商品修改规则获取
type TmallItemStoreUpdateSchemaGetAPIResponseModel ¶
type TmallItemStoreUpdateSchemaGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_store_update_schema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 无 ApiResult *TmallItemStoreUpdateSchemaGetApiResult `json:"api_result,omitempty" xml:"api_result,omitempty"` }
TmallItemStoreUpdateSchemaGetAPIResponseModel is 天猫门店商品修改规则获取 成功返回结果
type TmallItemStoreUpdateSchemaGetApiResult ¶
type TmallItemStoreUpdateSchemaGetApiResult struct { // 错误信息 ErMsg string `json:"er_msg,omitempty" xml:"er_msg,omitempty"` // 错误码 ErCode string `json:"er_code,omitempty" xml:"er_code,omitempty"` // 商品标题,价格,图片等商品数据的schema xml Result string `json:"result,omitempty" xml:"result,omitempty"` // 错误信息 MappedErrorMessages string `json:"mapped_error_messages,omitempty" xml:"mapped_error_messages,omitempty"` // 成功 Error bool `json:"error,omitempty" xml:"error,omitempty"` }
TmallItemStoreUpdateSchemaGetApiResult 结构体
type TmallItemUpdateSchemaGetAPIRequest ¶
type TmallItemUpdateSchemaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemUpdateSchemaGetAPIRequest 天猫编辑商品规则获取 API请求 tmall.item.update.schema.get
Schema方式编辑天猫商品时,编辑商品规则获取
func NewTmallItemUpdateSchemaGetRequest ¶
func NewTmallItemUpdateSchemaGetRequest() *TmallItemUpdateSchemaGetAPIRequest
NewTmallItemUpdateSchemaGetRequest 初始化TmallItemUpdateSchemaGetAPIRequest对象
func (TmallItemUpdateSchemaGetAPIRequest) GetApiMethodName ¶
func (r TmallItemUpdateSchemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemUpdateSchemaGetAPIRequest) GetApiParams ¶
func (r TmallItemUpdateSchemaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemUpdateSchemaGetAPIRequest) GetCategoryId ¶
func (r TmallItemUpdateSchemaGetAPIRequest) GetCategoryId() int64
GetCategoryId CategoryId Getter
func (TmallItemUpdateSchemaGetAPIRequest) GetItemId ¶
func (r TmallItemUpdateSchemaGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TmallItemUpdateSchemaGetAPIRequest) GetProductId ¶
func (r TmallItemUpdateSchemaGetAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (*TmallItemUpdateSchemaGetAPIRequest) SetCategoryId ¶
func (r *TmallItemUpdateSchemaGetAPIRequest) SetCategoryId(_categoryId int64) error
SetCategoryId is CategoryId Setter 商品发布的目标类目,必须是叶子类目。如果没有切换类目需求,不需要填写。
func (*TmallItemUpdateSchemaGetAPIRequest) SetItemId ¶
func (r *TmallItemUpdateSchemaGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 需要编辑的商品ID
func (*TmallItemUpdateSchemaGetAPIRequest) SetProductId ¶
func (r *TmallItemUpdateSchemaGetAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 商品发布的目标product_id。如果没有切换产品的需求,参数可以不填写。
type TmallItemUpdateSchemaGetAPIResponse ¶
type TmallItemUpdateSchemaGetAPIResponse struct { model.CommonResponse TmallItemUpdateSchemaGetAPIResponseModel }
TmallItemUpdateSchemaGetAPIResponse 天猫编辑商品规则获取 API返回值 tmall.item.update.schema.get
Schema方式编辑天猫商品时,编辑商品规则获取
type TmallItemUpdateSchemaGetAPIResponseModel ¶
type TmallItemUpdateSchemaGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_update_schema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回发布商品的规则文档 UpdateItemResult string `json:"update_item_result,omitempty" xml:"update_item_result,omitempty"` }
TmallItemUpdateSchemaGetAPIResponseModel is 天猫编辑商品规则获取 成功返回结果
type TmallItemUpdateSimpleschemaGetAPIRequest ¶
type TmallItemUpdateSimpleschemaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemUpdateSimpleschemaGetAPIRequest 官网同购编辑商品的get接口 API请求 tmall.item.update.simpleschema.get
官网同购编辑商品的get接口
func NewTmallItemUpdateSimpleschemaGetRequest ¶
func NewTmallItemUpdateSimpleschemaGetRequest() *TmallItemUpdateSimpleschemaGetAPIRequest
NewTmallItemUpdateSimpleschemaGetRequest 初始化TmallItemUpdateSimpleschemaGetAPIRequest对象
func (TmallItemUpdateSimpleschemaGetAPIRequest) GetApiMethodName ¶
func (r TmallItemUpdateSimpleschemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemUpdateSimpleschemaGetAPIRequest) GetApiParams ¶
func (r TmallItemUpdateSimpleschemaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemUpdateSimpleschemaGetAPIRequest) GetItemId ¶
func (r TmallItemUpdateSimpleschemaGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (*TmallItemUpdateSimpleschemaGetAPIRequest) SetItemId ¶
func (r *TmallItemUpdateSimpleschemaGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
type TmallItemUpdateSimpleschemaGetAPIResponse ¶
type TmallItemUpdateSimpleschemaGetAPIResponse struct { model.CommonResponse TmallItemUpdateSimpleschemaGetAPIResponseModel }
TmallItemUpdateSimpleschemaGetAPIResponse 官网同购编辑商品的get接口 API返回值 tmall.item.update.simpleschema.get
官网同购编辑商品的get接口
type TmallItemUpdateSimpleschemaGetAPIResponseModel ¶
type TmallItemUpdateSimpleschemaGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_update_simpleschema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 商品信息 Result string `json:"result,omitempty" xml:"result,omitempty"` // 返回结果 Error bool `json:"error,omitempty" xml:"error,omitempty"` }
TmallItemUpdateSimpleschemaGetAPIResponseModel is 官网同购编辑商品的get接口 成功返回结果
type TmallItemVipAddSchemaGetAPIRequest ¶
TmallItemVipAddSchemaGetAPIRequest vip商家发布商品的获取规则接口 API请求 tmall.item.vip.add.schema.get
获取vip商家发布商品的规则
func NewTmallItemVipAddSchemaGetRequest ¶
func NewTmallItemVipAddSchemaGetRequest() *TmallItemVipAddSchemaGetAPIRequest
NewTmallItemVipAddSchemaGetRequest 初始化TmallItemVipAddSchemaGetAPIRequest对象
func (TmallItemVipAddSchemaGetAPIRequest) GetApiMethodName ¶
func (r TmallItemVipAddSchemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemVipAddSchemaGetAPIRequest) GetApiParams ¶
func (r TmallItemVipAddSchemaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type TmallItemVipAddSchemaGetAPIResponse ¶
type TmallItemVipAddSchemaGetAPIResponse struct { model.CommonResponse TmallItemVipAddSchemaGetAPIResponseModel }
TmallItemVipAddSchemaGetAPIResponse vip商家发布商品的获取规则接口 API返回值 tmall.item.vip.add.schema.get
获取vip商家发布商品的规则
type TmallItemVipAddSchemaGetAPIResponseModel ¶
type TmallItemVipAddSchemaGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_vip_add_schema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回值是发布商品时需要的字段及基本类型 Result string `json:"result,omitempty" xml:"result,omitempty"` }
TmallItemVipAddSchemaGetAPIResponseModel is vip商家发布商品的获取规则接口 成功返回结果
type TmallItemVipSchemaAddAPIRequest ¶
type TmallItemVipSchemaAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemVipSchemaAddAPIRequest 大商家商品发布接口 API请求 tmall.item.vip.schema.add
大商家商品发布接口
func NewTmallItemVipSchemaAddRequest ¶
func NewTmallItemVipSchemaAddRequest() *TmallItemVipSchemaAddAPIRequest
NewTmallItemVipSchemaAddRequest 初始化TmallItemVipSchemaAddAPIRequest对象
func (TmallItemVipSchemaAddAPIRequest) GetApiMethodName ¶
func (r TmallItemVipSchemaAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemVipSchemaAddAPIRequest) GetApiParams ¶
func (r TmallItemVipSchemaAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemVipSchemaAddAPIRequest) GetSchemaXmlFields ¶
func (r TmallItemVipSchemaAddAPIRequest) GetSchemaXmlFields() string
GetSchemaXmlFields SchemaXmlFields Getter
func (*TmallItemVipSchemaAddAPIRequest) SetSchemaXmlFields ¶
func (r *TmallItemVipSchemaAddAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
SetSchemaXmlFields is SchemaXmlFields Setter 商品发布schema参数
type TmallItemVipSchemaAddAPIResponse ¶
type TmallItemVipSchemaAddAPIResponse struct { model.CommonResponse TmallItemVipSchemaAddAPIResponseModel }
TmallItemVipSchemaAddAPIResponse 大商家商品发布接口 API返回值 tmall.item.vip.schema.add
大商家商品发布接口
type TmallItemVipSchemaAddAPIResponseModel ¶
type TmallItemVipSchemaAddAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_vip_schema_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品发布成功_商品id AddItemResult string `json:"add_item_result,omitempty" xml:"add_item_result,omitempty"` // sku与outerId映射信息 SkuMapJson string `json:"sku_map_json,omitempty" xml:"sku_map_json,omitempty"` // 发布商品操作成功时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` }
TmallItemVipSchemaAddAPIResponseModel is 大商家商品发布接口 成功返回结果
type TmallItemVipSchemaUpdateAPIRequest ¶
type TmallItemVipSchemaUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemVipSchemaUpdateAPIRequest 大商家商品编辑接口 API请求 tmall.item.vip.schema.update
大商家编辑商品
func NewTmallItemVipSchemaUpdateRequest ¶
func NewTmallItemVipSchemaUpdateRequest() *TmallItemVipSchemaUpdateAPIRequest
NewTmallItemVipSchemaUpdateRequest 初始化TmallItemVipSchemaUpdateAPIRequest对象
func (TmallItemVipSchemaUpdateAPIRequest) GetApiMethodName ¶
func (r TmallItemVipSchemaUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemVipSchemaUpdateAPIRequest) GetApiParams ¶
func (r TmallItemVipSchemaUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemVipSchemaUpdateAPIRequest) GetItemId ¶
func (r TmallItemVipSchemaUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TmallItemVipSchemaUpdateAPIRequest) GetSchemaXmlFields ¶
func (r TmallItemVipSchemaUpdateAPIRequest) GetSchemaXmlFields() string
GetSchemaXmlFields SchemaXmlFields Getter
func (*TmallItemVipSchemaUpdateAPIRequest) SetItemId ¶
func (r *TmallItemVipSchemaUpdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
func (*TmallItemVipSchemaUpdateAPIRequest) SetSchemaXmlFields ¶
func (r *TmallItemVipSchemaUpdateAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
SetSchemaXmlFields is SchemaXmlFields Setter 商品编辑的schema参数
type TmallItemVipSchemaUpdateAPIResponse ¶
type TmallItemVipSchemaUpdateAPIResponse struct { model.CommonResponse TmallItemVipSchemaUpdateAPIResponseModel }
TmallItemVipSchemaUpdateAPIResponse 大商家商品编辑接口 API返回值 tmall.item.vip.schema.update
大商家编辑商品
type TmallItemVipSchemaUpdateAPIResponseModel ¶
type TmallItemVipSchemaUpdateAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_vip_schema_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 编辑商品的id UpdateItemResult string `json:"update_item_result,omitempty" xml:"update_item_result,omitempty"` // sku与outerId映射信息 SkuMapJson string `json:"sku_map_json,omitempty" xml:"sku_map_json,omitempty"` // 编辑商品操作成功时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` }
TmallItemVipSchemaUpdateAPIResponseModel is 大商家商品编辑接口 成功返回结果
type TmallItemVipUpdateSchemaGetAPIRequest ¶
type TmallItemVipUpdateSchemaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallItemVipUpdateSchemaGetAPIRequest vip商家编辑商品的规则获取接口 API请求 tmall.item.vip.update.schema.get
获取vip商家编辑商品的规则
func NewTmallItemVipUpdateSchemaGetRequest ¶
func NewTmallItemVipUpdateSchemaGetRequest() *TmallItemVipUpdateSchemaGetAPIRequest
NewTmallItemVipUpdateSchemaGetRequest 初始化TmallItemVipUpdateSchemaGetAPIRequest对象
func (TmallItemVipUpdateSchemaGetAPIRequest) GetApiMethodName ¶
func (r TmallItemVipUpdateSchemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallItemVipUpdateSchemaGetAPIRequest) GetApiParams ¶
func (r TmallItemVipUpdateSchemaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemVipUpdateSchemaGetAPIRequest) GetItemId ¶
func (r TmallItemVipUpdateSchemaGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (*TmallItemVipUpdateSchemaGetAPIRequest) SetItemId ¶
func (r *TmallItemVipUpdateSchemaGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
type TmallItemVipUpdateSchemaGetAPIResponse ¶
type TmallItemVipUpdateSchemaGetAPIResponse struct { model.CommonResponse TmallItemVipUpdateSchemaGetAPIResponseModel }
TmallItemVipUpdateSchemaGetAPIResponse vip商家编辑商品的规则获取接口 API返回值 tmall.item.vip.update.schema.get
获取vip商家编辑商品的规则
type TmallItemVipUpdateSchemaGetAPIResponseModel ¶
type TmallItemVipUpdateSchemaGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_item_vip_update_schema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 获取的编辑商品的规则 UpdateGetResult string `json:"update_get_result,omitempty" xml:"update_get_result,omitempty"` }
TmallItemVipUpdateSchemaGetAPIResponseModel is vip商家编辑商品的规则获取接口 成功返回结果
type TmallProductAddSchemaGetAPIRequest ¶
type TmallProductAddSchemaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallProductAddSchemaGetAPIRequest 产品发布规则获取接口 API请求 tmall.product.add.schema.get
获取用户发布产品的规则
func NewTmallProductAddSchemaGetRequest ¶
func NewTmallProductAddSchemaGetRequest() *TmallProductAddSchemaGetAPIRequest
NewTmallProductAddSchemaGetRequest 初始化TmallProductAddSchemaGetAPIRequest对象
func (TmallProductAddSchemaGetAPIRequest) GetApiMethodName ¶
func (r TmallProductAddSchemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallProductAddSchemaGetAPIRequest) GetApiParams ¶
func (r TmallProductAddSchemaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductAddSchemaGetAPIRequest) GetBrandId ¶
func (r TmallProductAddSchemaGetAPIRequest) GetBrandId() int64
GetBrandId BrandId Getter
func (TmallProductAddSchemaGetAPIRequest) GetCategoryId ¶
func (r TmallProductAddSchemaGetAPIRequest) GetCategoryId() int64
GetCategoryId CategoryId Getter
func (*TmallProductAddSchemaGetAPIRequest) SetBrandId ¶
func (r *TmallProductAddSchemaGetAPIRequest) SetBrandId(_brandId int64) error
SetBrandId is BrandId Setter 品牌ID
func (*TmallProductAddSchemaGetAPIRequest) SetCategoryId ¶
func (r *TmallProductAddSchemaGetAPIRequest) SetCategoryId(_categoryId int64) error
SetCategoryId is CategoryId Setter 商品发布的目标类目,必须是叶子类目
type TmallProductAddSchemaGetAPIResponse ¶
type TmallProductAddSchemaGetAPIResponse struct { model.CommonResponse TmallProductAddSchemaGetAPIResponseModel }
TmallProductAddSchemaGetAPIResponse 产品发布规则获取接口 API返回值 tmall.product.add.schema.get
获取用户发布产品的规则
type TmallProductAddSchemaGetAPIResponseModel ¶
type TmallProductAddSchemaGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_product_add_schema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回发布产品的规则文档 AddProductRule string `json:"add_product_rule,omitempty" xml:"add_product_rule,omitempty"` }
TmallProductAddSchemaGetAPIResponseModel is 产品发布规则获取接口 成功返回结果
type TmallProductMatchSchemaGetAPIRequest ¶
type TmallProductMatchSchemaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallProductMatchSchemaGetAPIRequest 获取匹配产品规则 API请求 tmall.product.match.schema.get
ISV发布商品前,需要先查找到产品ID,这个接口返回查找产品规则入参规则
func NewTmallProductMatchSchemaGetRequest ¶
func NewTmallProductMatchSchemaGetRequest() *TmallProductMatchSchemaGetAPIRequest
NewTmallProductMatchSchemaGetRequest 初始化TmallProductMatchSchemaGetAPIRequest对象
func (TmallProductMatchSchemaGetAPIRequest) GetApiMethodName ¶
func (r TmallProductMatchSchemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallProductMatchSchemaGetAPIRequest) GetApiParams ¶
func (r TmallProductMatchSchemaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductMatchSchemaGetAPIRequest) GetCategoryId ¶
func (r TmallProductMatchSchemaGetAPIRequest) GetCategoryId() int64
GetCategoryId CategoryId Getter
func (*TmallProductMatchSchemaGetAPIRequest) SetCategoryId ¶
func (r *TmallProductMatchSchemaGetAPIRequest) SetCategoryId(_categoryId int64) error
SetCategoryId is CategoryId Setter 商品发布的目标类目,必须是叶子类目
type TmallProductMatchSchemaGetAPIResponse ¶
type TmallProductMatchSchemaGetAPIResponse struct { model.CommonResponse TmallProductMatchSchemaGetAPIResponseModel }
TmallProductMatchSchemaGetAPIResponse 获取匹配产品规则 API返回值 tmall.product.match.schema.get
ISV发布商品前,需要先查找到产品ID,这个接口返回查找产品规则入参规则
type TmallProductMatchSchemaGetAPIResponseModel ¶
type TmallProductMatchSchemaGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_product_match_schema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回匹配product的规则文档 MatchResult string `json:"match_result,omitempty" xml:"match_result,omitempty"` }
TmallProductMatchSchemaGetAPIResponseModel is 获取匹配产品规则 成功返回结果
type TmallProductSchemaAddAPIRequest ¶
type TmallProductSchemaAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallProductSchemaAddAPIRequest 使用Schema文件发布一个产品 API请求 tmall.product.schema.add
Schema体系发布一个产品
func NewTmallProductSchemaAddRequest ¶
func NewTmallProductSchemaAddRequest() *TmallProductSchemaAddAPIRequest
NewTmallProductSchemaAddRequest 初始化TmallProductSchemaAddAPIRequest对象
func (TmallProductSchemaAddAPIRequest) GetApiMethodName ¶
func (r TmallProductSchemaAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallProductSchemaAddAPIRequest) GetApiParams ¶
func (r TmallProductSchemaAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductSchemaAddAPIRequest) GetBrandId ¶
func (r TmallProductSchemaAddAPIRequest) GetBrandId() int64
GetBrandId BrandId Getter
func (TmallProductSchemaAddAPIRequest) GetCategoryId ¶
func (r TmallProductSchemaAddAPIRequest) GetCategoryId() int64
GetCategoryId CategoryId Getter
func (TmallProductSchemaAddAPIRequest) GetXmlData ¶
func (r TmallProductSchemaAddAPIRequest) GetXmlData() string
GetXmlData XmlData Getter
func (*TmallProductSchemaAddAPIRequest) SetBrandId ¶
func (r *TmallProductSchemaAddAPIRequest) SetBrandId(_brandId int64) error
SetBrandId is BrandId Setter 品牌ID
func (*TmallProductSchemaAddAPIRequest) SetCategoryId ¶
func (r *TmallProductSchemaAddAPIRequest) SetCategoryId(_categoryId int64) error
SetCategoryId is CategoryId Setter 商品发布的目标类目,必须是叶子类目
func (*TmallProductSchemaAddAPIRequest) SetXmlData ¶
func (r *TmallProductSchemaAddAPIRequest) SetXmlData(_xmlData string) error
SetXmlData is XmlData Setter 根据tmall.product.add.schema.get生成的产品发布规则入参数据
type TmallProductSchemaAddAPIResponse ¶
type TmallProductSchemaAddAPIResponse struct { model.CommonResponse TmallProductSchemaAddAPIResponseModel }
TmallProductSchemaAddAPIResponse 使用Schema文件发布一个产品 API返回值 tmall.product.schema.add
Schema体系发布一个产品
type TmallProductSchemaAddAPIResponseModel ¶
type TmallProductSchemaAddAPIResponseModel struct { XMLName xml.Name `xml:"tmall_product_schema_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 新发产品结果 AddProductResult string `json:"add_product_result,omitempty" xml:"add_product_result,omitempty"` }
TmallProductSchemaAddAPIResponseModel is 使用Schema文件发布一个产品 成功返回结果
type TmallProductSchemaGetAPIRequest ¶
type TmallProductSchemaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallProductSchemaGetAPIRequest 产品信息获取schema获取 API请求 tmall.product.schema.get
产品信息获取接口schema形式返回
func NewTmallProductSchemaGetRequest ¶
func NewTmallProductSchemaGetRequest() *TmallProductSchemaGetAPIRequest
NewTmallProductSchemaGetRequest 初始化TmallProductSchemaGetAPIRequest对象
func (TmallProductSchemaGetAPIRequest) GetApiMethodName ¶
func (r TmallProductSchemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallProductSchemaGetAPIRequest) GetApiParams ¶
func (r TmallProductSchemaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductSchemaGetAPIRequest) GetProductId ¶
func (r TmallProductSchemaGetAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (*TmallProductSchemaGetAPIRequest) SetProductId ¶
func (r *TmallProductSchemaGetAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品编号
type TmallProductSchemaGetAPIResponse ¶
type TmallProductSchemaGetAPIResponse struct { model.CommonResponse TmallProductSchemaGetAPIResponseModel }
TmallProductSchemaGetAPIResponse 产品信息获取schema获取 API返回值 tmall.product.schema.get
产品信息获取接口schema形式返回
type TmallProductSchemaGetAPIResponseModel ¶
type TmallProductSchemaGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_product_schema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 产品信息数据。schema形式 GetProductResult string `json:"get_product_result,omitempty" xml:"get_product_result,omitempty"` }
TmallProductSchemaGetAPIResponseModel is 产品信息获取schema获取 成功返回结果
type TmallProductSchemaMatchAPIRequest ¶
type TmallProductSchemaMatchAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallProductSchemaMatchAPIRequest product匹配接口 API请求 tmall.product.schema.match
根据tmall.product.match.schema.get获取到的规则,填充相应地的字段值以及类目,匹配符合条件的产品,返回匹配product结果,注意,有可能返回多个产品ID,以逗号分隔(尤其是图书类目);
func NewTmallProductSchemaMatchRequest ¶
func NewTmallProductSchemaMatchRequest() *TmallProductSchemaMatchAPIRequest
NewTmallProductSchemaMatchRequest 初始化TmallProductSchemaMatchAPIRequest对象
func (TmallProductSchemaMatchAPIRequest) GetApiMethodName ¶
func (r TmallProductSchemaMatchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallProductSchemaMatchAPIRequest) GetApiParams ¶
func (r TmallProductSchemaMatchAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductSchemaMatchAPIRequest) GetCategoryId ¶
func (r TmallProductSchemaMatchAPIRequest) GetCategoryId() int64
GetCategoryId CategoryId Getter
func (TmallProductSchemaMatchAPIRequest) GetPropvalues ¶
func (r TmallProductSchemaMatchAPIRequest) GetPropvalues() string
GetPropvalues Propvalues Getter
func (*TmallProductSchemaMatchAPIRequest) SetCategoryId ¶
func (r *TmallProductSchemaMatchAPIRequest) SetCategoryId(_categoryId int64) error
SetCategoryId is CategoryId Setter 商品发布的目标类目,必须是叶子类目
func (*TmallProductSchemaMatchAPIRequest) SetPropvalues ¶
func (r *TmallProductSchemaMatchAPIRequest) SetPropvalues(_propvalues string) error
SetPropvalues is Propvalues Setter 根据tmall.product.match.schema.get获取到的模板,ISV将需要的字段填充好相应的值结果XML。
type TmallProductSchemaMatchAPIResponse ¶
type TmallProductSchemaMatchAPIResponse struct { model.CommonResponse TmallProductSchemaMatchAPIResponseModel }
TmallProductSchemaMatchAPIResponse product匹配接口 API返回值 tmall.product.schema.match
根据tmall.product.match.schema.get获取到的规则,填充相应地的字段值以及类目,匹配符合条件的产品,返回匹配product结果,注意,有可能返回多个产品ID,以逗号分隔(尤其是图书类目);
type TmallProductSchemaMatchAPIResponseModel ¶
type TmallProductSchemaMatchAPIResponseModel struct { XMLName xml.Name `xml:"tmall_product_schema_match_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回匹配产品ID,部分类目可能返回多个产品ID,以逗号分隔。 MatchResult string `json:"match_result,omitempty" xml:"match_result,omitempty"` }
TmallProductSchemaMatchAPIResponseModel is product匹配接口 成功返回结果
type TmallProductSchemaUpdateAPIRequest ¶
type TmallProductSchemaUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallProductSchemaUpdateAPIRequest 产品更新接口 API请求 tmall.product.schema.update
产品更新接口
func NewTmallProductSchemaUpdateRequest ¶
func NewTmallProductSchemaUpdateRequest() *TmallProductSchemaUpdateAPIRequest
NewTmallProductSchemaUpdateRequest 初始化TmallProductSchemaUpdateAPIRequest对象
func (TmallProductSchemaUpdateAPIRequest) GetApiMethodName ¶
func (r TmallProductSchemaUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallProductSchemaUpdateAPIRequest) GetApiParams ¶
func (r TmallProductSchemaUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductSchemaUpdateAPIRequest) GetProductId ¶
func (r TmallProductSchemaUpdateAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TmallProductSchemaUpdateAPIRequest) GetXmlData ¶
func (r TmallProductSchemaUpdateAPIRequest) GetXmlData() string
GetXmlData XmlData Getter
func (*TmallProductSchemaUpdateAPIRequest) SetProductId ¶
func (r *TmallProductSchemaUpdateAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品编号
func (*TmallProductSchemaUpdateAPIRequest) SetXmlData ¶
func (r *TmallProductSchemaUpdateAPIRequest) SetXmlData(_xmlData string) error
SetXmlData is XmlData Setter 根据tmall.product.update.schema.get生成的产品更新规则入参数据
type TmallProductSchemaUpdateAPIResponse ¶
type TmallProductSchemaUpdateAPIResponse struct { model.CommonResponse TmallProductSchemaUpdateAPIResponseModel }
TmallProductSchemaUpdateAPIResponse 产品更新接口 API返回值 tmall.product.schema.update
产品更新接口
type TmallProductSchemaUpdateAPIResponseModel ¶
type TmallProductSchemaUpdateAPIResponseModel struct { XMLName xml.Name `xml:"tmall_product_schema_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 产品数据,格式和入参xml_data一致,仅包含产品ID和更新时间 UpdateProductResult string `json:"update_product_result,omitempty" xml:"update_product_result,omitempty"` }
TmallProductSchemaUpdateAPIResponseModel is 产品更新接口 成功返回结果
type TmallProductSpecAddAPIRequest ¶
type TmallProductSpecAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallProductSpecAddAPIRequest 添加产品规格 API请求 tmall.product.spec.add
增加产品规格
func NewTmallProductSpecAddRequest ¶
func NewTmallProductSpecAddRequest() *TmallProductSpecAddAPIRequest
NewTmallProductSpecAddRequest 初始化TmallProductSpecAddAPIRequest对象
func (TmallProductSpecAddAPIRequest) GetApiMethodName ¶
func (r TmallProductSpecAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallProductSpecAddAPIRequest) GetApiParams ¶
func (r TmallProductSpecAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductSpecAddAPIRequest) GetBarcode ¶
func (r TmallProductSpecAddAPIRequest) GetBarcode() string
GetBarcode Barcode Getter
func (TmallProductSpecAddAPIRequest) GetCertifiedPicStr ¶
func (r TmallProductSpecAddAPIRequest) GetCertifiedPicStr() string
GetCertifiedPicStr CertifiedPicStr Getter
func (TmallProductSpecAddAPIRequest) GetCertifiedTxtStr ¶
func (r TmallProductSpecAddAPIRequest) GetCertifiedTxtStr() string
GetCertifiedTxtStr CertifiedTxtStr Getter
func (TmallProductSpecAddAPIRequest) GetChangeProp ¶
func (r TmallProductSpecAddAPIRequest) GetChangeProp() string
GetChangeProp ChangeProp Getter
func (TmallProductSpecAddAPIRequest) GetCustomerSpecProps ¶
func (r TmallProductSpecAddAPIRequest) GetCustomerSpecProps() string
GetCustomerSpecProps CustomerSpecProps Getter
func (TmallProductSpecAddAPIRequest) GetImage ¶
func (r TmallProductSpecAddAPIRequest) GetImage() *model.File
GetImage Image Getter
func (TmallProductSpecAddAPIRequest) GetLabelPrice ¶
func (r TmallProductSpecAddAPIRequest) GetLabelPrice() int64
GetLabelPrice LabelPrice Getter
func (TmallProductSpecAddAPIRequest) GetMarketTime ¶
func (r TmallProductSpecAddAPIRequest) GetMarketTime() string
GetMarketTime MarketTime Getter
func (TmallProductSpecAddAPIRequest) GetProductCode ¶
func (r TmallProductSpecAddAPIRequest) GetProductCode() string
GetProductCode ProductCode Getter
func (TmallProductSpecAddAPIRequest) GetProductId ¶
func (r TmallProductSpecAddAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TmallProductSpecAddAPIRequest) GetSpecProps ¶
func (r TmallProductSpecAddAPIRequest) GetSpecProps() string
GetSpecProps SpecProps Getter
func (TmallProductSpecAddAPIRequest) GetSpecPropsAlias ¶
func (r TmallProductSpecAddAPIRequest) GetSpecPropsAlias() string
GetSpecPropsAlias SpecPropsAlias Getter
func (*TmallProductSpecAddAPIRequest) SetBarcode ¶
func (r *TmallProductSpecAddAPIRequest) SetBarcode(_barcode string) error
SetBarcode is Barcode Setter 产品二维码
func (*TmallProductSpecAddAPIRequest) SetCertifiedPicStr ¶
func (r *TmallProductSpecAddAPIRequest) SetCertifiedPicStr(_certifiedPicStr string) error
SetCertifiedPicStr is CertifiedPicStr Setter 存放产品规格认证类型-认证图片url映射信息,格式为k:v;k:v;,其中key为认证类型数字id,value为调用tmall.product.spec.pic.upload返回的认证图片url文本
func (*TmallProductSpecAddAPIRequest) SetCertifiedTxtStr ¶
func (r *TmallProductSpecAddAPIRequest) SetCertifiedTxtStr(_certifiedTxtStr string) error
SetCertifiedTxtStr is CertifiedTxtStr Setter 存放产品规格认证类型-认证文本映射信息,格式为k:v;k:v;,其中key为认证类型数字id,value为认证文本值
func (*TmallProductSpecAddAPIRequest) SetChangeProp ¶
func (r *TmallProductSpecAddAPIRequest) SetChangeProp(_changeProp string) error
SetChangeProp is ChangeProp Setter 产品基础色,数据格式为:pid:vid:rvid1,rvid2,rvid3;pid:vid:rvid1
func (*TmallProductSpecAddAPIRequest) SetCustomerSpecProps ¶
func (r *TmallProductSpecAddAPIRequest) SetCustomerSpecProps(_customerSpecProps string) error
SetCustomerSpecProps is CustomerSpecProps Setter 用户自定义销售属性,结构:pid1:value1;pid2:value2。在
func (*TmallProductSpecAddAPIRequest) SetImage ¶
func (r *TmallProductSpecAddAPIRequest) SetImage(_image *model.File) error
SetImage is Image Setter 产品图片
func (*TmallProductSpecAddAPIRequest) SetLabelPrice ¶
func (r *TmallProductSpecAddAPIRequest) SetLabelPrice(_labelPrice int64) error
SetLabelPrice is LabelPrice Setter 产品规格吊牌价,以分为单位,无默认值,上限999999999
func (*TmallProductSpecAddAPIRequest) SetMarketTime ¶
func (r *TmallProductSpecAddAPIRequest) SetMarketTime(_marketTime string) error
SetMarketTime is MarketTime Setter 产品上市时间
func (*TmallProductSpecAddAPIRequest) SetProductCode ¶
func (r *TmallProductSpecAddAPIRequest) SetProductCode(_productCode string) error
SetProductCode is ProductCode Setter 产品货号
func (*TmallProductSpecAddAPIRequest) SetProductId ¶
func (r *TmallProductSpecAddAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID
func (*TmallProductSpecAddAPIRequest) SetSpecProps ¶
func (r *TmallProductSpecAddAPIRequest) SetSpecProps(_specProps string) error
SetSpecProps is SpecProps Setter 产品的规格属性
func (*TmallProductSpecAddAPIRequest) SetSpecPropsAlias ¶
func (r *TmallProductSpecAddAPIRequest) SetSpecPropsAlias(_specPropsAlias string) error
SetSpecPropsAlias is SpecPropsAlias Setter 规格属性别名,只允许传颜色别名
type TmallProductSpecAddAPIResponse ¶
type TmallProductSpecAddAPIResponse struct { model.CommonResponse TmallProductSpecAddAPIResponseModel }
TmallProductSpecAddAPIResponse 添加产品规格 API返回值 tmall.product.spec.add
增加产品规格
type TmallProductSpecAddAPIResponseModel ¶
type TmallProductSpecAddAPIResponseModel struct { XMLName xml.Name `xml:"tmall_product_spec_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 产品规格对象 ProductSpec *ProductSpec `json:"product_spec,omitempty" xml:"product_spec,omitempty"` }
TmallProductSpecAddAPIResponseModel is 添加产品规格 成功返回结果
type TmallProductSpecGetAPIRequest ¶
type TmallProductSpecGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallProductSpecGetAPIRequest 根据产品规格的Id号获取当个的规格信息 API请求 tmall.product.spec.get
通过当个的spec_id获取到这个产品规格的信息,主要是因为产品规格是要经过审核的,所以通过这个接口可以获取到是否通过审核<br/>通过参看这个ProductSpec的status判断:<br/>1:表示审核通过<br/>3:表示等待审核。<br/>如果你的id找不到数据,那么就是审核被拒绝。
func NewTmallProductSpecGetRequest ¶
func NewTmallProductSpecGetRequest() *TmallProductSpecGetAPIRequest
NewTmallProductSpecGetRequest 初始化TmallProductSpecGetAPIRequest对象
func (TmallProductSpecGetAPIRequest) GetApiMethodName ¶
func (r TmallProductSpecGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallProductSpecGetAPIRequest) GetApiParams ¶
func (r TmallProductSpecGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductSpecGetAPIRequest) GetSpecId ¶
func (r TmallProductSpecGetAPIRequest) GetSpecId() int64
GetSpecId SpecId Getter
func (*TmallProductSpecGetAPIRequest) SetSpecId ¶
func (r *TmallProductSpecGetAPIRequest) SetSpecId(_specId int64) error
SetSpecId is SpecId Setter 要获取信息的产品规格信息。
type TmallProductSpecGetAPIResponse ¶
type TmallProductSpecGetAPIResponse struct { model.CommonResponse TmallProductSpecGetAPIResponseModel }
TmallProductSpecGetAPIResponse 根据产品规格的Id号获取当个的规格信息 API返回值 tmall.product.spec.get
通过当个的spec_id获取到这个产品规格的信息,主要是因为产品规格是要经过审核的,所以通过这个接口可以获取到是否通过审核<br/>通过参看这个ProductSpec的status判断:<br/>1:表示审核通过<br/>3:表示等待审核。<br/>如果你的id找不到数据,那么就是审核被拒绝。
type TmallProductSpecGetAPIResponseModel ¶
type TmallProductSpecGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_product_spec_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回的产品规格信息,注意,这个产品规格信息可能是等待审核的,不一定可用。根据状态判断1:表示审核通过<br/>3:表示等待审核。 ProductSpec *ProductSpec `json:"product_spec,omitempty" xml:"product_spec,omitempty"` }
TmallProductSpecGetAPIResponseModel is 根据产品规格的Id号获取当个的规格信息 成功返回结果
type TmallProductSpecPicUploadAPIRequest ¶
type TmallProductSpecPicUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallProductSpecPicUploadAPIRequest 上传产品规格认证图片 API请求 tmall.product.spec.pic.upload
上传指定类型的产品规格认证文件,并返回存有上传成功图片url的产品规格对象
func NewTmallProductSpecPicUploadRequest ¶
func NewTmallProductSpecPicUploadRequest() *TmallProductSpecPicUploadAPIRequest
NewTmallProductSpecPicUploadRequest 初始化TmallProductSpecPicUploadAPIRequest对象
func (TmallProductSpecPicUploadAPIRequest) GetApiMethodName ¶
func (r TmallProductSpecPicUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallProductSpecPicUploadAPIRequest) GetApiParams ¶
func (r TmallProductSpecPicUploadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductSpecPicUploadAPIRequest) GetCertifyPic ¶
func (r TmallProductSpecPicUploadAPIRequest) GetCertifyPic() *model.File
GetCertifyPic CertifyPic Getter
func (TmallProductSpecPicUploadAPIRequest) GetCertifyType ¶
func (r TmallProductSpecPicUploadAPIRequest) GetCertifyType() int64
GetCertifyType CertifyType Getter
func (*TmallProductSpecPicUploadAPIRequest) SetCertifyPic ¶
func (r *TmallProductSpecPicUploadAPIRequest) SetCertifyPic(_certifyPic *model.File) error
SetCertifyPic is CertifyPic Setter 上传的认证图片文件
func (*TmallProductSpecPicUploadAPIRequest) SetCertifyType ¶
func (r *TmallProductSpecPicUploadAPIRequest) SetCertifyType(_certifyType int64) error
SetCertifyType is CertifyType Setter 上传的认证图片的认证类型<br>1:代表产品包装正面图<br>2:代表完整产品资质<br>3:代表产品包装反面图<br>4:代表产品包装侧面图<br>5:代表产品包装条形码特写<br>6:代表特殊用途化妆品批准文号<br>7:代表3C认证图标<br>
type TmallProductSpecPicUploadAPIResponse ¶
type TmallProductSpecPicUploadAPIResponse struct { model.CommonResponse TmallProductSpecPicUploadAPIResponseModel }
TmallProductSpecPicUploadAPIResponse 上传产品规格认证图片 API返回值 tmall.product.spec.pic.upload
上传指定类型的产品规格认证文件,并返回存有上传成功图片url的产品规格对象
type TmallProductSpecPicUploadAPIResponseModel ¶
type TmallProductSpecPicUploadAPIResponseModel struct { XMLName xml.Name `xml:"tmall_product_spec_pic_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 上传成功的产品规格认证图片url SpecPicUrl string `json:"spec_pic_url,omitempty" xml:"spec_pic_url,omitempty"` }
TmallProductSpecPicUploadAPIResponseModel is 上传产品规格认证图片 成功返回结果
type TmallProductSpecsGetAPIRequest ¶
type TmallProductSpecsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallProductSpecsGetAPIRequest 获取产品的规格信息 API请求 tmall.product.specs.get
按product_id或品牌下载产品规格,返回一组的产品规格信息。
func NewTmallProductSpecsGetRequest ¶
func NewTmallProductSpecsGetRequest() *TmallProductSpecsGetAPIRequest
NewTmallProductSpecsGetRequest 初始化TmallProductSpecsGetAPIRequest对象
func (TmallProductSpecsGetAPIRequest) GetApiMethodName ¶
func (r TmallProductSpecsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallProductSpecsGetAPIRequest) GetApiParams ¶
func (r TmallProductSpecsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductSpecsGetAPIRequest) GetCatId ¶
func (r TmallProductSpecsGetAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (TmallProductSpecsGetAPIRequest) GetProductId ¶
func (r TmallProductSpecsGetAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TmallProductSpecsGetAPIRequest) GetProperties ¶
func (r TmallProductSpecsGetAPIRequest) GetProperties() string
GetProperties Properties Getter
func (*TmallProductSpecsGetAPIRequest) SetCatId ¶
func (r *TmallProductSpecsGetAPIRequest) SetCatId(_catId int64) error
SetCatId is CatId Setter 类目的ID号,该id必须和properties同时传入。而且只有当product_id不传入的时候才起效果。<br> product_id不传时,该参数必传
func (*TmallProductSpecsGetAPIRequest) SetProductId ¶
func (r *TmallProductSpecsGetAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品的ID。这个不能和properties和cat_id同时起效果<br>properties 和cat_id 均不传时,该参数必传。
func (*TmallProductSpecsGetAPIRequest) SetProperties ¶
func (r *TmallProductSpecsGetAPIRequest) SetProperties(_properties string) error
SetProperties is Properties Setter 关键属性的字符串,pid:vid;pid:vid该字段必须和cat_id同时传入才起效果。 而且只有当product_id不传入的时候才起效果。<br>product_id 不传时该参数必传
type TmallProductSpecsGetAPIResponse ¶
type TmallProductSpecsGetAPIResponse struct { model.CommonResponse TmallProductSpecsGetAPIResponseModel }
TmallProductSpecsGetAPIResponse 获取产品的规格信息 API返回值 tmall.product.specs.get
按product_id或品牌下载产品规格,返回一组的产品规格信息。
type TmallProductSpecsGetAPIResponseModel ¶
type TmallProductSpecsGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_product_specs_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回一组产品规格信息。 ProductSpecs []ProductSpec `json:"product_specs,omitempty" xml:"product_specs>product_spec,omitempty"` }
TmallProductSpecsGetAPIResponseModel is 获取产品的规格信息 成功返回结果
type TmallProductSpecsTicketGetAPIRequest ¶
type TmallProductSpecsTicketGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallProductSpecsTicketGetAPIRequest 产品规格审核信息获取接口 API请求 tmall.product.specs.ticket.get
批量根据specId查询产品规格审核信息包括产品规格状态,申请人,拒绝原因等
func NewTmallProductSpecsTicketGetRequest ¶
func NewTmallProductSpecsTicketGetRequest() *TmallProductSpecsTicketGetAPIRequest
NewTmallProductSpecsTicketGetRequest 初始化TmallProductSpecsTicketGetAPIRequest对象
func (TmallProductSpecsTicketGetAPIRequest) GetApiMethodName ¶
func (r TmallProductSpecsTicketGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallProductSpecsTicketGetAPIRequest) GetApiParams ¶
func (r TmallProductSpecsTicketGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductSpecsTicketGetAPIRequest) GetSpecIds ¶
func (r TmallProductSpecsTicketGetAPIRequest) GetSpecIds() string
GetSpecIds SpecIds Getter
func (*TmallProductSpecsTicketGetAPIRequest) SetSpecIds ¶
func (r *TmallProductSpecsTicketGetAPIRequest) SetSpecIds(_specIds string) error
SetSpecIds is SpecIds Setter 产品规格ID,多个用逗号分隔
type TmallProductSpecsTicketGetAPIResponse ¶
type TmallProductSpecsTicketGetAPIResponse struct { model.CommonResponse TmallProductSpecsTicketGetAPIResponseModel }
TmallProductSpecsTicketGetAPIResponse 产品规格审核信息获取接口 API返回值 tmall.product.specs.ticket.get
批量根据specId查询产品规格审核信息包括产品规格状态,申请人,拒绝原因等
type TmallProductSpecsTicketGetAPIResponseModel ¶
type TmallProductSpecsTicketGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_product_specs_ticket_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 产品规格审核单信息 Tickets []Ticket `json:"tickets,omitempty" xml:"tickets>ticket,omitempty"` }
TmallProductSpecsTicketGetAPIResponseModel is 产品规格审核信息获取接口 成功返回结果
type TmallProductTemplateGetAPIRequest ¶
type TmallProductTemplateGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallProductTemplateGetAPIRequest 产品接口 API请求 tmall.product.template.get
产品模板获取接口,对于非关键属性的类目,发布达尔文(监管)产品时,必须先根据类目获取产品模板。<br/><br/>产品模板定义产品发布需要的类目属性,包括:<br/><br/> 关键属性:关键属性可以在类目上不存在。不存在的PID,默认为输入,没有子属性。属性名称在prop_name_str中取<br/> 绑定属性:内容为属性ID(PID)的列表,绑定属性肯定在类目上有,对应属性的类目特征,子属性请根据PID到类目上去取<br/><br/> 过滤属性:内容有属性ID(PID)列表,很重要的属性,filter_properties包含的属性,必须填写<br/><br/> 如果获取不到模板,非关键属性类目是不能发布产品的<br/>
func NewTmallProductTemplateGetRequest ¶
func NewTmallProductTemplateGetRequest() *TmallProductTemplateGetAPIRequest
NewTmallProductTemplateGetRequest 初始化TmallProductTemplateGetAPIRequest对象
func (TmallProductTemplateGetAPIRequest) GetApiMethodName ¶
func (r TmallProductTemplateGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallProductTemplateGetAPIRequest) GetApiParams ¶
func (r TmallProductTemplateGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductTemplateGetAPIRequest) GetCid ¶
func (r TmallProductTemplateGetAPIRequest) GetCid() int64
GetCid Cid Getter
func (*TmallProductTemplateGetAPIRequest) SetCid ¶
func (r *TmallProductTemplateGetAPIRequest) SetCid(_cid int64) error
SetCid is Cid Setter 类目ID
type TmallProductTemplateGetAPIResponse ¶
type TmallProductTemplateGetAPIResponse struct { model.CommonResponse TmallProductTemplateGetAPIResponseModel }
TmallProductTemplateGetAPIResponse 产品接口 API返回值 tmall.product.template.get
产品模板获取接口,对于非关键属性的类目,发布达尔文(监管)产品时,必须先根据类目获取产品模板。<br/><br/>产品模板定义产品发布需要的类目属性,包括:<br/><br/> 关键属性:关键属性可以在类目上不存在。不存在的PID,默认为输入,没有子属性。属性名称在prop_name_str中取<br/> 绑定属性:内容为属性ID(PID)的列表,绑定属性肯定在类目上有,对应属性的类目特征,子属性请根据PID到类目上去取<br/><br/> 过滤属性:内容有属性ID(PID)列表,很重要的属性,filter_properties包含的属性,必须填写<br/><br/> 如果获取不到模板,非关键属性类目是不能发布产品的<br/>
type TmallProductTemplateGetAPIResponseModel ¶
type TmallProductTemplateGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_product_template_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 见SpuTemplateDO说明 Template *SpuTemplateDo `json:"template,omitempty" xml:"template,omitempty"` }
TmallProductTemplateGetAPIResponseModel is 产品接口 成功返回结果
type TmallProductUpdateSchemaGetAPIRequest ¶
type TmallProductUpdateSchemaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallProductUpdateSchemaGetAPIRequest 产品更新规则获取接口 API请求 tmall.product.update.schema.get
获取用户更新产品的规则
func NewTmallProductUpdateSchemaGetRequest ¶
func NewTmallProductUpdateSchemaGetRequest() *TmallProductUpdateSchemaGetAPIRequest
NewTmallProductUpdateSchemaGetRequest 初始化TmallProductUpdateSchemaGetAPIRequest对象
func (TmallProductUpdateSchemaGetAPIRequest) GetApiMethodName ¶
func (r TmallProductUpdateSchemaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallProductUpdateSchemaGetAPIRequest) GetApiParams ¶
func (r TmallProductUpdateSchemaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductUpdateSchemaGetAPIRequest) GetProductId ¶
func (r TmallProductUpdateSchemaGetAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (*TmallProductUpdateSchemaGetAPIRequest) SetProductId ¶
func (r *TmallProductUpdateSchemaGetAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品编号
type TmallProductUpdateSchemaGetAPIResponse ¶
type TmallProductUpdateSchemaGetAPIResponse struct { model.CommonResponse TmallProductUpdateSchemaGetAPIResponseModel }
TmallProductUpdateSchemaGetAPIResponse 产品更新规则获取接口 API返回值 tmall.product.update.schema.get
获取用户更新产品的规则
type TmallProductUpdateSchemaGetAPIResponseModel ¶
type TmallProductUpdateSchemaGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_product_update_schema_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 参数产品ID对产品的更新规则 UpdateProductSchema string `json:"update_product_schema,omitempty" xml:"update_product_schema,omitempty"` }
TmallProductUpdateSchemaGetAPIResponseModel is 产品更新规则获取接口 成功返回结果
type UpdateItemPriceOption ¶
type UpdateItemPriceOption struct { // 目标币种,非必填,仅支持天猫国际官网同购商家将外币价格修改成人民币价格时使用 CurrencyType string `json:"currency_type,omitempty" xml:"currency_type,omitempty"` // 是否忽略涉嫌炒信警告信息 IgnoreFakeCredit bool `json:"ignore_fake_credit,omitempty" xml:"ignore_fake_credit,omitempty"` }
UpdateItemPriceOption 结构体
type UpdateItemQuantityOption ¶
type UpdateItemQuantityOption struct { // 增量更新时幂等外部编码,只能包含十六进制字符(0-9,a-f,A-F) OuterBizKey string `json:"outer_biz_key,omitempty" xml:"outer_biz_key,omitempty"` // 库存更新方式: 1是全量更新 2是增量更新;默认是1。 Type int64 `json:"type,omitempty" xml:"type,omitempty"` }
UpdateItemQuantityOption 结构体
type UpdateItemShipTimeOption ¶
type UpdateItemShipTimeOption struct { // 0代表清空匹配的SKU发货时间数据或者商品发货时间数据;1代表:固定发货时间;2代表:相对发货时间 ShipTimeType int64 `json:"ship_time_type,omitempty" xml:"ship_time_type,omitempty"` // 更新类型,默认不填时更新sku,0表示更新sku,1表示更新商品维度,其他值均非法 UpdateType int64 `json:"update_type,omitempty" xml:"update_type,omitempty"` }
UpdateItemShipTimeOption 结构体
type UpdateSkuOuterId ¶
type UpdateSkuOuterId struct { // Sku属性串。格式:pid:vid;pid:vid,如: 1627207:3232483;1630696:3284570,表示机身颜色:军绿色;手机套餐:一电一充;如果填写将以属性对形式查找被更新SKU Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // 被更新的Sku的商家外部id OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // SkuID,如果填写,将以SKUID查找被更新的SKU SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` }
UpdateSkuOuterId 结构体
type UpdateSkuPrice ¶
type UpdateSkuPrice struct { // Sku属性串。格式:pid:vid;pid:vid,如: 1627207:3232483;1630696:3284570,表示机身颜色:军绿色;手机套餐:一电一充,用于指定被修改价格的SKU Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // Sku的商家外部id,用于指定被修改价格的SKU OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 属于这个sku的商品的价格 取值范围:0-100000000;精确到2位小数;单位:元。如:200.07,表示:200元7分。 Price string `json:"price,omitempty" xml:"price,omitempty"` // SkuID,用于指定被修改价格的SKU SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` }
UpdateSkuPrice 结构体
type UpdateSkuQuantity ¶
type UpdateSkuQuantity struct { // Sku的商家外部id,用于指定被修改库存的SKU OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // Sku属性串。格式:pid:vid;pid:vid,如: 1627207:3232483;1630696:3284570,表示机身颜色:军绿色;手机套餐:一电一充,用于指定被修改库存的SKU Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // SKU属于这个sku的商品的库存;增量编辑方式支持正数、负数 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // SkuID,用于指定被修改库存的 SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` }
UpdateSkuQuantity 结构体
type UpdateSkuShipTime ¶
type UpdateSkuShipTime struct { // 被更新发货时间;格式和具体设置的发货时间格式相关。绝对发货时间填写yyyy-MM-dd;相对发货时间填写数字。 ShipTime string `json:"ship_time,omitempty" xml:"ship_time,omitempty"` // Sku属性串。格式:pid:vid;pid:vid,如: 1627207:3232483;1630696:3284570,表示机身颜色:军绿色;手机套餐:一电一充 Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // Sku的商家外部id;如:2015_07_23_D_123 OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // SKU的ID SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` }
UpdateSkuShipTime 结构体
type UploadImageResp ¶
type UploadImageResp struct { // 返回的图片地址 Url string `json:"url,omitempty" xml:"url,omitempty"` // 图片哈希值 Hash string `json:"hash,omitempty" xml:"hash,omitempty"` // 图片高度 Height int64 `json:"height,omitempty" xml:"height,omitempty"` // 图片宽度 Width int64 `json:"width,omitempty" xml:"width,omitempty"` }
UploadImageResp 结构体
type Video ¶
type Video struct { // video的url连接地址。淘秀里视频记录里面存储的url地址 Url string `json:"url,omitempty" xml:"url,omitempty"` // 视频关联记录创建时间(格式:yyyy-MM-dd HH:mm:ss) Created string `json:"created,omitempty" xml:"created,omitempty"` // 视频关联记录修改时间(格式:yyyy-MM-dd HH:mm:ss) Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 视频记录关联的商品的数字id(注意:iid近期即将废弃,请用num_iid参数) Iid string `json:"iid,omitempty" xml:"iid,omitempty"` // 视频关联记录的id,和商品相对应 Id int64 `json:"id,omitempty" xml:"id,omitempty"` // video的id,对应于视频在淘秀的存储记录 VideoId int64 `json:"video_id,omitempty" xml:"video_id,omitempty"` // 视频记录所关联的商品的数字id NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` }
Video 结构体
type WholesaleCategory ¶
type WholesaleCategory struct { // 类目路径 Paths []string `json:"paths,omitempty" xml:"paths>string,omitempty"` // 类目节点map NodeMap string `json:"node_map,omitempty" xml:"node_map,omitempty"` }
WholesaleCategory 结构体
type WholesaleGoodsAttribute ¶
type WholesaleGoodsAttribute struct { // property_name产品属性名 PropertyName string `json:"property_name,omitempty" xml:"property_name,omitempty"` // id 产品属性id Id string `json:"id,omitempty" xml:"id,omitempty"` // property_value 产品属性值 PropertyValue string `json:"property_value,omitempty" xml:"property_value,omitempty"` }
WholesaleGoodsAttribute 结构体
type WholesaleGoodsOpenResult ¶
type WholesaleGoodsOpenResult struct { // result_memo 返回结果描述,例如success表示成功 ResultMemo string `json:"result_memo,omitempty" xml:"result_memo,omitempty"` // result_code 返回码,例如200表示成功 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` // 产品详细信息 Result *GoodsDetail `json:"result,omitempty" xml:"result,omitempty"` }
WholesaleGoodsOpenResult 结构体
type WholesaleSearchOpenResult ¶
type WholesaleSearchOpenResult struct { // result_memo 返回结果描述,例如success表示成功 ResultMemo string `json:"result_memo,omitempty" xml:"result_memo,omitempty"` // result_code 返回结果码,例如200 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` // 在线批发产品搜索结果 Result *GoodsSearchResult `json:"result,omitempty" xml:"result,omitempty"` }
WholesaleSearchOpenResult 结构体
type WholesaleUser ¶
type WholesaleUser struct { // user id Id string `json:"id,omitempty" xml:"id,omitempty"` // user's company address用户公司地址 CompAddress string `json:"comp_address,omitempty" xml:"comp_address,omitempty"` // company country公司所在国家 CompCountry string `json:"comp_country,omitempty" xml:"comp_country,omitempty"` // company city公司所在城市 CompCity string `json:"comp_city,omitempty" xml:"comp_city,omitempty"` // company province 公司所在的省 CompProvince string `json:"comp_province,omitempty" xml:"comp_province,omitempty"` // company logo url公司logo 地址 LogoUrl string `json:"logo_url,omitempty" xml:"logo_url,omitempty"` // company name公司名 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 公司所在地邮政编码 CompZip string `json:"comp_zip,omitempty" xml:"comp_zip,omitempty"` // golden_supplier_years公司成为金牌会员的年份 GoldenSupplierYears int64 `json:"golden_supplier_years,omitempty" xml:"golden_supplier_years,omitempty"` }
WholesaleUser 结构体
Source Files ¶
- AfterSale.go
- AlibabaGpuAddSchemaGetAPIRequest.go
- AlibabaGpuAddSchemaGetAPIResponse.go
- AlibabaGpuSchemaAddAPIRequest.go
- AlibabaGpuSchemaAddAPIResponse.go
- AlibabaGpuSchemaCatsearchAPIRequest.go
- AlibabaGpuSchemaCatsearchAPIResponse.go
- AlibabaGpuSchemaUpdateAPIRequest.go
- AlibabaGpuSchemaUpdateAPIResponse.go
- AlibabaGpuUpdateSchemaGetAPIRequest.go
- AlibabaGpuUpdateSchemaGetAPIResponse.go
- AlibabaGspSupplyImageUploadAPIRequest.go
- AlibabaGspSupplyImageUploadAPIResponse.go
- AlibabaItemCategoryPredictAPIRequest.go
- AlibabaItemCategoryPredictAPIResponse.go
- AlibabaItemEditFastupdateAPIRequest.go
- AlibabaItemEditFastupdateAPIResponse.go
- AlibabaItemEditSchemaGetAPIRequest.go
- AlibabaItemEditSchemaGetAPIResponse.go
- AlibabaItemEditSubmitAPIRequest.go
- AlibabaItemEditSubmitAPIResponse.go
- AlibabaItemOperateDeleteAPIRequest.go
- AlibabaItemOperateDeleteAPIResponse.go
- AlibabaItemOperateDownshelfAPIRequest.go
- AlibabaItemOperateDownshelfAPIResponse.go
- AlibabaItemOperateUpshelfAPIRequest.go
- AlibabaItemOperateUpshelfAPIResponse.go
- AlibabaItemPublishMarketGetAPIRequest.go
- AlibabaItemPublishMarketGetAPIResponse.go
- AlibabaItemPublishPropsGetAPIRequest.go
- AlibabaItemPublishPropsGetAPIResponse.go
- AlibabaItemPublishSchemaGetAPIRequest.go
- AlibabaItemPublishSchemaGetAPIResponse.go
- AlibabaItemPublishSubmitAPIRequest.go
- AlibabaItemPublishSubmitAPIResponse.go
- AlibabaJymIndustryInformationCallbakAPIRequest.go
- AlibabaJymIndustryInformationCallbakAPIResponse.go
- AlibabaWholesaleGoodsGetAPIRequest.go
- AlibabaWholesaleGoodsGetAPIResponse.go
- AlibabaWholesaleGoodsSearchAPIRequest.go
- AlibabaWholesaleGoodsSearchAPIResponse.go
- AlibabaWholesaleShippinglineTemplateInitAPIRequest.go
- AlibabaWholesaleShippinglineTemplateInitAPIResponse.go
- AliexpressSocialItemPromotionAPIRequest.go
- AliexpressSocialItemPromotionAPIResponse.go
- AliexpressSocialItemRankingAPIRequest.go
- AliexpressSocialItemRankingAPIResponse.go
- AliexpressSocialItemSearchAPIRequest.go
- AliexpressSocialItemSearchAPIResponse.go
- AlitripTravelElementsSearchAPIRequest.go
- AlitripTravelElementsSearchAPIResponse.go
- CacheChangeInfo.go
- CacheChangeNotifyResult.go
- CainiaoCntecItemChangeMessageAPIRequest.go
- CainiaoCntecItemChangeMessageAPIResponse.go
- CainiaoCntecItemChangeMessageResult.go
- CertPicInfo.go
- DapeiDO.go
- DapeiTemplateItem.go
- DisplayQualifications.go
- FreightInfo.go
- GoodsDetail.go
- GoodsSearchResult.go
- GoodsSummary.go
- HscodeAuditInfo.go
- IdsModule.go
- InitialTemplate.go
- Item.go
- ItemDescModule.go
- ItemImg.go
- ItemPickPagingResult.go
- ItemPromotionRule.go
- ItemSearchResult.go
- ItemTemplate.go
- Location.go
- ModularDescInfo.go
- Product.go
- ProductImg.go
- ProductInfo.go
- ProductPropImg.go
- ProductSpec.go
- PromotionDisplayTop.go
- PromotionInItem.go
- PromotionInShop.go
- PropImg.go
- ResourceData.go
- ResourceDataRecord.go
- SearchGoodsOption.go
- SizeMappingTemplate.go
- SizeMappingTemplateDo.go
- Sku.go
- SpuTemplateDO.go
- SupplyItemChangeMessage.go
- TaobaoAftersaleGetAPIRequest.go
- TaobaoAftersaleGetAPIResponse.go
- TaobaoBaikeImportZhubaoDataAPIRequest.go
- TaobaoBaikeImportZhubaoDataAPIResponse.go
- TaobaoBaikeImportZhubaoDataResult.go
- TaobaoBaikeImportZhubaoPictureAPIRequest.go
- TaobaoBaikeImportZhubaoPictureAPIResponse.go
- TaobaoBaikeImportZhubaoPictureResult.go
- TaobaoBanamadpcItemAddAPIRequest.go
- TaobaoBanamadpcItemAddAPIResponse.go
- TaobaoBanamadpcItemAddApiResult.go
- TaobaoBanamadpcItemEditRenderAPIRequest.go
- TaobaoBanamadpcItemEditRenderAPIResponse.go
- TaobaoBanamadpcItemEditRenderApiResult.go
- TaobaoBanamadpcItemRenderAPIRequest.go
- TaobaoBanamadpcItemRenderAPIResponse.go
- TaobaoBanamadpcItemRenderApiResult.go
- TaobaoBanamadpcItemSelectPropAPIRequest.go
- TaobaoBanamadpcItemSelectPropAPIResponse.go
- TaobaoBanamadpcItemSelectPropApiResult.go
- TaobaoBanamadpcItemUpdateAPIRequest.go
- TaobaoBanamadpcItemUpdateAPIResponse.go
- TaobaoBanamadpcItemUpdateApiResult.go
- TaobaoItemAddAPIRequest.go
- TaobaoItemAddAPIResponse.go
- TaobaoItemAnchorGetAPIRequest.go
- TaobaoItemAnchorGetAPIResponse.go
- TaobaoItemBarcodeUpdateAPIRequest.go
- TaobaoItemBarcodeUpdateAPIResponse.go
- TaobaoItemCarturlGetAPIRequest.go
- TaobaoItemCarturlGetAPIResponse.go
- TaobaoItemDeleteAPIRequest.go
- TaobaoItemDeleteAPIResponse.go
- TaobaoItemImgDeleteAPIRequest.go
- TaobaoItemImgDeleteAPIResponse.go
- TaobaoItemImgUploadAPIRequest.go
- TaobaoItemImgUploadAPIResponse.go
- TaobaoItemJointImgAPIRequest.go
- TaobaoItemJointImgAPIResponse.go
- TaobaoItemJointPropimgAPIRequest.go
- TaobaoItemJointPropimgAPIResponse.go
- TaobaoItemPermitCheckAPIRequest.go
- TaobaoItemPermitCheckAPIResponse.go
- TaobaoItemPriceUpdateAPIRequest.go
- TaobaoItemPriceUpdateAPIResponse.go
- TaobaoItemPromotionRuleGetAPIRequest.go
- TaobaoItemPromotionRuleGetAPIResponse.go
- TaobaoItemPropimgDeleteAPIRequest.go
- TaobaoItemPropimgDeleteAPIResponse.go
- TaobaoItemPropimgUploadAPIRequest.go
- TaobaoItemPropimgUploadAPIResponse.go
- TaobaoItemQualificationDisplayGetAPIRequest.go
- TaobaoItemQualificationDisplayGetAPIResponse.go
- TaobaoItemQuantityUpdateAPIRequest.go
- TaobaoItemQuantityUpdateAPIResponse.go
- TaobaoItemSellerGetAPIRequest.go
- TaobaoItemSellerGetAPIResponse.go
- TaobaoItemSkuAddAPIRequest.go
- TaobaoItemSkuAddAPIResponse.go
- TaobaoItemSkuDeleteAPIRequest.go
- TaobaoItemSkuDeleteAPIResponse.go
- TaobaoItemSkuGetAPIRequest.go
- TaobaoItemSkuGetAPIResponse.go
- TaobaoItemSkuPriceUpdateAPIRequest.go
- TaobaoItemSkuPriceUpdateAPIResponse.go
- TaobaoItemSkuUpdateAPIRequest.go
- TaobaoItemSkuUpdateAPIResponse.go
- TaobaoItemSkusGetAPIRequest.go
- TaobaoItemSkusGetAPIResponse.go
- TaobaoItemTemplatesGetAPIRequest.go
- TaobaoItemTemplatesGetAPIResponse.go
- TaobaoItemUpdateAPIRequest.go
- TaobaoItemUpdateAPIResponse.go
- TaobaoItemUpdateDelistingAPIRequest.go
- TaobaoItemUpdateDelistingAPIResponse.go
- TaobaoItemUpdateDelistingTmallAPIRequest.go
- TaobaoItemUpdateDelistingTmallAPIResponse.go
- TaobaoItemUpdateListingAPIRequest.go
- TaobaoItemUpdateListingAPIResponse.go
- TaobaoItemUpdateListingTmallAPIRequest.go
- TaobaoItemUpdateListingTmallAPIResponse.go
- TaobaoItemsCustomGetAPIRequest.go
- TaobaoItemsCustomGetAPIResponse.go
- TaobaoItemsInventoryGetAPIRequest.go
- TaobaoItemsInventoryGetAPIResponse.go
- TaobaoItemsOnsaleGetAPIRequest.go
- TaobaoItemsOnsaleGetAPIResponse.go
- TaobaoItemsSellerListGetAPIRequest.go
- TaobaoItemsSellerListGetAPIResponse.go
- TaobaoMiniappItemsGetAPIRequest.go
- TaobaoMiniappItemsGetAPIResponse.go
- TaobaoProductAddAPIRequest.go
- TaobaoProductAddAPIResponse.go
- TaobaoProductGetAPIRequest.go
- TaobaoProductGetAPIResponse.go
- TaobaoProductImgUploadAPIRequest.go
- TaobaoProductImgUploadAPIResponse.go
- TaobaoProductPropimgUploadAPIRequest.go
- TaobaoProductPropimgUploadAPIResponse.go
- TaobaoProductUpdateAPIRequest.go
- TaobaoProductUpdateAPIResponse.go
- TaobaoProductsGetAPIRequest.go
- TaobaoProductsGetAPIResponse.go
- TaobaoProductsSearchAPIRequest.go
- TaobaoProductsSearchAPIResponse.go
- TaobaoSkusCustomGetAPIRequest.go
- TaobaoSkusCustomGetAPIResponse.go
- TaobaoSkusQuantityUpdateAPIRequest.go
- TaobaoSkusQuantityUpdateAPIResponse.go
- TaobaoUmpPromotionGetAPIRequest.go
- TaobaoUmpPromotionGetAPIResponse.go
- TaobaoXhotelIntlAriNotifyAPIRequest.go
- TaobaoXhotelIntlAriNotifyAPIResponse.go
- Ticket.go
- TimeSpan.go
- TmallItemAddSchemaGetAPIRequest.go
- TmallItemAddSchemaGetAPIResponse.go
- TmallItemAddSimpleschemaGetAPIRequest.go
- TmallItemAddSimpleschemaGetAPIResponse.go
- TmallItemCalculateHscodeGetAPIRequest.go
- TmallItemCalculateHscodeGetAPIResponse.go
- TmallItemCombineGetAPIRequest.go
- TmallItemCombineGetAPIResponse.go
- TmallItemDapeiTemplateQueryAPIRequest.go
- TmallItemDapeiTemplateQueryAPIResponse.go
- TmallItemDapeiTemplateQueryResultSet.go
- TmallItemDescModulesGetAPIRequest.go
- TmallItemDescModulesGetAPIResponse.go
- TmallItemHscodeAuditResultsQueryAPIRequest.go
- TmallItemHscodeAuditResultsQueryAPIResponse.go
- TmallItemHscodeDetailGetAPIRequest.go
- TmallItemHscodeDetailGetAPIResponse.go
- TmallItemIncrementUpdateSchemaGetAPIRequest.go
- TmallItemIncrementUpdateSchemaGetAPIResponse.go
- TmallItemOuteridUpdateAPIRequest.go
- TmallItemOuteridUpdateAPIResponse.go
- TmallItemPriceUpdateAPIRequest.go
- TmallItemPriceUpdateAPIResponse.go
- TmallItemQuantityUpdateAPIRequest.go
- TmallItemQuantityUpdateAPIResponse.go
- TmallItemSchemaAddAPIRequest.go
- TmallItemSchemaAddAPIResponse.go
- TmallItemSchemaIncrementUpdateAPIRequest.go
- TmallItemSchemaIncrementUpdateAPIResponse.go
- TmallItemSchemaUpdateAPIRequest.go
- TmallItemSchemaUpdateAPIResponse.go
- TmallItemShiptimeUpdateAPIRequest.go
- TmallItemShiptimeUpdateAPIResponse.go
- TmallItemSimpleschemaAddAPIRequest.go
- TmallItemSimpleschemaAddAPIResponse.go
- TmallItemSimpleschemaUpdateAPIRequest.go
- TmallItemSimpleschemaUpdateAPIResponse.go
- TmallItemSizemappingTemplateCreateAPIRequest.go
- TmallItemSizemappingTemplateCreateAPIResponse.go
- TmallItemSizemappingTemplateDeleteAPIRequest.go
- TmallItemSizemappingTemplateDeleteAPIResponse.go
- TmallItemSizemappingTemplateGetAPIRequest.go
- TmallItemSizemappingTemplateGetAPIResponse.go
- TmallItemSizemappingTemplateGetModel.go
- TmallItemSizemappingTemplateUpdateAPIRequest.go
- TmallItemSizemappingTemplateUpdateAPIResponse.go
- TmallItemSizemappingTemplatesListAPIRequest.go
- TmallItemSizemappingTemplatesListAPIResponse.go
- TmallItemStoreSchemaUpdateAPIRequest.go
- TmallItemStoreSchemaUpdateAPIResponse.go
- TmallItemStoreSchemaUpdateApiResult.go
- TmallItemStoreUpdateSchemaGetAPIRequest.go
- TmallItemStoreUpdateSchemaGetAPIResponse.go
- TmallItemStoreUpdateSchemaGetApiResult.go
- TmallItemUpdateSchemaGetAPIRequest.go
- TmallItemUpdateSchemaGetAPIResponse.go
- TmallItemUpdateSimpleschemaGetAPIRequest.go
- TmallItemUpdateSimpleschemaGetAPIResponse.go
- TmallItemVipAddSchemaGetAPIRequest.go
- TmallItemVipAddSchemaGetAPIResponse.go
- TmallItemVipSchemaAddAPIRequest.go
- TmallItemVipSchemaAddAPIResponse.go
- TmallItemVipSchemaUpdateAPIRequest.go
- TmallItemVipSchemaUpdateAPIResponse.go
- TmallItemVipUpdateSchemaGetAPIRequest.go
- TmallItemVipUpdateSchemaGetAPIResponse.go
- TmallProductAddSchemaGetAPIRequest.go
- TmallProductAddSchemaGetAPIResponse.go
- TmallProductMatchSchemaGetAPIRequest.go
- TmallProductMatchSchemaGetAPIResponse.go
- TmallProductSchemaAddAPIRequest.go
- TmallProductSchemaAddAPIResponse.go
- TmallProductSchemaGetAPIRequest.go
- TmallProductSchemaGetAPIResponse.go
- TmallProductSchemaMatchAPIRequest.go
- TmallProductSchemaMatchAPIResponse.go
- TmallProductSchemaUpdateAPIRequest.go
- TmallProductSchemaUpdateAPIResponse.go
- TmallProductSpecAddAPIRequest.go
- TmallProductSpecAddAPIResponse.go
- TmallProductSpecGetAPIRequest.go
- TmallProductSpecGetAPIResponse.go
- TmallProductSpecPicUploadAPIRequest.go
- TmallProductSpecPicUploadAPIResponse.go
- TmallProductSpecsGetAPIRequest.go
- TmallProductSpecsGetAPIResponse.go
- TmallProductSpecsTicketGetAPIRequest.go
- TmallProductSpecsTicketGetAPIResponse.go
- TmallProductTemplateGetAPIRequest.go
- TmallProductTemplateGetAPIResponse.go
- TmallProductUpdateSchemaGetAPIRequest.go
- TmallProductUpdateSchemaGetAPIResponse.go
- UpdateItemPriceOption.go
- UpdateItemQuantityOption.go
- UpdateItemShipTimeOption.go
- UpdateSkuOuterId.go
- UpdateSkuPrice.go
- UpdateSkuQuantity.go
- UpdateSkuShipTime.go
- UploadImageResp.go
- Video.go
- WholesaleCategory.go
- WholesaleGoodsAttribute.go
- WholesaleGoodsOpenResult.go
- WholesaleSearchOpenResult.go
- WholesaleUser.go
- doc.go