Skip to content

Commit f634f1e

Browse files
committed
Updated API from documentation release
1 parent e921ea1 commit f634f1e

4 files changed

Lines changed: 14 additions & 7 deletions

File tree

api-specs/api/resources/carts.raml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ post:
115115
securedBy: [oauth_2_0: { scopes: ['manage_orders:{projectKey}'] }]
116116
description: |
117117
Merges items from an anonymous Cart into the most recently modified active Cart of a Customer. If no active Cart exists, the anonymous Cart becomes the Customer's active Cart.
118-
For more information, see [Merge behavior](/../api/carts-orders-overview#merge-behavior).
118+
For more information about merge mode behaviors, merge rules, and tax recalculation, see [Merge a Cart](/../api/carts-orders-overview#merge-a-cart).
119119
120120
body:
121121
application/json:

api-specs/api/resources/in-store/carts-in-store.raml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ post:
141141
142142
If the Cart exists in the Project but does not have a `store` specified, or the `store` field references a different Store, a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned.
143143
144-
For more information, see [Merge behavior](/../api/carts-orders-overview#merge-behavior).
144+
For more information about merge mode behaviors, merge rules, and tax recalculation, see [Merge a Cart](/../api/carts-orders-overview#merge-a-cart).
145145
146146
body:
147147
application/json:

api-specs/api/types/cart/CartMergeMode.raml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
displayName: CartMergeMode
44
type: string
55
description: |
6-
Determines how to manually merge an anonymous Cart with an existing Customer Cart.
6+
Determines how to manually merge an anonymous Cart with an existing Customer Cart. For more information about merge mode behaviors, merge rules, and tax recalculation, see [Merge a Cart](/../api/carts-orders-overview#merge-a-cart).
7+
78
enum:
89
- MergeWithExistingCustomerCart
910
- UseAsNewActiveCustomerCart
1011
(enumDescriptions):
1112
MergeWithExistingCustomerCart: |
12-
Merges the anonymous Cart with the existing Customer Cart. Line Items from the anonymous Cart are added to the Customer Cart.
13+
Merges the anonymous Cart with the existing Customer Cart.
1314
UseAsNewActiveCustomerCart: |
14-
Uses the anonymous Cart as the new active Customer Cart, replacing the existing one.
15+
Uses the anonymous Cart as the new active Customer Cart, replacing the existing one. No items from the previous active Cart are merged.

api-specs/api/types/customer/AnonymousCartSignInMode.raml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@
22
(package): Customer
33
displayName: AnonymousCartSignInMode
44
type: string
5+
description: |
6+
Determines how an anonymous Cart is handled when a Customer signs in. For more information, see [Cart merge during sign-in and sign-up](/../api/customers-overview#cart-merge-during-sign-in-and-sign-up).
7+
58
enum:
69
- MergeWithExistingCustomerCart
710
- UseAsNewActiveCustomerCart
811
(enumDescriptions):
9-
MergeWithExistingCustomerCart: If set, the content of an anonymous [Cart is merged during sign-in](/../api/customers-overview#cart-merge-during-sign-in-and-sign-up) with the Customer's most recently modified active Cart.
10-
UseAsNewActiveCustomerCart: If set, an anonymous Cart is used as the new active Customer Cart, and no [LineItems](ctp:api:type:LineItem) or [CustomLineItems](ctp:api:type:CustomLineItem) are merged.
12+
MergeWithExistingCustomerCart: |
13+
The content of an anonymous [Cart is merged during sign-in](/../api/customers-overview#cart-merge-during-sign-in-and-sign-up) with the Customer's most recently modified active Cart.
14+
15+
UseAsNewActiveCustomerCart: |
16+
Uses the anonymous Cart as the new active Customer Cart, replacing the existing one. No items from the previous active Cart are merged.

0 commit comments

Comments
 (0)