diff --git a/src/Zoho/Subscriptions/config/subscriptions.json b/src/Zoho/Subscriptions/config/subscriptions.json index 05d39c4..5476f1f 100644 --- a/src/Zoho/Subscriptions/config/subscriptions.json +++ b/src/Zoho/Subscriptions/config/subscriptions.json @@ -218,12 +218,18 @@ }, "getCustomers": { "httpMethod": "GET", - "uri": "customers?filter_by={filter_by}", + "uri": "customers?filter_by={filter_by}&page={page}&per_page={per_page}", "responseModel": "getResponse", "parameters": { "filter_by": { "location": "uri", "default": "Status.All" + }, + "page": { + "location": "uri" + }, + "per_page": { + "location": "uri" } } }, @@ -1162,7 +1168,7 @@ }, "getSubscriptions": { "httpMethod": "GET", - "uri": "subscriptions?filter_by={filter_by}&customer_id={customer_id}", + "uri": "subscriptions?filter_by={filter_by}&customer_id={customer_id}&page={page}&per_page={per_page}", "responseModel": "getResponse", "parameters": { "filter_by": { @@ -1171,6 +1177,12 @@ }, "customer_id": { "location": "uri" + }, + "page": { + "location": "uri" + }, + "per_page": { + "location": "uri" } } }, @@ -2739,12 +2751,21 @@ }, "getInvoices": { "httpMethod": "GET", - "uri": "invoices?filter_by={filter_by}", + "uri": "invoices?filter_by={filter_by}&customer_id={customer_id}&page={page}&per_page={per_page}", "responseModel": "getResponse", "parameters": { "filter_by": { - "location": "uri", - "default": "Status.All" + "location": "uri", + "default": "Status.All" + }, + "customer_id": { + "location": "uri" + }, + "page": { + "location": "uri" + }, + "per_page": { + "location": "uri" } } },