Get all products
GET https://api.ecartapi.com/api/v2/products
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
limit | string | Sets the max amount of documents the response will return. Max. 150 | |
page | string | Allows iteration through the store resources. | |
createdAt[from] | string | Filters from the date set to the current date by the creation date of the resource. | |
createdAt[to] | string | Must be used with createdAt[from]. Filters between the two dates set by the creation date of the resource. | |
status[status] | string | Filters the results by the status. | |
updatedAt[from] | string | Filters from the date set to the current date by the last updated date of the resource. | |
updatedAt[to] | string | Must be used with updatedAt[from]. Filters between the two dates set by the last updated date of the resource. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"success":true,"products":[{"id":"25ghjkl","sku":"25ghjkl","name":"Air Max 97 Updated Yellow","description":"nice shoe\u003cspan\u003e\u003c/span\u003e","currency":null,"quantity":"10","price":"1000.00","dimensions":{"width":"10","height":"10","length":"10","weight":"1"},"units":{"width":"cm","height":"cm","length":"cm","weight":"kg"},"category":{"id":null,"name":"Tenis Deportivos para hombre","all":[]},"tags":[],"status":{"id":null,"visibility":null,"active":null,"status":"active"},"variants":[{"id":null,"productId":null,"name":"25.5","price":"1000.00","currency":null,"sku":null,"fulfillmentService":null,"option1":null,"option2":null,"option3":null,"dimensions":{"width":"10","height":"10","length":"10","weight":"1"},"units":{"width":"cm","height":"cm","length":"cm","weight":"kg"},"inventory":{"itemId":null,"quantity":"10"},"requireShipping":null,"imageId":null,"dates":{"createdAt":null,"updatedAt":null},"ecartapiUrl":null}],"options":[],"images":[{"id":null,"url":"https://sellercenter-static-staging.linio.com.mx/3/38d67766e8f32036297eec726de72341.jpeg","variantIds":[],"ecartapiUrl":null},{"id":null,"url":"https://sellercenter-static-staging.linio.com.mx/1/1ee78d588872901cd0a329e9a0788705.jpeg","variantIds":[],"ecartapiUrl":null}],"imageUrl":"https://sellercenter-static-staging.linio.com.mx/3/38d67766e8f32036297eec726de72341.jpeg","condition":null,"link":null,"dates":{"createdAt":null,"updatedAt":null},"vendor":null,"sellOutStock":null},{"id":"26tyuiohnj","sku":"26tyuiohnj","name":"Air Max 97 Updated Yellow","description":"nice shoe\u003cspan\u003e\u003c/span\u003e","currency":null,"quantity":"10","price":"100.00","dimensions":{"width":"10","height":"10","length":"10","weight":"1"},"units":{"width":"cm","height":"cm","length":"cm","weight":"kg"},"category":{"id":null,"name":"Tenis Deportivos para hombre","all":[]},"tags":[],"status":{"id":null,"visibility":null,"active":null,"status":"active"},"variants":[{"id":null,"productId":null,"name":"26.5","price":"100.00","currency":null,"sku":null,"fulfillmentService":null,"option1":null,"option2":null,"option3":null,"dimensions":{"width":"10","height":"10","length":"10","weight":"1"},"units":{"width":"cm","height":"cm","length":"cm","weight":"kg"},"inventory":{"itemId":null,"quantity":"10"},"requireShipping":null,"imageId":null,"dates":{"createdAt":null,"updatedAt":null},"ecartapiUrl":null}],"options":[],"images":[{"id":null,"url":"https://sellercenter-static-staging.linio.com.mx/3/38d67766e8f32036297eec726de72341.jpeg","variantIds":[],"ecartapiUrl":null},{"id":null,"url":"https://sellercenter-static-staging.linio.com.mx/1/1ee78d588872901cd0a329e9a0788705.jpeg","variantIds":[],"ecartapiUrl":null}],"imageUrl":"https://sellercenter-static-staging.linio.com.mx/3/38d67766e8f32036297eec726de72341.jpeg","condition":null,"link":null,"dates":{"createdAt":null,"updatedAt":null},"vendor":null,"sellOutStock":null},{"id":"4105382173aa554","sku":"4105382173aa554","name":"Magic Product","description":"This is a product.","currency":null,"quantity":"10","price":"100.00","dimensions":{"width":"10","height":"10","length":"10","weight":"1"},"units":{"width":"cm","height":"cm","length":"cm","weight":"kg"},"category":{"id":null,"name":"Trajes de baño y ropa de playa","all":[{"id":null,"name":"Mujeres"}]},"tags":[],"status":{"id":null,"visibility":null,"active":null,"status":"active"},"variants":[{"id":null,"productId":null,"name":"25","price":"100.00","currency":null,"sku":null,"fulfillmentService":null,"option1":null,"option2":null,"option3":null,"dimensions":{"width":"10","height":"10","length":"10","weight":"1"},"units":{"width":"cm","height":"cm","length":"cm","weight":"kg"},"inventory":{"itemId":null,"quantity":"10"},"requireShipping":null,"imageId":null,"dates":{"createdAt":null,"updatedAt":null},"ecartapiUrl":null}],"options":[],"images":[],"imageUrl":null,"condition":null,"link":null,"dates":{"createdAt":null,"updatedAt":null},"vendor":null,"sellOutStock":null},{"id":"98ruewfsak","sku":"98ruewfsak","name":"Magic Product","description":"This is a product.","currency":null,"quantity":"10","price":"100.00","dimensions":{"width":"10","height":"10","length":"10","weight":"1"},"units":{"width":"cm","height":"cm","length":"cm","weight":"kg"},"category":{"id":null,"name":"Mujeres","all":[{"id":null,"name":"Trajes de baño y ropa de playa"}]},"tags":[],"status":{"id":null,"visibility":null,"active":null,"status":"active"},"variants":[{"id":null,"productId":null,"name":"L","price":"100.00","currency":null,"sku":null,"fulfillmentService":null,"option1":null,"option2":null,"option3":null,"dimensions":{"width":"10","height":"10","length":"10","weight":"1"},"units":{"width":"cm","height":"cm","length":"cm","weight":"kg"},"inventory":{"itemId":null,"quantity":"10"},"requireShipping":null,"imageId":null,"dates":{"createdAt":null,"updatedAt":null},"ecartapiUrl":null}],"options":[],"images":[],"imageUrl":null,"condition":null,"link":null,"dates":{"createdAt":null,"updatedAt":null},"vendor":null,"sellOutStock":null}]}