Skip to main content

InventoryService

A list of all methods in the InventoryService service. Click on the method name to view detailed information about that method.

MethodsDescription
InventoryUpdateStockLevelAsyncUpdate stock level for a specific SKU. Request model: - Sku*: Unique SKU of the product. E.g: "123XYZ" - Quantity*: The latest stock quantity of the product. E.g: 10 - Locale: Culture code. A corresponding product feed should be configured. E.g: "sv-se" - ExternalId: External identifier. E.g: "SE-123XYZ" * required
InventoryUpdateStockLevelsAsyncBatch update of stock levels for multiple SKU's. Request model: - Sku*: Unique SKU of the product. E.g: "123XYZ" - Quantity*: The latest stock quantity of the product. E.g: 10 - Locale: Culture code. A corresponding product feed should be configured. E.g: "sv-se" - ExternalId: External identifier. E.g: "SE-123XYZ" * required
BackInStockSubscriptionSubscribeAsyncCreate a back in stock subscription for a specific SKU. Request model: - ContactId*: Contact id of the subscriber. E.g: "FF9FD9AF-6778-4714-B0FE-F6E6612840C8" - Sku*: Unique SKU of the product. E.g: "123XYZ" - Locale*: Culture code. A corresponding product feed should be configured. E.g: "sv-se" - ExternalId: External identifier. E.g: "SE-123XYZ" * required
BackInStockSubscriptionUnsubscribeAsyncDelete a specific back in stock subscription.

InventoryUpdateStockLevelAsync

Update stock level for a specific SKU. Request model: - Sku*: Unique SKU of the product. E.g: "123XYZ" - Quantity*: The latest stock quantity of the product. E.g: 10 - Locale: Culture code. A corresponding product feed should be configured. E.g: "sv-se" - ExternalId: External identifier. E.g: "SE-123XYZ" * required

  • HTTP Method: PUT
  • Endpoint: /api/v2/inventory/stock-levels

Parameters

NameTypeRequiredDescription
inputStockLevelRequestThe request body.

Return Type

object

Example Usage Code Snippet

using VoyadoEngage;
using VoyadoEngage.Models;

var client = new VoyadoEngageClient();

var input = new StockLevelRequest();

var response = await client.Inventory.InventoryUpdateStockLevelAsync(input);

Console.WriteLine(response);

InventoryUpdateStockLevelsAsync

Batch update of stock levels for multiple SKU's. Request model: - Sku*: Unique SKU of the product. E.g: "123XYZ" - Quantity*: The latest stock quantity of the product. E.g: 10 - Locale: Culture code. A corresponding product feed should be configured. E.g: "sv-se" - ExternalId: External identifier. E.g: "SE-123XYZ" * required

  • HTTP Method: PUT
  • Endpoint: /api/v2/inventory/stock-levels/batch

Parameters

NameTypeRequiredDescription
inputList<StockLevelRequest>The request body.

Return Type

object

Example Usage Code Snippet

using VoyadoEngage;
using VoyadoEngage.Models;

var client = new VoyadoEngageClient();

var inputItem = new StockLevelRequest();
var input = new List<StockLevelRequest>() { inputItem };

var response = await client.Inventory.InventoryUpdateStockLevelsAsync(input);

Console.WriteLine(response);

BackInStockSubscriptionSubscribeAsync

Create a back in stock subscription for a specific SKU. Request model: - ContactId*: Contact id of the subscriber. E.g: "FF9FD9AF-6778-4714-B0FE-F6E6612840C8" - Sku*: Unique SKU of the product. E.g: "123XYZ" - Locale*: Culture code. A corresponding product feed should be configured. E.g: "sv-se" - ExternalId: External identifier. E.g: "SE-123XYZ" * required

  • HTTP Method: POST
  • Endpoint: /api/v2/inventory/backinstock/subscriptions

Parameters

NameTypeRequiredDescription
inputSubscriptionRequestThe request body.

Return Type

object

Example Usage Code Snippet

using VoyadoEngage;
using VoyadoEngage.Models;

var client = new VoyadoEngageClient();

var input = new SubscriptionRequest();

var response = await client.Inventory.BackInStockSubscriptionSubscribeAsync(input);

Console.WriteLine(response);

BackInStockSubscriptionUnsubscribeAsync

Delete a specific back in stock subscription.

  • HTTP Method: DELETE
  • Endpoint: /api/v2/inventory/backinstock/subscriptions/{subscriptionId}

Parameters

NameTypeRequiredDescription
subscriptionIdstring

Return Type

object

Example Usage Code Snippet

using VoyadoEngage;

var client = new VoyadoEngageClient();

var response = await client.Inventory.BackInStockSubscriptionUnsubscribeAsync("subscriptionId");

Console.WriteLine(response);

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →