# REST Resource: accounts.priceViews

- [Resource: PriceView](https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceViews#PriceView)
  - [JSON representation](https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceViews#PriceView.SCHEMA_REPRESENTATION)
- [HotelPricePerItinerary](https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceViews#HotelPricePerItinerary)
  - [JSON representation](https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceViews#HotelPricePerItinerary.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceViews#METHODS_SUMMARY)

## Resource: PriceView

A price view. Covers the Prices functionality in pre-v3.0 API versions.

| JSON representation |
|---|
| ``` { "name": string, "perItineraryPrices": [ { object (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceViews#HotelPricePerItinerary`) } ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Resource name in the format `accounts/{account_id}/priceViews/{partnerHotelId}`. |
| `perItineraryPrices[]` | ``object (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceViews#HotelPricePerItinerary`)`` Price for each itinerary. |

## HotelPricePerItinerary

Hotel price for a given itinerary.

| JSON representation |
|---|
| ``` { "checkinDate": { object (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/Date`) }, "lengthOfStayDays": integer, "price": number, "taxes": number, "fees": number, "currencyCode": string, "updateTime": string } ``` |

| Fields ||
|---|---|
| `checkinDate` | ``object (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/Date`)`` Check-in date. |
| `lengthOfStayDays` | `integer` Number of nights for the itinerary. |
| `price` | `number` Hotel price for this itinerary. |
| `taxes` | `number` Taxes for this itinerary. |
| `fees` | `number` Fees for this itinerary. |
| `currencyCode` | `string` Currency for `price`, `taxes`, and `fees`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Update timestamp for this hotel price. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceViews/get` | Returns the requested price view in full detail. |