Endpoints Reference
Customer Sub-Accounts
Update an existing Customer sub-account
PATCH
/v1/{siteEnv}/{siteId}/sub-accounts/{customer_external_id}
PATH PARAMETERS
siteEnv
string
*Example: live
siteId
string
*Example: bobs-store
customer_external_id
string
*Platform ID of Customer
BODY PARAMETERS
body
object
*first_name
string
Example: Bob
last_name
string
Example: Jones
role
string<main | limited-customer>
Example: limited-customer
A role that represents the users permissions
RESPONSES
201
Successful operation
400
Error handling request such as name too short
401
Auth Failure
500
System Exception