Storepo logo

Storepo

Join CommunityContact UsStart free

STOREPO DEVELOPERS

One API. Any storefront.

Display Storepo products in WordPress, mobile apps, or custom websites, use Storepo checkout, and manage every order in one dashboard.

Every merchant receivesStore IDConsumer key · ck_…Consumer secret · cs_…

WooCommerce-style authentication

Use the familiar consumer key and consumer secret pattern. Your WordPress plugin sends HTTP Basic Auth server-side; never expose the secret in browser code.

Authorization: Basic base64(ck_…:cs_…)

Your first request

curl "https://storepo.com/api/storefront/v1/products?limit=12" -u "ck_your_key:cs_your_secret"

Like WooCommerce, credentials may also be query parameters, but HTTPS Basic Auth is safer. Pagination, category, search, minPrice, and maxPrice are supported.

API reference

GET/api/storefront/v1/products

List products with pagination, category, search, and price filters.

GET/api/storefront/v1/products/{id}

Read one product and its storefront attributes.

GET/api/storefront/v1/products/categories

List the merchant’s product categories.

POST/api/storefront/v1/cart

Validate products, current prices, quantities, and cart total.

POST/api/storefront/v1/checkout

Create a Storepo order using the validated cart.

GET/api/storefront/v1/orders/{id}

Read an order with its customer-safe access_token.

Checkout

Send customer and delivery information with the cart. A successful response includes order.id and orderAccessToken.

POST /api/storefront/v1/checkout
{
  "cart": [{ "productId": 42, "quantity": 2 }],
  "fullName": "Ayesha Rahman",
  "contactNumber": "01700000000",
  "deliveryAddress": "Dhaka",
  "paymentMethod": "cashOnDelivery"
}

GET /api/storefront/v1/orders/123?access_token=ORDER_ACCESS_TOKEN

WordPress

WordPress pluginStorepo REST APIStorepo checkoutStorepo dashboard

As with WooCommerce, save the Consumer key and Consumer secret once in plugin settings. Product grids can then be rendered with blocks or shortcodes.

Errors and limits

401 invalid credentials · 404 unavailable product · 422 invalid cart · 429 rate limited

Catalog responses may be cached. Checkout and order responses are not publicly cached.