Replace subscription device
Subscriptions
Replace Device
Replaces the device on a subscription (e.g., for warranty or damage).
POST
Replace subscription device
Overview
Replace a faulty or damaged device with a new one of the same type. Unlike upgrades, replacements keep the same subscription terms—the customer gets a working device without changing their contract.When to Use Replacements
Request Fields
| Field | Required | Description |
|---|---|---|
newSerialNumber | Yes | Serial number of replacement device |
reason | Yes | Reason for replacement |
Example Request
What Happens
When you replace a device:- Previous asset status changed to
unavailable - New asset linked to subscription and marked
rented_out - Replacement history logged with both serial numbers
- Contract terms remain unchanged
- Billing continues uninterrupted
Replacement vs Upgrade
| Aspect | Replace | Upgrade |
|---|---|---|
| Device | Same model | Different/better model |
| Contract | Unchanged | New contract |
| Monthly price | Same | May change |
| Typical reason | Fault/damage | Customer request |
| Logistics | Same type swap | Different device |
Asset Requirements
The replacement serial number must:- Exist in your asset inventory
- Match the same SKU as the original (same product type)
- Be available (status:
available)
Replacement History
After replacement, the subscription tracks all swaps:Example: Device Replacement Workflow
Common Replacement Reasons
Document the reason clearly for tracking and warranty purposes:- Battery failure
- Screen damage
- Keyboard malfunction
- Performance issues
- Physical damage (specify type)
- Manufacturing defect
Error Handling
| Error Code | Cause | Solution |
|---|---|---|
SUBSCRIPTION_NOT_ACTIVE | Subscription is not active | Can only replace on active subscriptions |
ASSET_NOT_FOUND | Replacement serial doesn’t exist | Create asset first |
ASSET_NOT_AVAILABLE | Replacement asset not available | Use different asset |
SKU_MISMATCH | Replacement doesn’t match original product | Use same product type |
Related Endpoints
- Get Subscription - Check subscription and current device
- List Assets - Find available replacement devices
- Upgrade Subscription - For changing to different product
- Update Asset - Mark returned device for repair
Authorizations
API key obtained from FlexPortal dashboard
Headers
Your tenant identifier
Path Parameters
The subscription ID
Body
application/json