Getting Started
Get up and running with Sendd Market in just a few steps.
Prerequisites
Before you begin, make sure you have:
- A Sendd Market account (sign up here )
- Node.js 18+ installed
- A package manager (
npm,pnpm, oryarn)
Installation
Install the Sendd Market SDK in your project:
npm install @sendd/market-sdkInitialize the Client
Create a new client instance with your API key:
import { SenddMarket } from '@sendd/market-sdk'
const market = new SenddMarket({
apiKey: process.env.SENDD_API_KEY,
environment: 'production' // or 'sandbox' for testing
})Create Your First Listing
const listing = await market.listings.create({
title: 'Premium Widget',
description: 'A high-quality widget for your needs.',
price: {
amount: 2999, // in cents
currency: 'USD'
},
inventory: 100
})
console.log(`Listing created: ${listing.id}`)Next Steps
- Learn about Features available on the platform
- Explore the full API Reference
- Set up Webhooks for real-time event notifications