Customer
Customer Properties
Field | Description |
| When a |
| Customer's email address. |
| Customer's first name. |
| Unique identifier for a |
| Customer's last name. |
| Customer's phone number. |
| When a |
Create a Customer
POST
https://api.gomalomo.com/customers
Request Body
Name | Type | Description |
---|---|---|
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 |
---|---|---|
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