Skip to content

disosur/cin7-api-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cin7 Core API SDK

An Unofficial TypeScript SDK for the Cin7 Core API v2, providing a modern, modular interface for inventory management operations.

Installation

npm install cin7-core-api-sdk

Quick Start

import { Cin7CoreSDK } from "cin7-core-api-sdk";

const cin7 = new Cin7CoreSDK("your-account-id", "your-application-key");

// Get products
const products = await cin7.product.queries.getProducts<any>({ limit: 10 });

// Create a product
const newProduct = await cin7.product.mutations.createProduct({
  Name: "Example Product",
  SKU: "EXP-001",
});

Authentication

You'll need your Cin7 Core Account ID and Application Key:

  1. Log into your Cin7 Core account
  2. Go to IntegrationsAPI
  3. Create a new application or use an existing one
  4. Copy your Account ID and Application Key

API Reference

Core SDK

const cin7 = new Cin7CoreSDK(accountId, applicationKey);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published