Endpoints Reference
Customer Sub-Accounts
Create a new Customer sub-account
POST
/v1/{siteEnv}/{siteId}/sub-accounts
Path Parameters
siteEnv
string
*
siteId
string
*
Body Parameters
body
object
*
email
string<email>
*
first_name
string
*
last_name
string
*
parent_customer_external_id
string
*
role
string<main | limited-customer>
Responses
201
Successful operation
object
customer_external_id
string
400
Error handling request such as email already taken
object
error_code
string<email-already-taken>
401
Auth Failure
500
System Exception