Class ByProjectKeyOrdersByIDDelete

All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyOrdersByIDDelete,Order>, ConflictingTrait<ByProjectKeyOrdersByIDDelete>, DataerasureTrait<ByProjectKeyOrdersByIDDelete>, Deprecatable200Trait<ByProjectKeyOrdersByIDDelete>, ErrorableTrait<ByProjectKeyOrdersByIDDelete>, ExpandableTrait<ByProjectKeyOrdersByIDDelete>, VersionedTrait<ByProjectKeyOrdersByIDDelete>, ClientRequestCommand<Order>, CreateHttpRequestCommand, HttpRequestCommand<Order>, RequestCommand<Order>

Deleting an Order produces the OrderDeleted Message.



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