Read subscription by orderShopifyId

This endpoint allows you to fetch the subscrirption details using the shopify order id.

get/2026-04/orders/shopify-{orderShopifyId}

Request

  • Base URL
    https://api.loopsubscriptions.com/admin
  • URL
    https://api.loopsubscriptions.com/admin/2026-04/orders/shopify-{orderShopifyId}
  • Auth
    API key in header X-Loop-Token

Path parameters

orderShopifyIdinteger required

Response

successboolean

Indicates whether the request was successfully processed.

messagestring

Human-readable message describing the result of the request.

codestring

Status code representing the result of the operation.

pageInfostring

Pagination metadata related to the response (null when pagination is not applicable).

Example response

{
  "success": true,
  "message": "Order details fetched successfully",
  "data": {
    "orderShopifyId": 6423482138801,
    "shopifyCreatedAt": "2026-04-08T06:05:12Z",
    "shopifyUpdatedAt": "2026-04-08T06:05:18Z",
    "shopifyProcessedAt": "2026-04-08T06:05:12Z",
    "storeTotalPrice": 90,
    "subscription": [
      {
        "shopifyId": "16683303089",
        "createdAt": "2026-04-08T06:01:40Z",
        "status": "ACTIVE",
        "currencyCode": "USD",
        "nextBillingDate": "2027-01-29T20:05:00Z"
      }
    ]
  },
  "code": "SUCCESS"
}

Changes

No recorded changes to this operation across all 1 revision of this API.