Edit line quantity
This endpoint allows you to update the quantity of a specific line of a specific subscription.
put/2023-10/subscription/{subscriptionId}/line/{lineId}/quantity
Request
- Base URLhttps://api.loopsubscriptions.com/storefront
- URLhttps://api.loopsubscriptions.com/storefront/2023-10/subscription/{subscriptionId}/line/{lineId}/quantity
- AuthAPI key in header Authorization
Path parameters
subscriptionIdinteger required
The unique identifier of the subscription in Loop.
lineIdinteger required
The unique identifier of a line in Loop.
Request body
Response
200
Example response
{
"success": true,
"message": "Quantity updated successfully",
"data": {
"id": 2473902,
"name": "A Ring - 6",
"shopifyId": "6c2390a0-2d7d-4ce9-9cb0-2a08e7c8c10d",
"quantity": 4,
"price": "9.00"
},
"code": "SUCCESS"
}Changes
No recorded changes to this operation across all 2 revisions of this API.