{"version":"0.1.0","status":"proposed_not_implemented","apiHost":"https://api.bolesat.com","merchantHost":"https://app.bolesat.com","platforms":[{"slug":"salla","name":"Salla","method":"OAuth 2.0 / authorized app installation","requirements":["Salla Partners application","Approved order and shipping permissions","Verified application and order events"],"docs":"https://docs.salla.dev/create-app","status":"partner_setup_required"},{"slug":"zid","name":"Zid","method":"OAuth app activation or approved shipping integration","requirements":["Zid partner application and suitable app category","Approved order and shipping permissions","Verified store and order events"],"docs":"https://docs.zid.sa/create-first-app","status":"partner_setup_required"},{"slug":"shopify","name":"Shopify","method":"App installation and Shopify authorization","requirements":["Shopify Dev Dashboard app","GraphQL Admin API and fulfillment permissions","Verified webhooks and app review"],"docs":"https://shopify.dev/docs/apps/build/authentication-authorization","status":"partner_setup_required"},{"slug":"woocommerce","name":"WooCommerce","method":"Application authentication endpoint","requirements":["Merchant HTTPS store URL","Merchant-authorized REST API access","Verified order webhooks and tracking extension compatibility"],"docs":"https://developer.woocommerce.com/docs/apis/rest-api/authentication/","status":"partner_setup_required"}],"workflow":["Authenticated Bolesat merchant initiates connection","Provider consent and store identity verification","Encrypted token storage bound to merchant and store","Import orders idempotently as drafts","Merchant reviews address, carrier, service and price","Merchant confirms issuance using existing wallet transaction flow","Persist tracking number and shipment ID","Sync tracking and fulfillment back to store","Disconnect and revoke access"],"security":["Tenant isolation on every operation","Single-use expiring authorization state","Provider-specific callback and webhook verification","Encrypted access and refresh tokens","SSRF prevention for merchant-supplied store URLs","Idempotent webhook processing and label issuance","No automatic wallet deduction","No credentials in browser or logs"],"proposedRoutes":[{"method":"POST","path":"/integrations/:provider/connect"},{"method":"GET","path":"/integrations/:provider/callback"},{"method":"POST","path":"/integrations/:provider/webhook"},{"method":"GET","path":"/integrations/connections"},{"method":"POST","path":"/integrations/:connectionId/disconnect"},{"method":"POST","path":"/integrations/:connectionId/import"},{"method":"POST","path":"/orders/:id/issue-label"}],"orderDraftFields":["merchant_id","connection_id","provider","external_store_id","external_order_id","currency","recipient","shipping_address","parcels","cod_amount","payment_status","carrier_service_id"],"idempotency":"merchant_id + connection_id + external_order_id + shipment_operation","note":"Design contract only. Routes are not active. Existing Bolesat issuance APIs and wallet semantics must be verified before implementation."}