Protected ReadonlyargsOptionalmethodArgs: {OptionalmethodArgs: {Creates an Order from a Cart in a BusinessUnit.
The Cart must have a shipping address set before creating an Order.
Creating an Order fails with an InvalidOperation if the Cart does not reference the same BusinessUnit as the businessUnitKey path parameter.
Specific Error Codes:
- [DiscountCodeNonApplicable](ctp:api:type:DiscountCodeNonApplicableError)
- [InvalidItemShippingDetails](ctp:api:type:InvalidItemShippingDetailsError)
- [OutOfStock](ctp:api:type:OutOfStockError)
- [PriceChanged](ctp:api:type:PriceChangedError)
- [ShippingMethodDoesNotMatchCart](ctp:api:type:ShippingMethodDoesNotMatchCartError)
- [MatchingPriceNotFound](ctp:api:type:MatchingPriceNotFoundError)
- [MissingTaxRateForCountry](ctp:api:type:MissingTaxRateForCountryError)
Checks if an Order exists for a given Query Predicate. Returns a
200 OKstatus if any Orders match the Query Predicate or a404 Not Foundotherwise.