Class: Aliexpress::Product

Inherits:
Base
  • Object
show all
Defined in:
lib/aliexpress/product.rb

Constant Summary

Constants inherited from Base

Base::ACCESS_TOKEN_KEY, Base::REFRESH_TOKEN_KEY

Class Method Summary collapse

Methods inherited from Base

api_endpoint

Class Method Details

.claimTaobaoProducts4API(params = {}) ⇒ Object


146
147
148
# File 'lib/aliexpress/product.rb', line 146

def self.claimTaobaoProducts4API(params = {})
  api_endpoint 'api.claimTaobaoProducts4API', params
end

.createProductGroup(params = {}) ⇒ Object


69
70
71
# File 'lib/aliexpress/product.rb', line 69

def self.createProductGroup(params = {})
  api_endpoint 'api.createProductGroup', params
end

.editAeProduct(params = {}) ⇒ Object


202
203
204
# File 'lib/aliexpress/product.rb', line 202

def self.editAeProduct(params = {})
  api_endpoint 'api.editAeProduct', params
end

.editMultilanguageProduct(params = {}) ⇒ Object

原发编辑商品多语言标题或详描描述(英文版本除外) 地址:gw.api.alibaba.com/dev/doc/intl/api.htm?ns=aliexpress.open&n=api.editMultilanguageProduct&v=1


54
55
56
# File 'lib/aliexpress/product.rb', line 54

def self.editMultilanguageProduct(params = {})
  api_endpoint 'api.editMultilanguageProduct', params
end

.editMutilpleSkuStocks(params = {}) ⇒ Object


32
33
34
# File 'lib/aliexpress/product.rb', line 32

def self.editMutilpleSkuStocks(params = {})
  api_endpoint 'api.editMutilpleSkuStocks', params
end

.editProductCategoryAttributes(params = {}) ⇒ Object

编辑商品的类目属性,用给定的类目属性覆盖原有的类目属性 地址: gw.api.alibaba.com/dev/doc/intl/api.htm?ns=aliexpress.open&n=api.editProductCategoryAttributes&v=1


97
98
99
# File 'lib/aliexpress/product.rb', line 97

def self.editProductCategoryAttributes(params = {})
  api_endpoint 'api.editProductCategoryAttributes', params
end

.editProductCidAttIdSku(params = {}) ⇒ Object


125
126
127
# File 'lib/aliexpress/product.rb', line 125

def self.editProductCidAttIdSku(params = {})
  api_endpoint 'api.editProductCidAttIdSku', params
end

.editSimpleProductFiled(params = {}) ⇒ Object


132
133
134
# File 'lib/aliexpress/product.rb', line 132

def self.editSimpleProductFiled(params = {})
  api_endpoint 'api.editSimpleProductFiled', params
end

.editSingleSkuPrice(params = {}) ⇒ Object


46
47
48
# File 'lib/aliexpress/product.rb', line 46

def self.editSingleSkuPrice(params = {})
  api_endpoint 'api.editSingleSkuPrice', params
end

.editSingleSkuStock(params = {}) ⇒ Object


39
40
41
# File 'lib/aliexpress/product.rb', line 39

def self.editSingleSkuStock(params = {})
  api_endpoint 'api.editSingleSkuStock', params
end

.findAeProductById(params = {}) ⇒ Object


209
210
211
# File 'lib/aliexpress/product.rb', line 209

def self.findAeProductById(params = {})
  api_endpoint 'api.findAeProductById', params
end

.findAeProductDetailModuleListByQurey(params = {}) ⇒ Object


174
175
176
# File 'lib/aliexpress/product.rb', line 174

def self.findAeProductDetailModuleListByQurey(params = {})
  api_endpoint 'api.findAeProductDetailModuleListByQurey', params
end

.findAeProductModuleById(params = {}) ⇒ Object


181
182
183
# File 'lib/aliexpress/product.rb', line 181

def self.findAeProductModuleById(params = {})
  api_endpoint 'api.findAeProductModuleById', params
end

.findAeProductProhibitedWords(params = {}) ⇒ Object

调用发布商品接口api.postaeproduct前,针对商品标题等信息做违禁词相关信息查询接口 地址:gw.api.alibaba.com/dev/doc/intl/api.htm?ns=aliexpress.open&n=api.findAeProductProhibitedWords&v=1


24
25
26
# File 'lib/aliexpress/product.rb', line 24

def self.findAeProductProhibitedWords(params = {})
  api_endpoint 'api.findAeProductProhibitedWords', params
end

.findAeProductStatusById(params = {}) ⇒ Object

查询商品状态, 地址:gw.api.alibaba.com/dev/doc/intl/api.htm?ns=aliexpress.open&n=api.findAeProductStatusById&v=1

@note: 商品供三种状态。审核通过:approved;审核中:auditing; 审核不通过:refuse


16
17
18
# File 'lib/aliexpress/product.rb', line 16

def self.findAeProductStatusById(params = {})
  api_endpoint 'api.findAeProductStatusById', params
