...
Method | POST | Comments | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Description | inserts a case message object for a case | See Case Management to better understand what a case is This will trigger an email to customer service. | |||||||||
Cookies |
| The customer must be logged in. | |||||||||
Path Parameters | orderId | Order ID | |||||||||
Query Parameters |
| ||||||||||
Headers |
| ||||||||||
Receives Json | CaseMessage Object | If this order id doesn't exist, a 404 is returned. If no case exists for this order, a 400 Bad Request is returned. If no message is supplied, a 400 Bad Request is returned. | |||||||||
Returns Json | Case object | contains record identifier as well as submitted fields. | |||||||||
Example |
|
TODO:
/rest/myaccount/notReviewedYet
...
/myaccount/reviews (GET)
...
Method | GET | Comments | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Description | returns a distinct list of purchased items not yet reviewed. |
| |||||||||
Cookies |
| The customer must be logged in. | |||||||||
Path Parameters | none | ||||||||||
Query Parameters | pageNumber pageSize
| pagination number number of records per page (max is 10) | |||||||||
Headers | Returned headers: uc-pagination-page-size uc-pagination-page-number uc-pagination-total-records uc-pagination-total-pages |
page size of result set page number of result set total number of records found total number of pages found | |||||||||
Receives Json | none | ||||||||||
Returns Json | Array of NotReviewedItem objects |
| |||||||||
Example |
|
/rest/myaccount/orders
Method | GET | Comments | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Description | returns a list of reviews the customer has submitted |
| |||||||||
Cookies |
| The customer must be logged in. | |||||||||
Path Parameters | none | ||||||||||
Query Parameters | pageNumber pageSize | pagination number number of records per page (max is 10) | |||||||||
Headers | Returned headers: uc-pagination-page-size uc-pagination-page-number uc-pagination-total-records uc-pagination-total-pages |
page size of result set page number of result set total number of records found total number of pages found | |||||||||
Receives Json | none | ||||||||||
Returns Json | Array of ReviewedItem objects |
| |||||||||
Example |
|