bloombox / bloombox.client.services.shop / ShopClient / getOrder

getOrder

fun getOrder(id: String, callback: GetOrderCallback?, err: ShopErrorCallback?, context: ShopContext = ShopContext.defaultContext()): ListenableFuture<Response> (source)

Fetch a commercial order, asynchronously, with all associated data, including its status, action history, ordering customer info, and constituent order items. If the order could not be found, or the invoking client does not have access to the order, a "NOT_FOUND" status is returned (code 404 if operating over HTTP).

fun getOrder(id: String, context: ShopContext = ShopContext.defaultContext()): Response (source)

Fetch a commercial order, synchronously, with all associated data, including its status, action history, ordering customer info, and constituent order items. If the order could not be found, or the invoking client does not have access to the order, a "NOT_FOUND" status is returned (code 404 if operating over HTTP).