Merchant
Stay organized with collections
Save and categorize content based on your preferences.
Merchant for the cart/order/line item.
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."],[[["\u003cp\u003eThis documentation outlines the JSON representation for merchant information within a cart, order, or line item.\u003c/p\u003e\n"],["\u003cp\u003eThe representation includes fields for merchant ID, name, image, phone numbers, and address, with links to further details for complex object types.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eid\u003c/code\u003e field is optional, while the \u003ccode\u003ename\u003c/code\u003e field is required for basic identification of the merchant.\u003c/p\u003e\n"]]],["The JSON representation details the structure for a merchant associated with a cart, order, or line item. Key information includes the merchant's `id`, `name`, and `image`. It also allows for an array of `phoneNumbers` and a structured `address`. The `id` is optional, while `name` is a string, `image` is an object, `phoneNumbers` are a collection of objects, and `address` is a structured object.\n"],null,["# Merchant\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nMerchant for the cart/order/line item.\n\n| JSON representation ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"id\": string, \"name\": string, \"image\": { object (/assistant/df-asdk/reference/webhook/rest/Shared.Types/Image) }, \"phoneNumbers\": [ { object (/assistant/df-asdk/reference/webhook/rest/Shared.Types/PhoneNumber) } ], \"address\": { object (/assistant/df-asdk/reference/webhook/rest/Shared.Types/Location) } } ``` |\n\n| Fields ||\n|------------------|----------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` Optional ID assigned to merchant if any. |\n| `name` | `string` The name of the merchant like \"Panera Bread\". |\n| `image` | `object (`[Image](/assistant/df-asdk/reference/webhook/rest/Shared.Types/Image)`)` The image associated with the merchant. |\n| `phoneNumbers[]` | `object (`[PhoneNumber](/assistant/df-asdk/reference/webhook/rest/Shared.Types/PhoneNumber)`)` Merchant's phone numbers. |\n| `address` | `object (`[Location](/assistant/df-asdk/reference/webhook/rest/Shared.Types/Location)`)` Merchant's address. |"]]