Logo
1 API Documentation

Place an order for a pet

POST {{baseUrl}}/store/order

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "id": -46984272, "petId": -8321101, "quantity": -89349998, "shipDate": "1969-01-10T06:06:20.972Z", "status": "approved", "complete": false }



Curl
curl -X POST 'https://petstore.swagger.io/v2/store/order' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"id":-46984272,"petId":-8321101,"quantity":-89349998,"shipDate":"1969-01-10T06:06:20.972Z","status":"approved","complete":false}'

ENDPOINTS