Patch line item attributes
Changed onThis 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 URLhttps://api.loopsubscriptions.com/storefront
- URLhttps://api.loopsubscriptions.com/storefront/2023-10/line/{lineId}/attribute
- AuthAPI key in header Authorization
Path parameters
lineIdinteger required
The unique identifier of a line in Loop.
Request body
Response
200
Example response
{
"success": true,
"message": "Custom attributes updated successfully",
"code": "SUCCESS"
}Changes
- breaking
for the
pathrequest parameterlineId, the type changed fromstringtointeger, and format from no format toint32 - info
api operation id
update-lineitem-propertyremoved and replaced withpatch-line-item-attributes
- breaking