v1

latestOpenAPI 3.1.02026-07-241120379.1 KB

Edit line

This endpoint allows you to update the quantity, pricing, selling plan, and custom attributes of a subscription line item.

put/2023-10/subscription/{subscriptionId}/line/{lineId}/update'

Path parameters

subscriptionIdstring required

The unique identifier of the subscription contract in Loop.

lineIdstring 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.