Pagination - Product Features

Overview

When retrieving product features through the Venddor API, you can control how many results are returned and which page of results to display using pagination parameters.

Base URL: https://www.venddor.com.br/api

Pagination Parameters

Add these parameters to your API requests to control the pagination of product features:

Parameter Description
page Specifies which page of features to display. Pages are numbered starting from 1.
items_per_page Controls how many features are included on each page. Default value is 10.
Tip: Product catalogs often contain numerous features, making pagination essential for efficient data retrieval and display.

Examples

GET /api/features?page=5

This request will return 10 product features from the 5th page.

Since items_per_page is not specified, the default value of 10 is used.

GET /api/features?items_per_page=20

This request will return 20 product features from the first page.

Since page is not specified, the default value of 1 is used.

GET /api/features?page=5&items_per_page=20

This request will return 20 product features from the 5th page.

Both pagination parameters are specified, giving you complete control over the results.

Response Format

The API will return a JSON array containing product feature objects based on your pagination parameters. Each feature object will include details like the feature ID, name, description, type (e.g., text, numeric, boolean), and available values (for selection-type features).

Note: Product features are used for filtering, comparison, and detailed product descriptions. They help customers find the specific products that meet their requirements.