Logo
Ecartapi.com Public API Documentation

Get all products

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

Returns a list of Products. Optional filter parameters can be passed in.

More information about the ecommerce's resource.

 

Body PARAM

Key Datatype Required Description 
sku
string The product sku to return.
limit
string Default value: 50. The maximum number of products returned in the response
page
string Index of page of results to be returned.
productType
string The type of product you want to search for.
searchType
string Keyword to filter products by.
createdAt[from]
string Filter orders by range. Requires createdAt[to]. Set the lower treshold.
createdAt[to]
string Filter orders by range. Requires createdAt[from]. Set the upper treshold.
status[visibility]
string
Curl
curl -X GET 'https://api.ecartapi.com/api/v2/products?sku=String.&limit=Integer. [Max.250 Min.0]&page=Integer. [1...1000]&productType=String.&searchType=String.&createdAt[from]=Date. [YYYY-MM-DD]&createdAt[to]=Date. [YYYY-MM-DD]&status[visibility]=Boolean. [ true, false ]&sort=String. [asc,desc]&sortBy=String. [id, name, sku, price, createdDate, quantity, total, status.visibility]' -H 'Authorization: access_token'

ENDPOINTS