Transactions API will be deprecated on May 3, 2023, ahead of the Conversational Actions sunset on June 13, 2023. For more information, see
Conversational Actions sunset.
ProductDetails
Stay organized with collections
Save and categorize content based on your preferences.
Details about the product.
JSON representation |
{
"productId": string,
"gtin": string,
"plu": string,
"productType": string,
"productAttributes": {
string: string,
...
}
} |
Fields |
productId |
string
Product or offer id associated with this line item.
|
gtin |
string
Global Trade Item Number of the product. Useful if offerId is not present in Merchant Center. Optional.
|
plu |
string
Price look-up codes, commonly called PLU codes, PLU numbers, PLUs, produce codes, or produce labels, are a system of numbers that uniquely identify bulk produce sold in grocery stores and supermarkets.
|
productType |
string
Product category defined by the merchant. E.g. "Home > Grocery > Dairy & Eggs > Milk > Whole Milk"
|
productAttributes |
map (key: string, value: string)
Merchant-provided details about the product, e.g. { "allergen": "peanut" }. Useful if offerId is not present in Merchant Center. Optional. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" } .
|
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-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["This product data schema utilizes JSON format for representing product information."],["Key product identifiers include `productId`, Global Trade Item Number (`gtin`), and Price Look-up codes (`plu`)."],["`productType` allows merchants to categorize products based on their own classification system."],["Optional `productAttributes` provide a flexible way to include additional product details as key-value pairs."]]],[]]