C# Class Netshoes.Api.V1.SkusApi

Represents a collection of functions to interact with the API endpoints
Inheritance: ISkusApi
Afficher le fichier Open project: netshoes/marketplace-api-sdk-csharp

Méthodes publiques

Méthode Description
GetBasePath ( String basePath ) : String

Gets the base path of the API client.

GetProductSku ( string ProductId, string Sku, string Expand ) : SkuResource

Get the a sku by product Id and sku Id.

GetProductSkuAsync ( string ProductId, string Sku, string Expand ) : Task

Get the a sku by product Id and sku Id.

GetStatus ( string Sku, string BuId ) : BusinessUnitResponse

Get product status.

GetStatusAsync ( string Sku, string BuId ) : Task

Get product status.

GetStock ( string Sku ) : StockResponse

Get stock info by sku.

GetStockAsync ( string Sku ) : Task

Get stock info by sku.

ListPrices ( string Sku ) : PriceResource

Get a base price.

ListPricesAsync ( string Sku ) : Task

Get a base price.

ListProductSkus ( string ProductId, int Page, int Size, string Expand ) : SkuListResource

Get the list of product skus.

ListProductSkusAsync ( string ProductId, int Page, int Size, string Expand ) : Task

Get the list of product skus.

ListSchedules ( string Sku ) : PriceList

Get a list of price schedules.

ListSchedulesAsync ( string Sku ) : Task

Get a list of price schedules.

ListSkuImages ( string ProductId, string Sku ) : ImageListResource

Get the list of sku images.

ListSkuImagesAsync ( string ProductId, string Sku ) : Task

Get the list of sku images.

SaveProductSku ( string ProductId, SkuResource Body ) : SkuResource

Create a new sku for a product.

SaveProductSkuAsync ( string ProductId, SkuResource Body ) : Task

Create a new sku for a product.

SaveSchedule ( string Sku, PriceScheduleResource Body ) : PriceScheduleResource

Save a price schedule.

SaveScheduleAsync ( string Sku, PriceScheduleResource Body ) : Task

Save a price schedule.

SetBasePath ( String basePath ) : void

Sets the base path of the API client.

SkusApi ( ApiClient apiClient = null ) : System

Initializes a new instance of the SkusApi class.

SkusApi ( String basePath ) : System

Initializes a new instance of the SkusApi class.

UpdatePrice ( string Sku, PriceResource Body ) : PriceResource

Save a base price.

UpdatePriceAsync ( string Sku, PriceResource Body ) : Task

Save a base price.

UpdateProductSku ( string ProductId, string Sku, SkuResource Body ) : SkuResource

Update a product based on SKU.

UpdateProductSkuAsync ( string ProductId, string Sku, SkuResource Body ) : Task

Update a product based on SKU.

UpdateStatus ( string Sku, string BuId, BusinessUnitResource Body ) : BusinessUnitResource

Enable or disable sku for sale.

UpdateStatusAsync ( string Sku, string BuId, BusinessUnitResource Body ) : Task

Enable or disable sku for sale.

UpdateStock ( string Sku, StockResource Body ) : StockResponse

Update stock quantity by sku.

UpdateStockAsync ( string Sku, StockResource Body ) : Task

Update stock quantity by sku.

Method Details

GetBasePath() public méthode

Gets the base path of the API client.
public GetBasePath ( String basePath ) : String
basePath String
Résultat String

GetProductSku() public méthode

Get the a sku by product Id and sku Id.
public GetProductSku ( string ProductId, string Sku, string Expand ) : SkuResource
ProductId string
Sku string
Expand string
Résultat Netshoes.Api.V1.Model.SkuResource

GetProductSkuAsync() public méthode

Get the a sku by product Id and sku Id.
public GetProductSkuAsync ( string ProductId, string Sku, string Expand ) : Task
ProductId string
Sku string
Expand string
Résultat Task

GetStatus() public méthode

Get product status.
public GetStatus ( string Sku, string BuId ) : BusinessUnitResponse
Sku string
BuId string
Résultat Netshoes.Api.V1.Model.BusinessUnitResponse

GetStatusAsync() public méthode

Get product status.
public GetStatusAsync ( string Sku, string BuId ) : Task
Sku string
BuId string
Résultat Task

GetStock() public méthode

Get stock info by sku.
public GetStock ( string Sku ) : StockResponse
Sku string
Résultat StockResponse

GetStockAsync() public méthode

Get stock info by sku.
public GetStockAsync ( string Sku ) : Task
Sku string
Résultat Task

