PlanFeature
Feature de un Plan (define límites y costes)
Modelo PlanFeature
{
"id": 1,
"key": "limit_admins_count",
"value": 0,
"can_overflow": false,
"overflow_cost_e2": 0,
"period": "monthly",
"created_at": "2020-04-02 15:21:46",
"updated_at": "2020-04-02 15:21:46",
"plan_id": 1
}
Insertar PlanFeature
Insertar PlanFeature de Plan
Método |
URI |
Cabeceras |
POST |
/plans/{planId}/plan-features |
Authorization |
{
"key": "required|string|in:limit_orders_saved,limit_admins_count,allow_work_schedules,allow_push_notifications,limit_providers_count,allow_routes,limit_delivery_proofs_count,limit_storage_mb_size,allow_ratings,limit_data_storage_days,limit_categories_count,limit_goods_count,limit_allowed_plan_mask,limit_third_p_integration_count,limit_payment_methods_count",
"value": "required",
"can_overflow": "boolean",
"overflow_cost_e2": "integer|min:0",
"period": "string|in:never,monthly,yearly"
}
Listar PlanFeature
Listar PlanFeature de Plan
{info} Soporta:
Paginación
Filters
Carga dinámica
Método |
URI |
Cabeceras |
GET |
/plans/{planId}/plan-features |
N/A |
Mostrar PlanFeature
{info} Soporta:
Carga dinámica
Método |
URI |
Cabeceras |
GET |
/plan-features/{planFeatureId} |
N/A |
Actualizar PlanFeature
Método |
URI |
Cabeceras |
PATCH |
/plan-features/{planFeatureId} |
Authorization |
{
"value": "",
"can_overflow": "boolean",
"overflow_cost_e2": "integer|min:0",
"period": "string|in:never,monthly,yearly"
}
Eliminar PlanFeature
Método |
URI |
Cabeceras |
DELETE |
/plan-features/{planFeatureId} |
Authorization |
Enlaces de PlanFeature