curl --request POST \
--url https://revstack.dev/v1/customers \
--header 'Content-Type: application/json' \
--data '
{
"environmentId": "<string>",
"userId": "<string>",
"providerId": "<string>",
"externalId": "<string>",
"email": "jsmith@example.com",
"name": "<string>",
"phone": "<string>"
}
'{
"id": "<string>",
"success": true
}Creates a new customer record linked to an environment.
curl --request POST \
--url https://revstack.dev/v1/customers \
--header 'Content-Type: application/json' \
--data '
{
"environmentId": "<string>",
"userId": "<string>",
"providerId": "<string>",
"externalId": "<string>",
"email": "jsmith@example.com",
"name": "<string>",
"phone": "<string>"
}
'{
"id": "<string>",
"success": true
}