Resource: Store
An individual store for a brand.
| JSON representation |
|---|
{ "name": string, "createTime": string, "updateTime": string, "status": { object ( |
| Fields | |
|---|---|
name |
Identifier. The store name. Format: projects/{project}/locations/{location}/brands/{brand}/stores/{store} |
createTime |
Output only. The time this store was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The time this store was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
status |
Required. The status of the store. |
timeZone |
Required. The time zone of the store. This is used to determine which menu daypart to use for the store at a given time and for any time-based overrides. |
storeMetadata |
Optional. Metadata for the store. |
tags[] |
Optional. Tags associated with the store. |
StoreStatus
The status of the store.
| JSON representation |
|---|
{
"state": enum ( |
| Fields | |
|---|---|
state |
Optional. The state of the store. |
State
The status of the store.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
The store is in an unspecified state. |
ACTIVE |
The store is active. |
DISABLED |
The store is disabled. |
StoreMetadata
Metadata for the store.
| JSON representation |
|---|
{ "displayName": string, "contactEmail": string, "address": { object ( |
| Fields | |
|---|---|
displayName |
Optional. The display name of the store to be used in UI and customer-facing elements. |
contactEmail |
Optional. The email address of the store to be provided to customers. |
address |
Optional. The address information for the store. |
storeHours[] |
Optional. The open hours of the store. |
dayparts[] |
Optional. Dayparts defined for the store. |
phoneNumber |
Optional. The main phone number of the store to take orders, ask for catering, make general inquiries, and make reservations. |
Address
The address information for the store.
| JSON representation |
|---|
{ "streetAddress": string, "city": string, "state": string, "country": string, "postalCode": string, "latitude": number, "longitude": number, "googleMapsUrl": string } |
| Fields | |
|---|---|
streetAddress |
Optional. The street address of the store. |
city |
Optional. The city of the store. |
state |
Optional. The state of the store. |
country |
Optional. The country of the store. |
postalCode |
Optional. The postal code of the store. |
latitude |
Optional. The latitude of the store. |
longitude |
Optional. The longitude of the store. |
googleMapsUrl |
Optional. The Google Maps URL for the store. |
StoreHours
The operating hours of the store.
| JSON representation |
|---|
{ "fulfillmentMethod": enum ( |
| Fields | |
|---|---|
fulfillmentMethod |
Optional. The fulfillment method of the store hours, for instance "PICKUP", "DELIVERY", etc. If unspecified, the store hours are assumed to be applicable to all fulfillment methods. |
schedules[] |
Optional. The operating hours for the store for the specified fulfillmentMethod. |
Daypart
A daypart for the store.
| JSON representation |
|---|
{
"id": string,
"schedules": [
{
object ( |
| Fields | |
|---|---|
id |
Optional. The day part id, for instance "BREAKFAST", "LUNCH", etc. |
schedules[] |
Optional. Daypart active hours. |
displayName |
Optional. Specifies an optional display name for this daypart. |
Methods |
|
|---|---|
|
Batch deletes stores. |
|
Batch updates stores. |
|
Creates a store. |
|
Deletes the specified store. |
|
Gets a store. |
|
Lists stores. |
|
Update the specified store. |