curl --request POST \
--url https://api.hyperline.co/v2/subscriptions/{id}/refresh-seat-products \
--header 'Authorization: Bearer <token>'
[
{
"id": "supd_MkTDgpM6ej6f8l",
"application_schedule": "immediately",
"apply_at": "2024-11-30T18:24:34.496Z",
"payment_schedule": "immediately",
"calculation_method": "pro_rata",
"adjustment_amount": 123,
"subscription_id": "sub_7aWtG7Gb_fwGno",
"product_id": "itm_G6nU9iSC7eoDsk",
"previous_count": 2,
"new_count": 7,
"next_refresh_date": "<string>"
}
]
Triggers ‘count’ updates on connected seat products within the subscription. This action will use the dataloader query to retrieve and update the number of units for each seat product.
curl --request POST \
--url https://api.hyperline.co/v2/subscriptions/{id}/refresh-seat-products \
--header 'Authorization: Bearer <token>'
[
{
"id": "supd_MkTDgpM6ej6f8l",
"application_schedule": "immediately",
"apply_at": "2024-11-30T18:24:34.496Z",
"payment_schedule": "immediately",
"calculation_method": "pro_rata",
"adjustment_amount": 123,
"subscription_id": "sub_7aWtG7Gb_fwGno",
"product_id": "itm_G6nU9iSC7eoDsk",
"previous_count": 2,
"new_count": 7,
"next_refresh_date": "<string>"
}
]
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object[]
.
Was this page helpful?