You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<div class="block">JSON object where the key is a Category <code>id</code> and the value is an order hint.</div>
11803
+
<div class="block">JSON object where the keys are Category <code>id</code>, and the values are order hint values: strings representing a number between <code>0</code> and <code>1</code>, but not ending in <code>0</code>.</div>
11804
11804
</div>
11805
11805
<div class="col-first odd-row-color all-classes-table all-classes-table-tab1"><a href="com/commercetools/history/models/common/CategoryOrderHints.html" title="interface in com.commercetools.history.models.common">CategoryOrderHints</a></div>
<div class="block">JSON object where the key is a supply Channel <code>id</code> and the value is the ProductVariantChannelAvailability of the InventoryEntry.</div>
31710
+
<div class="block">JSON object where the keys are supply Channel <code>id</code>, and the values are ProductVariantChannelAvailability.</div>
31715
31711
</div>
31716
31712
<div class="col-first even-row-color all-classes-table all-classes-table-tab1"><a href="com/commercetools/history/models/common/ProductVariantChannelAvailabilityMap.html" title="interface in com.commercetools.history.models.common">ProductVariantChannelAvailabilityMap</a></div>
Copy file name to clipboardExpand all lines: javadoc/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPost.html
<divclass="type-signature"><spanclass="modifiers">public class </span><spanclass="element-name type-name-label">ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPost</span>
89
89
<spanclass="extends-implements">extends <ahref="../../../../io/vrap/rmf/base/client/TypeBodyApiMethod.html" title="class in io.vrap.rmf.base.client">TypeBodyApiMethod</a><<ahref="ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPost.html" title="class in com.commercetools.api.client">ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPost</a>,<wbr><ahref="../models/order/Order.html" title="interface in com.commercetools.api.models.order">Order</a>,<wbr><ahref="../models/order/OrderFromCartDraft.html" title="interface in com.commercetools.api.models.order">OrderFromCartDraft</a>>
90
90
implements <ahref="ExpandableTrait.html" title="interface in com.commercetools.api.client">ExpandableTrait</a><<ahref="ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPost.html" title="class in com.commercetools.api.client">ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPost</a>>, <ahref="Deprecatable201Trait.html" title="interface in com.commercetools.api.client">Deprecatable201Trait</a><<ahref="ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPost.html" title="class in com.commercetools.api.client">ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPost</a>>, <ahref="ErrorableTrait.html" title="interface in com.commercetools.api.client">ErrorableTrait</a><<ahref="ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPost.html" title="class in com.commercetools.api.client">ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPost</a>></span></div>
91
-
<divclass="block"><p>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 <code>businessUnitKey</code> path parameter.</p>
91
+
<divclass="block"><p>Creates an Order from a Cart in a BusinessUnit.</p>
92
+
<p>The Cart must have a shipping address and an active Shipping Method set.</p>
93
+
<p>If the Cart does not reference the same BusinessUnit as the <code>businessUnitKey</code> path parameter, an InvalidOperation is returned.</p>
Copy file name to clipboardExpand all lines: javadoc/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPostString.html
<divclass="type-signature"><spanclass="modifiers">public class </span><spanclass="element-name type-name-label">ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPostString</span>
91
91
<spanclass="extends-implements">extends <ahref="../../../../io/vrap/rmf/base/client/StringBodyApiMethod.html" title="class in io.vrap.rmf.base.client">StringBodyApiMethod</a><<ahref="ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPostString.html" title="class in com.commercetools.api.client">ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPostString</a>,<wbr><ahref="../models/order/Order.html" title="interface in com.commercetools.api.models.order">Order</a>>
92
92
implements <ahref="ExpandableTrait.html" title="interface in com.commercetools.api.client">ExpandableTrait</a><<ahref="ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPostString.html" title="class in com.commercetools.api.client">ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPostString</a>>, <ahref="Deprecatable201Trait.html" title="interface in com.commercetools.api.client">Deprecatable201Trait</a><<ahref="ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPostString.html" title="class in com.commercetools.api.client">ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPostString</a>>, <ahref="ErrorableTrait.html" title="interface in com.commercetools.api.client">ErrorableTrait</a><<ahref="ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPostString.html" title="class in com.commercetools.api.client">ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPostString</a>></span></div>
93
-
<divclass="block"><p>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 <code>businessUnitKey</code> path parameter.</p>
93
+
<divclass="block"><p>Creates an Order from a Cart in a BusinessUnit.</p>
94
+
<p>The Cart must have a shipping address and an active Shipping Method set.</p>
95
+
<p>If the Cart does not reference the same BusinessUnit as the <code>businessUnitKey</code> path parameter, an InvalidOperation is returned.</p>
<spanclass="extends-implements">extends <ahref="../../../../io/vrap/rmf/base/client/TypeBodyApiMethod.html" title="class in io.vrap.rmf.base.client">TypeBodyApiMethod</a><<ahref="ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost.html" title="class in com.commercetools.api.client">ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost</a>,<wbr><ahref="../models/order/Order.html" title="interface in com.commercetools.api.models.order">Order</a>,<wbr><ahref="../models/me/MyOrderFromCartDraft.html" title="interface in com.commercetools.api.models.me">MyOrderFromCartDraft</a>>
90
90
implements <ahref="ConflictingTrait.html" title="interface in com.commercetools.api.client">ConflictingTrait</a><<ahref="ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost.html" title="class in com.commercetools.api.client">ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost</a>>, <ahref="ExpandableTrait.html" title="interface in com.commercetools.api.client">ExpandableTrait</a><<ahref="ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost.html" title="class in com.commercetools.api.client">ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost</a>>, <ahref="Deprecatable201Trait.html" title="interface in com.commercetools.api.client">Deprecatable201Trait</a><<ahref="ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost.html" title="class in com.commercetools.api.client">ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost</a>>, <ahref="ErrorableTrait.html" title="interface in com.commercetools.api.client">ErrorableTrait</a><<ahref="ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost.html" title="class in com.commercetools.api.client">ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost</a>></span></div>
91
91
<divclass="block"><p>Creates an Order from a Cart in a Store for the Customer or anonymous user. The <code>customerId</code> or <code>anonymousId</code> field on the Order is automatically set based on the customer:{id} or anonymous_id:{id} scope.</p>
92
-
<p>The Cart must have a shipping address set for taxes to be calculated. When creating B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyCarts</code> Permission.</p>
92
+
<p>The Cart must have a shipping address and an active Shipping Method set.</p>
93
+
<p>When creating B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyCarts</code> Permission.</p>
93
94
<p>If the Cart's <code>customerId</code> does not match the customer:{id} scope, or the <code>anonymousId</code> does not match the anonymous_id:{id} scope, a ResourceNotFound error is returned.</p>
94
95
<p>Creating an Order produces the OrderCreated Message.</p>
<spanclass="extends-implements">extends <ahref="../../../../io/vrap/rmf/base/client/StringBodyApiMethod.html" title="class in io.vrap.rmf.base.client">StringBodyApiMethod</a><<ahref="ByProjectKeyInStoreKeyByStoreKeyMeOrdersPostString.html" title="class in com.commercetools.api.client">ByProjectKeyInStoreKeyByStoreKeyMeOrdersPostString</a>,<wbr><ahref="../models/order/Order.html" title="interface in com.commercetools.api.models.order">Order</a>>
92
92
implements <ahref="ConflictingTrait.html" title="interface in com.commercetools.api.client">ConflictingTrait</a><<ahref="ByProjectKeyInStoreKeyByStoreKeyMeOrdersPostString.html" title="class in com.commercetools.api.client">ByProjectKeyInStoreKeyByStoreKeyMeOrdersPostString</a>>, <ahref="ExpandableTrait.html" title="interface in com.commercetools.api.client">ExpandableTrait</a><<ahref="ByProjectKeyInStoreKeyByStoreKeyMeOrdersPostString.html" title="class in com.commercetools.api.client">ByProjectKeyInStoreKeyByStoreKeyMeOrdersPostString</a>>, <ahref="Deprecatable201Trait.html" title="interface in com.commercetools.api.client">Deprecatable201Trait</a><<ahref="ByProjectKeyInStoreKeyByStoreKeyMeOrdersPostString.html" title="class in com.commercetools.api.client">ByProjectKeyInStoreKeyByStoreKeyMeOrdersPostString</a>>, <ahref="ErrorableTrait.html" title="interface in com.commercetools.api.client">ErrorableTrait</a><<ahref="ByProjectKeyInStoreKeyByStoreKeyMeOrdersPostString.html" title="class in com.commercetools.api.client">ByProjectKeyInStoreKeyByStoreKeyMeOrdersPostString</a>></span></div>
93
93
<divclass="block"><p>Creates an Order from a Cart in a Store for the Customer or anonymous user. The <code>customerId</code> or <code>anonymousId</code> field on the Order is automatically set based on the customer:{id} or anonymous_id:{id} scope.</p>
94
-
<p>The Cart must have a shipping address set for taxes to be calculated. When creating B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyCarts</code> Permission.</p>
94
+
<p>The Cart must have a shipping address and an active Shipping Method set.</p>
95
+
<p>When creating B2B Orders, the Customer must have the <code>CreateMyOrdersFromMyCarts</code> Permission.</p>
95
96
<p>If the Cart's <code>customerId</code> does not match the customer:{id} scope, or the <code>anonymousId</code> does not match the anonymous_id:{id} scope, a ResourceNotFound error is returned.</p>
96
97
<p>Creating an Order produces the OrderCreated Message.</p>
0 commit comments