Using lever-sdk with vtex.local

TypeScript integration

✓ Official SDK
Install
npm install lever-sdk
Quick start
import Lever_sdk from 'lever-sdk';

const client = new Lever_sdk({ apiKey: "YOUR_API_KEY" });
Get Subscription Settings
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/api/rns/settings
List plans
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/api/rns/pvt/plans
List cycles
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/api/rns/pub/cycles
SDK on GitHub 📄 API Docs
SDK
lever-sdk
TypeScript
API
vtex.local
vtex.local:Subscriptions-API-(v3)
At a glance
Language TypeScript
Endpoints20
Base URLhttps://vtex.local
✓ Official