Protocol Documentation

Table of Contents

bobadojo/fulfillment/v1/fulfillment.proto

Top

bobadojo/analytics/v1/analytics.proto

Top

bobadojo/customers/v1/customers.proto

Top

bobadojo/menus/v1/menus.proto

Top

GetMenuRequest

Request to GetMenu.

FieldTypeLabelDescription
name string

The ID of the menu resource to retrieve.

Menu

A store resource.

FieldTypeLabelDescription
id int64

A unique id.

description string

A description of the menu

Menus

Get information about store menus.

Method NameRequest TypeResponse TypeDescription
GetMenu GetMenuRequest Menu

Returns a menu for a specific store.

Methods with HTTP bindings

Method Name Method Pattern Body
GetMenu GET /v1/menus/{name=store}

bobadojo/stores/v1/stores.proto

Top

Address

An address.

FieldTypeLabelDescription
street string

Street address

city string

City

state string

State

zip_code int32

Zip code

region_code string

Country

county string

County

BoundingBox

A bounding box in terrestrial coordinates.

FieldTypeLabelDescription
max Location

Maximum coordinate values.

min Location

Minimum coordinate values.

FindStoresRequest

Request to FindStores.

FieldTypeLabelDescription
bounds BoundingBox

Bounding box of the request.

limit int32

Maximum number of results to return.

FindStoresResponse

Response from FindStores.

FieldTypeLabelDescription
count int32

Number of matching stores.

stores Store repeated

Matching stores.

GetStoreRequest

Request to GetStore.

FieldTypeLabelDescription
name string

The ID of the store resource to retrieve.

ListStoresRequest

Request to ListStores.

FieldTypeLabelDescription
page_size int32

Page size.

page_token string

Pagination token.

ListStoresResponse

Response from ListStores.

FieldTypeLabelDescription
stores Store repeated

List of stores.

next_page_token string

Token of next page.

Location

A location in terrestrial coordinates.

FieldTypeLabelDescription
latitude float

Latitude of the location.

longitude float

Longitude of the location.

Store

A store.

FieldTypeLabelDescription
name string

A unique id (e.g. store number)

type string

An identifier indicating the type of store

title string

Store name (human-readable)

location Location

Store location

address Address

Store address

store_hours string

Store hours

Stores

Get stores and related information.

Method NameRequest TypeResponse TypeDescription
ListStores ListStoresRequest ListStoresResponse

List all stores.

FindStores FindStoresRequest FindStoresResponse

Returns a list of all stores in a specified region.

GetStore GetStoreRequest Store

Returns a specific store.

Methods with HTTP bindings

Method Name Method Pattern Body
ListStores GET /v1/stores
FindStores GET /v1/stores:find
GetStore GET /v1/stores/{name=store}

bobadojo/operations/v1/operations.proto

Top

bobadojo/orders/v1/orders.proto

Top

bobadojo/payments/v1/payments.proto

Top

bobadojo/messages/v1/messages.proto

Top

Scalar Value Types

.proto TypeNotesC++JavaPythonGoC#PHPRuby
double double double float float64 double float Float
float float float float float32 float float Float
int32 Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. int32 int int int32 int integer Bignum or Fixnum (as required)
int64 Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. int64 long int/long int64 long integer/string Bignum
uint32 Uses variable-length encoding. uint32 int int/long uint32 uint integer Bignum or Fixnum (as required)
uint64 Uses variable-length encoding. uint64 long int/long uint64 ulong integer/string Bignum or Fixnum (as required)
sint32 Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. int32 int int int32 int integer Bignum or Fixnum (as required)
sint64 Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. int64 long int/long int64 long integer/string Bignum
fixed32 Always four bytes. More efficient than uint32 if values are often greater than 2^28. uint32 int int uint32 uint integer Bignum or Fixnum (as required)
fixed64 Always eight bytes. More efficient than uint64 if values are often greater than 2^56. uint64 long int/long uint64 ulong integer/string Bignum
sfixed32 Always four bytes. int32 int int int32 int integer Bignum or Fixnum (as required)
sfixed64 Always eight bytes. int64 long int/long int64 long integer/string Bignum
bool bool boolean boolean bool bool boolean TrueClass/FalseClass
string A string must always contain UTF-8 encoded or 7-bit ASCII text. string String str/unicode string string string String (UTF-8)
bytes May contain any arbitrary sequence of bytes. string ByteString str []byte ByteString string String (ASCII-8BIT)