/store/orderPlace a pet order
Creates a new order in the store for a pet. Supply order details such as petId, quantity, and shipDate; the body is optional, and status, when provided, must be placed, approved, or delivered. The response contains the order record.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Optional order details. The body can be sent as JSON, XML, or URL-encoded form data; all fields are optional.
The order's integer identifier.
The integer identifier of the pet being ordered.
The number of pets in the order.
The shipping date and time in ISO 8601 date-time format.
Order Status
Whether the order is complete.
Order Status
A 400 is returned for invalid input, and a 422 is returned when validation fails. If supplied, shipDate must use the ISO 8601 date-time format and status must be one of placed, approved, or delivered.