Sha256: 1381a6ed275720d90a93595212e95f3d13b256e24e771cc5676fa986575bb4ae

Contents?: true

Size: 1.44 KB

Versions: 2

Compression:

Stored size: 1.44 KB

Contents

# HelloextendApiClient::OffersApi

All URIs are relative to *https://api-demo.helloextend.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_offer**](OffersApi.md#get_offer) | **GET** /offers?storeId={storeId}&productId={productId} | Get Offer information



## get_offer

> Offer get_offer(store_id, product_id)

Get Offer information

Returns warranty plans and pricing for a specific product. 

### Example

```ruby
# load the gem
require 'helloextend_api_client'

api_instance = HelloextendApiClient::OffersApi.new
store_id = 'c57ed096-24ef-49a4-a20a-d1b8bf770980' # String | Unique identifier for a Store on Extend
product_id = 'product_id_example' # String | The unique referenceId passed to extend when creating a product.

begin
  #Get Offer information
  result = api_instance.get_offer(store_id, product_id)
  p result
rescue HelloextendApiClient::ApiError => e
  puts "Exception when calling OffersApi->get_offer: #{e}"
end
```

### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **store_id** | [**String**](.md)| Unique identifier for a Store on Extend | 
 **product_id** | [**String**](.md)| The unique referenceId passed to extend when creating a product. | 

### Return type

[**Offer**](Offer.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
helloextend_api_client-1.0.3 docs/OffersApi.md
helloextend_api_client-1.0.2 docs/OffersApi.md