> ## Documentation Index
> Fetch the complete documentation index at: https://developers.getswipe.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Product

> Organize and streamline all your products.

Easily manage and synchronize product data across platforms, optimize inventory and pricing workflows, and deliver a seamless experience to your customers.

## What We Offer

<Note>
  All the features mentioned below, and more, can be accessed directly using
  the [Swipe Portal](https://app.getswipe.in).
</Note>

1. [Add Product](https://developers.getswipe.in/api-reference/product-v2/add-an-item) : Add new product entries to build and expand your product catalog.

   ### Steps to add an item:

   1. Checkout the add item endpoint in the API playground and use your API key to test the endpoint.
   2. If your API key is valid, this api endpoint returns a 200 response with item details in a specified JSON format.

   ### You can also add items manually on [Swipe Portal](https://app.getswipe.in/products)

   <Card title="Add Item" icon="play" horizontal href="https://developers.getswipe.in/api-reference/product-v2/add-an-item">
     Try Adding an item
   </Card>

2. [Get Product](https://developers.getswipe.in/api-reference/product-v2/get-a-item-details) : Access specific product information quickly for operational needs or customer queries.

   ### Steps to get an item:

   1. Checkout the get item details endpoint in the API playground. For `item_id`, add the `item_id` used while adding an item.
   2. If your API key is valid, this API endpoint returns a 200 response with item details in a specified JSON format.

   <Card title="Get Item" icon="play" horizontal href="https://developers.getswipe.in/api-reference/product-v2/get-a-item-details">
     Try fetching item details
   </Card>

3. [Update Product](https://developers.getswipe.in/api-reference/product-v2/update-a-item) : Modify existing product information to ensure accuracy and relevance, including name, description, pricing, and availability.

   ### Steps to update an item:

   1. Checkout the update item endpoint in the API playground and use your API key to test the endpoint.
   2. If your API key is valid, this api endpoint returns a 200 response with required details in a specified JSON format.

   <Card title="Update Item" icon="play" horizontal href="https://developers.getswipe.in/api-reference/product-v2/update-a-item">
     Try Updating an item
   </Card>

4. [Delete Product](https://developers.getswipe.in/api-reference/product-v2/delete-a-item) : Remove outdated or inactive products to maintain a streamlined and updated catalog.

   ### Steps to delete an item:

   1. Checkout the delete item endpoint in the API playground. For `item_id`, use the `item_id` that was used while adding an item.
   2. If your API key is valid, this API endpoint returns a 200 response with document details in a specified JSON format.

   <Card title="Delete Item" icon="play" horizontal href="https://developers.getswipe.in/api-reference/product-v2/delete-a-item">
     Try Deleting an Item
   </Card>

5. [Products List](https://developers.getswipe.in/api-reference/product-v2/get-list-of-items) : Retrieve a complete list of all products in your catalog, enabling efficient management and analysis.

   ### Steps to get list of items:

   1. Checkout the get items list endpoint in the API playground.
   2. If your API key is valid, this API endpoint returns a 200 response with items list details in a specified JSON format.

   <Card title="List of Items" icon="play" horizontal href="https://developers.getswipe.in/api-reference/product-v2/get-list-of-items">
     Fetch List of all items
   </Card>

6. [Update Product Mapping](https://developers.getswipe.in/api-reference/product-v2/update-items-mapping) : Seamlessly update product ID mappings to ensure consistency and alignment across systems, avoiding duplicate records and streamlining integrations.

   ### Steps to update item IDs:

   1. Checkout the update item mapping endpoint in the API playground.
   2. If your API key is valid, this API endpoint returns a 200 response with data in a specified JSON format.

   <Card title="Update Item Mappings" icon="play" horizontal href="https://developers.getswipe.in/api-reference/product-v2/update-items-mapping">
     Try updating item mappings
   </Card>
