Accounts
Endpoints
POST /api/v1/accounts
POST /api/v1/accountsAuthorizations
X-API-KeystringRequired
Scoped API key. Scopes: read, commerce, admin.
Body
namestringRequired
externalIdstringOptional
emailstringOptional
phonestringOptional
websitestringOptional
industrystringOptional
Responses
201
Account created
No content
400
Validation error
post/accounts
No content
GET /api/v1/accounts/{id}
GET /api/v1/accounts/{id}Get account details by ID. For external billing accounts, fetches from the billing adapter.
get
/accounts/{id}
Authorizations
X-API-KeystringRequired
Scoped API key. Scopes: read, commerce, admin.
Path parameters
idstringRequired
Responses
200
Account details
No content
404
Account not found
get/accounts/{id}
No content
PATCH /api/v1/accounts/{id}
PATCH /api/v1/accounts/{id}Last updated
Was this helpful?
