# Manage a device subscription

How to review and extend a device platform subscription with a manual coupon or coupon batch and inspect its history.

Audience: [Device manager](/help/by-role/device-manager/)

## Who is this for

Device managers who review and extend platform subscriptions for individual devices.

## Outcome

You can open the Subscription dialog, review the current subscription, choose a platform-only extension product, apply a manual coupon or select a coupon batch, and inspect subscription history.

## Before you start

- You are signed in.
- The device is visible in the current group scope.
- The Connectivity action is available for the device.
- Manual coupon entry follows your connectivity update access. Automatic coupon batch selection additionally requires owner access to the nearest Contract group.

## What opens in this dialog

The Connectivity action opens the `Subscription` dialog with a standard toolbar, content area, and action buttons at the bottom.

Possible tabs:

- `Extend`
- `History`

Both tabs are available. `Extend` is the default operational tab and `History` is read-only.

## Dialog structure and main branches

The first important split happens inside `Extend`.

There are two major states:

1. Device registration is completed and activated by first message.
2. Device registration is incomplete or the subscription is waiting for first-message activation.

The dialog behaves differently in each state.

## Steps

1. Open the device menu.
2. Click Connectivity.
3. Wait for the dialog to load the device and available subscription products.
4. Start with `Extend` to review the current subscription and available products.
5. If the device is active, select a product card and complete the extension or cart action.
6. If needed, inspect the `History` tab.
7. Close the dialog or complete the extension flow.

## Extend tab

This tab is the main operational part of the dialog.

### If the device is already active

The tab shows current state overview:

- current subscription name,
- subscription validity date,
- remaining subscription in days and a progress bar.

If you have connectivity update or insert access, it also shows the purchase/extension section:

- one card for each available platform-only extension product,
- product name, description, duration, and resulting validity date; price and currency appear only when payment is enabled,
- coupon method selector with manual entry and coupon batch selection,
- total price when payment is enabled,
- `Add to shopping cart` or `Extend` action at the bottom of the dialog.

With read-only device access, the dialog keeps the subscription overview and history available but hides extension products, coupon controls, and the extension action.

Important behavior:

- only platform-only extension products are offered,
- the first available product is selected initially,
- clicking a card changes the selected product and recalculates the price,
- only platform extension products are available in self-service flow,
- coupon validation and price preview are asynchronous,
- a valid coupon can change final price and button meaning,
- if payment is not enabled, product and final prices remain hidden and only a fully coupon-covered extension can proceed without cart,
- a coupon-only user sees whether the coupon covers the service, not the internal platform price or unpaid amount,
- the action button changes meaning between `Add to shopping cart` and `Extend`.

If the device has managed Sigfox connectivity history and no active general-connectivity bridge, the dialog shows an informational transition warning with a link to message-forwarding documentation. This is not a separate confirmation checklist.

### If the device is not fully activated yet

The dialog shows an unfinished-activation branch instead of the normal extension UI.

Two variants:

- registration not completed: subscription details are not yet available,
- registration completed but not activated by first message: the dialog shows the subscription that will be activated by the first message.

This state is informational only. The purchase action is hidden until first-message activation and a product is available.

## Coupon and extension behavior

After selecting a product, enter a coupon manually. If you also have owner access to the nearest Contract group, you can alternatively choose automatic batch selection:

1. `Enter manually`: enter or paste one 10-character coupon code. The dialog immediately checks the code and shows checking, valid, or error feedback inside the coupon box.
2. `Select from batches`: choose one available coupon batch. The selector shows `PO number` when the batch has a Purchase order, otherwise `Batch ID`, together with current availability and discount. The preview shows `Will use 1 of M` inside the coupon box.

An empty manual input or empty batch selection means no coupon. Use the close icon to clear the current coupon and restore the price without a coupon.

Without Contract group owner access, manual entry remains visible but `Select from batches` is hidden.

A manually entered coupon assigned to a Contract group can be used only for a device in that Contract group or one of its descendant groups. You do not need direct access to the Contract group itself, but you must be allowed to update connectivity for the device group. A coupon assigned to another customer branch is rejected. Coupons without a Contract group assignment remain global.

What to watch:

- coupon must match the required 10-character pattern,
- invalid or already used coupon resets the price branch,
- valid manual coupon or batch selection recalculates the server-confirmed final price,
- expired, voided, used, or unavailable coupons cannot be applied,
- the coupon batch identifier stays consistent between selection and preview,
- when final price becomes zero, the button can switch from cart purchase to direct extension,
- if payment is disabled and coupon does not fully cover the price, the flow blocks that path without displaying the internal price or balance.

Submit result variants:

- cart item created: shopping cart count increases and dialog closes,
- direct extension completed: success snackbar and dialog closes with `extended`,
- rejected: snackbar shows first rejection error and dialog closes,
- request failure: snackbar shows extracted error code and dialog closes.

## History tab

This tab shows subscription history for the device.

What you can review:

- acquired date,
- provider,
- product,
- `Valid from`,
- `Valid until`.

Important behavior:

- provider and product names are resolved from subscription snapshots first,
- live provider metadata is only a legacy fallback while historical data is being cleaned up,
- legacy connectivity periods are not displayed,
- a missing platform period is shown as `Not available`,
- if no subscriptions exist, the UI shows `No subscriptions`.

The bottom action area shows only `Close` while `History` is active. Purchase and extension actions are available only on `Extend` when the device is activated and a product is selected.

## Practical checks

- Dialog header shows the correct device name and id.
- `Extend` displays active vs unfinished activation state correctly.
- Product list contains platform extension products only.
- The selected product card is visibly highlighted using the active white-label theme.
- Manual coupon and coupon batch selection change final price and can change action meaning.
- Clearing either coupon method restores the price without a coupon.
- `History` shows snapshot-based provider/product names and platform validity only.
- `History` does not show an add-to-cart or extend action.
- Shopping cart count increases when the result is cart-based.

## Common issues

- Connectivity action missing: access or device-type restrictions block the entry point.
- Extend tab is informational: registration may be incomplete or the subscription may be waiting for the first message.
- No extendable products are shown: current provider/subscription state may not match available product filters.
- Transition warning shown: managed-to-platform transition requires callback readiness with your local operator.
- Manual coupon is rejected: pattern is wrong, or the coupon is invalid, expired, voided, or already used.
- Coupon batch is unavailable: it has no currently usable coupon, expired, or changed while the dialog was open.
- Extension remains unavailable after applying a partial discount: payment is disabled or the required cart permission is missing.
- Connectivity diagnostics from Sigfox backend are not available in this flow.

## Related use cases

- [Review billing coupons](/help/groups-tabs-billing-coupons/)
- [Devices cards](/help/groups-tabs-devices-cards/)
- [Devices list](/help/groups-tabs-devices-list/)
- [Add device end-to-end](/help/device-add-e2e/)
- [Device menu settings](/help/device-menu-settings/)
- [Batch extend subscription](/help/batch-extend-subscription/)

## Support handoff

If extension fails, include content_id, device id, active tab name, current subscription, selected extension product, coupon method and code or PO number/Batch ID, displayed total price, whether the expected result was cart or direct extend, and any inline or snackbar error text.
