Add line once (for next order)

Changed on

This endpoint allows you to add a one-time product to the customer's next subscription order without affecting future recurring orders.

post/2026-04/subscription/{subscriptionId}/line/once

Request

  • Base URL
    https://api.loopsubscriptions.com/storefront
  • URL
    https://api.loopsubscriptions.com/storefront/2026-04/subscription/{subscriptionId}/line/once
  • Auth
    API key in header Authorization

Path parameters

subscriptionIdinteger required

The unique identifier of the subscription in Loop.

Request body

variantShopifyIdinteger required

The unique identifier of the variant in Shopify.

quantityinteger

The quantity of variant to be added.

isUpsellboolean

This key allows you to track upsell analytics by indicating whether an item is an upsell or not.

upsellProfileIdinteger

This key allows you to track the exact upsell profile analytics.

Response

Line added for next order successfully

successboolean
messagestring
codestring
pageInfounknown

Example response

{
  "success": true,
  "message": "Line added for next order successfully",
  "data": {
    "id": 2473902,
    "name": "A Ring - 6",
    "shopifyId": "6c2390a0-2d7d-4ce9-9cb0-2a08e7c8c10d",
    "quantity": 2,
    "price": "9.00"
  },
  "code": "SUCCESS"
}

Changes