# Heaven Commerce Gateway > API publica de Heaven Commerce. Permite consultar el catalogo (items, precios, stock, imagenes, rubros, marcas), administrar la configuracion del token (listas de precios y sucursales) y crear/confirmar presupuestos en Heaven, con autenticacion por token, rate limiting y permisos por endpoint. Base URL: https://heaven-commerce-gateway.heaven.com.ar/api Autenticacion: Todos los endpoints (excepto `/health`) requieren autenticacion mediante Bearer Token en el header `Authorization`. El token se entrega al dar de alta el usuario; si se omite el prefijo `Bearer`, el valor completo se toma como token. Cada usuario tiene permisos por endpoint: si no tiene acceso a uno, responde `403`. Las respuestas son JSON, devueltas directamente por la API (sin envoltorio salvo `GET /api/settings`). Los precios y el stock dependen de la configuracion del token (dos listas de precios y las sucursales cuyo stock se suma). ## Documentacion - [Documentacion completa (Markdown)](https://heaven-commerce-gateway.heaven.com.ar/docs.md): autenticacion, rate limiting, convenciones y cada endpoint con parametros y ejemplos de request/response. - [Documentacion HTML](https://heaven-commerce-gateway.heaven.com.ar/docs.html): la misma documentacion, navegable, con boton para copiar cada endpoint como Markdown. - [Documentacion de imagenes](https://heaven-commerce-gateway.heaven.com.ar/docs-images.html): guia especifica para listar, subir, reordenar y eliminar imagenes de productos. ## Servicio - [GET /health](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-health): Health check del servicio ## Items y productos - [GET /api/items/{idc}](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-items): Obtener informacion de un item - [GET /api/items/search](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-items-search): Buscar o listar items - [GET /api/items/{idc}/specs](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-items-specs): Especificaciones tecnicas de un item - [GET /api/items/{idc}/promos](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-items-promos): Promociones activas de un item - [GET /api/items/{idc}/variations](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-items-variations): Variantes de un item (talles/colores) - [GET /api/items/{idc}/tags](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-items-tags): Obtener tags de un item - [GET /api/products/{idc}/price_and_stock](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-price-stock): Obtener precio y stock de un producto ## Imagenes - [GET /api/images/{idc}](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-images): Obtener imagen de un producto (legacy) - [GET /api/images/v2/{idc}](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-images-v2): Listar imagenes de un producto - [POST /api/images/upload](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-images-upload): Subir una imagen de producto - [POST /api/images/rearrange](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-images-rearrange): Reordenar / eliminar imagenes - [POST /api/images/delete/{image_id}](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-images-delete): Eliminar una imagen ## Configuracion del token - [GET /api/settings](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-settings-get): Obtener configuracion del token - [POST /api/settings](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-settings-post): Actualizar configuracion del token ## Presupuestos - [POST /api/invoice](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-invoice): Crear un presupuesto - [POST /api/invoice/{id}/confirm](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-invoice-confirm): Reservar stock de un presupuesto ## Catalogos y datos de referencia - [GET /api/banks](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-banks): Listado de bancos disponibles - [GET /api/grupos](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-grupos): Listado de grupos - [GET /api/rubros](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-rubros): Listado de rubros - [GET /api/rubros/search](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-rubros-search): Buscar rubros, opcionalmente filtrados por grupo - [GET /api/tags](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-tags): Listado de tags - [GET /api/marcas](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-marcas): Listado de marcas - [GET /api/custommenu](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-custommenu): Menu personalizado - [GET /api/sucursal](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-sucursal): Listado de sucursales - [GET /api/PriceList](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-pricelist): Listado de listas de precios - [GET /api/hc/users](https://heaven-commerce-gateway.heaven.com.ar/docs.html#ep-heaven-users): Listado de usuarios de Heaven