curl --location --request PATCH 'https://api.resellerstack.ai/api/v1/customers//billing' \
--header 'rs-x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"firstName": "Jane",
"lastName": "Doe",
"company": "Acme Corp",
"addressLineOne": "123 Market St",
"addressLineTwo": "Suite 400",
"addressLineThree": "Attn: Accounts Payable",
"city": "San Francisco",
"state": "CA",
"country": "US",
"postalCode": "94103",
"phoneCc": "+1",
"phone": "5551234567",
"languagePreference": "en"
}'{
"status": 200,
"message": "string",
"data": {
"id": "string",
"partnerId": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"stripeCustomerId": "string",
"notes": "string",
"tags": [
"string"
],
"status": "ACTIVE",
"createdAt": "string",
"workspaces": [
{
"userId": "string",
"id": "string",
"name": "string",
"isPrimary": true,
"createdAt": "string",
"billingRecords": [
{
"firstName": "string",
"lastName": "string",
"company": "string",
"addressLineOne": "string",
"addressLineTwo": "string",
"addressLineThree": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string",
"phoneCc": "string",
"phone": "string",
"languagePreference": "string"
}
]
}
],
"mailboxesPurchased": "string",
"domainsPurchased": "string",
"netProfit": 0,
"totalRevenue": 0,
"health": "good",
"hasSavedCard": true
}
}