1.0.0OAS 3.0

This is a RESTFul API for Pizza Shack online pizza delivery store.

API Base URL
  • Server 1:https://localhost:9443/am/sample/pizzashack/v1/api

    Production API server

Security
default (oauth2)

Implicit OAuth Flow

Authorize URL: https://test.com

menu

Operations related to menu management.

getMenu

Return a list of available menu items

get
https://localhost:9443/am/sample/pizzashack/v1/api/menu

Response

application/json

OK. List of APIs is returned.

pricestring
descriptionstring
namestringrequired
imagestring
get/menu
 
application/json

order

Operations related to order management.

createOrder

Create a new Order

post
https://localhost:9443/am/sample/pizzashack/v1/api/order

Body

application/json

Order object that needs to be added

Pizza Order

customerNamestring
deliveredboolean
addressstring
pizzaTypestring
creditCardNumberstring
quantitynumber
orderIdstringrequired

Response

application/json

Created. Successful response with the newly created object as entity inthe body.Location header contains URL of newly created entity.

Pizza Order

customerNamestring
deliveredboolean
addressstring
pizzaTypestring
creditCardNumberstring
quantitynumber
orderIdstringrequired
post/order

Body

{ "orderId": "orderId" }
 
application/json