Headless
The Headless tab is for developers who want to build a custom storefront on top of Orderain instead of using the built-in one. Open Settings from the dashboard sidebar and select the Headless tab. It's where you configure allowed origins for your headless API integration.
Allowed Origins
Add up to 3 allowed origins for your shop. These origins are the only ones allowed to make API requests to your shop.
- Enter an origin (for example
https://example.com) and click Add. A counter shows how many you've added (for example 1/3 origins added). - Remove an origin with the × next to it.
- Click Save Origins to apply your changes.
API Tokens
Create and manage API tokens to access your shop data programmatically. Click + Create New Token to generate a new token. The View Documentation link opens the full API reference.
Each token in the list shows:
- Name and a status badge — Active or Revoked.
- Expires. The token's expiry date and time.
- Scopes. The permissions granted, such as
headless_api,read_access,write_access, ordelete_access. - Origins. The origin the token is tied to.
Click Revoke on an active token to disable it immediately. Revoked tokens stay listed for reference but can no longer be used.
API documentation
For endpoints, authentication, and code samples, see the full Orderain Headless API documentation. The reference covers regions, product categories, products, inventory, shipping, taxes, cart, customers, orders, shop tags, and shop warehouse, and includes client libraries for Shell, Ruby, Node.js, PHP, and Python.

