List All Vendor

PENDING 22 hrs Medium 2024-04-25

User Story: Vendor List in Admin Panel for E-commerce Platform

- By Naresh Kumar

Title: Manage Vendor List in Admin Panel

As a: E-commerce Admin

I want to: View, manage, and maintain a list of vendors in the admin panel

So that: I can efficiently oversee vendor operations, ensure quality control, and manage vendor-related tasks on the e-commerce platform.

Acceptance Criteria:

  1. View Vendor List:

    • The admin should be able to view a list of all registered vendors.
    • The list should display key details such as Vendor Name, gstin, phone, whatsapp, representative and updated at date.
    • The list should be sortable and filterable by different criteria (e.g., name, updated at date).
  2. Search Functionality:

    • The admin should be able to search for vendors using their name.
  3. View Vendor Details:

    • The admin should be able to click on a vendor's name to view detailed information, including business address, products offered, transaction history, and performance metrics.
    • Note: Go to view vendor userstory for further information.
  4. Add New Vendor:

    • The admin should have the ability to add new vendors by filling out a form with required fields.
    • Note: Go to Add vendor userstory for further information.
  5. Edit Vendor Information:

    • The admin should be able to edit vendor information directly from the list or within the vendor’s detailed view.
    • Note: Go to edit vendor userstory for further information.
  6. Delete Vendor:

    • The admin should be able to delete a vendor from the system, with confirmation and potential implications (e.g., removing products associated with the vendor).
  7. Export Vendor List:

    • The admin should have the option to export the vendor list in formats such as CSV or Excel.
  8. Notifications:

    • The admin should receive notifications or prompts for actions required (e.g., vendors pending approval).
  9. Permissions:

    • Only users with appropriate admin roles should have access to manage the vendor list.

Priority: High

Story Points: 5

Notes:

  • The vendor list should integrate with the platform’s existing data structure and maintain consistency with other admin panel features.
  • Consideration should be given to the impact of vendor actions on products and orders associated with the vendor.

REST API

JSON Structure

[
  {
    "id": "string",
    "createdAt": "2024-07-29T16:21:56.611Z",
    "updatedAt": "2024-07-29T16:21:56.611Z",
    "name": "string",
    "gstin": "string",
    "address": "string",
    "phone": "string",
    "whatsapp": "string",
    "alternatePhone": "string",
    "representative": "string",
    "notes": "string"
  }
]

Developer Est (22 Hrs)

- By Jayasurya Subramani
  • UI Development = 8 Hrs
  • API Integration = 4 Hrs
  • Search,Sorting & Pagination = 4 Hrs
  • Code Review & Bug Fixing = 4 Hrs
  • Buffer Time = 2 Hrs
  • Total = 22 Hrs