Skip to content

Commit 4893822

Browse files
[2026-03-31] - Sync content (23791224833) (#33)
> [!NOTE] > This PR copies content from the source repo. > Source repo commit [8a30ac8](shoptet/cms4@8a30ac8) **List of changes:** - Fixed non required query parameters for product reviews Co-authored-by: suchman <4362174+suchman@users.noreply.github.com>
1 parent eeec106 commit 4893822

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Endpoint/Reviews/GetListOfProductsReviews.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class GetListOfProductsReviews extends PageableGet
2323
'dateTo' => false,
2424
'changeTimeFrom' => false,
2525
'productGuid' => false,
26-
'orderCode' => true,
26+
'orderCode' => false,
2727
];
2828

2929
public function getRequestEntityClass(): null

src/Sdk.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8374,7 +8374,7 @@ public static function getListOfAvailableEndpoints(array $queryParams = []): Res
83748374
* dateTo?: string,
83758375
* changeTimeFrom?: string,
83768376
* productGuid?: string,
8377-
* orderCode: string,
8377+
* orderCode?: string,
83788378
* } $queryParams
83798379
*
83808380
* @return ResponseInterface
@@ -8384,7 +8384,7 @@ public static function getListOfAvailableEndpoints(array $queryParams = []): Res
83848384
*
83858385
* @see https://api.docs.shoptet.com/shoptet-api/openapi/Reviews/getlistofproductsreviews
83868386
*/
8387-
public static function getListOfProductsReviews(array $queryParams): ResponseInterface
8387+
public static function getListOfProductsReviews(array $queryParams = []): ResponseInterface
83888388
{
83898389
return self::getEndpointFactory()
83908390
->createEndpoint(GetListOfProductsReviews::class)

0 commit comments

Comments
 (0)