Developers

API documentation

Build on Hazans with secure endpoints for products, orders, themes, and integrations.

Base URL: https://api.hazans.com/v1

Auth: Bearer tokens obtained from your dashboard. Send with Authorization header: Authorization: Bearer <token>.

Versioning: Versioned via URL and backward-compatible changes noted in changelog.

Auth

  • POST /auth/loginObtain a session token.
  • POST /auth/refreshRefresh an existing token.

Products

  • GET /productsList products with pagination and filters.
  • POST /productsCreate a product with variants and media.
  • PATCH /products/{id}Update product fields.

Orders

  • GET /ordersList orders with status filters.
  • PATCH /orders/{id}Update status, fulfillment, tracking.
  • POST /orders/{id}/fulfillAdd fulfillment and tracking details.

Themes

  • GET /themesList available themes.
  • POST /themes/applyApply a theme to a store.
  • POST /themes/saveSave editor changes to theme data.
Need an API key or webhook docs? Email developers@hazans.com.