curl --request PUT \
--url https://api.meetcampfire.com/rr/api/v1/customers/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"customer": 123,
"name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>",
"mobile_number": "<string>",
"contacts": [
{
"name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>",
"mobile_number": "<string>"
}
]
}'
{
"id": 123,
"customer": 123,
"name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>",
"mobile_number": "<string>",
"currency": "<string>",
"total_contracts": 123,
"active_contracts": 123,
"completed_contracts": 123,
"pending_contracts": 123,
"total_revenue": 0,
"total_mrr": 0,
"total_billed": 0,
"total_unbilled": 0,
"total_paid": 0,
"total_outstanding": 0,
"created_at": "2023-11-07T05:31:56Z",
"contacts": [
{
"id": 123,
"name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>",
"mobile_number": "<string>"
}
],
"total_deferred_revenue": 0
}
curl --request PUT \
--url https://api.meetcampfire.com/rr/api/v1/customers/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"customer": 123,
"name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>",
"mobile_number": "<string>",
"contacts": [
{
"name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>",
"mobile_number": "<string>"
}
]
}'
{
"id": 123,
"customer": 123,
"name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>",
"mobile_number": "<string>",
"currency": "<string>",
"total_contracts": 123,
"active_contracts": 123,
"completed_contracts": 123,
"pending_contracts": 123,
"total_revenue": 0,
"total_mrr": 0,
"total_billed": 0,
"total_unbilled": 0,
"total_paid": 0,
"total_outstanding": 0,
"created_at": "2023-11-07T05:31:56Z",
"contacts": [
{
"id": 123,
"name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>",
"mobile_number": "<string>"
}
],
"total_deferred_revenue": 0
}
Token-based authentication with required prefix "Token"
The response is of type object
.