Skip to main content
POST
/
customers
/
{id}
Update a customer
curl --request POST \
  --url https://base_url/api/v1/customers/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "email": "[email protected]",
  "shipping_address": {
    "postal_code": "90401",
    "state": "CA",
    "country": "US",
    "address_line_1": "1776 Main St",
    "address_line_2": "Apt. #123",
    "address_line_3": "<string>",
    "city": "Santa Monica"
  }
}
'
{
  "message": "Successfully updated customer."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The unique identifier of the transaction to update

Body

application/json
name
string

A display name for this customer.

Minimum string length: 3
email
string<email>

Email address of the customer.

shipping_address
object

Response

Information about the customer after the update

message
string
Example:

"Successfully updated customer."