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" });
Product Search Autocomplete
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/buscaautocomplete
Search for Products with Filter, Order and Pagination
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/api/catalog_system/pub/products/search
Search by Store Facets
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/api/catalog_system/pub/facets/search/{term}
SDK on GitHub 📄 API Docs
SDK
lever-sdk
TypeScript
API
vtex.local
vtex.local:Search-API
At a glance
Language TypeScript
Endpoints15
Base URLhttps://vtex.local
✓ Official