Swap line on subscription

put/2026-04/giftSubscription/{subscriptionId}/line/{lineId}/swap

Request

  • Base URL
    https://api.loopsubscriptions.com/admin
  • URL
    https://api.loopsubscriptions.com/admin/2026-04/giftSubscription/{subscriptionId}/line/{lineId}/swap
  • Auth
    API key in header X-Loop-Token

Path parameters

subscriptionIdinteger required

Loop ID of the subscription

lineIdstring required

Loop ID of the line to be swap

Request body

variantShopifyIdinteger required

Shopify ID of the new variant

Response

Line swapped successfully

successboolean
messagestring
dataunknown
codestring
pageInfounknown

Example response

{
  "success": true,
  "message": "Line swapped successfully",
  "code": "SUCCESS"
}

Changes

No recorded changes to this operation across all 1 revision of this API.