Update a Customer

Updates a Customer Vault profile. You can send the entire resource or just the fields that need updating. When updating array fields (billing_cards or shipping_addresses), include the entire array in the request body.

Path Params
string
required

The customer ID, returned as the customer_id value in an 'Add a Customer' response.

Body Params

Customer

string

Format: Variable length, up to 32 AN
Description: Customer's first name.
Conditional Requirement: Either customer name or customer firm name is required.

string

Format: Variable length, up to 32 AN
Description: Customer's last name.
Conditional Requirement: Either customer name or customer firm name is required.

string

Format: Variable length, up to 64 AN
Description: Customer's business name, if applicable.
Conditional Requirement: Either customer name or customer firm name is required.

string

Format: Variable length, up to 16 AN
Description: Customer's phone number.

string

Format: Variable length, up to 64 AN
Description: Customer's email address.

string

Format: Variable length, up to 128 AN
Description: A merchant-provided value that will be stored with the Customer Vault data for merchant reference.

string

Format: Variable length, up to 128 AN
Description: Comments.

shipping_addresses
array of objects

Description: An array of shipping addresses.

shipping_addresses
billing_cards
array of objects

Description: An array of billing cards.

billing_cards
int64

Format: Variable length, up to 16 AN
Description: Identifies the merchant to whom this request applies. Optional field, applicable only if the request is sent on behalf of another merchant.
Conditional Requirement: Required if this request is on behalf of another merchant.

Responses

Language
Credentials
Basic
base64
:
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json