# Add subscription

Add a subscription for the logged-in customer.

# Endpoint

POST /account/subscriptions

# Fields

Name Required Default
plan true
quantity false 1

# Example

<form action="/account/subscriptions" method="POST">

    <select name="plan">
        {% for plan in subscription_plans %}
            <options value="{{ plan.id }}">{{ plan.name }}</option>
        {% endfor %}
    </select>

    // Optional
    <input name="quantity" type="number" value="1" />

    <button>Add subscription</button>

    {{ csrf.field }}

</form>