Edit line

This endpoint allows you to update the quantity, pricing, and selling plan

put/2026-04/subscription/{subscriptionId}/line/{lineId}/update

Request

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

Path parameters

subscriptionIdinteger required

The unique identifier of the subscription contract in Loop.

lineIdinteger required

The unique identifier of a line in a subscription.

Request body

quantityinteger required

New quantity of a particular line in a subscription contract.

sellingPlanGroupIdinteger

The selling plan group ID to be applied to the subscription line item.

pricingType'CUSTOM' | 'SELLING_PLAN'

The pricing type to be applied to the subscription line item.

Response

Line updated successfully

successboolean
messagestring
dataunknown
codestring
pageInfounknown

Example response

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

Changes

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