v1

latestOpenAPI 3.1.02026-07-241120379.1 KB

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

Path parameters

subscriptionIdinteger required

The unique identifier of the subscription in Loop.

lineIdinteger required

The unique identifier of a line in Loop.

Request body

quantityinteger required

The updated quantity of line.

Response

200

successboolean
messagestring
codestring
{"stackTrail":"paths:/2023-10/subscription/{subscriptionId}/line/{lineId}/quantity:put:responses:200:content:application/json:schema:properties:pageInfo","oasType":"schema","type":"unknown"}

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"
}