The Loop API is primarily a REST API with predictable, resource-oriented URLs. It accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and methods. This design ensures a consistent and reliable interface for developers to interact with the Loop platform.
This guide covers the essentials of using the Loop Admin APIs and Storefront APIs, outlining their differences, functionalities, and link to their respective documentation.
Loop API Overview
The Loop API is divided into two primary categories:
Storefront APIs: Storefront APIs are tailored for customer-specific actions, providing a more secure and isolated approach. These APIs authenticate using a session token, which is unique to each customer and expires after 24 hours. Refer to the Storefront API documentation from here for more detailed information on authentication, rate limiting, and other essential aspects of using the Loop API effectively and securely.
Admin APIs: Admin APIs are designed for broad administrative control. They enable you to manage all subscriptions, ensuring that you have the necessary permissions to make changes at an administrative level. Refer to the documentation from here for more detailed information on authentication, rate limiting, and other essential aspects of using the Loop API effectively and securely.
For detailed information on authentication, rate limiting, and other essential aspects of using the Loop API, please refer to the respective API documentation.
FAQs
Is it possible to reactivate a previously canceled subscription with a new purchase, via the Loop API or custom implementation, while modifying the reactivated subscription's contents at the same time?
Is it possible to reactivate a previously canceled subscription with a new purchase, via the Loop API or custom implementation, while modifying the reactivated subscription's contents at the same time?
On the API side of things, checkoutReactivate api allows you to reactivate an already cancelled subscription with the new lines. If the order fails, the subscription status, i.e., cancelled, will be retained. But if the order is successful, then only the subscription will be marked as Active.
The existing lines will be removed automatically, and only the new lines will be retained.
What is the difference between the Loop Storefront API and Admin API, and where can I see the documentation for the API?
What is the difference between the Loop Storefront API and Admin API, and where can I see the documentation for the API?
The Loop Subscriptions Storefront API lets customers view and manage their own subscriptions on the storefront, while the Admin API is for store admins or backend systems to fully manage all subscription data and settings. You can access the documentation on both from - https://help.loopwork.co/en/articles/12672675-api-documentation
What is the difference between "DAY" and "CUSTOM" intervalType in API?
What is the difference between "DAY" and "CUSTOM" intervalType in API?
In all other IntervalType - you need to pass what you have selected as the default value in backed - like 1 week, 2 weeks, or so.
But in custom IntervalType - it could be based on what date the customer selects and pass the number of days.
,
Is there a way to set up subscriptions outside Shopify on loop through APIs or something?
Is there a way to set up subscriptions outside Shopify on loop through APIs or something?
Setting up subscriptions outside Shopify on Loop through APIs is currently not possible, as Loop is designed to work inside Shopify only.
What is the reason behind the error "Loop integration failed, kindly check your credentials," and how can it be resolved?
What is the reason behind the error "Loop integration failed, kindly check your credentials," and how can it be resolved?
The error "Loop integration failed, kindly check your credentials" might be due to an incorrect token or configuration. Since you are adding the Loop API token to another app, we request the URL details to review the request payload and investigate further.
It would be great if you could provide these details to the Support team.
Need help?
No worries - we're here for you!
If you have any questions or need assistance, feel free to email us at support@loopwork.co or chat with us using the support beacon at the bottom right of your screen.
Regards,
Loop Subscriptions Team 🙂
