API Reference
- Customers
- Customer Links
- Customer Sessions
- Payment Methods
- Transaction Intents
- Transactions
- Rewards
- Offers
- Simulate Transaction Event
- Simulate Statement Reward
- Keys
- Webhooks
Customers
Update a customer
Updates the details of the customer associated with the supplied customer_id
POST
/
v2
/
customers
/
{customer_id}
Copy
Ask AI
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"
}
}'
Copy
Ask AI
{
"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"
}
Authorizations
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
Path Parameters
The unique identifier for the customer
Example:
"BBB815E9-F654-438D-9AD3-3F7BB8136FC0"
Body
application/json
Response
200
application/json
Customer updated successfully
Represents a customer in the Imprint system
Copy
Ask AI
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"
}
}'
Copy
Ask AI
{
"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"
}
Assistant
Responses are generated using AI and may contain mistakes.