Configuration
Customize Sendd Market to fit your exact needs through environment variables, SDK options, and the admin dashboard.
Environment Variables
| Variable | Description | Default |
|---|---|---|
SENDD_API_KEY | Your API key | — |
SENDD_ENV | production or sandbox | production |
SENDD_WEBHOOK_SECRET | Secret for verifying webhooks | — |
SENDD_LOG_LEVEL | debug, info, warn, error | info |
SDK Configuration
import { SenddMarket } from '@sendd/market-sdk'
const market = new SenddMarket({
apiKey: process.env.SENDD_API_KEY,
environment: 'sandbox',
timeout: 30000,
retries: 3,
logging: {
level: 'debug',
destination: 'stdout'
}
})Storefront Settings
Configure your storefront through the admin dashboard or the API:
await market.storefront.update({
name: 'My Marketplace',
domain: 'shop.example.com',
theme: 'modern-dark',
currency: 'USD',
locale: 'en-US',
seo: {
title: 'My Marketplace — Buy & Sell Anything',
description: 'The best place to buy and sell products online.'
}
})