All URIs are relative to /v3
| Method | HTTP request | Description |
|---|---|---|
| delete_order | DELETE /store/order/{orderId} | Delete purchase order by ID |
| get_inventory | GET /store/inventory | Returns pet inventories by status |
| get_order_by_id | GET /store/order/{orderId} | Find purchase order by ID |
| place_order | POST /store/order | Place an order for a pet |
delete_order(_api::StoreApi, order_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
delete_order(_api::StoreApi, response_stream::Channel, order_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse
Delete purchase order by ID
For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
| Name | Type | Description | Notes |
|---|---|---|---|
| _api | StoreApi | API context | |
| order_id | String | ID of the order that needs to be deleted |
Nothing
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_inventory(_api::StoreApi; _mediaType=nothing) -> Dict{String, Int64}, OpenAPI.Clients.ApiResponse
get_inventory(_api::StoreApi, response_stream::Channel; _mediaType=nothing) -> Channel{ Dict{String, Int64} }, OpenAPI.Clients.ApiResponse
Returns pet inventories by status
Returns a map of status codes to quantities
This endpoint does not need any parameter.
Dict{String, Int64}
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_order_by_id(_api::StoreApi, order_id::Int64; _mediaType=nothing) -> Order, OpenAPI.Clients.ApiResponse
get_order_by_id(_api::StoreApi, response_stream::Channel, order_id::Int64; _mediaType=nothing) -> Channel{ Order }, OpenAPI.Clients.ApiResponse
Find purchase order by ID
For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
| Name | Type | Description | Notes |
|---|---|---|---|
| _api | StoreApi | API context | |
| order_id | Int64 | ID of pet that needs to be fetched |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
place_order(_api::StoreApi, order::Order; _mediaType=nothing) -> Order, OpenAPI.Clients.ApiResponse
place_order(_api::StoreApi, response_stream::Channel, order::Order; _mediaType=nothing) -> Channel{ Order }, OpenAPI.Clients.ApiResponse
Place an order for a pet
| Name | Type | Description | Notes |
|---|---|---|---|
| _api | StoreApi | API context | |
| order | Order | order placed for purchasing the pet |
No authorization required
- Content-Type: application/json
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]