POST
/
customers
/
{id}
curl --request POST \
  --url https://base_url/api/v1/customers/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "email": "jsmith@example.com",
  "shipping_address": {
    "address_line_1": "1776 Main St",
    "address_line_2": "Apt. #123",
    "address_line_3": "<string>",
    "postal_code": "90401",
    "city": "Santa Monica",
    "state": "CA",
    "country": "US"
  }
}'
{
  "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 length: 3
email
string

Email address of the customer.

shipping_address
object

Response

200
application/json
Information about the customer after the update
message
string
Example:

"Successfully updated customer."