Class ByProjectKeyInStoreKeyByStoreKeyOrdersPostString

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,String>
io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyInStoreKeyByStoreKeyOrdersPostString,Order>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyOrdersPostString
All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyInStoreKeyByStoreKeyOrdersPostString>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyOrdersPostString>, ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyOrdersPostString>, io.vrap.rmf.base.client.ClientRequestCommand<Order>, io.vrap.rmf.base.client.CreateHttpRequestCommand, 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("")
            .execute()