Class ByProjectKeyOrdersImportPost

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

Importing an Order produces the Order Imported Message.

Specific Error Codes:

  • OutOfStock
  • CountryNotConfiguredInStore


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