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 Subscriptions
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/subscriptions
Get self Subscription
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/subscriptions/me
Get Subscription settings
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/subscriptions/settings
SDK on GitHub 📄 API Docs
SDK
lever-sdk
TypeScript
API
vtex.local
vtex.local:Recurrence-(v1-
At a glance
Language TypeScript
Endpoints11
Base URLhttps://vtex.local
✓ Official