# store_api All URIs are relative to *http://petstore.swagger.io/v2* Method | HTTP request | Description ------------- | ------------- | ------------- **deleteOrder**](store_api.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID **getInventory**](store_api.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status **getOrderById**](store_api.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID **placeOrder**](store_api.md#placeOrder) | **POST** /store/order | Place an order for a pet # **deleteOrder** > deleteOrder(order_id) Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **order_id** | **String**| ID of the order that needs to be deleted | ### Return type (empty response body) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **getInventory** > std::collections::HashMap getInventory(ctx, ) Returns pet inventories by status Returns a map of status codes to quantities ### Required Parameters This endpoint does not need any parameter. ### Return type [**std::collections::HashMap**](integer.md) ### Authorization [api_key](../README.md#api_key) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **getOrderById** > models::Order getOrderById(order_id) Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **order_id** | **i64**| ID of pet that needs to be fetched | ### Return type [**models::Order**](Order.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **placeOrder** > models::Order placeOrder(order) Place an order for a pet ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **order** | [**Order**](Order.md)| order placed for purchasing the pet | ### Return type [**models::Order**](Order.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)