---
title: "Read subscription by orderShopifyId"
method: GET
path: "/2026-04/orders/shopify-{orderShopifyId}"
---

# Read subscription by orderShopifyId

`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`

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

## Path parameters

- `orderShopifyId` integer, required

## Response `200`

- object
  - `success` boolean: Indicates whether the request was successfully processed.
  - `message` string: Human-readable message describing the result of the request.
  - `data` object: Contains Shopify order details and associated subscription information.
    - `orderShopifyId` integer: Unique Shopify order ID used to retrieve order and subscription details.
    - `shopifyCreatedAt` string: Timestamp indicating when the order was created in Shopify.
    - `shopifyUpdatedAt` string: Timestamp indicating the most recent update made to the order in Shopify.
    - `shopifyProcessedAt` string: Timestamp indicating when the order was processed in Shopify.
    - `shopifyCancelledAt` unknown
    - `storeTotalPrice` integer: Total price of the order in the store’s currency.
    - `storeTotalDiscounts` integer: Total discount amount applied to the order.
    - `note` unknown
    - `customAttributes` object[]: Contains additional custom attributes associated with the Shopify order.
    - `subscription` object[]: Subscription details object associated with the given Shopify order.
      - `shopifyId` string: Shopify subscription contract ID associated with the order.
      - `createdAt` string: Timestamp indicating when the subscription was created.
      - `status` string: Current status of the subscription (e.g., ACTIVE, PAUSED, CANCELLED).
      - `currencyCode` string: Currency used for subscription billing.
      - `nextBillingDate` string: Scheduled date and time for the next subscription billing cycle.
  - `code` string: Status code representing the result of the operation.
  - `pageInfo` string: Pagination metadata related to the response (null when pagination is not applicable).

---

[API](https://skmtc.dev/loopwork/apis/loop-admin.md) - [All operations](https://skmtc.dev/loopwork/apis/loop-admin/llms.txt) - [OpenAPI document](https://skmtc.dev/loopwork/apis/loop-admin/revisions/1eaf81bcb1ea?raw)
