Read subscription details
Changed onThis endpoint allows you to retrieve comprehensive details of a specific subscription, including billing, delivery, products, and status.
get/2026-04/subscription/{subscriptionId}
Request
- Base URLhttps://api.loopsubscriptions.com/storefront
- URLhttps://api.loopsubscriptions.com/storefront/2026-04/subscription/{subscriptionId}
- AuthAPI key in header Authorization
Path parameters
subscriptionIdinteger required
The unique identifier of the subscription in Loop.
Response
Subscriptions fetched successfully
Example response
{
"success": true,
"message": "Fetched subscription successfully",
"data": {
"id": 1757423349,
"shopifyId": 35584147729,
"originOrderShopifyId": 7495606305041,
"createdAt": "2026-03-27T10:04:54.000Z",
"updatedAt": "2026-04-23T04:39:24.000Z",
"totalLineItemPrice": 338,
"totalLineItemDiscountedPrice": 279.5,
"currencyCode": "USD",
"status": "CANCELLED",
"cancellationReason": "Cancelled by customer",
"completedOrdersCount": 1,
"cancelledAt": "2026-04-23T04:39:24.000Z",
"attributes": [
{
"key": "_loopBundleDiscountAttributes",
"value": {
"01KMQC09NYWHGX8SVPXDV8AYST": {
"discountType": "PERCENTAGE",
"discountValue": 39,
"discountComputedValue": 117
}
}
}
],
"lastPaymentStatus": "SUCCESS",
"billingPolicy": {
"interval": "MONTH",
"intervalCount": 1
},
"deliveryPolicy": {
"interval": "MONTH",
"intervalCount": 1
},
"shippingAddress": {
"firstName": "Chirag",
"lastName": "jangra",
"address1": "123 William Street",
"city": "New York",
"zip": "10038",
"countryCode": "US",
"provinceCode": "NY"
},
"lines": [
{
"id": 37495,
"productShopifyId": 10574714634513,
"variantShopifyId": 52329477341457,
"productTitle": "Product 01",
"name": "Product 01",
"price": "150.00",
"basePrice": 200,
"discountedPrice": 91.5,
"quantity": 1,
"sku": "kajsdaksdj",
"bundleTransactionId": 15776,
"attributes": [
{
"key": "_bundleId",
"value": "01KMQC23HMFW5FVYNT2PQVQR7J"
}
]
}
],
"customer": {
"id": 8294,
"shopifyId": 10033714004241
},
"discounts": [
{
"shopifyId": "3e07f55d-368b-49b4-9f96-6707bb5a2fde",
"title": "LPBNDLsatch",
"isActive": true,
"type": "MANUAL",
"value": {
"percentage": 39
},
"targetType": "LINE_ITEM"
}
],
"customerPaymentMethodId": 6449859
},
"code": "SUCCESS"
}Changes
- info
endpoint added
- info