Skip to main content
A curated tour of the Droplinked API surfaces you’ll touch most often when building a custom storefront, dashboard, or integration. All routes are documented in full in the live API Reference.

User management

Register, log in, refresh tokens, recover passwords.

Store management

Create stores, manage payment methods, expose public store data.

Product & collection

Publish products, manage SKUs, organize into collections.

Cart & checkout

Build the cart, apply coupons, select shipping, place orders, take payment.

User management

Endpoints for user registration, login, password recovery, and token refresh. Use these routes when building applications that require merchant authentication.

Store management

These endpoints allow merchants to create, configure, and manage their stores. They cover store setup, updating details, managing payment methods, and retrieving store data both privately and publicly.
The public/* endpoints don’t require authentication and are intended for use on storefronts, landing pages, and any unauthenticated surface where a shop is being displayed.

Product and collection management

A collection is a logical grouping of related products (e.g. “Summer Sale”, “New Arrivals”). Every product must belong to a collection — this is what powers storefront navigation and discoverability.

Required fields when publishing a product

  • title
  • description
  • image
  • collection
  • status
  • skus
  • price for each SKU
  • inventory for each SKU
  • shippingMethodId (only for physical products)
If the product is physical, a shipping method ID must be provided. A collection ID is always required.

Product endpoints


Cart and checkout

This section walks through creating and managing a shopping cart, adding products, attaching a customer, setting shipping, applying coupons, and finally creating and paying for an order.
1

Create a cart

POST /v2/carts — creates a new cart within a specific store. Optionally, a customer ID or email can be attached at creation time.
2

Add product to cart

POST /v2/carts/{cartId}/products — add a product by SKU ID and quantity.
3

Inspect or mutate the cart

GET /v2/carts/{cartId} for contents. DELETE /v2/carts/{cartId} to clear. DELETE /v2/carts/{cartId}/products/{skuId} removes a single line. PATCH /v2/carts/{cartId}/products/{skuId} updates quantity.
4

Attach customer (if not done at creation)

PATCH /v2/carts/{cartId}/customer — associates a customer with the cart.
5

Add a shipping address (physical products only)

First POST /address-book to create the address, then PATCH /v2/carts/{cartId}/details to link it to the cart.
6

Select a shipping method

GET /v2/carts/{cartId}/shipping returns available methods for the address. POST /v2/carts/{cartId}/shipping selects one.
7

(Optional) Apply a coupon

POST /v2/carts/{cartId}/coupon — apply a discount / promo code.
8

Get payment methods

GET /v2/carts/{cartId}/payment-methods — returns all options available for the cart (Stripe, crypto, regional PSPs, etc.).
9

Create the order

POST /v2/orders — creates an order from the finalized cart. The returned order ID is used in the payment step.
10

Handle payment

Install @droplinked/payment-intent and mount <DroplinkedPaymentIntent> with the orderId and type (e.g. stripe, USDT-BINANCE).

Endpoint reference

Payment SDK

Install the payment package:

Stripe (card) example

Crypto (USDT on Binance) example