rocket
Meet
Merchant API
- the official successor to Content API for Shopping.
update
Get the latest
on new Merchant API features, bug fixes, and updates.
add_alert
Note: Content API for Shopping will be sunset on August 18, 2026.
PriceAmount
Stay organized with collections
Save and categorize content based on your preferences.
The price represented as a number and currency.
JSON representation |
{
"value": string,
"currency": string
} |
Fields |
value |
string
The price represented as a number.
|
currency |
string
The currency of the price.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[null,null,["Last updated 2024-10-16 UTC."],[[["\u003cp\u003ePrice is represented using a JSON object containing \u003ccode\u003evalue\u003c/code\u003e and \u003ccode\u003ecurrency\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003evalue\u003c/code\u003e field is a string containing the numerical representation of the price.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecurrency\u003c/code\u003e field is a string indicating the currency of the price, such as USD or EUR.\u003c/p\u003e\n"]]],["The content describes a JSON structure for representing a price. It utilizes a JSON object with two key-value pairs: `value` and `currency`. The `value` field, of type string, holds the numerical price. The `currency` field, also a string, specifies the currency associated with that price. This structure allows for a standardized representation of prices in JSON format.\n"],null,["# PriceAmount\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe price represented as a number and currency.\n\n| JSON representation |\n|-------------------------------------------------|\n| ``` { \"value\": string, \"currency\": string } ``` |\n\n| Fields ||\n|------------|---------------------------------------------|\n| `value` | `string` The price represented as a number. |\n| `currency` | `string` The currency of the price. |"]]