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-08-06 02:59:23",
    "updated_at": "2020-08-06 02:59:23",
    "plan_id": 1
}

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

  • plan BelongsTo Plan