Using vtex.js with vtex.local

CoffeeScript integration

✓ Official SDK
Install
# See https://github.com/vtex/vtex.js
Get client profile by email
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/api/checkout/pub/profiles
Get current or create a new cart
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/api/checkout/pub/orderForm
List pickup points by location
curl \
  -H "X-VTEX-API-AppKey: $API_KEY" \
  https://vtex.local/api/checkout/pub/pickup-points
SDK on GitHub 📄 API Docs
SDK
vtex.js
CoffeeScript
API
vtex.local
vtex.local:Checkout-API
At a glance
Language CoffeeScript
Endpoints32
Base URLhttps://vtex.local
✓ Official