- Checkout
- Features
Sell to businesses (B2B)
Offer business checkout with organization details, separate billing and shipping addresses, card payments and Billie invoices in supported markets.
B2B uses the same API as consumer checkout and also supports recurring orders. Add the fields below to offer an organization flow in your existing integration.
Card payment for business customers is available in every market where Kustom Checkout is activated. Invoice payment through Billie is limited to Billie’s own markets.
Offer both flows
Section titled “Offer both flows”List both customer types, and the customer chooses:
{ "options": { "allowed_customer_types": ["person", "organization"] }}Start in the B2B flow
Section titled “Start in the B2B flow”Set the customer type directly, and optionally pre-fill the organization number:
{ "customer": { "type": "organization", "organization_registration_id": "556036-0793" }}Read the result
Section titled “Read the result”customer.type on the completed order tells you which flow was used, and
billing_address may then carry organization fields such as organization_name and
attention — the reference the customer entered.
For pricing or confirmation changes before purchase, listen for the client-side customer
event. It reports the type on load and whenever the customer switches flow. The load event
also carries the type, plus address data limited to country and postal code.
Neither event includes organization_name or attention; read those from the order.
Related
Section titled “Related”- Checkout options — the
optionsblock these fields sit in - Checkout JavaScript events — the
customerevent and the rest of the catalogue - Create an order — the call these fields belong to
This page is also available as Markdown — append .md to its URL — and is indexed in llms.txt.