Skip to content

Detalle de un producto​

GET
/products/{id}

Agrega imágenes, variantes y opciones al ítem del listado.

Autorizaciones​

bearerAuth

API key de la florería, con formato rf_live_<prefix>_<secreto>. Se entrega una sola
vez; se envía en cada solicitud como Authorization: Bearer <key>.

Tipo
HTTP (bearer)

Parámetros​

Path Parameters

id*
Tipo
integer
Requerido

Respuestas​

Producto.

application/json
JSON
{
  
"error": false,
  
"product": {
  
  
"id": 0,
  
  
"shared": true,
  
  
"name": "string",
  
  
"description": "string",
  
  
"type": 0,
  
  
"price": 0,
  
  
"price_sale": 0,
  
  
"sale_date_end": "string",
  
  
"is_active": true,
  
  
"is_stock": true,
  
  
"quantity": 0,
  
  
"is_exclude_high_demand": true,
  
  
"photo": "string",
  
  
"updated_at": "string",
  
  
"is_message": true,
  
  
"message_max": 0,
  
  
"message_label": "string",
  
  
"personalized_min": 0,
  
  
"personalized_max": 0,
  
  
"personalized_max_combinations": 0,
  
  
"images": [
  
  
  
{
  
  
  
  
"id": 0,
  
  
  
  
"url": "string",
  
  
  
  
"small": "string",
  
  
  
  
"medium": "string",
  
  
  
  
"large": "string"
  
  
  
}
  
  
],
  
  
"variants": [
  
  
  
{
  
  
  
  
"id": 0,
  
  
  
  
"sku": "string",
  
  
  
  
"default": true,
  
  
  
  
"price": 0,
  
  
  
  
"stock": 0,
  
  
  
  
"photo": "string",
  
  
  
  
"attributes": [
  
  
  
  
  
{
  
  
  
  
  
  
"attribute": "string",
  
  
  
  
  
  
"value": "string"
  
  
  
  
  
}
  
  
  
  
]
  
  
  
}
  
  
],
  
  
"options": [
  
  
  
{
  
  
  
  
"id": 0,
  
  
  
  
"name": "string",
  
  
  
  
"price": 0,
  
  
  
  
"photo": "string"
  
  
  
}
  
  
]
  
}
}

Ejemplos​

API de socios de Redfloral, versión 1 (beta).