Saltar al contenido principal

ProductPageResponse

Product listing page (paginated)

products object[]

List of products for this page

  • Array [
  • idstring

    Internal product ID

    Example: p_abc123
    externalIdstring

    External product ID from source system

    Example: prod_001
    namestring

    Product name

    Example: Zapatillas Running Pro
    pricenumber

    Product price

    Example: 89.99
    currencystring

    ISO 4217 currency code

    Example: EUR
    urlstring

    Product page URL

    Example: https://mitienda.com/prod_001
    imageUrlstring

    Main image URL

    categoriesstring[]

    Product categories

    brandsstring[]

    Product brands

    inStockboolean

    Whether in stock

    isActiveboolean

    Whether product is active

    indexedboolean

    Whether product has been indexed for search

    Example: true
  • ]
  • pageint32

    Current page number (0-based)

    Example: 0
    sizeint32

    Page size

    Example: 20
    totalElementsint64

    Total number of products

    Example: 8200
    totalPagesint32

    Total number of pages

    Example: 410
    ProductPageResponse
    {
    "products": [
    {
    "id": "p_abc123",
    "externalId": "prod_001",
    "name": "Zapatillas Running Pro",
    "price": 89.99,
    "currency": "EUR",
    "url": "https://mitienda.com/prod_001",
    "imageUrl": "string",
    "categories": [
    "string"
    ],
    "brands": [
    "string"
    ],
    "inStock": true,
    "isActive": true,
    "indexed": true
    }
    ],
    "page": 0,
    "size": 20,
    "totalElements": 8200,
    "totalPages": 410
    }