Customers
All Customers
GET
https://yoursite.mavenseed.com/api/v1/customers
Retrieve all customers
Path Parameters
Name | Type | Description |
---|---|---|
page | integer | Results are paginated. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Auth token |
Show Customer
GET
https://yoursite.mavenseed.com/api/v1/customers/:id
Retrieve a single member
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Auth token |
Create Customer
POST
https://yoursite.mavenseed.com/api/v1/customers
Create a customer.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Auth Token |
Request Body
Name | Type | Description |
---|---|---|
first_name | string | Customer first name |
last_name | string | Customer last name |
string | Email of customer | |
avatar_data | string | Hash of avatar image data (n/a in API) |
stripe_customer_id | string | Stripe Customer ID |
vat_number | string | VAT Business number |
address | string | Customer address |
zipcode | string | Customer zipcode |
city | string | Customer city |
state | string | Customer state (2 letter iso code) |
country | string | Customer country (2 letter iso code) |
Update Customer
PATCH
https://yoursite.mavenseed.com/api/v1/customers/:id
Update a single customer. All of the above properties in create customer are valid.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Auth token |
Delete a Customer
DELETE
https://yoursite.mavenseed.com/api/v1/customers/:id
Delete a customer.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Auth token. |
Last updated