package com.nopcommerce;

import com.nopcommerce.domain.*;
import feign.Param;
import feign.RequestLine;

import java.util.List;

public interface NopCommerceClient
{
    int MAXIMUM_API_CALL_LIMIT = 250;

    @RequestLine("GET /api/customers?limit={limit}&since_id={since-id}&page={page}&fields={fields}")
    CustomerList getCustomers(@Param("limit") Integer limit, @Param("page") Integer page, @Param("since-id") String sinceId, @Param("fields") String fields);

    @RequestLine("GET /api/categories?limit={limit}&since_id={since-id}&page={page}&fields={fields}")
    CategoryList getCategories(@Param("limit") Integer limit, @Param("page") Integer page, @Param("since-id") String sinceId, @Param("fields") String fields);

    @RequestLine("GET /api/products?limit={limit}&since_id={since-id}&page={page}&fields={fields}")
    ProductList getProducts(@Param("limit") Integer limit, @Param("page") Integer page, @Param("since-id") String sinceId, @Param("fields") String fields);

    @RequestLine("GET /api/product_category_mappings?limit={limit}&since_id={since-id}&page={page}&fields={fields}")
    ProductCategoryMappingList getProductCategoryMappings(@Param("limit") Integer limit, @Param("page") Integer page, @Param("since-id") String sinceId, @Param("fields") String fields);

    @RequestLine("GET /api/orders?limit={limit}&since_id={since-id}&page={page}&fields={fields}")
    OrderList getOrders(@Param("limit") Integer limit, @Param("page") Integer page, @Param("since-id") String sinceId, @Param("fields") String fields);

    @RequestLine("POST /api/webhooks/registrations")
    WebHook createWebhook(WebHook webhook);

    @RequestLine("GET /api/webhooks/registrations")
    List<WebHook> getWebhooks();
}

@@ -401,38 +401,39 @@
 ram(%22since-id%22) 
-String
+Integer
  sinceId, @Param
@@ -664,38 +664,39 @@
 ram(%22since-id%22) 
-String
+Integer
  sinceId, @Param
@@ -922,38 +922,39 @@
 ram(%22since-id%22) 
-String
+Integer
  sinceId, @Param
@@ -1227,38 +1227,39 @@
 ram(%22since-id%22) 
-String
+Integer
  sinceId, @Param
@@ -1487,22 +1487,23 @@
 ce-id%22) 
-String
+Integer
  sinceId

Change the sinceId parameter to Integer.