Skip to content

Commit bc8c75b

Browse files
committed
TASK: Updating RAML types, Postman and OAS definition
1 parent 021ca76 commit bc8c75b

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

oas/api/openapi.yaml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6650,8 +6650,7 @@ paths:
66506650
- "manage_orders:{projectKey}"
66516651
operationId: ByProjectKeyCartsCustomerIdByCustomerIdMergePost
66526652
description: |-
6653-
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.
66556654
For more information, see [Merge behavior](/../api/carts-orders-overview#merge-behavior).
66566655
requestBody:
66576656
content:
@@ -9285,6 +9284,8 @@ paths:
92859284
- "manage_customers:{projectKey}"
92869285
operationId: ByProjectKeyCustomersPost
92879286
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+
92889289
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.
92899290
parameters:
92909291
- name: expand
@@ -13316,7 +13317,7 @@ paths:
1331613317
- "manage_orders:{projectKey}:{storeKey}"
1331713318
operationId: ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdMergePost
1331813319
description: |-
13319-
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.
1332013321

1332113322
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.
1332213323

@@ -13972,7 +13973,8 @@ paths:
1397213973

1397313974
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.
1397413975

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.
1397613978

1397713979
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.
1397813980
parameters:
@@ -14818,7 +14820,9 @@ paths:
1481814820
description: |-
1481914821
Authenticates a Customer associated with a [Store](ctp:api:type:Store).
1482014822

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.
1482214826

1482314827
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.
1482414828
requestBody:
@@ -21478,7 +21482,9 @@ paths:
2147821482
description: |-
2147921483
Authenticates a global Customer.
2148021484

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.
2148221488

2148321489
If an account with the given credentials is not found, an [InvalidCredentials](ctp:api:type:InvalidCredentialsError) error is returned.
2148421490
requestBody:

0 commit comments

Comments
 (0)