Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 3.02 KB

README.md

File metadata and controls

56 lines (39 loc) · 3.02 KB

Stores

(Ecommerce.Stores)

Overview

Available Operations

  • Get - Get Store

Get

Get Store

Example Usage

using ApideckUnifySdk;
using ApideckUnifySdk.Models.Components;
using ApideckUnifySdk.Models.Requests;

var sdk = new Apideck(
    apiKey: "<YOUR_BEARER_TOKEN_HERE>",
    consumerId: "test-consumer",
    appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
);

EcommerceStoresOneRequest req = new EcommerceStoresOneRequest() {
    ServiceId = "salesforce",
    Fields = "id,updated_at",
};

var res = await sdk.Ecommerce.Stores.GetAsync(req);

// handle response

Parameters

Parameter Type Required Description
request EcommerceStoresOneRequest ✔️ The request object to use for the request.

Response

EcommerceStoresOneResponse

Errors

Error Type Status Code Content Type
ApideckUnifySdk.Models.Errors.BadRequestResponse 400 application/json
ApideckUnifySdk.Models.Errors.UnauthorizedResponse 401 application/json
ApideckUnifySdk.Models.Errors.PaymentRequiredResponse 402 application/json
ApideckUnifySdk.Models.Errors.NotFoundResponse 404 application/json
ApideckUnifySdk.Models.Errors.UnprocessableResponse 422 application/json
ApideckUnifySdk.Models.Errors.APIException 4XX, 5XX */*