PlanPrice


Precio de un plan por períodos.

Modelo PlanPrice

{
    "id": 1,
    "ref_price_e2": 0,
    "price_e2": 0,
    "billing_period": "never",
    "created_at": "2020-04-17 01:07:50",
    "updated_at": "2020-04-17 01:07:50",
    "plan_id": 1
}
Atributo Tipo Descripción
id int -
ref_price_e2 int -
price_e2 int -
billing_period string -
created_at datetime\|null -
updated_at datetime\|null -
plan_id int -

Insertar PlanPrice

Insertar PlanPrice de Plan

Método URI Cabeceras
POST /plans/{planId}/plan-prices Authorization
{
    "ref_price_e2": "required|integer|min:0",
    "price_e2": "required|integer|min:0",
    "billing_period": "required|string|in:never,monthly,yearly"
}

Listar PlanPrice

Listar PlanPrice de Plan

{info} Soporta: Paginación Filters Carga dinámica

Método URI Cabeceras
GET /plans/{planId}/plan-prices N/A

Mostrar PlanPrice

{info} Soporta: Carga dinámica

Método URI Cabeceras
GET /plan-prices/{planPriceId} N/A

Actualizar PlanPrice

Método URI Cabeceras
PATCH /plan-prices/{planPriceId} Authorization
{
    "ref_price_e2": "integer|min:0",
    "price_e2": "integer|min:0",
    "billing_period": "string|in:never,monthly,yearly"
}

Eliminar PlanPrice

Método URI Cabeceras
DELETE /plan-prices/{planPriceId} Authorization

Enlaces de PlanPrice