This page is the generic Dev API quickstart.If your real goal is:
- theme editing with AI -> start with Build and Customize a Theme with AI
- theme automation endpoints -> read Editing Themes
/dev/v1/* request.If you prefer an official SDK instead of raw
fetch or requests, start with SDKs & Libraries — we have packages for Node.js/Bun (@shoppexio/sdk), Python (shoppexio), and PHP (shoppexio/shoppex-php).1
Get Your API Key
- Log in to dashboard.shoppex.io
- Go to Settings → API Keys
- Click Generate New Key
- Copy the key (starts with
shx_)
2
Make Your First Request
Let’s fetch your shop information to verify everything works:Response:
3
Create a Payment
Now let’s create a payment link:Response:Redirect your customer to the If you force That returns a
url to complete payment.POST /payments creates a generic developer payment — it does not trigger Shoppex product fulfillment. Use it when you want a payable invoice or hosted checkout URL. Use POST /orders instead when you need Shoppex product line items, delivery, and automatic fulfillment.gateway: "PANDABASE", the response can also include:checkout_url: the direct Pandabase checkout session URLsession_id: the Pandabase session reference stored by Shoppex for automatic webhook reconciliation
crypto_gateway.Simple example:url like:4
Handle the Result
After payment, Shoppex sends a webhook to your server:
Webhooks Guide
Learn how to set up and verify webhooks
Dynamic Product Delivery
Implement the fulfillment callback for
DYNAMIC productsNext Steps
Theme Guide
Use this if your actual goal is AI-assisted theme editing, not generic API onboarding.
Authentication
API key security best practices
SDKs & Libraries
Official JS, Python, and PHP SDKs for
/dev/v1/*Error Handling
Handle errors gracefully
Pagination
Navigate large result sets
Full API Reference
Explore all endpoints