Swap line
This endpoint allows to update the existing line with a new line in a subscription contract.
put/2026-04/subscription/{subscriptionId}/line/{lineId}/swap
Request
- Base URLhttps://api.loopsubscriptions.com/admin
- URLhttps://api.loopsubscriptions.com/admin/2026-04/subscription/{subscriptionId}/line/{lineId}/swap
- AuthAPI key in header X-Loop-Token
Path parameters
subscriptionIdinteger required
The unique identifier of the subscription in Loop.
lineIdinteger required
ID of the subscription line to swap.
Request body
Response
Line swapped successfully
Example response
{
"success": true,
"message": "Line swapped successfully",
"code": "SUCCESS"
}Changes
No recorded changes to this operation across all 1 revision of this API.