Bemovil
Contactar comercial
  • Languages
    • Español
      • Introducción API
      • Autenticación
      • Errores
      • Transacciones
        • Ejemplos
      • Productos
      • Reportes
      • Cargar saldo
    • English
      • API Introduction
      • Authentication
      • Errors
      • Transactions
        • Examples
      • Products
      • Reports
Con tecnología de GitBook
En esta página
  • Service that allows querying products and their assigned commission.
  • Service that allows obtaining all detailed information about a product.
  1. Languages
  2. English

Products

Services that allow querying products, commissions, images, data for reconstructing the graphical view, etc.

Service that allows querying products and their assigned commission.

POST /api/v1/products/list

Request Body

Name
Type
Description

data*

Object

Data field

{
  "statusCode":200,
  "message":"Successful",
  "data":{
    "Categories": [
      {
        "id":6,
        "name":"Pines",
        "sort":2,
        "Products": [
          {
            "id":101000,
            "name":"Pines Netflix",
            "image":"/images/netflix.png",
            "description":"Venta de pines netflix",
            "price":null,
            "categoryId":6,
            "tip":3
          }
        ]
      }
    ]
  },
  "_channel":"web"
}

Service that allows obtaining all detailed information about a product.

POST /api/v1/products/get

Note: The "options" field returns the necessary information to reconstruct the graphical view.

Request Body

Name
Type
Description

data.productId*

string

Product ID

{
  "statusCode":200,
  "message": "Exitoso",
  "data":{
    "id": 10000,
    "name": "Claro",
    "price": 20000,
    "image": "/images/claro.png",
    "description": "Recargas moviles",
    "options": {
      "view": {
        "title": "Realizar recarga",
        "form": {
          "button": "Vender recarga",
          "inputs": [
            { "type": "cellphone", "label": "Celular del cliente", "name": "customerCellphone", "icon": "cellphone"  },
            { "type": "amount", "label": "Valor", "name": "amount", "icon": "price"  }
          ]
        }
      }
    }
  },
  "_channel":"web"
}
AnteriorExamplesSiguienteReports

Última actualización hace 9 meses