Class ByProjectKeyOrdersEditsPost

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyOrdersEditsPost>, ErrorableTrait<ByProjectKeyOrdersEditsPost>, ExpandableTrait<ByProjectKeyOrdersEditsPost>, ClientRequestCommand<OrderEdit>, CreateHttpRequestCommand, HttpRequestCommand<OrderEdit>, RequestCommand<OrderEdit>

You can either create multiple Order Edits for an Order and apply them sequentially to an Order, or create multiple Order Edits parallelly (as alternatives to each other) and apply one of them to the Order.

You can only create an Order Edit if the InventoryMode of the Order and its LineItems is None.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.order_edit.OrderEdit>> result = apiRoot
            .withProjectKey("{projectKey}")
            .orders()
            .edits()
            .post(null)
            .execute()