Built for
developers

GraphQL for storefronts, REST in the Merchant API, an SDK and webhooks - integrate DoSwiftly with your own stack without digging into the core.

GraphQL Storefront API

Storefronts talk to our NestJS backend over GraphQL - you fetch exactly the fields you need.

query Storefront {
  products(first: 3) { title price stock }
}
TypeScript types generated straight from the schema.

Merchant API (REST)

Products, orders, customers, inventory and discounts through clean REST endpoints - on the same logic as the admin dashboard, with a public OpenAPI spec.

GET/v1/orders?status=paid
200 OK · 42 ms
{ "id": "ord_8231", "total": 14900, "status": "paid" }
Pagination, filtering, sorting and API keys with per-resource permissions.

Storefront SDK

The official @doswiftly/storefront-sdk wraps the entire Storefront API - React hooks instead of manual requests.

$ npm install @doswiftly/storefront-sdk
import { useCartManager } from "@doswiftly/storefront-sdk/react"
const { cart, addItem } = useCartManager()
React hooks, async helpers and types from GraphQL.

Webhooks

React to events in real time - the store knocks on your backend itself, no polling.

order.createddelivered · 200 OK
payment.captureddelivered · 200 OK
shipment.deliveredretrying in 1 min
retry 2/5

Test mode and previews

You connect payment gateways in the operator's test mode first, and check the storefront on a preview deployment - without touching production.

PayU / Przelewy24operator test mode
test
doswiftly preview createpreview deployment · valid for 7 days
preview
You go live by swapping the operator keys for production ones.

Webhook events

Orders, payments, shipments, products and stock levels are events - you subscribe only to the ones you need.

order.createdorder.cancelledpayment.capturedpayment.failedshipment.createdshipment.deliveredcustomer.createdinventory.updated
Every call is signed with HMAC-SHA256 plus a timestamp; up to 4 retries with increasing back-off (from 1 min to 1 h).

Limits and plans

The API grows with you - you start right on the Start plan, full limits and webhooks unlock on Scale.

StartREST API and SDK to start
5 000 requests/day
Growmore requests, full catalog
50 000 requests/day
Scalefull API + webhooks
500 000 requests/day
Enterprisededicated integrations and SLA
unlimited
Talk to a developer Frontend and hosting

REST API and SDK from the Start plan (5 000 requests/day); full limits and webhooks on the Scale and Enterprise. A developer answers technical questions, not a bot - write to us.