Constructor
# new module:class/ProductSellingService(appKey, appSecret)
Parameters:
Name | Type | Description |
---|---|---|
appKey |
String | n11 appkey |
appSecret |
String | n11 appSecret |
Methods
# async StartSellingProductByProductId(productId) → {Promise.<object>}
Satışta olmayan bir ürünün N11 ürün ID si kullanılarak satışa başlanması için kullanılır.
Parameters:
Name | Type | Description |
---|---|---|
productId |
number |
Promise.<object>
# async StartSellingProductBySellerCode(productSellerCode) → {Promise.<object>}
Satışta olmayan bir ürünün mağaza ürün kodu kullanılarak satışa başlanması için kullanılır.
Parameters:
Name | Type | Description |
---|---|---|
productSellerCode |
string |
Promise.<object>
# async StopSellingProductByProductId(productId) → {Promise.<object>}
Satışta olan ürünün n11 ürün ID si kullanılarak satışa kapatılması için kullanılır.
Parameters:
Name | Type | Description |
---|---|---|
productId |
number |
Promise.<object>
# async StopSellingProductBySellerCode(productSellerCode) → {Promise.<object>}
Satışta olan ürünün mağaza ürün kodu kullanılarak satışının durdurulması için kullanılır.
Parameters:
Name | Type | Description |
---|---|---|
productSellerCode |
string |
Promise.<object>