Get all products
GET https://api.ecartapi.com/api/v2/products
FILTERS
Filter | Description |
page | Pagination number. |
limit | Limit size of the search |
ids | Filter items by Id's provided |
sinceId | Filter items since the Id given |
name | Filter items by name |
productType | Filter items by type of product |
categoryId | Filter items by id of products category |
'createdAt[from]' | Filter items by date created from. When used createdAt[to] |
'createdAt[to]' | Filter items by date created to. When used createdAt[from] |
'updatedAt[from]' | Filter items by date updated from. When used createdAt[to] |
'updatedAt[to]' | Filter items by date updated to. When used createdAt[from] |
'status[active]' | Filter items by status pf published: 'true' or 'false' |
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
limit | string | Limits the max number of results that can appear on a request. Max of 250 | |
createdAt[from] | string | ||
createdAt[to] | string | ||
updatedAt[from] | string | ||
updatedAt[to] | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"success":true,"products":[{"id":"3273617637476","sku":"","name":"Burton Custom Freestyle 151","description":"\u003cstrong\u003eGood snowboard!\u003c/strong\u003e","vendor":"Burton","productType":"Snowboard","createdAt":"2019-04-08T12:04:37-04:00","updatedAt":"2019-04-08T12:04:38-04:00","tags":["\"Big Air\""," Barnes \u0026 Noble"," John's Fav"],"visibility":"web","active":"true","variants":[{"id":"26432842956900","productId":"3273617637476","name":"Default Title","price":"0.00","sku":null,"fulfillmentService":"manual","createdAt":"2019-04-08T12:04:37-04:00","updatedAt":"2019-04-08T12:04:37-04:00","weight":null,"weightUnit":"kg","inventoryItemId":"27477422211172","inventoryQuantity":null,"requireShipping":"true"}],"images":[],"imageUrl":null,"link":null},{"id":"3361060192356","sku":"","name":"Burton Custom Freestyle 151","description":"\u003cstrong\u003eGood snowboard!\u003c/strong\u003e","vendor":"Burton","productType":"Snowboard","createdAt":"2019-04-22T15:04:34-04:00","updatedAt":"2019-04-22T15:04:34-04:00","tags":["\"Big Air\""," Barnes \u0026 Noble"," John's Fav"],"visibility":"web","active":"true","variants":[{"id":"26756554817636","productId":"3361060192356","name":"Default Title","price":"0.00","sku":null,"fulfillmentService":"manual","createdAt":"2019-04-22T15:04:34-04:00","updatedAt":"2019-04-22T15:04:34-04:00","weight":null,"weightUnit":"kg","inventoryItemId":"27836179873892","inventoryQuantity":null,"requireShipping":"true"}],"images":[],"imageUrl":null,"link":null},{"id":"1537332117604","sku":"","name":"iMac","description":null,"vendor":"Pruebas Unitarias","productType":null,"createdAt":"2018-11-27T12:29:59-05:00","updatedAt":"2019-04-24T12:20:55-04:00","tags":null,"visibility":"web","active":"true","variants":[{"id":"14528100827236","productId":"1537332117604","name":"Default Title","price":"30000.00","sku":null,"fulfillmentService":"manual","createdAt":"2018-11-27T12:29:59-05:00","updatedAt":"2019-01-29T19:27:50-05:00","weight":null,"weightUnit":"kg","inventoryItemId":"15231896977508","inventoryQuantity":"998","requireShipping":"true"},{"id":"26188011798628","productId":"1537332117604","name":"Yellow","price":"1.00","sku":null,"fulfillmentService":"manual","createdAt":"2019-03-28T12:37:11-04:00","updatedAt":"2019-03-28T12:37:11-04:00","weight":null,"weightUnit":"kg","inventoryItemId":"27197099180132","inventoryQuantity":null,"requireShipping":"true"},{"id":"26803131711588","productId":"1537332117604","name":"Red","price":"1.00","sku":null,"fulfillmentService":"manual","createdAt":"2019-04-24T12:19:39-04:00","updatedAt":"2019-04-24T12:19:39-04:00","weight":null,"weightUnit":"kg","inventoryItemId":"27889722982500","inventoryQuantity":null,"requireShipping":"true"},{"id":"26803156779108","productId":"1537332117604","name":"Green","price":"1.00","sku":null,"fulfillmentService":"manual","createdAt":"2019-04-24T12:20:55-04:00","updatedAt":"2019-04-24T12:20:55-04:00","weight":null,"weightUnit":"kg","inventoryItemId":"27889751490660","inventoryQuantity":null,"requireShipping":"true"}],"images":[{"id":"4312203886692","url":"https://cdn.shopify.com/s/files/1/0053/2679/8948/products/imac-215-selection-hero-201706.jpeg?v=1543339801"}],"imageUrl":"https://cdn.shopify.com/s/files/1/0053/2679/8948/products/imac-215-selection-hero-201706.jpeg?v=1543339801","link":null}],"page":{"next":"eyJwdWJsaXNoZWRfc3RhdHVzIjoiYW55IiwibGFzdF9pZCI6NzA5NjYwNTY3MTYwMSwibGFzdF92YWx1ZSI6IkVjYXJ0YXBpIHNoaXJ0IiwiZGlyZWN0aW9uIjoibmV4dCJ9","previous":null}}