Logo
Ecartapi.com Public API Documentation

Get all products

GET https://api.ecartapi.com/api/v2/products

This resource can show all products or filters the results with params.

 

Body PARAM

Key Datatype Required Description 
page
string Pagination position number
updatedAt[from]
string gets data updated from a date
updatedAt[to]
string gets data updated to a date



HEADERS

Key Datatype Required Description 
Authorization
string




RESPONSES

status OK

{ "success": true, "products": [ { "id": "5f7758c5d0b9092f25e2b7a5", "sku": "SQ0557856", "name": "Artisanal Steak updated", "description": "<p>TUpdated description his can be a few words or even a few <i>paragraphs</i>.</p>", "currency": "USD", "productType": "PHYSICAL", "quantity": "20", "price": "12.95", "dimensions": { "width": "5", "height": "5", "length": "7", "weight": "2" }, "units": { "width": "INCH", "height": "INCH", "length": "INCH", "weight": "POUND" }, "category": { "id": null, "name": null, "all": [] }, "tags": [ "artisanal", "steak" ], "status": { "id": null, "visibility": "true", "active&q
Curl
curl -X GET 'https://api.ecartapi.com/api/v2/products?page=1 (String)&updatedAt[from]=2020-06-24 (String)&updatedAt[to]=2020-06-24 (String)' -H 'Authorization: access_token'

ENDPOINTS