/store/orderPlace an order for a pet
Creates a new order for a pet in the store. All fields are optional — supply only the order details you want to set. status must be one of placed, approved, or delivered if provided. Returns the created order object with its identifier.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Order object to create. All fields are optional.
The unique identifier for the order. Generated by the store if omitted.
The identifier of the pet being ordered.
The number of pets to order.
The date and time when the order should ship, in ISO 8601 format.
Order Status
Set to true if the order is complete, false otherwise.
Order Status
A 400 is returned when the request body is malformed or contains invalid data. A 422 is returned when the request body fails validation — ensure any provided status is one of the accepted values.