# \OffersApi
All URIs are relative to *https://api.scaleway.com*
[**get_offer**](OffersApi.md#get_offer) | **GET** /baremetal/v1/zones/{zone}/offers/{offer_id} | Get offer
[**list_offers**](OffersApi.md#list_offers) | **GET** /baremetal/v1/zones/{zone}/offers | List offers
## get_offer
> crate::models::ScalewayPeriodBaremetalPeriodV1PeriodOffer get_offer(zone, offer_id)
Get offer
Return specific offer for the given ID.
### Parameters
**zone** | **String** | The zone you want to target | [required] |
**offer_id** | **String** | ID of the researched Offer | [required] |
### Return type
[**crate::models::ScalewayPeriodBaremetalPeriodV1PeriodOffer**](scaleway.baremetal.v1.Offer.md)
### Authorization
[scaleway](../README.md#scaleway)
### 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)
## list_offers
> crate::models::ScalewayPeriodBaremetalPeriodV1PeriodListOffersResponse list_offers(zone, page, page_size, subscription_period)
List offers
List all available server offers.
### Parameters
**zone** | **String** | The zone you want to target | [required] |
**page** | Option<**i32**> | Page number | |[default to 1]
**page_size** | Option<**i32**> | Number of offers per page | |[default to 20]
**subscription_period** | Option<**String**> | Period of subscription to filter offers | |[default to unknown_subscription_period]
### Return type
[**crate::models::ScalewayPeriodBaremetalPeriodV1PeriodListOffersResponse**](scaleway.baremetal.v1.ListOffersResponse.md)
### Authorization
[scaleway](../README.md#scaleway)
### 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)