List Products

Retrieve a list of products with pagination.

🔒

Requires read_product access scope. For more access scope

The Product List API allows developers to retrieve detailed product data with advanced filtering, pagination, and field selection capabilities. This endpoint supports querying by product attributes such as title, ids, and vendors, as well as by specific date ranges for creation, updates, or publication.This API is especially useful for:

  1. Managing large product catalogs efficiently through advanced filtering and pagination.

  2. Optimizing data retrieval by selecting only the required fields, reducing response payload size.

Request Parameters

Public Request Parameters

📘

Query Parameters

ParameterTypeRequiredDescriptionExample
idsarray of stringsNoFilter by specific product IDs["prod_123", "prod_456"]
titlestringNoFilter by product title"Wireless Headphones"
collection_idstringNoFilter by collection ID"9e79ca1f-9ff2-409b-976f-98be343d38a3"
created_at_minstringNoFilter products created after date"2025-01-01T00:00:00Z"
created_at_maxstringNoFilter products created before date"2025-06-01T00:00:00Z"
updated_at_minstringNoFilter products updated after date"2025-05-01T00:00:00Z"
updated_at_maxstringNoFilter products updated before date"2025-06-01T00:00:00Z"
published_at_minstringNoFilter products published after date"2025-05-15T00:00:00Z"
published_at_maxstringNoFilter products published before date"2025-06-15T00:00:00Z"
published_statusstringNoFilter by publish status"published"
spusarray of stringsNoFilter by SPU codes["SPU123", "SPU456"]
pre_cursorstringNoPagination cursor for previous page"eyJpZCI6IjEyMzQ1Njc4OSI="
cursorstringNoPagination cursor for next page"eyJpZCI6IjEyMzQ1Njc4OSI="
per_pageint32NoItems per page (max 250)50
fieldsarray of stringsNoFields to include in response["id", "title", "price"]
sort_directionstringNoSort direction"desc"
exclude_idsarray of stringsNoProduct IDs to exclude["prod_789"]
product_typestringNoFilter by product type"gift_card"
product_behaviourstringNoFilter by product behavior"hidden"
location_idstringNoFilter by inventory location"loc_123"
vendorsarray of stringsNoFilter by exact vendor matches["Sony", "Bose"]
vendors_matcharray of stringsNoFilter by partial vendor matches["son", "bo"]
handlesarray of stringsNoFilter products by handle["handle1", "handle2"]

Response Explanation

Public Response Parameters

📘

Successful Response

ParameterTypeExampleDescription
codestring"200"HTTP status code
messagestring"Success"Operation result message
data.cursorstring"eyJpZCI6IjEyMzQ1Njc4OSI="Next page cursor
data.pre_cursorstring"eyJpZCI6IjEyMzQ1Njc4OSI="Previous page cursor
data.productsarray of objects-List of products

Product Object

ParameterTypeExampleDescription
idstring"prod_123"Product ID
titlestring"Wireless Headphones"Product title
descriptionstring"Noise-cancelling wireless headphones"Product description
publishedbooleantruePublished status
requires_shippingbooleantrueShipping requirement
taxablebooleantrueTaxable status
tagsarray of strings["audio", "wireless"]Product tags
vendorstring"Sony"Vendor name
vendor_urlstring"https://sony.com"Vendor URL
notestring"Limited edition"Internal note
seo_titlestring"Premium Headphones"SEO title
seo_descriptionstring"Buy best wireless headphones"SEO description
seo_keywordsarray of strings["headphones", "audio"]SEO keywords
handlestring"wireless-headphones"Product handle
has_only_default_variantbooleanfalseSingle variant flag
inventory_trackingbooleantrueInventory tracking
inventory_policystring"deny"Inventory policy
need_variant_imagebooleantrueVariant image requirement
spustring"SPU123"Standard product unit
fake_salesstring"100"Display sales count
display_fake_salesbooleantrueShow fake sales
optionsarray of objects-Product options
options.idstring"opt_123"Option ID
options.namestring"Color"Option name
options.valuesarray of strings["Black", "White"]Option values
options.positionstring"1"Option position
imagesarray of objects-Product images
images.idstring"img_123"Image ID
images.srcstring"https://example. com/image.jpg"Image URL
images.widthint32800Image width
images.heightint32600Image height
images.altstring"Black headphones"Image alt text
images.positionstring"1"Image position
images.pathstring"/images/headphones"Image path
variantsarray of objects-Product variants
variants.idstring"var_123"Variant ID
variants.product_idstring"prod_123"Parent product ID
variants.image_idstring"img_123"Variant image ID
variants.created_atstring"2025-01-01T00:00:00Z"Creation time
variants.updated_atstring"2025-06-01T00:00:00Z"Update time
variants.titlestring"Black"Variant title
variants.option1string"Black"Option 1 value
variants.option2string"Large"Option 2 value
variants.option3string""Option 3 value
variants.imageobject-Variant image
variants.image.positionstring"1"Image position
variants.compare_at_pricefloat199.99Compare at price
variants.pricefloat149.99Current price
variants.skustring"SKU123BLK"Stock keeping unit
variants.barcodestring"123456789"Barcode
variants.notestring"New stock"Variant note
variants. inventory_quantitystring"50"Inventory count
variants.weightfloat0.5Product weight
variants.weight_unitstring"kg"Weight unit
variants.cost_pricefloat89.99Cost price
variants.whole_pricesarray of objects-Wholesale prices
variants. whole_prices.pricefloat129.99Wholesale price
variants.whole_prices. min_quantitystring"10"Minimum quantity
variants. retail_pricefloat149.99Retail price
variants. is_discountbooleanfalseDiscount status
variants. origin_pricefloat149.99Original price
variants. extendobject-Extended properties
variants. extend.lengthfloat20.5Product length
variants. extend.widthfloat15.0Product width
variants. extend.heightfloat5.0Product height
variants.extend. dimension_unitstring"cm"Dimension unit
variants.extend. origin_country_codestring"CN"Country of origin
variants.extend. hs_codestring"8518.29"HS code
variants.extend. mixed_wholesalebooleanfalseMixed wholesale
product_typestring"electronics"Product type
brandstring"Sony"Product brand
briefstring"Premium audio"Brief description
inventory_quantitystring"150"Total inventory
price_minfloat149.99Minimum price
price_maxfloat199.99Maximum price
compare_at_price_minfloat199.99Minimum compare price
compare_at_price_maxfloat249.99Maximum compare price
published_atstring"2025-05-15T00:00:00Z"Publish date
created_atstring"2025-01-01T00:00:00Z"Creation date
updated_atstring"2025-06-01T00:00:00Z"Update date
salesstring"75"Actual sales count
independent_seobooleantrueCustom SEO flag
urlstring"/products/wireless-headphones"Product URL
availablebooleantrueAvailability status
retail_price_minfloat149.99Minimum retail price
retail_price_maxfloat199.99Maximum retail price
origin_price_minfloat149.99Minimum original price
origin_price_maxfloat199.99Maximum original price
primary_imageobject-Primary image
primary_image.srcstring"https://example. com/primary.jpg"Image URL
primary_image.widthint32800Image width
primary_image.heightint32600Image height
primary_image.altstring"Primary product image"Alt text
primary_image.pathstring"/images/primary"Image path
tax_codestring"TAX123"Tax code
category_idstring"cat_123"Category ID
categoryobject-Category details
category.idstring"cat_123"Category ID
category.namestring"Electronics"Category name
category.google_idstring"12345"Google category ID
category.levelint322Category level
category.pathstring"Electronics/Audio"Category path

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!