end

.findProductInfoListQuery(params = {}) ⇒ Object


216
217
218
# File 'lib/aliexpress/product.rb', line 216

def self.findProductInfoListQuery(params = {})
  api_endpoint 'api.findProductInfoListQuery', params
end

.getAtributeMissingProductList(params = {}) ⇒ Object


139
140
141
# File 'lib/aliexpress/product.rb', line 139

def self.getAtributeMissingProductList(params = {})
  api_endpoint 'api.getAtributeMissingProductList', params
end

.getProductGroupList(params = {}) ⇒ Object


118
119
120
# File 'lib/aliexpress/product.rb', line 118

def self.getProductGroupList(params = {})
  api_endpoint 'api.getProductGroupList', params
end

.getRemainingWindows(params = {}) ⇒ Object

可查询获取该卖家目前实际可用橱窗数量 地址:gw.api.alibaba.com/dev/doc/intl/api.htm?ns=aliexpress.open&n=api.getRemainingWindows&v=1


62
63
64
# File 'lib/aliexpress/product.rb', line 62

def self.getRemainingWindows(params = {})
  api_endpoint 'api.getRemainingWindows', params
end

.getSizeChartInfoByCategoryId(id = 0) ⇒ Object

查询当前用户在指定类目下可用的尺码模版信息。 地址:gw.api.alibaba.com/dev/doc/intl/api.htm?ns=aliexpress.open&n=api.getSizeChartInfoByCategoryId&v=1


76
77
78
# File 'lib/aliexpress/product.rb', line 76

def self.getSizeChartInfoByCategoryId(id = 0)
  api_endpoint 'api.getSizeChartInfoByCategoryId', { categoryId: id }
end

.getWindowProducts(params = {}) ⇒ Object

获取某个卖家橱窗商品目前使用情况详情 地址:gw.api.alibaba.com/dev/doc/intl/api.htm?ns=aliexpress.open&n=api.getWindowProducts&v=1


90
91
92
# File 'lib/aliexpress/product.rb', line 90

def self.getWindowProducts(params = {})
  api_endpoint 'api.getWindowProducts', params
end

.listTbProductByIds(params = {}) ⇒ Object


167
168
169
# File 'lib/aliexpress/product.rb', line 167

def self.listTbProductByIds(params = {})
  api_endpoint 'api.listTbProductByIds', params
end

.offlineAeProduct(params = {}) ⇒ Object


195
196
197
# File 'lib/aliexpress/product.rb', line 195

def self.offlineAeProduct(params = {})
  api_endpoint 'api.offlineAeProduct', params
end

.onlineAeProduct(params = {}) ⇒ Object


188
189
190
# File 'lib/aliexpress/product.rb', line 188

def self.onlineAeProduct(params = {})
  api_endpoint 'api.onlineAeProduct', params
end

.postAeProduct(params = {}) ⇒ Object


223
224
225
# File 'lib/aliexpress/product.rb', line 223

def self.postAeProduct(params = {})
  api_endpoint 'api.postAeProduct', params
end

.postMultilanguageAeProduct(params = {}) ⇒ Object

卖家可以通过这个接口发布一个多语言商品。一次只能发布一种多语言商品 地址: gw.api.alibaba.com/dev/doc/intl/api.htm?ns=aliexpress.open&n=alibaba.product.postMultilanguageAeProduct&v=1


8
9
10
# File 'lib/aliexpress/product.rb', line 8

def self.postMultilanguageAeProduct(params = {})
  api_endpoint 'alibaba.product.postMultilanguageAeProduct', params
end

.queryProductGroupIdByProductId(params = {}) ⇒ Object


111
112
113
# File 'lib/aliexpress/product.rb', line 111

def self.queryProductGroupIdByProductId(params = {})
  api_endpoint 'api.queryProductGroupIdByProductId', params
end

.queryPromiseTemplateById(params = {}) ⇒ Object


160
161
162
# File 'lib/aliexpress/product.rb', line 160

def self.queryPromiseTemplateById(params = {})
  api_endpoint 'api.queryPromiseTemplateById', params
end

.setGroups(params = {}) ⇒ Object

设置单个产品的产品分组信息,最多设置三个分组 地址:gw.api.alibaba.com/dev/doc/intl/api.htm?ns=aliexpress.open&n=api.setGroups&v=1


104
105
106
# File 'lib/aliexpress/product.rb', line 104

def self.setGroups(params = {})
  api_endpoint 'api.setGroups', params
end

.setShopwindowProduct(params = {}) ⇒ Object


153
154
155
# File 'lib/aliexpress/product.rb', line 153

def self.setShopwindowProduct(params = {})
  api_endpoint 'api.setShopwindowProduct', params
end

.setSizeChart(params = {}) ⇒ Object


83
84
85
# File 'lib/aliexpress/product.rb', line 83

def self.setSizeChart(params = {})
  api_endpoint 'api.setSizeChart', params
end