Using vtex.js with vtex.local

CoffeeScript integration

✓ Official SDK
Install
# See https://github.com/vtex/vtex.js
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.js
CoffeeScript
API
vtex.local
vtex.local:Profile-System
At a glance
Language CoffeeScript
Endpoints27
Base URLhttps://vtex.local
✓ Official