Class ByProjectKeyMeOrdersQuotesPostString

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

public class ByProjectKeyMeOrdersQuotesPostString extends StringBodyApiMethod<ByProjectKeyMeOrdersQuotesPostString,Order> implements ErrorableTrait<ByProjectKeyMeOrdersQuotesPostString>

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("")
            .execute()