Skip to content

Commit c816522

Browse files
authored
Add 'Search' to API
Add the search function to the API as it is missing from the documentation
1 parent da89ff8 commit c816522

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PrintfulProducts.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public function __construct(PrintfulApiClient $printfulClient)
4747
public function getProducts($offset = 0, $limit = 20)
4848
{
4949
$requestData = [
50+
'search' => (string)$search,
5051
'offset' => (int)$offset,
5152
'limit' => (int)$limit,
5253
];

0 commit comments

Comments
 (0)