Other Downstream Types
About 615 words
Besides the officially supported Dujiao-Next, xstock is evaluating more storefront programs. This page describes the planned types, how each one connects, and how private storefront programs can get integration help.
Current status
Dujiao-Next is the only officially supported program. The other programs listed on this page are under evaluation or available on demand, with no committed schedule; please contact us to confirm before integrating.
Planned and evaluated types
| Type | Representative programs | Status | Integration approach |
|---|---|---|---|
| Open-source card-key / digital goods storefronts | Other card-key systems, forks of Dujiao-Next | Under evaluation | If they follow a similar upstream protocol, adaptation is relatively cheap |
| General e-commerce platforms | WooCommerce, Shopify | Under evaluation | Requires a plugin or a middleware translation |
| Own storefront / private systems | A store you built yourself | On demand | Connect directly to the xstock API, or build your own adapter |
| Multi-store / distribution systems | Various multi-merchant platforms | Under evaluation | Integrated per store, with credentials enabled one by one |
| Automation / bots | Telegram Bot, Discord Bot | On demand | Direct API access, suited to lightweight ordering scenarios |
Program names in the table only illustrate the type; they do not mean an adaptation is complete.
General approach
Whatever the program, integration ends up in one of three forms:
| Approach | Suited to | Code changes |
|---|---|---|
| The program's built-in upstream protocol | A mature program that already supports supplier integration | No |
| Direct xstock API access | Systems you build or can modify | Yes |
| Middleware / plugin | General e-commerce platforms that need injected business logic | Yes (a little) |
Details for the first two are in the support overview; the third is yours to build — you do the field mapping in your own system, and xstock only guarantees API stability.
How private storefront programs connect
Private programs have no public protocol, so they usually need a separate assessment. Providing the following information when you contact the administrator can significantly shorten the integration time:
- Program information: name, version, tech stack (PHP / Java / Node / .NET, etc.);
- Existing capabilities: whether supplier integration, payment and shipping modules already exist;
- Desired scope: products and ordering only, or also availability, multi-currency, after-sales and callbacks;
- Integration plan: expected launch date and daily order volume;
- Materials you can provide: interface documentation, test environment, test accounts.
What we can help with:
- Assess the gap between your existing protocol and the xstock API, and suggest changes;
- Provide interface documentation, a sandbox environment and joint debugging support;
- Where necessary, add an adapter mapping on the xstock side while your program stays untouched;
- Walk through the acceptance checklist together before launch.
Acceptance criteria for adapting a new program
| Area | Pass criteria |
|---|---|
| Connectivity | Validates the URL, Key/Secret and signature |
| Products | Categories, products, SKUs, images, prices and availability all correct |
| Quotes | Calculated with tier discounts, consistent across currencies |
| Ordering | Idempotent, balance held, clear failure reasons |
| Delivery | Deliverables obtainable through a callback or an order query |
| Cancellation | Cancelling an undelivered order releases the hold |
| After-sales | Tickets can be opened and progress can be queried |
Practices to avoid
- Do not integrate through scraping or simulated logins; your account may be flagged by risk controls;
- Do not share one set of keys across multiple systems; when something breaks you cannot tell which system caused it;
- Do not treat callbacks as your only data source; key states must be recoverable by actively querying orders.
Contact and requests
- Private or unlisted programs: apply for access and describe the program type and desired capabilities;
- Already using Dujiao-Next: see backend setup;
- Want to understand the capability boundaries first: support overview.