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.
Price
Stay organized with collections
Save and categorize content based on your preferences.
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\u003eThe schema represents a price with a numerical value and its corresponding currency.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003evalue\u003c/code\u003e and \u003ccode\u003ecurrency\u003c/code\u003e are represented as strings in the JSON object.\u003c/p\u003e\n"]]],["The provided JSON schema represents a price with two fields: `value` and `currency`. `value` is a string representing the numerical price, and `currency` is a string indicating the currency type. The JSON is formatted as: `{\"value\": string, \"currency\": string}`. This structure allows for the clear definition of both the price amount and its corresponding currency.\n"],null,["# Price\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\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. |"]]