Skip to main content
PATCH
/
customers
/
{id}
Update customer
curl --request PATCH \
  --url https://api.getovra.com/customers/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "plan": "free",
  "firstName": "<string>",
  "lastName": "<string>",
  "companyName": "<string>",
  "dateOfBirth": "<string>",
  "addressLine1": "<string>",
  "addressCity": "<string>",
  "addressPostcode": "<string>",
  "addressCountry": "<string>"
}
'
{
  "id": "<string>",
  "ownerId": "<string>",
  "type": "<string>",
  "email": "<string>",
  "status": "<string>",
  "plan": "<string>",
  "walletBalanceEuros": 123,
  "planLimits": {},
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API key (sk_...) or Agent token (at_...)

Path Parameters

id
string
required

Body

application/json
email
string<email>
plan
enum<string>
Available options:
free,
personal,
business,
enterprise
firstName
string
lastName
string
companyName
string
dateOfBirth
string
addressLine1
string
addressCity
string
addressPostcode
string
addressCountry
string

Response

Updated customer

id
string
ownerId
string
type
string
email
string | null
status
string
plan
string
walletBalanceEuros
number
planLimits
object
createdAt
string<date-time>