Skip to content

Commit 9a0ea8d

Browse files
Add parameters to the createWebhook endpoint
1 parent 65c69f4 commit 9a0ea8d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.storakle.shopify</groupId>
88
<artifactId>shopify-api-java-wrapper</artifactId>
9-
<version>0.1.3</version>
9+
<version>0.1.4</version>
1010
<build>
1111
<sourceDirectory>src/main/java</sourceDirectory>
1212
<plugins>

src/main/java/com/storakle/shopify/ShopifyApiClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ public interface ShopifyApiClient
4444
@RequestLine("GET /admin/orders/count.json")
4545
Count getOrdersCount();
4646

47-
@RequestLine("GET /admin/webhooks.json")
48-
WebhookList getWebhooks();
47+
@RequestLine("GET /admin/webhooks.json?limit={limit}&since_id={since-id}&page={page}&fields={fields}")
48+
WebhookList getWebhooks(@Param("limit") Integer limit, @Param("since-id") String sinceId, @Param("page") Integer page, @Param("fields") String fields);
4949

5050
@RequestLine("GET /admin/webhooks/count.json")
5151
Count getWebhooksCount();

0 commit comments

Comments
 (0)