Skip to content

Connect your storefront to Restock

This guide covers what’s available today for external integrations: authenticating, reading live stock levels, creating outbound orders with a single JSON request, and receiving webhooks when stock changes or those orders move through the warehouse.

Environment Base URL
Production https://api.wms.restock.tech
Staging https://dev.api.wms.revota.id

Build and test against staging, then switch to production when you go live. Examples in these docs use production — e.g. https://api.wms.restock.tech/auth/login. Requests and responses are JSON unless noted otherwise.

Every endpoint returns the same wrapper. Check success before reading data.

{
"success": true,
"data": { /* endpoint payload */ },
"message": null,
"code": 200
}

Error responses use the same envelope with success: false — see Errors.