Skip to content

Commit

Permalink
build(codegen): updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Dec 17, 2024
1 parent e48125c commit 066e461
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
9 changes: 6 additions & 3 deletions lib/commercetools-api/docs/RequestBuilder.md
Original file line number Diff line number Diff line change
Expand Up @@ -2939,7 +2939,8 @@ $request = $builder
```
## `withProjectKey("projectKey")->customers()->search()->post(null)`

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.
If the initial indexing is in progress or the feature is inactive, a [SearchNotReady](ctp:api:type:SearchNotReadyError) error is returned.
If inactive, you can [reactivate](/../api/projects/customer-search#reactivate) it.


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

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


### Example
Expand Down Expand Up @@ -9344,7 +9345,9 @@ $request = $builder
```
## `withProjectKey("projectKey")->products()->search()->post(null)`

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


### Example
```php
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ interface ObjectNotFoundError extends ErrorObject
public function getCode();

/**
* <p><code>&quot;A $resourceType with identifier $id was unexpectedly not found.&quot;</code></p>
* <p><code>&quot;A $resourceType with identifier $id was unexpectedly not found.&quot;</code> or</p>
* <p><code>&quot;No index found for project&quot;</code></p>
*
* @return null|string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ final class ObjectNotFoundErrorBuilder implements Builder
private $message;

/**
* <p><code>&quot;A $resourceType with identifier $id was unexpectedly not found.&quot;</code></p>
* <p><code>&quot;A $resourceType with identifier $id was unexpectedly not found.&quot;</code> or</p>
* <p><code>&quot;No index found for project&quot;</code></p>
*
* @return null|string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ public function getCode()
}

/**
* <p><code>&quot;A $resourceType with identifier $id was unexpectedly not found.&quot;</code></p>
* <p><code>&quot;A $resourceType with identifier $id was unexpectedly not found.&quot;</code> or</p>
* <p><code>&quot;No index found for project&quot;</code></p>
*
*
* @return null|string
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -337,3 +337,4 @@ df53588d26d7953dfdf44166866ca03045f0a70b
175b7fc3843bb9be3aa5932b126d7fb3f1b0596d
6a47ba84abccefcacaf90152614687e121660c5c
9066fb1012d20a92037e102e18a6295bdbcb82e3
4025ec42d633ae6b77320e24f6244d9dce608e6e

0 comments on commit 066e461

Please sign in to comment.