Class ByProjectKeyOrdersQuotesPost

All Implemented Interfaces:
ErrorableTrait<ByProjectKeyOrdersQuotesPost>, ClientRequestCommand<Order>, CreateHttpRequestCommand, HttpRequestCommand<Order>, RequestCommand<Order>

Creating an Order produces the OrderCreated Message.

Specific Error Codes:

  • CountryNotConfiguredInStore
  • InvalidItemShippingDetails
  • InvalidOperation
  • OutOfStock
  • PriceChanged


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