public IHttpActionResult GetFilters([FromUri] string token, [FromUri] string shopname, [FromUri] string[] fields, [FromUri] int top = 0) { var service = new ShopifyService(); var filters = service.GetEntities("customer_saved_searches", token, shopname, fields, top, null); return(Ok(filters)); }
public IHttpActionResult GetProducts([FromUri] string token, [FromUri] string shopname, [FromUri] string[] fields, [FromUri] int top = 0) { var service = new ShopifyService(); var products = service.GetEntities("products", token, shopname, fields, top, null); return(Ok(products)); }
public IHttpActionResult GetCollections([FromUri] string token, [FromUri] string shopname, [FromUri] string[] fields, [FromUri] int top = 0) { var service = new ShopifyService(); var collections = service.GetEntities("custom_collections", token, shopname, fields, top, null); return(Ok(collections)); }
public IHttpActionResult GetWebhooks([FromUri] string token, [FromUri] string shopname, [FromUri] string[] fields, [FromUri] int top = 0) { var service = new ShopifyService(); var webhooks = service.GetEntities("webhooks", token, shopname, fields, top, null); return(Ok(webhooks)); }