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
Merges items from an anonymous Cart into the most recently modified active Cart of a Customer. If no active Cart exists, a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned.
6654
-
6653
+
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.
6655
6654
For more information, see [Merge behavior](/../api/carts-orders-overview#merge-behavior).
6656
6655
requestBody:
6657
6656
content:
@@ -9285,6 +9284,8 @@ paths:
9285
9284
- "manage_customers:{projectKey}"
9286
9285
operationId: ByProjectKeyCustomersPost
9287
9286
description: |-
9287
+
Allows converting an anonymous Cart to the active Cart of a Customer with [cart merge](/../api/customers-overview#cart-merge-during-sign-in-and-sign-up).
9288
+
9288
9289
Creating a Customer produces the [CustomerCreated](ctp:api:type:CustomerCreatedMessage) Message. Simultaneously creating two Customers with the same email address can return a [LockedField](ctp:api:type:LockedFieldError) error.
Merges items from an anonymous Cart into the most recently modified active Cart of a Customer. If no active Cart exists, a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned.
13320
+
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.
13320
13321
13321
13322
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.
13322
13323
@@ -13972,7 +13973,8 @@ paths:
13972
13973
13973
13974
If a Cart with a `store` field specified, the `store` field must reference the same [Store](ctp:api:type:Store) specified in the `{storeKey}` path parameter.
13974
13975
13975
-
If the Customer has multiple active Carts, the anonymous Cart is [merged](/../api/customers-overview#cart-merge-during-sign-in-and-sign-up) into the most recently modified active Cart.
13976
+
Allows converting an anonymous Cart to the active Cart of a Customer with [cart merge](/../api/customers-overview#cart-merge-during-sign-in-and-sign-up).
13977
+
If the Customer has multiple active Carts, the anonymous Cart is merged into the most recently modified active Cart.
13976
13978
13977
13979
Creating a Customer produces the [CustomerCreated](ctp:api:type:CustomerCreatedMessage) Message. Simultaneously creating two Customers with the same email address can return a [LockedField](ctp:api:type:LockedFieldError) error.
13978
13980
parameters:
@@ -14818,7 +14820,9 @@ paths:
14818
14820
description: |-
14819
14821
Authenticates a Customer associated with a [Store](ctp:api:type:Store).
14820
14822
14821
-
If the Customer has multiple active Carts, the anonymous Cart is [merged](/../api/customers-overview#cart-merge-during-sign-in-and-sign-up) into the most recently modified active Cart.
14823
+
Allows [merging](/../api/customers-overview#cart-merge-during-sign-in-and-sign-up) items from an anonymous Cart into the most recently modified active Cart of a Customer.
14824
+
If no active Cart exists, the anonymous Cart becomes the Customer's active Cart.
14825
+
If the Customer has multiple active Carts, the anonymous Cart is merged into the most recently modified active Cart.
14822
14826
14823
14827
If the Customer exists in the Project but the `stores` field references a different [Store](ctp:api:type:Store), this method returns an [InvalidCredentials](ctp:api:type:InvalidCredentialsError) error.
14824
14828
requestBody:
@@ -21478,7 +21482,9 @@ paths:
21478
21482
description: |-
21479
21483
Authenticates a global Customer.
21480
21484
21481
-
If the Customer has multiple active Carts, the anonymous Cart is [merged](/../api/customers-overview#cart-merge-during-sign-in-and-sign-up) into the most recently modified active Cart.
21485
+
Allows [merging](/../api/customers-overview#cart-merge-during-sign-in-and-sign-up) items from an anonymous Cart into the most recently modified active Cart of a Customer.
21486
+
If no active Cart exists, the anonymous Cart becomes the Customer's active Cart.
21487
+
If the Customer has multiple active Carts, the anonymous Cart is merged into the most recently modified active Cart.
21482
21488
21483
21489
If an account with the given credentials is not found, an [InvalidCredentials](ctp:api:type:InvalidCredentialsError) error is returned.
0 commit comments