Skip to main content

StoresService

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

MethodsDescription
StoresVGetStoresAsync
StoresVCreateStoreAsync
StoresVGetStoreAsync
StoresVUpdateStoreAsyncUpdates a store. externalId is the store identifier.

StoresVGetStoresAsync

  • HTTP Method: GET
  • Endpoint: /api/v2/stores

Parameters

NameTypeRequiredDescription
includeInactiveboolValue indicating if the inactive stores should be included or not. (Default value = false)

Return Type

List<ApiStore>

Example Usage Code Snippet

using VoyadoEngage;

var client = new VoyadoEngageClient();

var response = await client.Stores.StoresVGetStoresAsync(false);

Console.WriteLine(response);

StoresVCreateStoreAsync

  • HTTP Method: POST
  • Endpoint: /api/v2/stores

Parameters

NameTypeRequiredDescription
inputApiStoreThe request body.

Return Type

ApiStore

Example Usage Code Snippet

using VoyadoEngage;
using VoyadoEngage.Models;

var client = new VoyadoEngageClient();

var input = new ApiStore();

var response = await client.Stores.StoresVCreateStoreAsync(input);

Console.WriteLine(response);

StoresVGetStoreAsync

  • HTTP Method: GET
  • Endpoint: /api/v2/stores/{externalId}

Parameters

NameTypeRequiredDescription
externalIdstringThe external id of the store to get.
includeInactiveboolValue indicating if the store can be inactive or not. (Default value = false)

Return Type

ApiStore

Example Usage Code Snippet

using VoyadoEngage;

var client = new VoyadoEngageClient();

var response = await client.Stores.StoresVGetStoreAsync("externalId", true);

Console.WriteLine(response);

StoresVUpdateStoreAsync

Updates a store. externalId is the store identifier.

  • HTTP Method: POST
  • Endpoint: /api/v2/stores/{externalId}

Parameters

NameTypeRequiredDescription
inputApiStoreThe request body.
externalIdstringThe external id of the store to update.

Return Type

ApiStore

Example Usage Code Snippet

using VoyadoEngage;
using VoyadoEngage.Models;

var client = new VoyadoEngageClient();

var input = new ApiStore();

var response = await client.Stores.StoresVUpdateStoreAsync(input, "externalId");

Console.WriteLine(response);

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →