# Loop Developer Hub Documentation > Documentation for Loop Developer Hub ## Guides - [Building custom analytics dashboard using Loop](https://developer.loopwork.co/docs/building-custom-analytics-dashboard-using-loop.md) - [Best practices for building your analytics dashboard](https://developer.loopwork.co/docs/best-practices-for-building-your-analytics-dashboard.md) - [How to set-up gift subscriptions?](https://developer.loopwork.co/docs/how-to-set-up-gift-subscriptions.md): This article explains how to set up and sell gift subscriptions on your custom storefront. - [Gift line properties](https://developer.loopwork.co/docs/gift-line-properties.md) - [Building headless customer portal](https://developer.loopwork.co/docs/building-headless-customer-portal.md) - [Step-by-step guide on building customer portal](https://developer.loopwork.co/docs/step-by-step-guide-on-building-customer-portal.md) - [EMI plans setup for subscriptions](https://developer.loopwork.co/docs/emi-plans-setup-for-subscriptions.md) - [Embedding the Loop Customer Portal via Iframe](https://developer.loopwork.co/docs/embedding-the-loop-customer-portal-via-iframe.md) - [Setup streaks via storefront APIs](https://developer.loopwork.co/docs/how-to-setup-streaks.md): This article explains how to set up streaks feature on your custom storefront. - [Setup mystery reward experience via storefront APIs](https://developer.loopwork.co/docs/how-to-set-up-mystery-reward-experience.md): This article explains how to integrate and display the Mystery Reward experience in your custom or headless customer portal using Loop Storefront APIs. - [Setup flow reward journey via storefront APIs](https://developer.loopwork.co/docs/how-to-set-up-flow-reward-journey.md): This article explains how to integrate and display the flow reward banner experience in your custom or headless customer portal using Loop Storefront APIs. - [Proration charge setup for mid cycle membership upgrades](https://developer.loopwork.co/docs/proration-charge.md): This guide will walk you through how to charge subscribers only for the portion of a billing cycle they use when a change happens mid-cycle, using either Loop's built-in membership upgrades or the Subscription Checkout API for a custom proration experience. - [Custom widget preset bundles setup](https://developer.loopwork.co/docs/custom-preset-bundle-setup.md): This guide explains how to pass child SKUs when adding a preset bundle to cart while building your own custom widget to sell subscriptions instead of using the Loop widget. - [Sell and edit BYOB using storefront bundle APIs](https://developer.loopwork.co/docs/sell-and-edit-byob-using-storefront-bundle-apis.md): This guide explains how to implement a custom build your own bundle (BYOB) experience using Loop bundle APIs to sell and update subscription bundles from a custom storefront experience. - [Upgrade to subscription block](https://developer.loopwork.co/docs/upgrade-to-subscription-block.md) ## API Reference - [Loop API reference](https://developer.loopwork.co/reference/api-reference.md) - [Pagination](https://developer.loopwork.co/reference/pagination.md) - [Overview](https://developer.loopwork.co/reference/overview.md) - [Rotate access token](https://developer.loopwork.co/reference/rotate-access-token.md): This endpoint allows you to rotate the access token using a valid refresh token to maintain secure and continuous access for a user. - [Send login link](https://developer.loopwork.co/reference/send-login-link-1.md): This endpoint allows you to send a magic link to the customer so they can log in to their customer portal via email. - [Generate refresh token and access token](https://developer.loopwork.co/reference/generate-refresh-token-and-access-token.md): This endpoint allows you to generate a new access and refresh token pair using the session token for authenticated API access for a user. - [Read customer details](https://developer.loopwork.co/reference/read-customer-details-1.md): This endpoint allows you to retrieve detailed information about a customer, including subscriptions, payment methods, and addresses. - [List payment methods](https://developer.loopwork.co/reference/list-payment-methods.md): This endpoint allows you to retrieve a list of all saved payment methods associated with the customer. This includes credit cards, wallets, and other supported payment options, along with their metadata such as type, last four digits, and expiry. - [Send update payment method mail](https://developer.loopwork.co/reference/update-payment-method.md): This endpoint allows you to send an email to the customer with a secure link to update their payment method. Useful for prompting customers to resolve failed payments or update expired card details. - [List subscriptions](https://developer.loopwork.co/reference/list-subscriptions.md): This endpoint allows you to retrieve a list of all subscriptions for the customer. - [Read subscription details](https://developer.loopwork.co/reference/read-subscription-details-1.md): This endpoint allows you to retrieve comprehensive details of a specific subscription, including billing, delivery, products, and status. - [Pause subscription](https://developer.loopwork.co/reference/pause-subscription-1.md): This endpoint allows you to pause an active subscription, halting future billing and deliveries until it is resumed. - [Resume subscription](https://developer.loopwork.co/reference/resume-subscription-1.md): This endpoint allows you to resume a previously paused subscription, reactivating billing and deliveries based on the original schedule. - [Reactivate subscription](https://developer.loopwork.co/reference/reactivate-subscription-1.md): This endpoint allows you to reactivate a cancelled subscription, allowing billing and deliveries to resume based on the original subscription schedule. - [Cancel subscription](https://developer.loopwork.co/reference/cancel.md): This endpoint allows you to cancel an active or paused subscription, stopping all future billing and deliveries permanently or until reactivated by the customer or merchant. - [Add line](https://developer.loopwork.co/reference/add-line-1.md): This endpoint allows you to permanently adds a product to a subscription, ensuring it recurs in all future orders until removed. - [Add line once (for next order)](https://developer.loopwork.co/reference/add-line-once-for-next-order.md): This endpoint allows you to add a one-time product to the customer's next subscription order without affecting future recurring orders. - [Swap line](https://developer.loopwork.co/reference/swap-line.md): This endpoint allows you to replace an existing product in the subscription with a new product. - [Edit line quantity](https://developer.loopwork.co/reference/edit-line-quantity.md): This endpoint allows you to update the quantity of a specific line of a specific subscription. - [Remove line](https://developer.loopwork.co/reference/remove-line-1.md): This endpoint allows you to permanently removes a product from all future subscription orders. - [Remove line once (for next order)](https://developer.loopwork.co/reference/remove-line-once-for-next-order.md): This endpoint allows you to removes a product only from the next scheduled order, keeping it in future recurring orders. - [Bulk update lines](https://developer.loopwork.co/reference/bulk-update-lines-1.md): This endpoint allows you to modify a subscription in bulk by passing `linesToAdd`, `linesToRemove`, and `linesToUpdate` objects in a single request. - [List order schedule](https://developer.loopwork.co/reference/list-order-schedule-1.md): This endpoint returns the upcoming scheduled orders for a subscription, including billing dates. - [List order history](https://developer.loopwork.co/reference/list-order-history-1.md): This endpoint allows you to retrieve the complete order history for a specific subscription, including their statuses and details. - [Place order](https://developer.loopwork.co/reference/charge-now.md): This endpoint allows you to place an next scheduled order immediately for a subscription, regardless of its original billing date. - [Skip next order](https://developer.loopwork.co/reference/skip-order.md): This endpoint allows you to skip the next upcoming order for a subscription while keeping future orders unchanged. - [Reschedule order](https://developer.loopwork.co/reference/reschedule-order.md): This endpoint allows you to update the next billing date for a subscription, allowing the upcoming order to be rescheduled to a new date. - [Delay order](https://developer.loopwork.co/reference/delay-order.md): This endpoint allows you to delay the next order by a specified number of days without changing the overall billing frequency. - [Update order note](https://developer.loopwork.co/reference/update-order-notes.md): This endpoint is used to update the order note for a specific order. - [List frequencies](https://developer.loopwork.co/reference/list-frequencies.md): This endpoint allows you to fetch all the available frequencies for a particular subscription contract. - [Update Frequency](https://developer.loopwork.co/reference/update-frequency-1.md): This is endpoint allows you to update the frequency for a particular subscription contract. - [Apply discount code](https://developer.loopwork.co/reference/apply-discount-code.md): This endpoint allows you to apply a valid discount code to the subscription, updating the pricing based on the associated promotion. - [Remove discount](https://developer.loopwork.co/reference/remove-discount-1.md): This endpoint allows you to remove any active discount applied to the subscription, restoring it to its original pricing. - [Update address on subscription](https://developer.loopwork.co/reference/change-address.md): This endpoint allows you to update the shipping address associated with the subscription. - [Change payment method](https://developer.loopwork.co/reference/change-payment-method.md): This endpoint allows you to change the payment method linked to the subscription for future billing attempts. - [Read general upsell products](https://developer.loopwork.co/reference/get-upsell-products.md): This endpoint allows you to fetch a list of recommended upsell products from the general upsell profile. - [Read personalized upsell products](https://developer.loopwork.co/reference/read-personalized-upsell-products.md): This endpoint allows you to fetch a list of recommended upsell products tailored to the subscription, based on the upsell profile created on the Loop admin portal. - [Read variants by product Shopify ID](https://developer.loopwork.co/reference/read-variants-by-product-shopify-id.md): This endpoint allows you to retrieve all variants for a Shopify product using its product ID. - [Fetch upgrade profiles](https://developer.loopwork.co/reference/fetch-upgrade-profiles-1.md): This endpoint allows you to fetch all active upgrade profiles applicable to a subscription contract. - [Apply upgrade profile](https://developer.loopwork.co/reference/apply-upgrade-profile-1.md): This endpoint allows you to apply an upgrade profile to a subscription contract. - [Upgrade profile action](https://developer.loopwork.co/reference/upgrade-profile-action-1.md): This endpoint allows you to log customer interactions with an upgrade profile, such as banner views, drawer views, and dismissals. These logs are used for tracking upgrade offer performance and analytics. - [Streaks](https://developer.loopwork.co/reference/streaks.md): This endpoint allows you to fetch streak related details for a given subscription ID in a specific locale - [Mystery reward](https://developer.loopwork.co/reference/streaks-1.md): This endpoint allows you to fetch mystery rewards details for a given subscription ID in a specific locale - [Claim mystery reward](https://developer.loopwork.co/reference/streaks-1-1.md): This endpoint allows you to claim a mystery reward on a subscription by passing the mystery reward id - [Add viewed logs for mystery reward](https://developer.loopwork.co/reference/streaks-1-1-1.md): This endpoint allows you log when a mystery reward is viewed for a subscription - [Flow reward banner](https://developer.loopwork.co/reference/flow-reward-banner.md): This endpoint allows you to fetch the flow reward banner text applicable for a subscription. - [How to set up cancellation flows](https://developer.loopwork.co/reference/how-to-set-up-cancellation-flows.md) - [Subscription benefit page content](https://developer.loopwork.co/reference/subscription-benefit-content.md): This endpoint allows you to fetch the subscription benefit content associated with a specific subscription. - [Subscription benefit action](https://developer.loopwork.co/reference/subscription-benefit-log.md): This endpoint allows you to log whether a subscriber accepts or rejects the benefit content shown during the retention or cancellation flow. The logged action helps brands analyze subscriber behavior and measure the effectiveness of retention benefits. - [List cancellation reasons](https://developer.loopwork.co/reference/list-cancellation-reasons-1.md): This endpoint allows you to fetch the list of cancellation reasons configured for a subscription. These reasons can be displayed in the customer portal when a subscriber initiates cancellation. - [List cancellation offer](https://developer.loopwork.co/reference/list-cancellation-offers-copy.md): This endpoint allows you to fetch a cancellation offer configured for a subscription based on the selected cancellation reason. The returned offer can be displayed to the subscriber as an incentive to retain their subscription before final cancellation. - [List cancellation offers](https://developer.loopwork.co/reference/list-cancellation-offers.md): This endpoint allows you to fetch multiple cancellation offers available for a subscription based on the selected cancellation reason. These offers can be displayed to the subscriber as retention incentives before completing the cancellation. - [Apply cancellation offer](https://developer.loopwork.co/reference/apply-cancellation-offer.md): This endpoint allows you to apply a selected cancellation offer to a subscriber's subscription. Once applied, the offer is processed according to its configuration and logged for retention analytics. - [Read all past order](https://developer.loopwork.co/reference/read-all-past-order.md): This endpoint allows you to read all past orders of the customer. - [Read all scheduled orders](https://developer.loopwork.co/reference/read-all-scheduled-orders-1.md) - [Skip order](https://developer.loopwork.co/reference/skip-order-1.md): This endpoint allows you to skip the scheduled order for a given subscription. This is typically used when a customer wants to temporarily skip the order without pausing or canceling the subscription. - [Unskip order](https://developer.loopwork.co/reference/unskip-order.md): This endpoint allows you to un-skip the skipped scheduled order for a given subscription. - [List addresses](https://developer.loopwork.co/reference/list-addresses.md): This endpoint allows you to fetch the list all the addresses available for a particular customer. - [Create address](https://developer.loopwork.co/reference/create-address.md): This endpoint allows you to create an address for a particular customer. - [Update address](https://developer.loopwork.co/reference/update-address-1.md): This endpoint allows you to update an existing customer address. - [Bundles](https://developer.loopwork.co/reference/bundle.md) - [List Bundles](https://developer.loopwork.co/reference/list-bundles.md): Lists the store's Bundles - [Read bundle details](https://developer.loopwork.co/reference/read-bundle-details.md) - [Create Transaction](https://developer.loopwork.co/reference/create-bundle-transaction.md): The Create transaction endpoint is responsible for creating a new transaction for a specified bundle. This is a critical part of the purchase flow, enabling users to finalize their bundle choices. - [Read Translations](https://developer.loopwork.co/reference/read-bundle-translations.md): The Read Translations endpoint retrieves the translation strings for various UI elements based on the specified bundle and locale. This allows for dynamic localization of the storefront content. - [Read Preferences](https://developer.loopwork.co/reference/read-bundle-preferences.md): The Read Preferences API endpoint is designed to fetch admin preferences from the Loop admin portal for bundles associated with a specific Shopify domain. - [Get subscription bundle details ](https://developer.loopwork.co/reference/get-subscription-bundle-details.md): Leverage this API to fetch the content of a bundle purchased on a specific subscription. This will be useful to load a custom bundle editing experience for an existing bundle subscriber. Contact your account success manager to get the API access. - [Update subscription bundle details](https://developer.loopwork.co/reference/update-subscription-bundle.md): Leverage this API to update the content of a bundle purchased on a specific subscription. This will be useful to update the bundle content for an existing bundle subscriber from a custom bundle editing experience. - [List selling plan groups](https://developer.loopwork.co/reference/list-selling-plan-1.md): This endpoint allows you to retrieve a list of all selling plan groups configured in the store. Each group includes details about the associated selling plans, frequencies, and applicable product or variant mappings. - [Lines](https://developer.loopwork.co/reference/line-1.md) - [Patch line item attributes](https://developer.loopwork.co/reference/patch-line-item-attributes.md): This endpoint allows for partial updates to the line item attributes. This is useful for modifying specific attributes without affecting the entire `lineItem` attributes. Only the keys that need to be updated should be included in the request. - [Update line item attributes](https://developer.loopwork.co/reference/update-line-item-attributes-1.md): The endpoint is used to completely update the attributes of a line item. This requires sending a full representation of the `lineItem` attributes, as it will overwrite the existing data. - [Generate Admin API tokens](https://developer.loopwork.co/reference/generate-api-tokens-and-create-webhooks.md) - [Subscribe to webhooks](https://developer.loopwork.co/reference/subscribe-to-webhooks.md) - [Rate limits](https://developer.loopwork.co/reference/rate-limit.md): Learn about our API rate limits and how to work with them effectively. - [Customers](https://developer.loopwork.co/reference/customer.md): Customer entity allows you fetch information about the customer and take customer level actions such as send login link to the customer. - [Read all customers](https://developer.loopwork.co/reference/read-all-customers.md): This endpoint allows you to retrieves a list of all customers along with their subscription count. - [Read customer details](https://developer.loopwork.co/reference/read-customer-details.md): This endpoint allows you to retrieve detailed information about a specific customer, including subscriptions, payment methods, and addresses. - [Read subscriptions for customer](https://developer.loopwork.co/reference/read-subscriptions-for-customer.md): This endpoint allows you to retrieve all subscriptions associated with a specific customer. - [Read subscriptions for customer via email address](https://developer.loopwork.co/reference/read-subscriptions-for-customer-copy.md) - [Generate session token](https://developer.loopwork.co/reference/generate-session-token.md): This endpoint generates a secure session token used to authenticate Storefront API requests and obtain access and refresh tokens. - [Send login link](https://developer.loopwork.co/reference/send-login-link.md): This endpoint allows you to send customer portal login link to the customer's email for instant access to their subscriber account. - [Read customer order history](https://developer.loopwork.co/reference/read-customer-order-history.md): This endpoint allows you to fetch order history for a customer. - [Subscriptions](https://developer.loopwork.co/reference/subscription.md): Subscription entity allows you fetch information about the subscription and take subscription level actions such as pause subscription, resume subscription, swap line items, etc. - [Read subscription details](https://developer.loopwork.co/reference/read-subscription-details.md): This endpoint allows you to retrieve comprehensive details of a specific subscription, including billing, delivery, products, and status. - [Read all subscriptions](https://developer.loopwork.co/reference/read-all-subscriptions.md): This endpoint allows you to retrieves a list of all subscriptions. - [Create subscription](https://developer.loopwork.co/reference/create-subscription.md) - [Reschedule subscription](https://developer.loopwork.co/reference/reschedule.md): This endpoint allow you to reschedule the next billing date of the upcoming order for an existing subscription. - [Pause Subscription](https://developer.loopwork.co/reference/pause-subscription.md): This endpoint allows you to pause an active subscription, halting future billing and deliveries until it is resumed. - [Resume Subscription](https://developer.loopwork.co/reference/resume-subscription.md): This endpoint allows you to resume a previously paused subscription, reactivating billing and deliveries based on the original schedule. - [Cancel subscription](https://developer.loopwork.co/reference/cancel-subscription.md): This endpoint allows you to cancel an active or paused subscription, stopping all future billing and deliveries permanently or until reactivated by the customer or merchant. - [Reactivate Subscription](https://developer.loopwork.co/reference/reactivate-subscription.md): This endpoint allows you to reactivate a cancelled subscription, allowing billing and deliveries to resume based on the original subscription schedule. - [Expire contract](https://developer.loopwork.co/reference/expire-contract.md): This endpoint allows you to expire a inactive contract. - [Line actions](https://developer.loopwork.co/reference/line-actions.md): Performs line-level actions on a subscription such as add line, swap line, remove line or update lines in bulk. - [Add line](https://developer.loopwork.co/reference/add-line.md): This endpoint allows you to add a new subscription line item in a subscription contract. - [Add line once](https://developer.loopwork.co/reference/add-line-once.md): This endpoint allows you to add a new one-time line item in a subscription contract. - [Swap line](https://developer.loopwork.co/reference/swap-line-on-subscription.md): This endpoint allows to update the existing line with a new line in a subscription contract. - [Remove line](https://developer.loopwork.co/reference/remove-line.md): This endpoint allows to remove an existing line in a subscription contract. - [Bulk update lines](https://developer.loopwork.co/reference/bulk-update-lines.md): This endpoint allows to bulk update the existing lines in a subscription contract. - [Remove line once](https://developer.loopwork.co/reference/remove-line-once.md): This endpoint allows you to remove line once from a subscription's upcoming order. - [Edit line](https://developer.loopwork.co/reference/edit-line.md): This endpoint allows you to update the quantity, pricing, selling plan, and custom attributes of a subscription line item. - [Edit line schedule](https://developer.loopwork.co/reference/edit-line-schedule.md): This endpoint allows you to edit line schedule. - [List order schedule](https://developer.loopwork.co/reference/list-order-schedule.md): This endpoint allows you to retrieves a list of scheduled orders of a specific subscription contract. - [List order history](https://developer.loopwork.co/reference/list-order-history.md): This endpoint allows to retrive a list of past orders of a specific subscription contract. - [Place order](https://developer.loopwork.co/reference/place-order.md): This endpoint allows you to place an order for a subscription contract. - [Skip next order](https://developer.loopwork.co/reference/skip-next-order.md): This endpoint allows you to skip the next scheduled order for a subscription contract. - [Reschedule future order](https://developer.loopwork.co/reference/reschedule-future-order.md): This endpoint allows you to reschedule a future order. - [Update order note](https://developer.loopwork.co/reference/update-order-note.md): This endpoint is used to update the order note for a specific order. - [List available frequencies](https://developer.loopwork.co/reference/list-available-frequencies.md): This endpoint allows to retrieves the list of available billing frequencies for a subscription contract. - [Update frequency](https://developer.loopwork.co/reference/update-frequency.md): This endpoint allows you to update the billing frequency of a subscription contract. - [Change subscription plan](https://developer.loopwork.co/reference/change-subscription-plan.md): This endpoint allows you to update the subscription plan for a subscription contract. - [Add discount](https://developer.loopwork.co/reference/add-discount.md): This endpoint allows you to add a discount code to the specified subscription contract. - [Update discount](https://developer.loopwork.co/reference/update-discount.md): This endpoint allows you to update discount to the specified subscription contract. - [Remove discount](https://developer.loopwork.co/reference/remove-discount.md): This endpoint removes a discount code from the specified subscription contract. - [Remove all discounts](https://developer.loopwork.co/reference/remove-all-discounts.md): This endpoint removes all discount codes associated with a subscription contract. - [Update address on subscription](https://developer.loopwork.co/reference/update-subscription-address.md): Rate limit - 5/s - [Update shipping method](https://developer.loopwork.co/reference/update-shipping-method.md): This endpoint allows you to modify the details of an existing shipping method. You can update the delivery price, the title of the delivery method, and the unique code associated with the delivery method. - [Change payment method](https://developer.loopwork.co/reference/change-payment-method-on-subscription.md): Rate limit - 5/s - [Add backup payment method](https://developer.loopwork.co/reference/change-payment-method-on-subscription-1.md): This endpoint allows you to add a backup payment method on the subscription. - [Remove backup payment method](https://developer.loopwork.co/reference/change-payment-method-on-subscription-1-1.md): This endpoint allows you to remove a backup payment method which is mapped on the subscription. - [Checkout](https://developer.loopwork.co/reference/checkout.md): This endpoint creates a checkout for a subscription contract, enabling customers to complete payment for prorated charges resulting from subscription changes. - [Checkout reactivate](https://developer.loopwork.co/reference/checkout-reactivate.md) - [List activity logs](https://developer.loopwork.co/reference/activity-logs.md): This API endpoint returns list of activity logs of a specific subscription based on subscriptionId in the path params. - [Update note](https://developer.loopwork.co/reference/update-note.md): Rate limit - 5/s - [Patch custom attributes](https://developer.loopwork.co/reference/patch-custom-attributes.md): Rate limit - 5/s - [Update custom attributes](https://developer.loopwork.co/reference/update-custom-attributes.md): Rate limit - 5/s - [Fetch upgrade profiles](https://developer.loopwork.co/reference/fetch-upgrade-profiles.md): This endpoint allows you to fetch all active upgrade profiles applicable to a subscription contract. - [Apply upgrade profile](https://developer.loopwork.co/reference/apply-upgrade-profile.md): This endpoint allows you to apply an upgrade profile to a subscription contract. - [Upgrade profile action](https://developer.loopwork.co/reference/upgrade-profile-action.md): This endpoint allows you to log customer interactions with an upgrade profile, such as banner views, drawer views, and dismissals. These logs are used for tracking upgrade offer performance and analytics. - [Lines](https://developer.loopwork.co/reference/line.md) - [Update line item attributes](https://developer.loopwork.co/reference/update-line-item-attributes.md): The endpoint is used to completely update the attributes of a line item. This requires sending a full representation of the `lineItem` attributes, as it will overwrite the existing data. - [Patch line item attributes](https://developer.loopwork.co/reference/update-lineitem-property.md): This endpoint allows for partial updates to the line item attributes. This is useful for modifying specific attributes without affecting the entire `lineItem` attributes. Only the keys that need to be updated should be included in the request. - [Read all past orders](https://developer.loopwork.co/reference/read-all-orders.md): This endpoint allows you to retrieves a list of subscription orders for all the subscriptions. - [Read all scheduled orders](https://developer.loopwork.co/reference/read-all-scheduled-orders.md): This endpoint is used to fetch all the scheduled orders for all the subscriptions. - [Read subscription id by Shopify order id](https://developer.loopwork.co/reference/read-subscription-by-order-shopify-id.md): This endpoint allows you to retrieve the subscription ID associated with a given Shopify order ID. - [Read order status by Loop order id](https://developer.loopwork.co/reference/read-order-status-by-loop-order-id.md): This endpoint allows you to retrieve the current status of an order using its Loop internal order ID. - [Addresses](https://developer.loopwork.co/reference/addresses.md) - [Create address](https://developer.loopwork.co/reference/create-an-address.md): This endpoint is used to create a customer address. - [Update address](https://developer.loopwork.co/reference/update-address.md): This endpoint is used to update an existing address. - [Send update payment method mail](https://developer.loopwork.co/reference/send-update-payment-method-mail.md): Rate limit - 5/s - [Migrate customer payment method](https://developer.loopwork.co/reference/migrate-customer-payment-method.md): This endpoint allows you to migrate customer payment method from specific payment aggregator (Stripe, Authorize.net, braintree, paypal) - [List cancellation reasons](https://developer.loopwork.co/reference/list-cancellation-reasons.md) - [Fetch cancellation flow logs](https://developer.loopwork.co/reference/fetch-cancellation-flow-logs.md): This endpoint allows you to fetch cancellation flow logs. - [List selling plan groups](https://developer.loopwork.co/reference/list-selling-plan.md): This API list available selling plan of a store. - [Fetch product variants mapped to a selling plan](https://developer.loopwork.co/reference/fetch-product-variants-mapped-to-a-selling-plan.md) - [List products](https://developer.loopwork.co/reference/list-products.md): This endpoint allows you to retrieves a list of all products and their selling-plan mapping status. - [List available selling plan groups](https://developer.loopwork.co/reference/list-available-selling-plan-groups.md): Rate limit - 5/s - [Inventory events](https://developer.loopwork.co/reference/inventory-events-1.md): This endpoint allows you to retrieve subscription data for which an inventory action has taken place. - [Activity logs](https://developer.loopwork.co/reference/customer-copy.md) - [Activity logs - keys explained](https://developer.loopwork.co/reference/activity-logs-keys-explained.md) - [List Activity Logs](https://developer.loopwork.co/reference/list-activity-logs.md): This endpoint allows to retrive list of subscription logs for a store, including event type, entity, source, and timestamps. - [Read all giftSubscriptions](https://developer.loopwork.co/reference/read-all-giftsubscriptions.md) - [Swap line on subscription](https://developer.loopwork.co/reference/swap-line-on-subscription-1.md) - [Add line on giftSubscription](https://developer.loopwork.co/reference/add-line-on-giftsubscription.md) - [Cancel gift subscription](https://developer.loopwork.co/reference/cancel-gift-subscription.md) - [Read all billing attempts](https://developer.loopwork.co/reference/read-all-billing-attempts.md) - [Overview](https://developer.loopwork.co/reference/webhooks.md): Webhooks allows realtime information by sending data to an specific address whenever a particular events occur. - [Webhooks payload structure](https://developer.loopwork.co/reference/payload.md) - [Subscription entity](https://developer.loopwork.co/reference/topic-subscription.md) - [Order entity](https://developer.loopwork.co/reference/topic-order.md) - [Payment Method entity](https://developer.loopwork.co/reference/topic-paymentmethod.md) - [Webhook retry mechanism](https://developer.loopwork.co/reference/webhook-retry-mechanism.md): This page explains how Loop handles webhook delivery failures and automatic retries - [Test webhooks](https://developer.loopwork.co/reference/testing-webhooks-with-webhooksite.md) - [Subscribe webhook](https://developer.loopwork.co/reference/subscribe-webhook.md): Scope required: write_webhooks Rate limit - 5/s - [List webhook](https://developer.loopwork.co/reference/list-webhook.md): Rate limit - 5/s - [Unsubscribe webhook](https://developer.loopwork.co/reference/unsubscribe-webhook.md): Scope required: write_webhooks Rate limit - 5/s - [Best practices for Loop webhooks](https://developer.loopwork.co/reference/best-practices-for-loop-webhooks.md) - [Verifying webhook signatures ](https://developer.loopwork.co/reference/verifying-webhook-signatures-loop.md) ## Changelog - [Edit charge offset endpoint now available](https://developer.loopwork.co/changelog/edit-charge-offset-endpoint-now-available.md) - [Read order status by Loop order ID endpoint now available](https://developer.loopwork.co/changelog/read-order-status-by-loop-order-id-endpoint-now-available.md) - [Backup payment method details added to read subscription details API](https://developer.loopwork.co/changelog/backup-payment-method-details-added-to-read-subscription-details-api.md) - [Edit line endpoint now supports pricing, selling plan, and custom discounts updates](https://developer.loopwork.co/changelog/edit-line-endpoint-now-supports-pricing-selling-plan-and-custom-attribute-updates.md) - [price param added to the checkout API](https://developer.loopwork.co/changelog/price-param-added-to-the-checkout-api.md)