Paginated Product List¶
The NXTBN Product API is designed to address challenges like bandwidth optimization and reducing unnecessary data in responses while maintaining compatibility with all types of storefront UI designs. Our API ensures flexibility and scalability to suit diverse requirements.
Product List API Endpoints¶
All the following endpoints provide paginated responses for efficient data handling:
1. Paginated List of Products (With Default Variant Only)¶
Endpoint:
http://localhost:8000/product/storefront/api/products/
Description:
Returns a paginated list of products along with their default variants.
2. Paginated List of Products with Small Images (With Default Variant Only)¶
Endpoint:
http://localhost:8000/product/storefront/api/products/withsmallimage/
Description:
Returns a paginated list of products with their default variants, where all images are optimized to a very small size for bandwidth efficiency.
3. Paginated List of Products with All Associated Variants¶
Endpoint:
http://localhost:8000/product/storefront/api/products/withvariant/
Description:
Provides a paginated list of products along with all their associated variants. This is ideal for detailed product listings.
4. Paginated List of Products with All Variants and Small Images¶
Endpoint:
http://localhost:8000/product/storefront/api/products/withvariant/withsmallimage/
Description:
Provides a paginated list of products with all their associated variants, and all images are optimized to a small size for enhanced performance.
These endpoints are designed to provide flexibility while ensuring optimized performance for storefront UI designs.