This endpoint allows you to permanently removes a product from all future subscription orders.

delete/2023-10/subscription/{subscriptionId}/line/{lineId}

Request

  • Base URL
    https://api.loopsubscriptions.com/storefront
  • URL
    https://api.loopsubscriptions.com/storefront/2023-10/subscription/{subscriptionId}/line/{lineId}
  • Auth
    API key in header Authorization

Path parameters

subscriptionIdinteger required

The unique identifier for a subscription in Loop.

lineIdinteger required

The unique identifier for a line in Loop.

Response

200

successboolean
messagestring
codestring
pageInfounknown

Example response

{
  "success": true,
  "message": "Line removed successfully",
  "data": {
    "name": "A Ring - 6",
    "quantity": 2,
    "price": "9.00"
  },
  "code": "SUCCESS"
}

Changes

    • breaking

      the response's property type changed from no type to object for status

    • info

      removed the non-success response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property to the response with the status