-
Notifications
You must be signed in to change notification settings - Fork 0
REST Service List
A working list of REST services that will define the MyMark API
POST /customer
- Create customer (DONE)
GET /customer/{id}
- Get customer with id
GET /customer/{userName}
- Get customer by userName (DONE)
PUT /customer
- Update customer
DELETE /customer/{id}
- Delete customer by id (DONE)
POST /account
- Create account
GET /account/{id}
- Get account by id
GET /account/{email}
- Get account by email
PUT /account
DELETE /account
- Delete account
GET /products
- Get all products (DONE)
GET /product/{id}
- Get product by id (DONE)
GET /product/{productCode}
- Get product by SKU
POST /shoppingcart
- Create shopping cart
GET /shoppingcart/{id}
- Get shopping cart by id
PUT /shoppingcart
- Add item to shopping cart
GET /inventory/{id}
- Lookup inventory of product
GET /inventory/{sku}
- Lookup inventory of product
PUT /inventory
- Update the inventory for a product
POST /order
- Submit an order
GET /order/{id}
- Get an order by id
GET /orders
- Get all orders
GET /orders/open
- Get all open orders