Beers

getCustomerOrderById

Get Order By Id

get

Path Parameters

customerIdstring(uuid)required

Customer Id

orderIdstring(uuid)required

Order Id

Response

application/json

HTTP Okay

BeerOrder

idstring | null(uuid)read-only
versioninteger | nullread-only
createdDatestring | null(date-time)read-only
lastModifiedDatestring | null(date-time)read-only
customerIdstring(uuid)required
customerRefstring | null
beerOrderLinesarray[object]
Show Child Parameters
orderStatusstring | null

Allowed values:NEWVERIFIEDALLOCATEDREADYPICKED_UP

orderStatusCallbackUrlstring(uri)
get/api/v1/customers/{customerId}/orders/{orderId}
 
application/json

pickupCustomerOrder

Pickup Order

put

Path Parameters

customerIdstring(uuid)required

Customer Id

orderIdstring(uuid)required

Order Id

Response

No Content

put/api/v1/customers/{customerId}/orders/{orderId}/pickup
 

BaseItem

object
idstring(uuid)read-only
versionintegerread-only
createdDatestring(date-time)read-only
lastModifiedDatestring(date-time)read-only
Example

Beer

object
idstring(uuid)read-only
versionintegerread-only
createdDatestring(date-time)read-only
lastModifiedDatestring(date-time)read-only
beerNamestringrequired
beerStylestringrequired

Allowed values:LAGERPILSNERSTOUTGOSEPORTERALEWHEATIPAPALE_ALESAISON

upcstringrequired
quantityOnHandinteger
pricestring(decimal)required
Example

BeerPagedList

object
pageableobject
Show Child Parameters
totalPagesinteger(int32)
lastboolean
totalElementsinteger(int32)
sizeinteger(int32)
numberinteger(int32)
numberOfElementsinteger(int32)
sortobject
Show Child Parameters
firstboolean
contentarray[object]
Show Child Parameters
Example