Class ByProjectKeyOrdersByIDDelete

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyOrdersByIDDelete,Order>
com.commercetools.api.client.ByProjectKeyOrdersByIDDelete
All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyOrdersByIDDelete,Order>, ConflictingTrait<ByProjectKeyOrdersByIDDelete>, DataerasureTrait<ByProjectKeyOrdersByIDDelete>, Deprecatable200Trait<ByProjectKeyOrdersByIDDelete>, ErrorableTrait<ByProjectKeyOrdersByIDDelete>, ExpandableTrait<ByProjectKeyOrdersByIDDelete>, VersionedTrait<ByProjectKeyOrdersByIDDelete>, io.vrap.rmf.base.client.ClientRequestCommand<Order>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.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()