Official SDKs
Integrate the ShopiMind API without rewriting the HTTP layer. The official SDKs handle authentication, automatic retries, batch chunking, pagination and a uniform response envelope for you — so you write business logic, not network plumbing.
JavaScript / TypeScript SDK
Available — npm package @shopimind/sdk-shopimind.
bash
npm install @shopimind/sdk-shopimind
# yarn add @shopimind/sdk-shopimind
# pnpm add @shopimind/sdk-shopimindjavascript
const { SpmClient, SpmCustomers } = require('@shopimind/sdk-shopimind');
const client = SpmClient.getClient('v1', process.env.SHOPIMIND_API_KEY);
// Read
const page = await SpmCustomers.list(client, { limit: 50 });
// Write (with automatic chunking of large batches)
const res = await SpmCustomers.bulkSave(client, customers, { chunk: true });
if (res.ok) console.log(res.data.sent_count, res.data.rejected_count);- Node.js ≥ 14 · CommonJS (
require) and ESM / TypeScript (import) .d.tstypes included · single runtime dependency:axios- Uniform return shape
{ ok, statusCode, data, error }— the SDK never throws on an HTTP error
→ JavaScript SDK documentation
PHP SDK
Coming soon
The official PHP SDK is on its way. In the meantime, call the API directly — every page in the API Reference provides a ready-to-use cURL and PHP example.
Which integration channel should you pick?
| You are… | Recommendation |
|---|---|
| A Node.js / TypeScript app | JavaScript SDK — fastest and most robust |
| A standard e-commerce store | An official connector (PrestaShop, WooCommerce, Shopify, Magento) |
| Another language / low-level needs | The REST API directly (cURL / PHP / HTTP) |