Documentation ¶
Overview ¶
Package tbitem 包含淘宝商品API,相关结构体
Index ¶
- type AlibabaItemEditFastupdateAPIRequest
- func (r AlibabaItemEditFastupdateAPIRequest) GetApiMethodName() string
- func (r AlibabaItemEditFastupdateAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaItemEditFastupdateAPIRequest) GetCatId() int64
- func (r AlibabaItemEditFastupdateAPIRequest) GetItemId() int64
- func (r AlibabaItemEditFastupdateAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r AlibabaItemEditSchemaGetAPIRequest) GetBizType() string
- func (r AlibabaItemEditSchemaGetAPIRequest) GetFields() []string
- func (r AlibabaItemEditSchemaGetAPIRequest) GetItemId() int64
- func (r AlibabaItemEditSchemaGetAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r AlibabaItemEditSubmitAPIRequest) GetBizType() string
- func (r AlibabaItemEditSubmitAPIRequest) GetCatId() int64
- func (r AlibabaItemEditSubmitAPIRequest) GetItemId() int64
- func (r AlibabaItemEditSubmitAPIRequest) GetRawParams() model.Params
- 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
- func (r AlibabaItemOperateDeleteAPIRequest) GetApiMethodName() string
- func (r AlibabaItemOperateDeleteAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaItemOperateDeleteAPIRequest) GetItemId() int64
- func (r AlibabaItemOperateDeleteAPIRequest) GetRawParams() model.Params
- func (r *AlibabaItemOperateDeleteAPIRequest) SetItemId(_itemId int64) error
- type AlibabaItemOperateDeleteAPIResponse
- type AlibabaItemOperateDeleteAPIResponseModel
- type AlibabaItemOperateDownshelfAPIRequest
- func (r AlibabaItemOperateDownshelfAPIRequest) GetApiMethodName() string
- func (r AlibabaItemOperateDownshelfAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaItemOperateDownshelfAPIRequest) GetItemId() int64
- func (r AlibabaItemOperateDownshelfAPIRequest) GetRawParams() model.Params
- func (r *AlibabaItemOperateDownshelfAPIRequest) SetItemId(_itemId int64) error
- type AlibabaItemOperateDownshelfAPIResponse
- type AlibabaItemOperateDownshelfAPIResponseModel
- type AlibabaItemOperateUpshelfAPIRequest
- func (r AlibabaItemOperateUpshelfAPIRequest) GetApiMethodName() string
- func (r AlibabaItemOperateUpshelfAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaItemOperateUpshelfAPIRequest) GetItemId() int64
- func (r AlibabaItemOperateUpshelfAPIRequest) GetQuantity() int64
- func (r AlibabaItemOperateUpshelfAPIRequest) GetRawParams() model.Params
- 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(params 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) GetRawParams() model.Params
- 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(params 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) GetRawParams() model.Params
- 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(params 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) GetRawParams() model.Params
- 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 CuntaoItemSpecific
- type DescModuleInfo
- type FoodSecurity
- type HscodeAuditInfo
- type IdsModule
- type Item
- type ItemDescModule
- type ItemImg
- type ItemPromotionRule
- type ItemTemplate
- type LocalityLife
- type Location
- type ModularDescInfo
- type MpicVideo
- type PaimaiInfo
- type PropImg
- type Sku
- type SkuFeature
- type TaobaoItemAnchorGetAPIRequest
- func (r TaobaoItemAnchorGetAPIRequest) GetApiMethodName() string
- func (r TaobaoItemAnchorGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoItemAnchorGetAPIRequest) GetCatId() int64
- func (r TaobaoItemAnchorGetAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TaobaoItemBarcodeUpdateAPIRequest) GetIsforce() bool
- func (r TaobaoItemBarcodeUpdateAPIRequest) GetItemBarcode() string
- func (r TaobaoItemBarcodeUpdateAPIRequest) GetItemId() int64
- func (r TaobaoItemBarcodeUpdateAPIRequest) GetRawParams() model.Params
- 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 TaobaoItemDeleteAPIRequest
- func (r TaobaoItemDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoItemDeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoItemDeleteAPIRequest) GetNumIid() int64
- func (r TaobaoItemDeleteAPIRequest) GetRawParams() model.Params
- func (r *TaobaoItemDeleteAPIRequest) SetNumIid(_numIid int64) error
- type TaobaoItemDeleteAPIResponse
- type TaobaoItemDeleteAPIResponseModel
- type TaobaoItemImgDeleteAPIRequest
- func (r TaobaoItemImgDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoItemImgDeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoItemImgDeleteAPIRequest) GetId() int64
- func (r TaobaoItemImgDeleteAPIRequest) GetIsSixthPic() bool
- func (r TaobaoItemImgDeleteAPIRequest) GetNumIid() int64
- func (r TaobaoItemImgDeleteAPIRequest) GetRawParams() model.Params
- 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(params 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) GetRawParams() model.Params
- 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(params 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) GetRawParams() model.Params
- 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(params 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) GetRawParams() model.Params
- 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 TaobaoItemPromotionRuleGetAPIRequest
- func (r TaobaoItemPromotionRuleGetAPIRequest) GetApiMethodName() string
- func (r TaobaoItemPromotionRuleGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoItemPromotionRuleGetAPIRequest) GetItemId() int64
- func (r TaobaoItemPromotionRuleGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoItemPromotionRuleGetAPIRequest) SetItemId(_itemId int64) error
- type TaobaoItemPromotionRuleGetAPIResponse
- type TaobaoItemPromotionRuleGetAPIResponseModel
- type TaobaoItemPropimgDeleteAPIRequest
- func (r TaobaoItemPropimgDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoItemPropimgDeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoItemPropimgDeleteAPIRequest) GetId() int64
- func (r TaobaoItemPropimgDeleteAPIRequest) GetNumIid() int64
- func (r TaobaoItemPropimgDeleteAPIRequest) GetRawParams() model.Params
- 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(params 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) GetRawParams() model.Params
- 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 TaobaoItemQuantityUpdateAPIRequest
- func (r TaobaoItemQuantityUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoItemQuantityUpdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoItemQuantityUpdateAPIRequest) GetNumIid() int64
- func (r TaobaoItemQuantityUpdateAPIRequest) GetOuterId() string
- func (r TaobaoItemQuantityUpdateAPIRequest) GetQuantity() int64
- func (r TaobaoItemQuantityUpdateAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TaobaoItemSellerGetAPIRequest) GetFields() string
- func (r TaobaoItemSellerGetAPIRequest) GetNumIid() int64
- func (r TaobaoItemSellerGetAPIRequest) GetRawParams() model.Params
- 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(params 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) GetRawParams() model.Params
- 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(params 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) GetRawParams() model.Params
- 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(params url.Values)
- func (r TaobaoItemSkuGetAPIRequest) GetFields() string
- func (r TaobaoItemSkuGetAPIRequest) GetNumIid() int64
- func (r TaobaoItemSkuGetAPIRequest) GetRawParams() model.Params
- 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(params 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) GetRawParams() model.Params
- 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(params 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) GetRawParams() model.Params
- 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(params url.Values)
- func (r TaobaoItemSkusGetAPIRequest) GetFields() []string
- func (r TaobaoItemSkusGetAPIRequest) GetNumIids() string
- func (r TaobaoItemSkusGetAPIRequest) GetRawParams() model.Params
- 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 TaobaoItemUpdateDelistingAPIRequest
- func (r TaobaoItemUpdateDelistingAPIRequest) GetApiMethodName() string
- func (r TaobaoItemUpdateDelistingAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoItemUpdateDelistingAPIRequest) GetNumIid() int64
- func (r TaobaoItemUpdateDelistingAPIRequest) GetRawParams() model.Params
- func (r *TaobaoItemUpdateDelistingAPIRequest) SetNumIid(_numIid int64) error
- type TaobaoItemUpdateDelistingAPIResponse
- type TaobaoItemUpdateDelistingAPIResponseModel
- type TaobaoItemUpdateDelistingTmallAPIRequest
- func (r TaobaoItemUpdateDelistingTmallAPIRequest) GetApiMethodName() string
- func (r TaobaoItemUpdateDelistingTmallAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoItemUpdateDelistingTmallAPIRequest) GetNumIid() int64
- func (r TaobaoItemUpdateDelistingTmallAPIRequest) GetRawParams() model.Params
- func (r *TaobaoItemUpdateDelistingTmallAPIRequest) SetNumIid(_numIid int64) error
- type TaobaoItemUpdateDelistingTmallAPIResponse
- type TaobaoItemUpdateDelistingTmallAPIResponseModel
- type TaobaoItemUpdateListingAPIRequest
- func (r TaobaoItemUpdateListingAPIRequest) GetApiMethodName() string
- func (r TaobaoItemUpdateListingAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoItemUpdateListingAPIRequest) GetNum() int64
- func (r TaobaoItemUpdateListingAPIRequest) GetNumIid() int64
- func (r TaobaoItemUpdateListingAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TaobaoItemUpdateListingTmallAPIRequest) GetNum() int64
- func (r TaobaoItemUpdateListingTmallAPIRequest) GetNumIid() int64
- func (r TaobaoItemUpdateListingTmallAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TaobaoItemsCustomGetAPIRequest) GetFields() string
- func (r TaobaoItemsCustomGetAPIRequest) GetOuterId() string
- func (r TaobaoItemsCustomGetAPIRequest) GetRawParams() model.Params
- 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(params 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) GetRawParams() model.Params
- 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(params 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) GetRawParams() model.Params
- 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(params url.Values)
- func (r TaobaoItemsSellerListGetAPIRequest) GetFields() string
- func (r TaobaoItemsSellerListGetAPIRequest) GetNumIids() []string
- func (r TaobaoItemsSellerListGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoItemsSellerListGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoItemsSellerListGetAPIRequest) SetNumIids(_numIids []string) error
- type TaobaoItemsSellerListGetAPIResponse
- type TaobaoItemsSellerListGetAPIResponseModel
- type TaobaoSkusCustomGetAPIRequest
- func (r TaobaoSkusCustomGetAPIRequest) GetApiMethodName() string
- func (r TaobaoSkusCustomGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoSkusCustomGetAPIRequest) GetFields() string
- func (r TaobaoSkusCustomGetAPIRequest) GetOuterId() string
- func (r TaobaoSkusCustomGetAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TaobaoSkusQuantityUpdateAPIRequest) GetNumIid() int64
- func (r TaobaoSkusQuantityUpdateAPIRequest) GetOuteridQuantities() string
- func (r TaobaoSkusQuantityUpdateAPIRequest) GetRawParams() model.Params
- 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 TmallItemAddSimpleschemaGetAPIRequest
- type TmallItemAddSimpleschemaGetAPIResponse
- type TmallItemAddSimpleschemaGetAPIResponseModel
- type TmallItemCalculateHscodeGetAPIRequest
- func (r TmallItemCalculateHscodeGetAPIRequest) GetApiMethodName() string
- func (r TmallItemCalculateHscodeGetAPIRequest) GetApiParams(params url.Values)
- func (r TmallItemCalculateHscodeGetAPIRequest) GetItemId() int64
- func (r TmallItemCalculateHscodeGetAPIRequest) GetRawParams() model.Params
- func (r *TmallItemCalculateHscodeGetAPIRequest) SetItemId(_itemId int64) error
- type TmallItemCalculateHscodeGetAPIResponse
- type TmallItemCalculateHscodeGetAPIResponseModel
- type TmallItemCombineGetAPIRequest
- func (r TmallItemCombineGetAPIRequest) GetApiMethodName() string
- func (r TmallItemCombineGetAPIRequest) GetApiParams(params url.Values)
- func (r TmallItemCombineGetAPIRequest) GetItemId() int64
- func (r TmallItemCombineGetAPIRequest) GetRawParams() model.Params
- func (r *TmallItemCombineGetAPIRequest) SetItemId(_itemId int64) error
- type TmallItemCombineGetAPIResponse
- type TmallItemCombineGetAPIResponseModel
- type TmallItemDescModulesGetAPIRequest
- func (r TmallItemDescModulesGetAPIRequest) GetApiMethodName() string
- func (r TmallItemDescModulesGetAPIRequest) GetApiParams(params url.Values)
- func (r TmallItemDescModulesGetAPIRequest) GetCatId() int64
- func (r TmallItemDescModulesGetAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TmallItemHscodeAuditResultsQueryAPIRequest) GetItemId() int64
- func (r TmallItemHscodeAuditResultsQueryAPIRequest) GetRawParams() model.Params
- func (r *TmallItemHscodeAuditResultsQueryAPIRequest) SetItemId(_itemId int64) error
- type TmallItemHscodeAuditResultsQueryAPIResponse
- type TmallItemHscodeAuditResultsQueryAPIResponseModel
- type TmallItemHscodeDetailGetAPIRequest
- func (r TmallItemHscodeDetailGetAPIRequest) GetApiMethodName() string
- func (r TmallItemHscodeDetailGetAPIRequest) GetApiParams(params url.Values)
- func (r TmallItemHscodeDetailGetAPIRequest) GetHscode() string
- func (r TmallItemHscodeDetailGetAPIRequest) GetRawParams() model.Params
- func (r *TmallItemHscodeDetailGetAPIRequest) SetHscode(_hscode string) error
- type TmallItemHscodeDetailGetAPIResponse
- type TmallItemHscodeDetailGetAPIResponseModel
- type TmallItemIncrementUpdateSchemaGetAPIRequest
- func (r TmallItemIncrementUpdateSchemaGetAPIRequest) GetApiMethodName() string
- func (r TmallItemIncrementUpdateSchemaGetAPIRequest) GetApiParams(params url.Values)
- func (r TmallItemIncrementUpdateSchemaGetAPIRequest) GetItemId() int64
- func (r TmallItemIncrementUpdateSchemaGetAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TmallItemOuteridUpdateAPIRequest) GetItemId() int64
- func (r TmallItemOuteridUpdateAPIRequest) GetOuterId() string
- func (r TmallItemOuteridUpdateAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TmallItemPriceUpdateAPIRequest) GetItemId() int64
- func (r TmallItemPriceUpdateAPIRequest) GetItemPrice() float64
- func (r TmallItemPriceUpdateAPIRequest) GetOptions() *UpdateItemPriceOption
- func (r TmallItemPriceUpdateAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TmallItemQuantityUpdateAPIRequest) GetItemId() int64
- func (r TmallItemQuantityUpdateAPIRequest) GetItemQuantity() int64
- func (r TmallItemQuantityUpdateAPIRequest) GetOptions() *UpdateItemQuantityOption
- func (r TmallItemQuantityUpdateAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TmallItemSchemaAddAPIRequest) GetCategoryId() int64
- func (r TmallItemSchemaAddAPIRequest) GetProductId() int64
- func (r TmallItemSchemaAddAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TmallItemSchemaIncrementUpdateAPIRequest) GetItemId() int64
- func (r TmallItemSchemaIncrementUpdateAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TmallItemSchemaUpdateAPIRequest) GetCategoryId() int64
- func (r TmallItemSchemaUpdateAPIRequest) GetItemId() int64
- func (r TmallItemSchemaUpdateAPIRequest) GetProductId() int64
- func (r TmallItemSchemaUpdateAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TmallItemShiptimeUpdateAPIRequest) GetItemId() int64
- func (r TmallItemShiptimeUpdateAPIRequest) GetOption() *UpdateItemShipTimeOption
- func (r TmallItemShiptimeUpdateAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TmallItemSimpleschemaAddAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TmallItemSimpleschemaUpdateAPIRequest) GetItemId() int64
- func (r TmallItemSimpleschemaUpdateAPIRequest) GetRawParams() model.Params
- func (r TmallItemSimpleschemaUpdateAPIRequest) GetSchemaXmlFields() string
- func (r *TmallItemSimpleschemaUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *TmallItemSimpleschemaUpdateAPIRequest) SetSchemaXmlFields(_schemaXmlFields string) error
- type TmallItemSimpleschemaUpdateAPIResponse
- type TmallItemSimpleschemaUpdateAPIResponseModel
- type TmallItemUpdateSchemaGetAPIRequest
- func (r TmallItemUpdateSchemaGetAPIRequest) GetApiMethodName() string
- func (r TmallItemUpdateSchemaGetAPIRequest) GetApiParams(params url.Values)
- func (r TmallItemUpdateSchemaGetAPIRequest) GetCategoryId() int64
- func (r TmallItemUpdateSchemaGetAPIRequest) GetItemId() int64
- func (r TmallItemUpdateSchemaGetAPIRequest) GetProductId() int64
- func (r TmallItemUpdateSchemaGetAPIRequest) GetRawParams() model.Params
- 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 TmallProductAddSchemaGetAPIRequest
- func (r TmallProductAddSchemaGetAPIRequest) GetApiMethodName() string
- func (r TmallProductAddSchemaGetAPIRequest) GetApiParams(params url.Values)
- func (r TmallProductAddSchemaGetAPIRequest) GetBrandId() int64
- func (r TmallProductAddSchemaGetAPIRequest) GetCategoryId() int64
- func (r TmallProductAddSchemaGetAPIRequest) GetRawParams() model.Params
- func (r *TmallProductAddSchemaGetAPIRequest) SetBrandId(_brandId int64) error
- func (r *TmallProductAddSchemaGetAPIRequest) SetCategoryId(_categoryId int64) error
- type TmallProductAddSchemaGetAPIResponse
- type TmallProductAddSchemaGetAPIResponseModel
- type TmallProductMatchSchemaGetAPIRequest
- func (r TmallProductMatchSchemaGetAPIRequest) GetApiMethodName() string
- func (r TmallProductMatchSchemaGetAPIRequest) GetApiParams(params url.Values)
- func (r TmallProductMatchSchemaGetAPIRequest) GetCategoryId() int64
- func (r TmallProductMatchSchemaGetAPIRequest) GetRawParams() model.Params
- func (r *TmallProductMatchSchemaGetAPIRequest) SetCategoryId(_categoryId int64) error
- type TmallProductMatchSchemaGetAPIResponse
- type TmallProductMatchSchemaGetAPIResponseModel
- type TmallProductSchemaAddAPIRequest
- func (r TmallProductSchemaAddAPIRequest) GetApiMethodName() string
- func (r TmallProductSchemaAddAPIRequest) GetApiParams(params url.Values)
- func (r TmallProductSchemaAddAPIRequest) GetBrandId() int64
- func (r TmallProductSchemaAddAPIRequest) GetCategoryId() int64
- func (r TmallProductSchemaAddAPIRequest) GetRawParams() model.Params
- 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
- func (r TmallProductSchemaGetAPIRequest) GetApiMethodName() string
- func (r TmallProductSchemaGetAPIRequest) GetApiParams(params url.Values)
- func (r TmallProductSchemaGetAPIRequest) GetProductId() int64
- func (r TmallProductSchemaGetAPIRequest) GetRawParams() model.Params
- func (r *TmallProductSchemaGetAPIRequest) SetProductId(_productId int64) error
- type TmallProductSchemaGetAPIResponse
- type TmallProductSchemaGetAPIResponseModel
- type TmallProductSchemaMatchAPIRequest
- func (r TmallProductSchemaMatchAPIRequest) GetApiMethodName() string
- func (r TmallProductSchemaMatchAPIRequest) GetApiParams(params url.Values)
- func (r TmallProductSchemaMatchAPIRequest) GetCategoryId() int64
- func (r TmallProductSchemaMatchAPIRequest) GetPropvalues() string
- func (r TmallProductSchemaMatchAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TmallProductSchemaUpdateAPIRequest) GetProductId() int64
- func (r TmallProductSchemaUpdateAPIRequest) GetRawParams() model.Params
- func (r TmallProductSchemaUpdateAPIRequest) GetXmlData() string
- func (r *TmallProductSchemaUpdateAPIRequest) SetProductId(_productId int64) error
- func (r *TmallProductSchemaUpdateAPIRequest) SetXmlData(_xmlData string) error
- type TmallProductSchemaUpdateAPIResponse
- type TmallProductSchemaUpdateAPIResponseModel
- type TmallProductUpdateSchemaGetAPIRequest
- func (r TmallProductUpdateSchemaGetAPIRequest) GetApiMethodName() string
- func (r TmallProductUpdateSchemaGetAPIRequest) GetApiParams(params url.Values)
- func (r TmallProductUpdateSchemaGetAPIRequest) GetProductId() int64
- func (r TmallProductUpdateSchemaGetAPIRequest) GetRawParams() model.Params
- func (r *TmallProductUpdateSchemaGetAPIRequest) SetProductId(_productId int64) error
- type TmallProductUpdateSchemaGetAPIResponse
- type TmallProductUpdateSchemaGetAPIResponseModel
- type UpdateItemPriceOption
- type UpdateItemQuantityOption
- type UpdateItemShipTimeOption
- type UpdateSkuOuterId
- type UpdateSkuPrice
- type UpdateSkuQuantity
- type UpdateSkuShipTime
- type Video
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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(params 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) GetRawParams ¶
func (r AlibabaItemEditFastupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r AlibabaItemEditSchemaGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r AlibabaItemEditSubmitAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaItemOperateDeleteAPIRequest) GetItemId ¶
func (r AlibabaItemOperateDeleteAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlibabaItemOperateDeleteAPIRequest) GetRawParams ¶
func (r AlibabaItemOperateDeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaItemOperateDownshelfAPIRequest) GetItemId ¶
func (r AlibabaItemOperateDownshelfAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlibabaItemOperateDownshelfAPIRequest) GetRawParams ¶
func (r AlibabaItemOperateDownshelfAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r AlibabaItemOperateUpshelfAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaItemPublishMarketGetAPIRequest) GetRawParams ¶
func (r AlibabaItemPublishMarketGetAPIRequest) GetRawParams() model.Params
GetRawParams 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(params 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) GetRawParams ¶
func (r AlibabaItemPublishPropsGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r AlibabaItemPublishSchemaGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r AlibabaItemPublishSubmitAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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 CuntaoItemSpecific ¶
type CuntaoItemSpecific struct { // 村淘商品级佣金率 KickBackRate string `json:"kick_back_rate,omitempty" xml:"kick_back_rate,omitempty"` }
CuntaoItemSpecific 结构体
type DescModuleInfo ¶
type DescModuleInfo struct { // 代表宝贝描述中规范化打标使用到的模块id列表,以逗号分隔。 AnchorModuleIds string `json:"anchor_module_ids,omitempty" xml:"anchor_module_ids,omitempty"` // 类型代表规范化打标的类型:人工或自动化 Type int64 `json:"type,omitempty" xml:"type,omitempty"` }
DescModuleInfo 结构体
type FoodSecurity ¶
type FoodSecurity struct { // 厂家联系方式 Contact string `json:"contact,omitempty" xml:"contact,omitempty"` // 产品标准号 DesignCode string `json:"design_code,omitempty" xml:"design_code,omitempty"` // 厂名 Factory string `json:"factory,omitempty" xml:"factory,omitempty"` // 厂址 FactorySite string `json:"factory_site,omitempty" xml:"factory_site,omitempty"` // 食品添加剂 FoodAdditive string `json:"food_additive,omitempty" xml:"food_additive,omitempty"` // 健字号,保健品/膳食营养补充剂 这个类目下特有的信息,此类目下无需填写生产许可证编号(QS),如果填写了生产许可证编号(QS)将被忽略不保存;保存宝贝时,标题前会自动加上健字号产品名称一起作为宝贝标题; HealthProductNo string `json:"health_product_no,omitempty" xml:"health_product_no,omitempty"` // 配料表 Mix string `json:"mix,omitempty" xml:"mix,omitempty"` // 保质期 Period string `json:"period,omitempty" xml:"period,omitempty"` // 储藏方法 PlanStorage string `json:"plan_storage,omitempty" xml:"plan_storage,omitempty"` // 生产许可证号 PrdLicenseNo string `json:"prd_license_no,omitempty" xml:"prd_license_no,omitempty"` // 生产结束日期 ProductDateEnd string `json:"product_date_end,omitempty" xml:"product_date_end,omitempty"` // 生产开始日期 ProductDateStart string `json:"product_date_start,omitempty" xml:"product_date_start,omitempty"` // 进货结束日期,要在生产日期之后 StockDateEnd string `json:"stock_date_end,omitempty" xml:"stock_date_end,omitempty"` // 进货开始日期,要在生产日期之后 StockDateStart string `json:"stock_date_start,omitempty" xml:"stock_date_start,omitempty"` // 供货商 Supplier string `json:"supplier,omitempty" xml:"supplier,omitempty"` }
FoodSecurity 结构体
type HscodeAuditInfo ¶
type HscodeAuditInfo struct { // hscode信息当前审核状态的具体说明 Reason string `json:"reason,omitempty" xml:"reason,omitempty"` // 商品或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"` // 商品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 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"` // 3:4主图 ItemRectangleImgs []ItemImg `json:"item_rectangle_imgs,omitempty" xml:"item_rectangle_imgs>item_img,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"` // Item的发布时间,目前仅供taobao.item.add和taobao.item.get可用 Created string `json:"created,omitempty" xml:"created,omitempty"` // 商品上传后的状态。onsale出售中,instock库中 ApproveStatus string `json:"approve_status,omitempty" xml:"approve_status,omitempty"` // 代充商品类型。在代充商品的类目下,不传表示不标记商品类型(交易搜索中就不能通过标记搜到相关的交易了)。可选类型: no_mark(不做类型标记) time_card(点卡软件代充) fee_card(话费软件代充) AutoFill string `json:"auto_fill,omitempty" xml:"auto_fill,omitempty"` // 商品级别的条形码 Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"` // 定制工具Id CustomMadeTypeId string `json:"custom_made_type_id,omitempty" xml:"custom_made_type_id,omitempty"` // 下架时间(格式:yyyy-MM-dd HH:mm:ss) DelistTime string `json:"delist_time,omitempty" xml:"delist_time,omitempty"` // 商品描述, 字数要大于5个字符,小于25000个字符 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 商品url DetailUrl string `json:"detail_url,omitempty" xml:"detail_url,omitempty"` // ems费用,格式:5.00;单位:元;精确到:分 EmsFee string `json:"ems_fee,omitempty" xml:"ems_fee,omitempty"` // 快递费用,格式:5.00;单位:元;精确到:分 ExpressFee string `json:"express_fee,omitempty" xml:"express_fee,omitempty"` // 宝贝特征值,只有在Top支持的特征值才能保存到宝贝上 Features string `json:"features,omitempty" xml:"features,omitempty"` // 运费承担方式,seller(卖家承担),buyer(买家承担) FreightPayer string `json:"freight_payer,omitempty" xml:"freight_payer,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"` // 加价幅度。如果为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"` // 用户自行输入的类目属性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"` // 表示商品的体积,用于按体积计费的运费模板。该值的单位为立方米(m3)。该值支持两种格式的设置:格式1:bulk:3,单位为立方米(m3),表示直接设置为商品的体积。格式2:weight:10;breadth:10;height:10,单位为米(m) ItemSize string `json:"item_size,omitempty" xml:"item_size,omitempty"` // 商品的重量,用于按重量计费的运费模板。注意:单位为kg ItemWeight string `json:"item_weight,omitempty" xml:"item_weight,omitempty"` // 上架时间(格式:yyyy-MM-dd HH:mm:ss) ListTime string `json:"list_time,omitempty" xml:"list_time,omitempty"` // 是否为新消保法中的7天无理由退货 Newprepay string `json:"newprepay,omitempty" xml:"newprepay,omitempty"` // 卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 商家外部编码(可与商家外部系统对接)。需要授权才能获取。 OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 商品主图片地址 PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` // 平邮费用,格式:5.00;单位:元;精确到:分 PostFee string `json:"post_fee,omitempty" xml:"post_fee,omitempty"` // 商品价格,格式:5.00;单位:元;精确到:分 Price string `json:"price,omitempty" xml:"price,omitempty"` // 消保类型,多个类型以,分割。可取以下值:2:假一赔三;4:7天无理由退换货;taobao.items.search和taobao.items.vip.search专用 PromotedService string `json:"promoted_service,omitempty" xml:"promoted_service,omitempty"` // 属性值别名,比如颜色的自定义名称 PropertyAlias string `json:"property_alias,omitempty" xml:"property_alias,omitempty"` // 商品属性 格式:pid:vid;pid:vid Props string `json:"props,omitempty" xml:"props,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"` // 秒杀商品类型。打上秒杀标记的商品,用户只能下架并不能再上架,其他任何编辑或删除操作都不能进行。如果用户想取消秒杀标记,需要联系小二进行操作。如果秒杀结束需要自由编辑请联系活动负责人(小二)去掉秒杀标记。可选类型web_only(只能通过web网络秒杀)wap_only(只能通过wap网络秒杀)web_and_wap(既能通过web秒杀也能通过wap秒杀) SecondKill string `json:"second_kill,omitempty" xml:"second_kill,omitempty"` // 商品卖点信息,天猫商家使用字段,最长150个字符。 SellPoint string `json:"sell_point,omitempty" xml:"sell_point,omitempty"` // 商品所属的店铺内卖家自定义类目列表 SellerCids string `json:"seller_cids,omitempty" xml:"seller_cids,omitempty"` // 商品新旧程度(全新:new,闲置:unused,二手:second) StuffStatus string `json:"stuff_status,omitempty" xml:"stuff_status,omitempty"` // 页面模板id TemplateId string `json:"template_id,omitempty" xml:"template_id,omitempty"` // 商品标题,不能超过60字节 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品类型(fixed:一口价;auction:拍卖)注:取消团购 Type string `json:"type,omitempty" xml:"type,omitempty"` // 不带html标签的desc文本信息,该字段只在taobao.item.get接口中返回 WapDesc string `json:"wap_desc,omitempty" xml:"wap_desc,omitempty"` // 适合wap应用的商品详情url ,该字段只在taobao.item.get接口中返回 WapDetailUrl string `json:"wap_detail_url,omitempty" xml:"wap_detail_url,omitempty"` // 无线的宝贝描述 WirelessDesc string `json:"wireless_desc,omitempty" xml:"wireless_desc,omitempty"` // 商品描述模块化,模块列表,由List转化成jsonArray存入,后端逻辑验证通过,拼装成模块内容+锚点导航后存入desc中。数据结构具体参见Item_Desc_Module DescModules string `json:"desc_modules,omitempty" xml:"desc_modules,omitempty"` // 门店大屏图 LargeScreenImageUrl string `json:"large_screen_image_url,omitempty" xml:"large_screen_image_url,omitempty"` // 属性值的备注.格式:pid:vid:备注信息1;pid2:vid2:备注信息2; CpvMemo string `json:"cpv_memo,omitempty" xml:"cpv_memo,omitempty"` // 商品首次上架时间 FirstStartsTime string `json:"first_starts_time,omitempty" xml:"first_starts_time,omitempty"` // 发货时间信息 DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"` // 商品资质的信息,用URLEncoder做过转换,使用时,需要URLDecoder转换回来,默认字符集为:UTF-8 Qualification string `json:"qualification,omitempty" xml:"qualification,omitempty"` // 全球购商品发货地,发货地现在有两种类型:&ldquo;国内&rdquo;和&ldquo;海外及港澳台&rdquo;,参数值为1时代表&ldquo;国内&rdquo;,值为2时代表&ldquo;海外及港澳台&rdquo; GlobalStockDeliveryPlace string `json:"global_stock_delivery_place,omitempty" xml:"global_stock_delivery_place,omitempty"` // 商品数字id NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品数量 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 售后服务ID,该字段仅在taobao.item.get接口中返回 AfterSaleId int64 `json:"after_sale_id,omitempty" xml:"after_sale_id,omitempty"` // 商品的积分返点比例。如:5,表示:返点比例0.5% AuctionPoint int64 `json:"auction_point,omitempty" xml:"auction_point,omitempty"` // 商品所属的叶子类目 id Cid int64 `json:"cid,omitempty" xml:"cid,omitempty"` // 货到付款运费模板ID CodPostageId int64 `json:"cod_postage_id,omitempty" xml:"cod_postage_id,omitempty"` // 宝贝描述规范化模块锚点信息 DescModuleInfo *DescModuleInfo `json:"desc_module_info,omitempty" xml:"desc_module_info,omitempty"` // 食品安全信息,包括:生产许可证编号、产品标准号、厂名、厂址等 FoodSecurity *FoodSecurity `json:"food_security,omitempty" xml:"food_security,omitempty"` // 用户内店宝贝装修模板id InnerShopAuctionTemplateId int64 `json:"inner_shop_auction_template_id,omitempty" xml:"inner_shop_auction_template_id,omitempty"` // 普通商品:0;代销商品:1;经销商品:2;供销产品:3 IsFenxiao int64 `json:"is_fenxiao,omitempty" xml:"is_fenxiao,omitempty"` // 本地生活电子交易凭证业务,目前此字段只涉及到的信息为有效期:如果有效期为起止日期类型,此值为2012-08-06,2012-08-16如果有效期为【购买成功日 至】类型则格式为2012-08-16如果有效期为天数类型则格式为3 LocalityLife *LocalityLife `json:"locality_life,omitempty" xml:"locality_life,omitempty"` // 商品所在地 Location *Location `json:"location,omitempty" xml:"location,omitempty"` // 宝贝主图视频的数据信息,包括:视频ID,视频缩略图URL,视频时长,视频状态等信息。 MpicVideo *MpicVideo `json:"mpic_video,omitempty" xml:"mpic_video,omitempty"` // 用户外店装修模板id OuterShopAuctionTemplateId int64 `json:"outer_shop_auction_template_id,omitempty" xml:"outer_shop_auction_template_id,omitempty"` // 用于保存拍卖有关的信息 PaimaiInfo *PaimaiInfo `json:"paimai_info,omitempty" xml:"paimai_info,omitempty"` // 周期销售库存 PeriodSoldQuantity int64 `json:"period_sold_quantity,omitempty" xml:"period_sold_quantity,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"` // 商品所属卖家的信用等级数,1表示1心,2表示2心……,只有调用商品搜索:taobao.items.get和taobao.items.search的时候才能返回 Score int64 `json:"score,omitempty" xml:"score,omitempty"` // 商品销量 SoldQuantity int64 `json:"sold_quantity,omitempty" xml:"sold_quantity,omitempty"` // 商品是否支持拍下减库存:1支持;2取消支持(付款减库存);0(默认)不更改 集市卖家默认拍下减库存; 商城卖家默认付款减库存 SubStock int64 `json:"sub_stock,omitempty" xml:"sub_stock,omitempty"` // 有效期,7或者14(默认是7天) ValidThru int64 `json:"valid_thru,omitempty" xml:"valid_thru,omitempty"` // 该字段废弃,请勿使用。 VideoId int64 `json:"video_id,omitempty" xml:"video_id,omitempty"` // 对应搜索商品列表页的最近成交量,只有调用商品搜索:taobao.items.get和taobao.items.search的时候才能返回 Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 预扣库存,即付款减库存的商品现在有多少处于未付款状态的订单 WithHoldQuantity int64 `json:"with_hold_quantity,omitempty" xml:"with_hold_quantity,omitempty"` // 村淘特有商品级数据结构 CuntaoItemSpecific *CuntaoItemSpecific `json:"cuntao_item_specific,omitempty" xml:"cuntao_item_specific,omitempty"` // 自动重发,true/false AutoRepost bool `json:"auto_repost,omitempty" xml:"auto_repost,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 HasShowcase bool `json:"has_showcase,omitempty" xml:"has_showcase,omitempty"` // 是否有保修,true/false HasWarranty bool `json:"has_warranty,omitempty" xml:"has_warranty,omitempty"` // 是否是3D淘宝的商品 Is3D bool `json:"is_3D,omitempty" xml:"is_3D,omitempty"` // 是否在外部网店显示 IsEx bool `json:"is_ex,omitempty" xml:"is_ex,omitempty"` // 是否24小时闪电发货 IsLightningConsignment bool `json:"is_lightning_consignment,omitempty" xml:"is_lightning_consignment,omitempty"` // 商品是否为先行赔付taobao.items.search和taobao.items.vip.search专用 IsPrepay bool `json:"is_prepay,omitempty" xml:"is_prepay,omitempty"` // 是否在淘宝显示 IsTaobao bool `json:"is_taobao,omitempty" xml:"is_taobao,omitempty"` // 是否定时上架商品 IsTiming bool `json:"is_timing,omitempty" xml:"is_timing,omitempty"` // 虚拟商品的状态字段 IsVirtual bool `json:"is_virtual,omitempty" xml:"is_virtual,omitempty"` // 标示商品是否为新品。值含义:true-是,false-否。 IsXinpin bool `json:"is_xinpin,omitempty" xml:"is_xinpin,omitempty"` // 是否淘1站商品 OneStation bool `json:"one_station,omitempty" xml:"one_station,omitempty"` // 是否承诺退换货服务! SellPromise bool `json:"sell_promise,omitempty" xml:"sell_promise,omitempty"` // 商品是否违规,违规:true , 不违规:false Violation bool `json:"violation,omitempty" xml:"violation,omitempty"` // 商品所属的商家的旺旺在线状况,taobao.items.search和taobao.items.vip.search专用 WwStatus bool `json:"ww_status,omitempty" xml:"ww_status,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 { // 一个List<String>的Json串,里面是模块引导提示,不超过3条(isv提交时可忽略不传) Intros string `json:"intros,omitempty" xml:"intros,omitempty"` // 淘宝图片空间的地址链接,示例模板,最多不超过三个(isv提交时可忽略不传) TplUrls string `json:"tpl_urls,omitempty" xml:"tpl_urls,omitempty"` // 模块名称 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"` // 模块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 { // 图片创建时间 时间格式:yyyy-MM-dd HH:mm:ss Created string `json:"created,omitempty" xml:"created,omitempty"` // 图片链接地址 Url string `json:"url,omitempty" xml:"url,omitempty"` // 商品图片的id,和商品相对应(主图id默认为0) Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 图片放在第几张(多图时可设置) Position int64 `json:"position,omitempty" xml:"position,omitempty"` }
ItemImg 结构体
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 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 LocalityLife ¶
type LocalityLife struct { // 表示是否使用邮寄 0: 代表不使用邮寄; 1:代表使用邮寄;如果不设置这个值,代表不使用邮寄 ChooseLogis string `json:"choose_logis,omitempty" xml:"choose_logis,omitempty"` // 电子凭证业务属性 Eticket string `json:"eticket,omitempty" xml:"eticket,omitempty"` // 电子交易凭证有效期,有三种格式:如果有效期为起止日期类型,此值为2012-08-06,2012-08-16 如果有效期为【购买成功日 至】类型则格式为2012-08-16如果有效期为天数类型则格式为15 Expirydate string `json:"expirydate,omitempty" xml:"expirydate,omitempty"` // 格式为 码商id:nick Merchant string `json:"merchant,omitempty" xml:"merchant,omitempty"` // 网点ID,在参数empty_fields里设置locality_life.network_id可删除网点ID NetworkId string `json:"network_id,omitempty" xml:"network_id,omitempty"` // 退款码费承担方。发布电子凭证宝贝的时候会增加“退款码费承担方”配置项,可选填:(1)s(卖家承担) (2)b(买家承担) Refundmafee string `json:"refundmafee,omitempty" xml:"refundmafee,omitempty"` // 核销打款:1代表核销打款,0代表非核销打款;在参数empty_fields里设置locality_life.verification可删除核销打款 Verification string `json:"verification,omitempty" xml:"verification,omitempty"` // 电子凭证售中自动退款比例 OnsaleAutoRefundRatio int64 `json:"onsale_auto_refund_ratio,omitempty" xml:"onsale_auto_refund_ratio,omitempty"` // 退款比例,百分比%前的数字,1-100的正整数值;在参数empty_fields里设置locality_life.refund_ratio可删除退款比例 RefundRatio int64 `json:"refund_ratio,omitempty" xml:"refund_ratio,omitempty"` }
LocalityLife 结构体
type Location ¶
type Location struct { // 所在城市(中文名称) City string `json:"city,omitempty" xml:"city,omitempty"` // 所在省份(中文名称) State string `json:"state,omitempty" xml:"state,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 MpicVideo ¶
type MpicVideo struct { // 主图视频的缩略图URL VideoPic string `json:"video_pic,omitempty" xml:"video_pic,omitempty"` // 主图视频记录所关联的商品的数字id NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 主图视频的时长,单位:秒 VideoDuaration int64 `json:"video_duaration,omitempty" xml:"video_duaration,omitempty"` // 主图视频的在淘视频中的ID VideoId int64 `json:"video_id,omitempty" xml:"video_id,omitempty"` // 主图视频的状态 VideoStatus int64 `json:"video_status,omitempty" xml:"video_status,omitempty"` }
MpicVideo 结构体
type PaimaiInfo ¶
type PaimaiInfo struct { // 增价幅度或降价幅度 Increment string `json:"increment,omitempty" xml:"increment,omitempty"` // 降价拍的保留价 Reserve string `json:"reserve,omitempty" xml:"reserve,omitempty"` // 拍品开始时间 Start string `json:"start,omitempty" xml:"start,omitempty"` // 拍品结束时间 End string `json:"end,omitempty" xml:"end,omitempty"` // 用户自定义的固定保证金。如果用户未传则说明用户选择使用淘宝默认的保证金模式10%,此时deposit等于0. Deposit int64 `json:"deposit,omitempty" xml:"deposit,omitempty"` // 降价拍中的降价间隔 Interval int64 `json:"interval,omitempty" xml:"interval,omitempty"` // 拍卖类型,目前包括增加拍,荷兰拍和降价拍。 Mode int64 `json:"mode,omitempty" xml:"mode,omitempty"` // 对于拍卖来说可以设定有效期,这里是有效期的小时数。 ValidHour int64 `json:"valid_hour,omitempty" xml:"valid_hour,omitempty"` // 对于拍卖来说可以设定有效期,这里是有效期的分钟数。 ValidMinute int64 `json:"valid_minute,omitempty" xml:"valid_minute,omitempty"` // 重复上拍总次数,如果不是重复上拍的,则为0 Repeat int64 `json:"repeat,omitempty" xml:"repeat,omitempty"` // 拍品起拍价 StartPrice int64 `json:"start_price,omitempty" xml:"start_price,omitempty"` // 拍品封顶价(分) CeilPrice int64 `json:"ceil_price,omitempty" xml:"ceil_price,omitempty"` // 增加拍延迟周期(分钟) DelayInMinute int64 `json:"delay_in_minute,omitempty" xml:"delay_in_minute,omitempty"` // 拍卖周期(秒钟),非重复上架为(开始时间-结束时间),当为重复上拍时为一次重复上架的时间 Period int64 `json:"period,omitempty" xml:"period,omitempty"` // 降价时间周期(分钟) Frequency int64 `json:"frequency,omitempty" xml:"frequency,omitempty"` }
PaimaiInfo 结构体
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 Sku ¶
type Sku struct { // sku最后修改日期 时间格式:yyyy-MM-dd HH:mm:ss Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 商品级别的条形码 Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"` // sku创建日期 时间格式:yyyy-MM-dd HH:mm:ss Created string `json:"created,omitempty" xml:"created,omitempty"` // 商家设置的外部id。天猫和集市的卖家,需要登录才能获取到自己的商家编码,不能获取到他人的商家编码。 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"` // sku的销售属性组合字符串(颜色,大小,等等,可通过类目API获取某类目下的销售属性),格式是p1:v1;p2:v2 Properties string `json:"properties,omitempty" xml:"properties,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所属商品id(注意:iid近期即将废弃,请用num_iid参数) Iid string `json:"iid,omitempty" xml:"iid,omitempty"` // sku状态。 normal:正常 ;delete:删除 Status string `json:"status,omitempty" xml:"status,omitempty"` // sku的id SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 属于这个sku的商品的数量, Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // sku所属商品数字id NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,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"` // skuFeature SkuFeature *SkuFeature `json:"sku_feature,omitempty" xml:"sku_feature,omitempty"` }
Sku 结构体
type SkuFeature ¶
type SkuFeature struct { // colorHotNew ColorHotNew string `json:"color_hot_new,omitempty" xml:"color_hot_new,omitempty"` // colorMaterialImg ColorMaterialImg string `json:"color_material_img,omitempty" xml:"color_material_img,omitempty"` // colorValue ColorValue string `json:"color_value,omitempty" xml:"color_value,omitempty"` // colorMaterial ColorMaterial string `json:"color_material,omitempty" xml:"color_material,omitempty"` // colorSeries ColorSeries string `json:"color_series,omitempty" xml:"color_series,omitempty"` }
SkuFeature 结构体
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemAnchorGetAPIRequest) GetCatId ¶
func (r TaobaoItemAnchorGetAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (TaobaoItemAnchorGetAPIRequest) GetRawParams ¶
func (r TaobaoItemAnchorGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemBarcodeUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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 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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemDeleteAPIRequest) GetNumIid ¶
func (r TaobaoItemDeleteAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoItemDeleteAPIRequest) GetRawParams ¶
func (r TaobaoItemDeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemImgDeleteAPIRequest) GetId ¶ added in v1.2.9
func (r TaobaoItemImgDeleteAPIRequest) GetId() int64
GetId Id Getter
func (TaobaoItemImgDeleteAPIRequest) GetIsSixthPic ¶ added in v1.2.9
func (r TaobaoItemImgDeleteAPIRequest) GetIsSixthPic() bool
GetIsSixthPic IsSixthPic Getter
func (TaobaoItemImgDeleteAPIRequest) GetNumIid ¶ added in v1.2.9
func (r TaobaoItemImgDeleteAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoItemImgDeleteAPIRequest) GetRawParams ¶
func (r TaobaoItemImgDeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoItemImgDeleteAPIRequest) SetId ¶ added in v1.2.9
func (r *TaobaoItemImgDeleteAPIRequest) SetId(_id int64) error
SetId is Id Setter 商品图片ID;如果是竖图,请将id的值设置为1
func (*TaobaoItemImgDeleteAPIRequest) SetIsSixthPic ¶ added in v1.2.9
func (r *TaobaoItemImgDeleteAPIRequest) SetIsSixthPic(_isSixthPic bool) error
SetIsSixthPic is IsSixthPic Setter 标记是否要删除第6张图,因为第6张图与普通商品图片不是存储在同一个位置的无图片ID,所以要通过一个标记来判断是否为第6张图,目前第6张图业务主要用在女装业务下
func (*TaobaoItemImgDeleteAPIRequest) SetNumIid ¶ added in v1.2.9
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(params 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) GetRawParams ¶
func (r TaobaoItemImgUploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemJointImgAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemJointPropimgAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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 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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemPromotionRuleGetAPIRequest) GetItemId ¶
func (r TaobaoItemPromotionRuleGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoItemPromotionRuleGetAPIRequest) GetRawParams ¶
func (r TaobaoItemPromotionRuleGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemPropimgDeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemPropimgUploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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 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(params 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) GetRawParams ¶
func (r TaobaoItemQuantityUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemSellerGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemSkuAddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemSkuDeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemSkuGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemSkuPriceUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemSkuUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemSkusGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemTemplatesGetAPIRequest) GetRawParams ¶
func (r TaobaoItemTemplatesGetAPIRequest) GetRawParams() model.Params
GetRawParams 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 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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemUpdateDelistingAPIRequest) GetNumIid ¶
func (r TaobaoItemUpdateDelistingAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoItemUpdateDelistingAPIRequest) GetRawParams ¶
func (r TaobaoItemUpdateDelistingAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoItemUpdateDelistingTmallAPIRequest) GetNumIid ¶
func (r TaobaoItemUpdateDelistingTmallAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoItemUpdateDelistingTmallAPIRequest) GetRawParams ¶
func (r TaobaoItemUpdateDelistingTmallAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemUpdateListingAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemUpdateListingTmallAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemsCustomGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemsInventoryGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemsOnsaleGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoItemsSellerListGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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 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(params 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) GetRawParams ¶
func (r TaobaoSkusCustomGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TaobaoSkusQuantityUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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 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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemAddSimpleschemaGetAPIRequest) GetRawParams ¶
func (r TmallItemAddSimpleschemaGetAPIRequest) GetRawParams() model.Params
GetRawParams 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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemCalculateHscodeGetAPIRequest) GetItemId ¶
func (r TmallItemCalculateHscodeGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TmallItemCalculateHscodeGetAPIRequest) GetRawParams ¶
func (r TmallItemCalculateHscodeGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemCombineGetAPIRequest) GetItemId ¶
func (r TmallItemCombineGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TmallItemCombineGetAPIRequest) GetRawParams ¶
func (r TmallItemCombineGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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 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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemDescModulesGetAPIRequest) GetCatId ¶
func (r TmallItemDescModulesGetAPIRequest) GetCatId() int64
GetCatId CatId Getter
func (TmallItemDescModulesGetAPIRequest) GetRawParams ¶
func (r TmallItemDescModulesGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemHscodeAuditResultsQueryAPIRequest) GetItemId ¶
func (r TmallItemHscodeAuditResultsQueryAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TmallItemHscodeAuditResultsQueryAPIRequest) GetRawParams ¶
func (r TmallItemHscodeAuditResultsQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemHscodeDetailGetAPIRequest) GetHscode ¶
func (r TmallItemHscodeDetailGetAPIRequest) GetHscode() string
GetHscode Hscode Getter
func (TmallItemHscodeDetailGetAPIRequest) GetRawParams ¶
func (r TmallItemHscodeDetailGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemIncrementUpdateSchemaGetAPIRequest) GetItemId ¶
func (r TmallItemIncrementUpdateSchemaGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TmallItemIncrementUpdateSchemaGetAPIRequest) GetRawParams ¶
func (r TmallItemIncrementUpdateSchemaGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TmallItemOuteridUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TmallItemPriceUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TmallItemQuantityUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TmallItemSchemaAddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemSchemaIncrementUpdateAPIRequest) GetItemId ¶
func (r TmallItemSchemaIncrementUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TmallItemSchemaIncrementUpdateAPIRequest) GetRawParams ¶
func (r TmallItemSchemaIncrementUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TmallItemSchemaUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TmallItemShiptimeUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemSimpleschemaAddAPIRequest) GetRawParams ¶
func (r TmallItemSimpleschemaAddAPIRequest) GetRawParams() model.Params
GetRawParams 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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallItemSimpleschemaUpdateAPIRequest) GetItemId ¶
func (r TmallItemSimpleschemaUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TmallItemSimpleschemaUpdateAPIRequest) GetRawParams ¶
func (r TmallItemSimpleschemaUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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"` // 编辑商品的itemid UpdateItemResult string `json:"update_item_result,omitempty" xml:"update_item_result,omitempty"` // 编辑商品操作成功时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // sku与outerId映射信息 SkuMapJson string `json:"sku_map_json,omitempty" xml:"sku_map_json,omitempty"` }
TmallItemSimpleschemaUpdateAPIResponseModel is 天猫简化编辑商品 成功返回结果
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(params 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) GetRawParams ¶
func (r TmallItemUpdateSchemaGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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 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(params 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) GetRawParams ¶
func (r TmallProductAddSchemaGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductMatchSchemaGetAPIRequest) GetCategoryId ¶
func (r TmallProductMatchSchemaGetAPIRequest) GetCategoryId() int64
GetCategoryId CategoryId Getter
func (TmallProductMatchSchemaGetAPIRequest) GetRawParams ¶
func (r TmallProductMatchSchemaGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TmallProductSchemaAddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductSchemaGetAPIRequest) GetProductId ¶
func (r TmallProductSchemaGetAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TmallProductSchemaGetAPIRequest) GetRawParams ¶
func (r TmallProductSchemaGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params 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) GetRawParams ¶
func (r TmallProductSchemaMatchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductSchemaUpdateAPIRequest) GetProductId ¶
func (r TmallProductSchemaUpdateAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TmallProductSchemaUpdateAPIRequest) GetRawParams ¶
func (r TmallProductSchemaUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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 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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallProductUpdateSchemaGetAPIRequest) GetProductId ¶
func (r TmallProductUpdateSchemaGetAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TmallProductUpdateSchemaGetAPIRequest) GetRawParams ¶
func (r TmallProductUpdateSchemaGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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的商家外部id 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"` // 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 Video ¶
type Video struct { // 视频关联记录创建时间(格式: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"` // video的url连接地址。淘秀里视频记录里面存储的url地址 Url string `json:"url,omitempty" xml:"url,omitempty"` // 视频关联记录的id,和商品相对应 Id int64 `json:"id,omitempty" xml:"id,omitempty"` // video的id,对应于视频在淘秀的存储记录 VideoId int64 `json:"video_id,omitempty" xml:"video_id,omitempty"` }
Video 结构体
Source Files ¶
- 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
- CuntaoItemSpecific.go
- DescModuleInfo.go
- FoodSecurity.go
- HscodeAuditInfo.go
- IdsModule.go
- Item.go
- ItemDescModule.go
- ItemImg.go
- ItemPromotionRule.go
- ItemTemplate.go
- LocalityLife.go
- Location.go
- ModularDescInfo.go
- MpicVideo.go
- PaimaiInfo.go
- PropImg.go
- Sku.go
- SkuFeature.go
- TaobaoItemAnchorGetAPIRequest.go
- TaobaoItemAnchorGetAPIResponse.go
- TaobaoItemBarcodeUpdateAPIRequest.go
- TaobaoItemBarcodeUpdateAPIResponse.go
- TaobaoItemDeleteAPIRequest.go
- TaobaoItemDeleteAPIResponse.go
- TaobaoItemImgDeleteAPIRequest.go
- TaobaoItemImgDeleteAPIResponse.go
- TaobaoItemImgUploadAPIRequest.go
- TaobaoItemImgUploadAPIResponse.go
- TaobaoItemJointImgAPIRequest.go
- TaobaoItemJointImgAPIResponse.go
- TaobaoItemJointPropimgAPIRequest.go
- TaobaoItemJointPropimgAPIResponse.go
- TaobaoItemPromotionRuleGetAPIRequest.go
- TaobaoItemPromotionRuleGetAPIResponse.go
- TaobaoItemPropimgDeleteAPIRequest.go
- TaobaoItemPropimgDeleteAPIResponse.go
- TaobaoItemPropimgUploadAPIRequest.go
- TaobaoItemPropimgUploadAPIResponse.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
- 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
- TaobaoSkusCustomGetAPIRequest.go
- TaobaoSkusCustomGetAPIResponse.go
- TaobaoSkusQuantityUpdateAPIRequest.go
- TaobaoSkusQuantityUpdateAPIResponse.go
- TmallItemAddSimpleschemaGetAPIRequest.go
- TmallItemAddSimpleschemaGetAPIResponse.go
- TmallItemCalculateHscodeGetAPIRequest.go
- TmallItemCalculateHscodeGetAPIResponse.go
- TmallItemCombineGetAPIRequest.go
- TmallItemCombineGetAPIResponse.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
- TmallItemUpdateSchemaGetAPIRequest.go
- TmallItemUpdateSchemaGetAPIResponse.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
- TmallProductUpdateSchemaGetAPIRequest.go
- TmallProductUpdateSchemaGetAPIResponse.go
- UpdateItemPriceOption.go
- UpdateItemQuantityOption.go
- UpdateItemShipTimeOption.go
- UpdateSkuOuterId.go
- UpdateSkuPrice.go
- UpdateSkuQuantity.go
- UpdateSkuShipTime.go
- Video.go
- doc.go