We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d35b0d9 + c77f3e6 commit 2637a02Copy full SHA for 2637a02
src/FulfillmentAutomation.php
@@ -240,16 +240,17 @@ public function listRequests(array $filters = null)
240
$query = '';
241
242
if ($this->config->products) {
243
- $filters['product_id'] = $this->config->products;
+ $filters['asset.product.id__in'] = implode(",", $this->config->products);
244
}
245
246
if ($filters) {
247
$query = http_build_query($filters);
248
249
// process case when value for filter is array
250
$query = '?' . preg_replace('/%5B[0-9]+%5D/simU', '', $query);
251
- }
252
+ $query = urldecode($query);
253
+ }
254
$body = $this->sendRequest('GET', '/requests' . $query);
255
256
/** @var Request[] $models */
0 commit comments