Customer

Customer Properties

Field

Description

created_at

When a Customer was created on the Malomo Platform.

email

Customer's email address.

first_name

Customer's first name.

id

Unique identifier for a Customer.

last_name

Customer's last name.

phone_number

Customer's phone number.

updated_at

When a Customer was last updated.

Create a Customer

POST https://api.gomalomo.com/customers

Request Body

Name
Type
Description

email

string

Customer's email address

first_name

string

Customer's first name

last_name

string

Customer's last name

phone_number

string

Customer's phone number

Retrieve a Customer

GET https://api.gomalomo.com/customers/:id

Path Parameters

Name
Type
Description

id

string

Unique identifier of the desired customer

Retrieve a List of Customers

GET https://api.gomalomo.com/customers

Query Parameters

Name
Type
Description

prev

string

Retrieve customers after a given cursor.

next

string

Retrieve customers before a given cursor.

Update a Customer

PUT https://api.gomalomo.com/customers/:id

Path Parameters

Name
Type
Description

id

string

Unique identifier of the customer to update

Request Body

Name
Type
Description

email

string

Customer's email address

first_name

string

Customer's first name

last_name

string

Customer's last name

phone_number

string

Customer's phone number

Delete a Customer

DELETE https://api.gomalomo.com/customers/:id

Path Parameters

Name
Type
Description

id

string

Unique identifier of the customer to delete

Retrieve a List of Customer Events

GET https://api.gomalomo.com/customers/:customer_id/events

Path Parameters

Name
Type
Description

customer_id

string

Unique id of the Customer to retrieve events for.

Query Parameters

Name
Type
Description

prev

string

Retrieve events before a given cursor.

next

string

Retrieve events after a given cursor.

Last updated

Was this helpful?