Class

module:class/ProductSellingService

module:class/ProductSellingService(appKey, appSecret)

Constructor

# new module:class/ProductSellingService(appKey, appSecret)

Parameters:
Name Type Description
appKey String

n11 appkey

appSecret String

n11 appSecret

View Source src/services/productSellingService.js, line 14

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

View Source src/services/productSellingService.js, line 50

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

View Source src/services/productSellingService.js, line 66

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

View Source src/services/productSellingService.js, line 19

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

View Source src/services/productSellingService.js, line 35

Promise.<object>