Retrieve a list of products
GET
v1/products/This endpoint retrieves a list of products associated with a given Store ID. The results are paginated and can be controlled with the parameters page_size
and page
.
Additionally, products can be filtered by attribute values using the attribute_values
parameter, which accepts comma-separated values applicable to any attribute (color, brand, size, etc.).
Request
Defines the number of records to return in each page of results.
Note: While you can specify any number for the page_size, the actual maximum number of records per page is capped at 50. Any value above 50 will default to a maximum of 50 items per page. The default value is 10
.
Controls the pagination of results. It indicates the current page number in the paginated list of results. Default value is 1
.
Comma-separated attribute values to filter products.
Preferred language for the response. Defaults to en
if not specified.
Optional access token. When provided, it represents the authorization granted to a client to access protected resources. Must be used within its validity period.
Optional Authorization token. When provided, it authenticates the Partner application's access to Zid's API. It doesn't provide specific user or store information.
Unique identifier of the store.
Role of the user.
Request samples
Responses
URL for the next page in the paginated response. null
if this is the last page.
URL for the previous page in the paginated response. null
if this is the first page.
Total count of products available in the store.
Array of product objects representing each product in the current page of results.
This property is used to indicate whether the product is sourced externally.
Unique identifier for the product. (Set to null if is_external_product is true)
Unique identifier for the parent product, if any. This product could be a variant of the parent product. (Set to null if is_external_product is true)
Set to "grouped_product" to indicate it's a group of sub-products.
Stock Keeping Unit - unique identifier that allows a product to be tracked for inventory purposes.
This field allows you to specify a barcode associated with the product, if applicable.
Localized product name in Arabic (ar) and English (en).
SEO friendly URL, usually derived from the product name.
Base price of the grouped product (100.0).
This field is optional and can be used to provide a brief description of the product.
If the product is on sale, this field specifies the discounted price in the smallest currency unit.
This field contains the base price formatted according to the currency settings.
If applicable, this field holds the formatted discounted price.
Shows the currency type.
This field is currently unused but might be reserved for future functionalities related to product display order.
This flag indicates whether the product has options (variations) available. (e.g., different sizes or colors).
This flag signifies whether the product has custom form fields associated with it.
This array stores information about the product images.
Indicates if the product is a draft (False - published).
Shows the quanitity of the product.
This field contains the URL for the product page on your storefront.
Weight of the product.
This array allows you to define a list of relevant keywords associated with the product for better search optimization.
Indicates if the product is taxable.
SEO-related data for the product.
This object provides average product rating information.
Unique identifier of the store in which the product is listed.
Indicates if the product is published and visible (true).
An array of objects representing the sub-products included in the grouped product. Only required when product_class is set to "grouped_product". Refer to the Update Existing Product documentation for details on the "group_products" fields.
This array provides details about product stock.
Date and time the product was created.
Date and time the product was last updated.
Object containing any applied filters on the product list. Each key is a filter name and the corresponding value is the filter's applied value.