updateOrder
Update an existing Order
put
https://localhost:9443/am/sample/pizzashack/v1/api/order/{orderId}
Path Parameters
orderIdstring(string)required
Order Id
Body
application/json
Body
application/json
Order object that needs to be added
Pizza Order
customerNamestring
deliveredboolean
addressstring
pizzaTypestring
creditCardNumberstring
quantitynumber
orderIdstringrequired
Response
application/json
Response
application/json
OK. Successful response with updated Order
Pizza Order
customerNamestring
deliveredboolean
addressstring
pizzaTypestring
creditCardNumberstring
quantitynumber
orderIdstringrequired
put/order/{orderId}
Authentication
Path Parameters
Body
{
"orderId": "orderId"
}
application/json
deleteOrder
Delete an existing Order
delete
https://localhost:9443/am/sample/pizzashack/v1/api/order/{orderId}
Path Parameters
orderIdstring(string)required
Order Id
Response
Response
OK. Resource successfully deleted.
delete/order/{orderId}
Authentication
Path Parameters
Description of individual errors that may have occurred during a request.
messagestringrequired
Description about individual errors occurred
codeinteger(int64)required
Example
Pizza menu Item
pricestring
descriptionstring
namestringrequired
imagestring
Example
Pizza Order
customerNamestring
deliveredboolean
addressstring
pizzaTypestring
creditCardNumberstring
quantitynumber
orderIdstringrequired
Example