ListPrices() public méthode

Get a base price.
public ListPrices ( string Sku ) : PriceResource
Sku string
Résultat Netshoes.Api.V1.Model.PriceResource

ListPricesAsync() public méthode

Get a base price.
public ListPricesAsync ( string Sku ) : Task
Sku string
Résultat Task

ListProductSkus() public méthode

Get the list of product skus.
public ListProductSkus ( string ProductId, int Page, int Size, string Expand ) : SkuListResource
ProductId string
Page int
Size int
Expand string
Résultat Netshoes.Api.V1.Model.SkuListResource

ListProductSkusAsync() public méthode

Get the list of product skus.
public ListProductSkusAsync ( string ProductId, int Page, int Size, string Expand ) : Task
ProductId string
Page int
Size int
Expand string
Résultat Task

ListSchedules() public méthode

Get a list of price schedules.
public ListSchedules ( string Sku ) : PriceList
Sku string
Résultat PriceList

ListSchedulesAsync() public méthode

Get a list of price schedules.
public ListSchedulesAsync ( string Sku ) : Task
Sku string
Résultat Task

ListSkuImages() public méthode

Get the list of sku images.
public ListSkuImages ( string ProductId, string Sku ) : ImageListResource
ProductId string
Sku string
Résultat ImageListResource

ListSkuImagesAsync() public méthode

Get the list of sku images.
public ListSkuImagesAsync ( string ProductId, string Sku ) : Task
ProductId string
Sku string
Résultat Task

SaveProductSku() public méthode

Create a new sku for a product.
public SaveProductSku ( string ProductId, SkuResource Body ) : SkuResource
ProductId string
Body SkuResource
Résultat SkuResource

SaveProductSkuAsync() public méthode

Create a new sku for a product.
public SaveProductSkuAsync ( string ProductId, SkuResource Body ) : Task
ProductId string
Body SkuResource
Résultat Task

SaveSchedule() public méthode

Save a price schedule.
public SaveSchedule ( string Sku, PriceScheduleResource Body ) : PriceScheduleResource
Sku string
Body PriceScheduleResource
Résultat PriceScheduleResource

SaveScheduleAsync() public méthode

Save a price schedule.
public SaveScheduleAsync ( string Sku, PriceScheduleResource Body ) : Task
Sku string
Body PriceScheduleResource
Résultat Task

SetBasePath() public méthode

Sets the base path of the API client.
public SetBasePath ( String basePath ) : void
basePath String
Résultat void

SkusApi() public méthode

Initializes a new instance of the SkusApi class.
public SkusApi ( ApiClient apiClient = null ) : System
apiClient ApiClient
Résultat System

SkusApi() public méthode

Initializes a new instance of the SkusApi class.
public SkusApi ( String basePath ) : System
basePath String
Résultat System

UpdatePrice() public méthode

Save a base price.
public UpdatePrice ( string Sku, PriceResource Body ) : PriceResource
Sku string
Body PriceResource
Résultat PriceResource

UpdatePriceAsync() public méthode

Save a base price.
public UpdatePriceAsync ( string Sku, PriceResource Body ) : Task
Sku string
Body PriceResource
Résultat Task

UpdateProductSku() public méthode

Update a product based on SKU.
public UpdateProductSku ( string ProductId, string Sku, SkuResource Body ) : SkuResource
ProductId string
Sku string
Body SkuResource
Résultat SkuResource

UpdateProductSkuAsync() public méthode

Update a product based on SKU.
public UpdateProductSkuAsync ( string ProductId, string Sku, SkuResource Body ) : Task
ProductId string
Sku string
Body SkuResource
Résultat Task

UpdateStatus() public méthode

Enable or disable sku for sale.
public UpdateStatus ( string Sku, string BuId, BusinessUnitResource Body ) : BusinessUnitResource
Sku string
BuId string
Body BusinessUnitResource
Résultat BusinessUnitResource

UpdateStatusAsync() public méthode

Enable or disable sku for sale.
public UpdateStatusAsync ( string Sku, string BuId, BusinessUnitResource Body ) : Task
Sku string
BuId string
Body BusinessUnitResource
Résultat Task

UpdateStock() public méthode

Update stock quantity by sku.
public UpdateStock ( string Sku, StockResource Body ) : StockResponse
Sku string
Body StockResource
Résultat StockResponse

UpdateStockAsync() public méthode

Update stock quantity by sku.
public UpdateStockAsync ( string Sku, StockResource Body ) : Task
Sku string
Body StockResource
Résultat Task