Saltar al contenido
Krezkadev
GET/products

Listar productos

Productos activos con su variante, oferta vigente y stock disponible (sin lo reservado). Se pagina por cursor.

Parámetros de consulta

searchstring

Busca en nombre, sku y códigos de barras (incluye tallas y paquetes).

category_idinteger
location_idinteger

Stock de esa sede.

publishedboolean

true: solo lo publicado en tienda.

limitinteger
cursorstring

El next_cursor de la página anterior.

Respuestas

  • 200Una página de productos
  • 401Error 401
  • 403Error 403
  • 429Error 429
GET /products
curl https://api.krezka.com/api/v1/erp/products \
  -H "Authorization: Bearer $FALCONEXT_API_KEY"
Respuesta · 200
JSON
{
  "object": "string",
  "data": [
    {
      "object": "product",
      "id": 0,
      "livemode": true,
      "type": "product",
      "sku": "string",
      "barcode": "string",
      "name": "string",
      "description": "string",
      "price": 0,
      "sale_price": 0,
      "sale_starts_on": "string",
      "sale_ends_on": "string",
      "currency": "PEN",
      "tax_included": true,
      "unit": "string",
      "category": {},
      "brand": {},
      "images": [
        "string"
      ],
      "stock": 0,
      "reserved": 0,
      "available": 0,
      "stock_by_location": [
        {
          "location_id": 0,
          "location": "string",
          "quantity": 0,
          "reserved": 0,
          "available": 0
        }
      ],
      "availability": "in_stock",
      "wholesale_prices": [
        {}
      ],
      "packs": [
        {}
      ],
      "pharmacy": {},
      "batches": [
        {}
      ],
      "published_in_store": true,
      "variants": [
        {
          "id": 0,
          "sku": "string",
          "barcode": "string",
          "attributes": {},
          "price": 0,
          "image": "string",
          "stock": 0,
          "reserved": 0,
          "available": 0,
          "stock_by_location": [
            {
              "location_id": 0,
              "location": "string",
              "quantity": 0,
              "reserved": 0,
              "available": 0
            }
          ]
        }
      ]
    }
  ],
  "has_more": true,
  "next_cursor": "string"
}
Pruébalo
API de Krezka (ERP)2026-10-22

Se guarda solo en tu navegador (localStorage). Nunca se incluye en el código copiable.

GEThttps://api.krezka.com/api/v1/erp/products

Parámetros

search
category_id
location_id
published
limit
cursor
curl https://api.krezka.com/api/v1/erp/products \
  -H "Authorization: Bearer $FALCONEXT_API_KEY"
Respuesta

Envía una solicitud para ver la respuesta