Remove a Customer sub-account
DELETE
/v1/{siteEnv}/{siteId}/sub-accounts/{customer_external_id}
siteEnvstring
siteIdstring
customer_external_idstringPlatform ID of Customer
204Successful operation
401Auth Failure
404Customer not found
500System Exception
curl --request DELETE \
--url /v1/{siteEnv}/{siteId}/sub-accounts/{customer_external_id} \
--header 'accept: application/json'Remove a customer sub-account from the specific platform, ensuring the account can no longer interact with the parent account. Platforms may prevent the deletion of customers which have orders, for this reason it is recommended that the parent_customer_external_id attribute is removed from the customer object rather than actual deletion.