Skio: Subscriptions

{
  list: [
    {
      currencyCode: "EUR",
      cyclesCompleted: 1,
      deliveryPolicy: {
        interval: "MONTH",
        intervalCount: 1,
        maxCycles: null,
        minCycles: null,
      },
      deliveryPrice: {
        amount: 4.95,
        currencyCode: "EUR",
      },
      id: "1c0712a3-54ab-482b-9aa1-5677bae50dbc",
      nextBillingDate: "2024-11-11T00:00:00+00:00",
      paymentMethod: {
        brand: "VISA",
        expiryMonth: 2,
        expiryYear: 2024,
        id: "test",
        lastDigits: 4242,
      },
      shippingAddress: {
        address1: "Fake st. 123",
        address2: null,
        city: "Los Angeles",
        company: null,
        country: "United States",
        createdAt: "2023-08-21T12:52:25.677465+00:00",
        doorCode: null,
        firstName: "John",
        id: "240a5104-367d-4332-bf25-d86e5ba098e8",
        lastName: "Doe",
        phoneNumber: null,
        province: "California",
        shopifyId: null,
        updatedAt: "2023-08-21T12:52:25.677465+00:00",
        zip: "90001",
      },
      status: "PAUSED",
      subscriptionLines: [
        {
          customAttributes: [
            {
              key: "_sellingPlanNames",
              value: "Every Month-Every 2 months-Every 3 months",
            },
            {
              key: "_sellingPlanIds",
              value: "gid://shopify/SellingPlan/8363868481-gid://shopify/SellingPlan/8363901249-gid://shopify/SellingPlan/8363934017",
            },
            {
              key: "_currentSellingPlan",
              value: "Every Month",
            },
            {
              key: "_nyla_id",
              value: "d5d5c2e1-bacb-4477-8030-a41932c0d8e3",
            },
            {
              key: "_nyla_quantity_increment",
              value: "1",
            },
            {
              key: "_nyla_quantity_default",
              value: "1",
            },
          ],
          id: "c2612fe8-1ee5-49de-985a-16d4a9ead80b",
          ordersRemaining: null,
          priceWithoutDiscount: {
            amount: 11.95,
            currencyCode: "EUR",
          },
          productVariant: {
            id: "1c2a7025-6d8d-4ace-a173-b11a8b9706ae",
            image: {
              src: "",
            },
            price: {
              amount: 12,
              currencyCode: "EUR",
            },
            product: {
              id: "60841cba-a8dc-4903-a8ce-7a1faf2fc7e7",
              image: {
                src: "https://cdn.shopify.com/s/files/1/0715/8575/9553/products/Solo_Cosmo_NEA_1_db94d9c8-92f3-46a3-92c0-28b3ee2a2e6b.png?v=1691672956",
              },
              slug: "le-baume",
              title: "Le Baume",
            },
            productId: "60841cba-a8dc-4903-a8ce-7a1faf2fc7e7",
            shopifyId: "gid://shopify/ProductVariant/46240848544065",
            sku: "MOI-BD-50",
            title: "small",
          },
          quantity: 1,
          shopifyId: "gid://shopify/SubscriptionLine/7bdb06cd-1de2-4ccc-920e-ad339096fd84",
          taxable: true,
          titleOverride: null,
          updatedAt: "2023-09-20T18:45:53.321233+00:00",
        },
      ],
    },
  ],
  pagination: {
    amountOfPages: 0,
    hasNextPage: false,
    hasPreviousPage: false,
    page: 1,
    pageSize: null,
    totalElements: 0,
  },
}

Properties

array

The list of customer subscriptions

object

Returns a pagination object.