Can Shopify subscription API accommodate dynamic pricing?

Hi, I’m new to Shopify and want to create an APP for a subscription.

My subscription needs to charge customers different amounts every month, due to the product prices being dynamic.

Can Shopify subscription API do that? I read many times on subscription API doc. But it doesn’t mention that I can have a subscription contract that prices are dynamic.

Any advice will be appreciated.

Thanks

Solved this myself.

You can modify the subscription contract, add/remove line item to achieve the goal.