Using vtex-node-sdk with vtex.local

TypeScript integration

Install
npm install vtex-node-sdk
Quick start
import Vtex_node_sdk from 'vtex-node-sdk';

const client = new Vtex_node_sdk({ apiKey: "YOUR_API_KEY" });
Get profile
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/api/storage/profile-system/profiles/{profileId}
Get prospect
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/api/storage/profile-system/prospects/{prospectId}
Get unmasked profile
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/api/storage/profile-system/profiles/{profileId}/unmask
SDK on GitHub 📄 API Docs
SDK
vtex-node-sdk
TypeScript
API
vtex.local
vtex.local:Profile-System
At a glance
Language TypeScript
Endpoints27
Base URLhttps://vtex.local