> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.venda.rw/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.venda.rw/_mcp/server.

# Introduction

Venda backend API reference. Set collection variables before running:

* baseUrl: [https://api.venda.rw](http://localhost:4000)

* 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.