---
description: This page contains the documentation for the product endpoints.
---

# Product

The product endpoints allow you to get the list of products available and the details. You can also get the picture of the product. If your account has administrative rights, you can modify and delete a product.

{% openapi src="https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml" path="/products" method="get" %}
[https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml](https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml)
{% endopenapi %}

{% openapi src="https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml" path="/products/{filename}" method="get" %}
[https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml](https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml)
{% endopenapi %}

{% openapi src="https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml" path="/products/{filename}" method="put" %}
[https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml](https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml)
{% endopenapi %}

{% openapi src="https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml" path="/products/{filename}" method="delete" %}
[https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml](https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml)
{% endopenapi %}

{% openapi src="https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml" path="/products/details/{filename}" method="get" %}
[https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml](https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml)
{% endopenapi %}

{% openapi src="https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml" path="/products/upload" method="post" %}
[https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml](https://raw.githubusercontent.com/eo33/ecommerce-app/refs/heads/main/docs/OAS/product.yaml)
{% endopenapi %}
