Class ByProjectKeyMeOrdersQuotesPost

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyMeOrdersQuotesPost,Order,MyOrderFromQuoteDraft>
com.commercetools.api.client.ByProjectKeyMeOrdersQuotesPost
All Implemented Interfaces:
ErrorableTrait<ByProjectKeyMeOrdersQuotesPost>, io.vrap.rmf.base.client.ClientRequestCommand<Order>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.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()