GET /api/v1/customers: getCustomers() - Get a list of all customers
POST /api/v1/customers: createCustomer() - Creates a new customer
GET /api/v1/customers/{id}: getCustomer() - Queries a single customer by id
PUT /api/v1/customers/{id}: updateCustomer()- Updates a customer by id
GET /api/v1/customers/{id}/orders: getCustomerOrders() - Queries a list of orders from a customer
GET /api/v1/customers/{id}/addresses: getCustomerAddresses() - Queries a list of addresses from a customer
Customer endpoints added
GET /api/v1/customers
:getCustomers()
- Get a list of all customersPOST /api/v1/customers
:createCustomer()
- Creates a new customerGET /api/v1/customers/{id}
:getCustomer()
- Queries a single customer by idPUT /api/v1/customers/{id}
:updateCustomer()
- Updates a customer by idGET /api/v1/customers/{id}/orders
:getCustomerOrders()
- Queries a list of orders from a customerGET /api/v1/customers/{id}/addresses
:getCustomerAddresses()
- Queries a list of addresses from a customer