Remove line once (for next order)

Changed on

This endpoint allows you to removes a product only from the next scheduled order, keeping it in future recurring orders.

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

Request

  • Base URL
    https://api.loopsubscriptions.com/storefront
  • URL
    https://api.loopsubscriptions.com/storefront/2023-10/subscription/{subscriptionId}/line/{lineId}/once
  • 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 from the upcoming order",
  "data": {
    "name": "A Ring - 6",
    "quantity": 2,
    "price": "9.00"
  },
  "code": "SUCCESS"
}

Changes

    • breaking

      removed the request body

    • breaking

      for the path request parameter lineId, the type changed from string to integer, and format from no format to int64

    • breaking

      for the path request parameter subscriptionId, the type changed from string to integer, and format from no format to int64

    • info

      api operation id delete_2023-10-subscription-subscriptionid-line-lineid-once removed and replaced with remove-line-once-for-next-order

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status