- an internal reseller operations tool
- a partner onboarding flow
- a reseller analytics dashboard
- a headless portal for stock requests and payout operations
Resellers are scoped to a merchant shop. Always treat
reseller_relationship_id as a tenant boundary, not just a record ID.Scopes
Use the smallest scope set your integration needs.SDK Example
Enable Program
Invite Reseller
Reseller Analytics
Use shop-wide analytics for overview screens:Embed Campaigns
Create reseller-owned embed campaigns from your partner tooling:Stock Purchase Flow
Stock Mode uses normal Shoppex invoice and payment infrastructure. The stock transfer is allocated only after payment.Inventory Delivery
Deliver one allocated stock item to an end customer:Reseller Fulfillment API
Reseller API keys are different from merchant Developer API keys. A merchant key starts withshx_ and can manage a shop. A reseller key starts with shr_ and can only operate one reseller relationship.
Use this flow when a reseller sells through their own store and wants Shoppex to deliver merchant stock without showing Shoppex to their buyer.
- The reseller creates an API key in the Reseller Portal API tab.
- The reseller tops up prepaid balance.
- The external store calls the Reseller Fulfillment API after payment.
- Shoppex debits wholesale cost from the reseller balance and delivers merchant serial stock.
/reseller/v1/fulfillments/dynamic and the required query params are api_key, external_order_id, customer_email, product_id, and quantity.
Check reseller prepaid balance:
402 Insufficient reseller prepaid balance409 Fulfillment stock is unavailable401 Invalid or inactive reseller API key
Webhooks
Subscribe to reseller events to keep partner portals in sync. Important events:reseller:invitedreseller:acceptedreseller:salereseller:embed_campaign_createdreseller:payout_requestedreseller:stock_purchase_requestedreseller:api_fulfillment_deliveredreseller:stock_purchase_paidreseller:stock_allocatedreseller:stock_item_delivered