Merchant

  • This documentation outlines the JSON representation for merchant information within a cart, order, or line item.

  • The representation includes fields for merchant ID, name, image, phone numbers, and address, with links to further details for complex object types.

  • The id field is optional, while the name field is required for basic identification of the merchant.

Merchant for the cart/order/line item.

JSON representation
{
  "id": string,
  "name": string,
  "image": {
    object (Image)
  },
  "phoneNumbers": [
    {
      object (PhoneNumber)
    }
  ],
  "address": {
    object (Location)
  }
}
Fields
id

string

Optional ID assigned to merchant if any.

name

string

The name of the merchant like "Panera Bread".

image

object (Image)

The image associated with the merchant.

phoneNumbers[]

object (PhoneNumber)

Merchant's phone numbers.

address

object (Location)

Merchant's address.