Skip to main content

APIs and webhooks FAQs

Updated this week

If we were to custom-code the customer portal, can we get the relevant API calls/links to make customer buttons that allow people to upgrade/swap from their portal (beyond what your default banner offers?)

We use Upsells, Upgrade, and swap functionalities along with the basic custom portal features. Can our APIs trigger all these functions if they make a custom customer portal page?

Considering you use Upsells, Upgrade, and swap functionalities along with the basic customer portal features, your APIs can trigger all functions below if you make a custom customer portal page:

  • Upsell - Yes

  • Swap - Yes

  • Upgrades - Yes

Can I delete the generated tokens? What would happen if an API call is made using the deleted token?

You can easily delete a token by clicking on the "Remove" button. You will be asked to confirm before deleting the token. Once deleted, the token cannot be recovered. Any API calls made with this token will give "invalid token"

How can I change my token name and scopes? Will it affect the token and my API calls?

You can edit the token name and token scopes anytime by clicking on the "Edit" button. The token will remain unchanged.

Do we need to create a subscription API endpoint in the storefront?

We do not have to create a subscription endpoint on the storefront.

How does the 'pause subscription' endpoint work with intervalType: "CUSTOM"? Also, what will the payload look like?

The 'pause subscription' endpoint works with intervalType: "CUSTOM", and it helps your customer select a custom pause interval other than the already defined pause intervals.

In intervalType payload - (custom and interval count) - we show the number of days for which the customer has paused the subscription.

Would you be able to confirm how much notice Loop typically gives for any API changes that might happen on your end where our team would need to take action?

We don’t make changes that would disrupt any existing logic in your current API based setup - any updates we release with respect to APIs are improvements only. If we ever plan a change that could potentially impact your workflows, we’ll reach out in advance to inform you first.

Did this answer your question?