Introduction
Venda backend API reference. Set collection variables before running:
-
baseUrl: https://api.venda.rw
-
email / password: a Better Auth account (sign up first)
-
newPassword: for the change-password request
-
orgSlug: a unique org slug (e.g. my-business)
Flow: run Sign up (or Sign in) first, then Create organization (captures orgId), then Create store (captures storeId). Protected requests send the Better Auth session cookie automatically and include the X-Organization-Id header.
Note: Sign out requires the Origin header (Better Auth CSRF). IDs like productId/variantId/saleId are captured automatically by test scripts on the corresponding create requests.