Hello,
Create Shopping Cart API operation, mentions
cartItem as a mandatory attribute that has to be sent in request - in both API specification and conformance documents, but there is a contradiction in the first test case from conformance document , more exactly :
"Send a POST message to {apiRoot}/shoppingCart/ with the following contents in the BODY
{
}
Note: there are no mandatory fields for the creation."
My question is, if it's correct and compliant a POST request without any cartItem attributes sent? The use case would be, to create an empty shopping cart resource.
------------------------------
Mihaela Bordean
IBM Corporation
------------------------------