Add line

This endpoint allows you to permanently adds a product to a subscription, ensuring it recurs in all future orders until removed.

Path Params
int32
required

The unique identifier of the subscription in Loop.

Body Params
int64
required

Shopify variant ID to add to the subscription.

int32
required

Quantity of the variant to add.

int32

Selling plan group to apply on the line item.

boolean

Marks the line item as an upsell for analytics tracking.

int32

Tracks the associated upsell profile analytics.

customAttributes
array of objects

Custom metadata for the line item.

customAttributes
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json