Create a new producer organization

Creates a new organization and adds the caller as its owner. Session-only — there is no bearer-token path for this route (a Shopify plugin token can't create an org, since the org doesn't exist yet). If the org's domain matches the caller's verified email domain (and isn't a freemail domain), the org is auto-verified via email_domain and verification_status is returned as verified instead of pending.

post/api/org/register/

Request

  • Base URL: https://productindex.ai
  • URL: https://productindex.ai/api/org/register/
  • Auth: API key in cookie authjs.session-token

Request body

namestring required

Organization name.

org_type'manufacturer' | 'retailer' | 'distributor' required
domainstring

Bare domain, e.g. example.com (scheme/path stripped if present).

website_urlstring uri
shopify_shopstring

Response

Organization created.

org_idstring required
verification_status'pending' | 'verified' required
skipped_verificationboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.