Skip to content

[FEAT]: Add support for Features and Entitlements endpoints #435

Open

Description

@d0rianb

The Lago API exposes Features and Entitlements (features and entitlements tags in the OpenAPI spec), but lago-python-client (at least 1.56) has no resource for them. Every other resource is available in the client, so these endpoints can only be called by hand with requests/httpx.

Missing

  • Features: create, list, retrieve, update (PUT /features/{code}), delete
  • Plan entitlements:
    • POST /plans/{plan_code}/entitlements (replaces all entitlements)
    • PATCH /plans/{plan_code}/entitlements (partial update)
    • DELETE /plans/{plan_code}/entitlements/{feature_code}
  • Subscription entitlements, including
    DELETE /subscriptions/{external_id}/entitlements/{feature_code}

Related

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions