Class ByProjectKeyInStoreKeyByStoreKeyOrdersByIDGet

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyInStoreKeyByStoreKeyOrdersByIDGet,Order>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyOrdersByIDGet
All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyInStoreKeyByStoreKeyOrdersByIDGet>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyOrdersByIDGet>, ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyOrdersByIDGet>, io.vrap.rmf.base.client.ClientRequestCommand<Order>, io.vrap.rmf.base.client.RequestCommand<Order>

Returns an order by its ID from a specific Store. If the order exists in the project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.order.Order>> result = apiRoot
            .withProjectKey("{projectKey}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .orders()
            .withId("{ID}")
            .get()
            .execute()