Skip to content

Subscriber prices

What a subscriber pays for a service, per plan: kind is free, percent or price, and limit_qty says how many times per subscription period (empty = unlimited). The discount on the other services is services_discount_pct on the plan. Applied at the cashier desk and at billing, always the lower price for the client. Filter with filter[plan_id].

Module: Subscriptions (subscriptions).

  • GET /api/v1/subscription_plan_prices - List with filters, sorting and pagination (scope subscriptions:read)
  • GET /api/v1/subscription_plan_prices/{id} - A record by id (scope subscriptions:read)
  • POST /api/v1/subscription_plan_prices - Create a record (scope subscriptions:write)
  • PATCH /api/v1/subscription_plan_prices/{id} - Modify the submitted fields (scope subscriptions:write)
  • DELETE /api/v1/subscription_plan_prices/{id} - Delete or deactivate (scope subscriptions:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • plan_id (string; write, required)
  • service_id (string; write, required)
  • kind (string; write, required)
  • value (number; write)
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • updated_at (string, date-time; read): Last modification date (ISO 8601).
  • limit_qty (number; write)
  • subscription_plan_prices.created
  • subscription_plan_prices.updated
  • subscription_plan_prices.deleted