Update a customer
Update a customer.
Last updated 19 October 2026
Update a customer.
https://developersandbox-api.flutterwave.com/customers/{id}
authorization string required
Pass your OAuth access token as a bearer token in the request header to authorize this call
FILL IN ALL REQUIRED FIELDS
X-Trace-Id string
A unique identifier to track this operation. It must be between 12 and 255 characters in length.
FILL IN ALL REQUIRED FIELDS
id string required
ID of the customer.
FILL IN ALL REQUIRED FIELDS
address object
Customer address information.
FILL IN ALL REQUIRED FIELDS
city string required
The name of the city. pattern ^.+$
country string required
ISO2 country code pattern ^[A-Z]{2}$
line1 string required
The first line of the Customer's address. pattern ^.+$
line2 string
The second line of the Customer's address. pattern ^.+$
postal_code string required
pattern ^.+$
state string required
The state or region. pattern ^.+$
meta object
name object
The Customer's full name.
FILL IN ALL REQUIRED FIELDS
first string
The Customer's first name. pattern ^(?![ ,.'-]*$)[A-Za-z ,.'-]{2,50}$
middle string
The Customer's middle name. pattern ^(?![ ,.'-]*$)[A-Za-z ,.'-]{2,50}$
last string
The Customer's last name. pattern ^(?![ ,.'-]*$)[A-Za-z ,.'-]{2,50}$
phone object
The customer's mobile number.
FILL IN ALL REQUIRED FIELDS
country_code string required
The dialling country code e.g. 234 for NG. pattern ^[0-9]{1,3}$
number string required
Unformatted 7-10-digit phone number without the country code. pattern ^[0-9]{7,10}$
FILL IN ALL REQUIRED FIELDS
status string
Allowed values: success, failed
message string
data object
FILL IN ALL REQUIRED FIELDS
id string
ID of the customer.
address object
Customer address information.
FILL IN ALL REQUIRED FIELDS
city string required
The name of the city. pattern ^.+$
country string required
ISO2 country code pattern ^[A-Z]{2}$
line1 string required
The first line of the Customer's address. pattern ^.+$
line2 string
The second line of the Customer's address. pattern ^.+$
postal_code string required
pattern ^.+$
state string required
The state or region. pattern ^.+$
email string
The Customer's email address. pattern ^[a-zA-Z0-9_+&*-]+(?:\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$
name object
The Customer's full name.
FILL IN ALL REQUIRED FIELDS
first string
The Customer's first name. pattern ^(?![ ,.'-]*$)[A-Za-z ,.'-]{2,50}$
middle string
The Customer's middle name. pattern ^(?![ ,.'-]*$)[A-Za-z ,.'-]{2,50}$
last string
The Customer's last name. pattern ^(?![ ,.'-]*$)[A-Za-z ,.'-]{2,50}$
phone object
The customer's mobile number.
FILL IN ALL REQUIRED FIELDS
country_code string required
The dialling country code e.g. 234 for NG. pattern ^[0-9]{1,3}$
number string required
Unformatted 7-10-digit phone number without the country code. pattern ^[0-9]{7,10}$
meta object
created_datetime string (date-time)
FILL IN ALL REQUIRED FIELDS
status string
Allowed values: failed
error object
The request cannot be accepted and is malformed and/or missing required parameters.
FILL IN ALL REQUIRED FIELDS
type string
code string
message string
validation_errors array of object
FILL IN ALL REQUIRED FIELDS
field_name string
message string
FILL IN ALL REQUIRED FIELDS
status string
Allowed values: failed
message string
Invalid API key provided
error object
FILL IN ALL REQUIRED FIELDS
type string
code string
message string
FILL IN ALL REQUIRED FIELDS
status string
Allowed values: failed
message string
API key doesn't have permission to access this resource
error object
FILL IN ALL REQUIRED FIELDS
type string
code string
message string
Shell