From a32a3ebc091abccf80935a6ae481564c803f6fcc Mon Sep 17 00:00:00 2001 From: lyongdee Date: Fri, 11 May 2018 11:48:29 +0800 Subject: [PATCH] fix getProducts() error: Validation errors: [since_id] must be of type integer --- src/resources/product.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/resources/product.php b/src/resources/product.php index e41a98c..b6f1337 100644 --- a/src/resources/product.php +++ b/src/resources/product.php @@ -36,7 +36,7 @@ "description" => "Page to show (default: 1)" ), "since_id" => array( - "type" => "integer", + "type" => "string", "location" => "query", "description" => "Restrict results to after the specified ID" ), @@ -134,10 +134,10 @@ "description" => "The ID of the Product.", "required" => true ), - "fields" => array( - "type" => "string", - "location" => "query", - "description" => "comma-separated list of fields to include in the response" + "fields" => array( + "type" => "string", + "location" => "query", + "description" => "comma-separated list of fields to include in the response" ) ) ),