@datenkraft/bb-fulfillment-shopify-service-ts-client
TypeScript icon, indicating that this package has built-in type declarations

1.6.21 • Public • Published

Backbone - fulfillment-shopify-service API TS Client

Introduction

The fulfillment-shopify-service API TS Client enables you to work with the fulfillment-shopify-service API.

Prerequisites

  • npm

Installation

You can use npm to install the package.

npm install @datenkraft/bb-fulfillment-shopify-service-ts-client

Using the package

The package can be used to communicate with the fulfillment-shopify-service API. The Client includes functionalities for every endpoint defined in the openapi.json. The Client is auto-generated with OpenAPITools using an openapi.json file.

Initializing the Client and calling an Endpoint

import { ConfigOptions } from '@datenkraft/bb-base-api-ts-client';
import { FulfillmentShopifyServiceClient } from '@datenkraft/bb-fulfillment-shopify-service-ts-client';
import { XxxApi } from '@datenkraft/bb-fulfillment-shopify-service-ts-client/Generated';

const configOptions: ConfigOptions = {
  clientId: 'clientId',
  clientSecret: 'clientSecret',
  oAuthTokenHost: 'oAuthTokenHost',
  tokenTradeInPath: 'tokenTradeInPath',
  externalIdToken: 'externalIdToken',
  useExternalIdToken: true,
};

FulfillmentShopifyServiceClient.getApiConfig(configOptions).then((config) => {
  const XxxApi = new XxxApi(config);
  XxxApi.getXxxCollection().then((data) => {});
});

License

This repository is available under the MIT license.

Package Sidebar

Install

npm i @datenkraft/bb-fulfillment-shopify-service-ts-client

Weekly Downloads

0

Version

1.6.21

License

MIT

Unpacked Size

359 kB

Total Files

107

Last publish

Collaborators

  • datenkraft-admin
  • floflock
  • raphael.p
  • philipp_kern