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).
Endpoints
Section titled “Endpoints”GET /api/v1/subscription_plan_prices- List with filters, sorting and pagination (scopesubscriptions:read)GET /api/v1/subscription_plan_prices/{id}- A record by id (scopesubscriptions:read)POST /api/v1/subscription_plan_prices- Create a record (scopesubscriptions:write)PATCH /api/v1/subscription_plan_prices/{id}- Modify the submitted fields (scopesubscriptions:write)DELETE /api/v1/subscription_plan_prices/{id}- Delete or deactivate (scopesubscriptions:write)
Fields
Section titled “Fields”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)
Events
Section titled “Events”subscription_plan_prices.createdsubscription_plan_prices.updatedsubscription_plan_prices.deleted