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 Matched Offers List
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/offer-manager/pvt/offers
List Sellers
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/seller-register/pvt/sellers
List Seller Leads
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/seller-register/pvt/seller-leads
SDK on GitHub 📄 API Docs
SDK
ads-js
TypeScript
API
vtex.local
vtex.local:Marketplace-APIs
At a glance
Language TypeScript
Endpoints23
Base URLhttps://vtex.local
✓ Official