curl --request POST \
--url https://dev.sbx.imprint.co/v2/customers/{customer_id} \
--header 'Content-Type: application/json' \
--data '{
"email": "customer@example.com",
"phone": "+14155552671",
"first_name": "John",
"last_name": "Doe",
"preferred_language": "en",
"street_line1": "123 Main St",
"street_line2": "Apt 4B",
"city": "San Francisco",
"state": "CA",
"postal_code": "94105",
"customer_history": {
"email": "customer@example.com",
"phone": "+14155552671",
"first_name": "John",
"last_name": "Doe",
"preferred_language": "en",
"address": {
"street_line1": "123 Main St",
"street_line2": "Apt 4B",
"city": "San Francisco",
"state": "CA",
"postal_code": "94105",
"country": "USA"
},
"account_tenure": 13,
"ltv_amount": 34000,
"ltv_currency": "USD",
"loyalty_tier": "GOLD"
},
"metadata": {
"preferred_language": "en"
}
}'
{
"id": "9B5E1EE0-2E1C-46E7-81B9-3C3917204BE4",
"email": "customer@example.com",
"phone": "+14155552671",
"statuses": {
"Card Program Name": "OPEN"
},
"first_name": "John",
"last_name": "Doe",
"preferred_language": "en",
"ssn4": "1234",
"date_of_birth": {
"year": 1990,
"month": 1,
"day": 1
},
"address": {
"street_line1": "123 Main St",
"street_line2": "Apt 4B",
"city": "San Francisco",
"state": "CA",
"postal_code": "94105",
"country": "USA"
},
"partner_customer_id": "PARTNER_USER_456",
"metadata": {
"preferred_language": "en"
},
"created_at": "2025-02-13T19:08:07.000Z",
"updated_at": "2025-02-13T19:08:07.000Z"
}
Updates the details of the customer associated with the supplied customer_id
curl --request POST \
--url https://dev.sbx.imprint.co/v2/customers/{customer_id} \
--header 'Content-Type: application/json' \
--data '{
"email": "customer@example.com",
"phone": "+14155552671",
"first_name": "John",
"last_name": "Doe",
"preferred_language": "en",
"street_line1": "123 Main St",
"street_line2": "Apt 4B",
"city": "San Francisco",
"state": "CA",
"postal_code": "94105",
"customer_history": {
"email": "customer@example.com",
"phone": "+14155552671",
"first_name": "John",
"last_name": "Doe",
"preferred_language": "en",
"address": {
"street_line1": "123 Main St",
"street_line2": "Apt 4B",
"city": "San Francisco",
"state": "CA",
"postal_code": "94105",
"country": "USA"
},
"account_tenure": 13,
"ltv_amount": 34000,
"ltv_currency": "USD",
"loyalty_tier": "GOLD"
},
"metadata": {
"preferred_language": "en"
}
}'
{
"id": "9B5E1EE0-2E1C-46E7-81B9-3C3917204BE4",
"email": "customer@example.com",
"phone": "+14155552671",
"statuses": {
"Card Program Name": "OPEN"
},
"first_name": "John",
"last_name": "Doe",
"preferred_language": "en",
"ssn4": "1234",
"date_of_birth": {
"year": 1990,
"month": 1,
"day": 1
},
"address": {
"street_line1": "123 Main St",
"street_line2": "Apt 4B",
"city": "San Francisco",
"state": "CA",
"postal_code": "94105",
"country": "USA"
},
"partner_customer_id": "PARTNER_USER_456",
"metadata": {
"preferred_language": "en"
},
"created_at": "2025-02-13T19:08:07.000Z",
"updated_at": "2025-02-13T19:08:07.000Z"
}
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
The unique identifier for the customer
"BBB815E9-F654-438D-9AD3-3F7BB8136FC0"
Customer updated successfully
Represents a customer in the Imprint system