Class ByProjectKeyMeOrdersQuotesPostString

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,String>
io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyMeOrdersQuotesPostString,Order>
com.commercetools.api.client.ByProjectKeyMeOrdersQuotesPostString
All Implemented Interfaces:
ErrorableTrait<ByProjectKeyMeOrdersQuotesPostString>, io.vrap.rmf.base.client.ClientRequestCommand<Order>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<Order>

public class ByProjectKeyMeOrdersQuotesPostString extends io.vrap.rmf.base.client.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()
 
  • Constructor Details

    • ByProjectKeyMeOrdersQuotesPostString

      public ByProjectKeyMeOrdersQuotesPostString(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey, String myOrderFromQuoteDraft)
    • ByProjectKeyMeOrdersQuotesPostString

      public ByProjectKeyMeOrdersQuotesPostString(ByProjectKeyMeOrdersQuotesPostString t)
  • Method Details