Class ByProjectKeyMeOrdersQuotesPost

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

When creating B2B Orders, the Customer must have the CreateMyOrdersFromMyQuotes Permission.

Creating an Order produces the OrderCreated Message.

Specific Error Codes:

  • OutOfStock
  • PriceChanged
  • InvalidItemShippingDetails
  • CountryNotConfiguredInStore
  • AssociateMissingPermission


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