Skip to content

Getting started

Installation

sh
npm install @photomotionbv/customer-api-sdk

Initialize

ts
import { initializePmApiClient } from "@photomotionbv/customer-api-sdk";

await initializePmApiClient({
  apiUrl: "API_URL", // e.g. https://online.photo-motion.com
  clientId: "YOUR_CLIENT_ID",
  clientSecret: "YOUR_CLIENT_SECRET",
});