Class ByProjectKeyInStoreKeyByStoreKeyOrdersPost

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyInStoreKeyByStoreKeyOrdersPost,Order,OrderFromCartDraft>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyOrdersPost
All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyInStoreKeyByStoreKeyOrdersPost>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyOrdersPost>, ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyOrdersPost>, io.vrap.rmf.base.client.ClientRequestCommand<Order>, io.vrap.rmf.base.client.RequestCommand<Order>

Creates an order from a Cart from a specific Store. When using this endpoint the orders's store field is always set to the store specified in the path parameter. The cart must have a shipping address set before creating an order. When using the Platform TaxMode, the shipping address is used for tax calculation.



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