Developer Platform

Build on Modly.
Integrate the future.

Full access to the Modly marketplace via a robust REST and GraphQL API. Build custom storefronts, automate logistics, and embed marketplace widgets with granular control.

v2.4.0 is live — Check the changelog
Modly API dashboard interface showing developer tools and configuration
Core Capabilities

Everything you need to integrate.
Nothing to hide.

Access listings, orders, inventory, and configurator logic directly through our unified API endpoints.

Product & Listings

Create, update, and manage modular product definitions. Handle variants, configurations, and pricing tiers programmatically.

Order Management

Full lifecycle support: From payment capture to fulfillment tracking. Retrieve order history and customer data with ease.

Inventory Sync

Real-time stock level updates. Trigger low-inventory alerts and automate stock adjustments across your 3PLs.

Configurator Logic

Expose your product configuration engine to external tools. Let customers build modules and finalize pricing before they buy.

Payments Gateway

Connect Modly checkout to your own custom frontend. Process one-time payments, subscriptions, and deposits securely.

Authentication

OAuth 2.0 and Bearer token support. Manage scopes and permissions to ensure your apps only access what they need.

Architecture

REST & GraphQL support.
Choose your weapon.

We provide dual endpoints to suit any use case. Our REST API is ideal for simple CRUD operations and building lightweight integrations, offering predictable, resource-based URLs.

For complex queries involving nested data or multiple resources, our GraphQL endpoint allows you to fetch exactly what you need, minimizing payload sizes and over-fetching.

Example: GraphQL Query

query GetProduct($id: ID!) {
  product(id: $id) {
    id, name, variants { price, sku }
  }     // Only request what you need
}
Webhooks

Real-time event streaming.

Stay in sync with the marketplace with our robust webhook system. We send live events to your server whenever a key action occurs.

Order Events

Order Created

Triggered immediately upon successful payment capture.

Inventory Events

Stock Adjustment

Notify your systems when stock hits zero or is updated.

Product Events

Variant Update

Listen for changes in pricing or configuration options.

Customer Events

Account Created

Identify new users for your CRM or email marketing.

SDK & Tools

Ship faster with our JavaScript SDK.

Don't want to handle HTTP requests manually? Our official NPM package handles authentication, rate limiting, and error handling out of the box.

Use the SDK to embed the Modly configurator directly into your custom application or build a headless storefront from scratch.

NPM INSTALL

npm install @modly/sdk

INITIALIZATION

const modly = new Modly({
  apiKey: process.env.MODLY_KEY
});
Start Building

Access the Sandbox

Test your integrations in a safe, isolated environment with fake data. No impact on your live store.