Developer portal
Salvya APIs & integrations
REST endpoints for orders, catalog, creator workspace, authentication, and webhooks. Session cookies or bearer tokens where noted.
APIs
- GET
/api/ordersSession cookie / BearerList authenticated customer orders
- POST
/api/ordersSession cookiePlace checkout order with attribution
- GET
/api/cartSession cookieRead synced bag lines
- GET
/api/creator/statsCreator sessionCreator dashboard metrics
- GET
/api/creator/walletCreator sessionBalances, payouts, commission profile
- GET
/api/creator/product-linksCreator sessionPromo links and tracking codes
- GET
/api/creator/analyticsCreator sessionLink performance and conversion
- GET
/api/auth/meSession cookieCurrent session profile
- POST
/api/report-problemOptional sessionSubmit support / abuse reports
SDKs
JavaScript SDK
PreviewFetch helpers for storefront and session APIs.
React SDK
PreviewHooks for auth state, cart sync, and creator metrics.
Examples
Create order
POST /api/orders
Content-Type: application/json
{
"lines": [{ "productId": "...", "qty": 1 }],
"shippingAddress": { ... }
}Track shipment
GET /track-order ?order=SVY-12345&email=fan@example.com
Creator analytics
GET /api/creator/analytics Cookie: sb-access-token=...
OpenAPI
Download the machine-readable specification for codegen and API explorers.
Download openapi.jsonNeed human-readable guides?
Browse the full Help Center for policies, flows, and AI-readable platform docs.
← Back to Help Center
