Using ads-js with vtex.local

TypeScript integration

✓ Official SDK
Install
npm install ads-js
Quick start
import Ads_js from 'ads-js';

const client = new Ads_js({ apiKey: "YOUR_API_KEY" });
Get Notes by orderId
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/notes
List tasks
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/tasks
Retrieve Note
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/notes/{noteId}
SDK on GitHub 📄 API Docs
SDK
ads-js
TypeScript
API
vtex.local
vtex.local:VTEX-Do-API
At a glance
Language TypeScript
Endpoints8
Base URLhttps://vtex.local
✓ Official