Skip to content

Commit c1205e8

Browse files
Merge pull request #284 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents e48125c + 066e461 commit c1205e8

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

lib/commercetools-api/docs/RequestBuilder.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2939,7 +2939,8 @@ $request = $builder
29392939
```
29402940
## `withProjectKey("projectKey")->customers()->search()->post(null)`
29412941

2942-
A [SearchNotReady](ctp:api:type:SearchNotReadyError) error is returned if the indexing is in progress or the feature is deactivated. If deactivated, you can [reactivate](/../api/projects/customer-search#reactivate) it.
2942+
If the initial indexing is in progress or the feature is inactive, a [SearchNotReady](ctp:api:type:SearchNotReadyError) error is returned.
2943+
If inactive, you can [reactivate](/../api/projects/customer-search#reactivate) it.
29432944

29442945

29452946
### Example
@@ -2956,7 +2957,7 @@ $request = $builder
29562957
## `withProjectKey("projectKey")->customers()->search()->head()`
29572958

29582959
Checks whether a search index of Customers exists for a Project.
2959-
If an index exists, a `200 OK` is returned; otherwise, a `409 Conflict`.
2960+
Returns a `200 OK` if an index exists; otherwise, returns a `409 Conflict`.
29602961

29612962

29622963
### Example
@@ -9344,7 +9345,9 @@ $request = $builder
93449345
```
93459346
## `withProjectKey("projectKey")->products()->search()->post(null)`
93469347

9347-
null
9348+
If the indexing is in progress or the feature is inactive, an [ObjectNotFound](ctp:api:type:ObjectNotFoundError) error is returned.
9349+
If inactive, you can [reactivate](/../api/projects/product-search#activation-of-the-feature) it.
9350+
93489351

93499352
### Example
93509353
```php

lib/commercetools-api/src/Models/Error/ObjectNotFoundError.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ interface ObjectNotFoundError extends ErrorObject
2020
public function getCode();
2121

2222
/**
23-
* <p><code>&quot;A $resourceType with identifier $id was unexpectedly not found.&quot;</code></p>
23+
* <p><code>&quot;A $resourceType with identifier $id was unexpectedly not found.&quot;</code> or</p>
24+
* <p><code>&quot;No index found for project&quot;</code></p>
2425
*
2526
2627
* @return null|string

lib/commercetools-api/src/Models/Error/ObjectNotFoundErrorBuilder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ final class ObjectNotFoundErrorBuilder implements Builder
2727
private $message;
2828

2929
/**
30-
* <p><code>&quot;A $resourceType with identifier $id was unexpectedly not found.&quot;</code></p>
30+
* <p><code>&quot;A $resourceType with identifier $id was unexpectedly not found.&quot;</code> or</p>
31+
* <p><code>&quot;No index found for project&quot;</code></p>
3132
*
3233
3334
* @return null|string

lib/commercetools-api/src/Models/Error/ObjectNotFoundErrorModel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ public function getCode()
6363
}
6464

6565
/**
66-
* <p><code>&quot;A $resourceType with identifier $id was unexpectedly not found.&quot;</code></p>
66+
* <p><code>&quot;A $resourceType with identifier $id was unexpectedly not found.&quot;</code> or</p>
67+
* <p><code>&quot;No index found for project&quot;</code></p>
6768
*
6869
*
6970
* @return null|string

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,3 +337,4 @@ df53588d26d7953dfdf44166866ca03045f0a70b
337337
175b7fc3843bb9be3aa5932b126d7fb3f1b0596d
338338
6a47ba84abccefcacaf90152614687e121660c5c
339339
9066fb1012d20a92037e102e18a6295bdbcb82e3
340+
4025ec42d633ae6b77320e24f6244d9dce608e6e

0 commit comments

Comments
 (0)