Apply swap profile
Changed onThis endpoint allows you to apply a swap product to a subscription line item using either the general swap profile or a personalized swap profile.
post/2026-04/subscription/{subscriptionId}/line/{lineId}/swap/apply
Request
- Base URLhttps://api.loopsubscriptions.com/storefront
- URLhttps://api.loopsubscriptions.com/storefront/2026-04/subscription/{subscriptionId}/line/{lineId}/swap/apply
- AuthAPI key in header Authorization
Path parameters
subscriptionIdstring required
The unique identifier of the subscription in Loop.
lineIdstring required
The unique identifier of the subscription line item for which swap products are being retrieved.
Request body
Response
Example response
{
"success": true,
"message": "Swap applied successfully",
"code": "SUCCESS"
}Changes
- info
endpoint added
- info