Skip to content

Commit 0a77170

Browse files
committed
build(codegen): updating SDK
1 parent a4b82ea commit 0a77170

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

lib/commercetools-api/docs/RequestBuilder.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2295,8 +2295,7 @@ $request = $builder
22952295
```
22962296
## `withProjectKey("projectKey")->carts()->customerIdWithCustomerIdValueMerge("customerId")->post(null)`
22972297

2298-
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.
2299-
2298+
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.
23002299
For more information, see [Merge behavior](/../api/carts-orders-overview#merge-behavior).
23012300

23022301

@@ -3025,6 +3024,8 @@ $request = $builder
30253024
```
30263025
## `withProjectKey("projectKey")->customers()->post(null)`
30273026

3027+
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).
3028+
30283029
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.
30293030

30303031

@@ -4448,7 +4449,7 @@ $request = $builder
44484449
```
44494450
## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->carts()->customerIdWithCustomerIdValueMerge("customerId")->post(null)`
44504451

4451-
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.
4452+
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.
44524453

44534454
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.
44544455

@@ -4612,7 +4613,8 @@ When using this endpoint, if omitted, the Customer `stores` field is set to the
46124613

46134614
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.
46144615

4615-
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.
4616+
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).
4617+
If the Customer has multiple active Carts, the anonymous Cart is merged into the most recently modified active Cart.
46164618

46174619
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.
46184620

@@ -4919,7 +4921,9 @@ $request = $builder
49194921

49204922
Authenticates a Customer associated with a [Store](ctp:api:type:Store).
49214923

4922-
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.
4924+
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.
4925+
If no active Cart exists, the anonymous Cart becomes the Customer's active Cart.
4926+
If the Customer has multiple active Carts, the anonymous Cart is merged into the most recently modified active Cart.
49234927

49244928
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.
49254929

@@ -7164,7 +7168,9 @@ $request = $builder
71647168

71657169
Authenticates a global Customer.
71667170

7167-
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.
7171+
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.
7172+
If no active Cart exists, the anonymous Cart becomes the Customer's active Cart.
7173+
If the Customer has multiple active Carts, the anonymous Cart is merged into the most recently modified active Cart.
71687174

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

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,3 +529,4 @@ a30cdb4639c838f3864da68ab5ca314593dd5c85
529529
2d80e476e7b846987e3c2db6fdba76c470f1c173
530530
2ca7fba4e989ff96a2a3008d3168ea243c9cc3a8
531531
62910ed7ec4d1110dd8e5c98acc931a7df092a2e
532+
021ca761240e06e31ec45855e8660b712be31817

0 commit comments

Comments
 (0)