Patch line item attributes

Changed on

This endpoint allows for partial updates to the line item attributes. This is useful for modifying specific attributes without affecting the entire lineItem attributes. Only the keys that need to be updated should be included in the request.

patch/2023-10/line/{lineId}/attribute

Request

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

Path parameters

lineIdinteger required

The unique identifier of a line in Loop.

Request body

Response

200

successboolean
messagestring
dataunknown
codestring
pageInfounknown

Example response

{
  "success": true,
  "message": "Custom attributes updated successfully",
  "code": "SUCCESS"
}

Changes

    • breaking

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

    • info

      api operation id update-lineitem-property removed and replaced with patch-line-item-attributes