API Reference
Shipping quote
Reads active vendor_shipping_methods per store and computes rates via the pure calculateMethodRate helper. Platform-carrier pricing (Pos Laju / Ninja Van) lives in the storefront fetchShippingRates action — those carriers do not expose public rate APIs, so admin rate cards are authoritative.
Authorization
better-auth.session_token better-auth.session_token<token>
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/shipping/quote" \ -H "Content-Type: application/json" \ -d '{ "queries": [ { "storeId": "b8adcdc8-9238-4168-90f8-77b2d14c211c", "originPostcode": "string", "destPostcode": "string", "weightKg": 0 } ] }'[ { "storeId": "string", "rates": [ { "provider": "string", "name": "string", "rate": "string", "estimatedDaysMin": 0, "estimatedDaysMax": 0 } ] }]