Skip to content

Businesses

View as Markdown

A business is a tenant inside Lazy: one of your customers, with its own documents, transactions, settings and usage. Core concepts explains how businesses fit with your platform.

Endpoint Request
Create a business POST /v1/businesses
List businesses GET /v1/businesses
Get a business GET /v1/businesses/{biz_id}
Update a business PATCH /v1/businesses/{biz_id}
Delete a business DELETE /v1/businesses/{biz_id}
Get tax info GET /v1/businesses/{biz_id}/tax-info
Update tax info PATCH /v1/businesses/{biz_id}/tax-info
  1. When a customer signs up on your platform, create a business with your customer ID as external_id, and store the returned biz_id.
  2. Update its tax info with what you know about the customer.
  3. When the customer leaves your platform, delete the business.