Recurly OrderLineItems API

The OrderLineItems API API from Recurly — 1 operation(s) for orderlineitems api.

Operations 1

GET /api/v1/orderLineItems List Order Line Items #

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-line-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-subscription-create-schema.json
📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-invoice-schema.json
📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-subscription-schema.json
📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-add-on-create-schema.json
📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-purchase-create-schema.json
📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-subscription-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-billing-attempt-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-subscription-create-request-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-subscription-line-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-subscription-offer-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-subscriber-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-transaction-schema.json
📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-recovery-invoice-create-schema.json
📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-dunning-campaign-schema.json
📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-invoice-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/recurly/json-schema/recurly-dunning-campaign-list-schema.json

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/recurly:recurly-orderlineitems-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

recurly-orderlineitems-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Recurly OrderLineItems API
  version: '1.3'
  contact: {}
  description: 'Operations tagged OrderLineItems API across 2 of this provider''s published API definitions: recurly-commerce-api.json, recurly-commerce-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://subs.api.recurlycommerce.com
tags:
- name: OrderLineItems API
paths:
  /api/v1/orderLineItems:
    get:
      operationId: listOrderLineItems
      summary: List Order Line Items
      description: Retrieve a list of order line items
      parameters:
      - name: page
        required: true
        in: query
        description: Page number
        schema:
          default: 1
          type: number
      - name: limit
        required: true
        in: query
        description: Items per page. Limit must be between 1 and 250.
        schema:
          default: 10
          type: number
      - name: sort
        required: false
        in: query
        description: Sort order. If not set, default is createdAt.
        schema:
          type: string
      - name: desc
        required: false
        in: query
        description: Sort direction. If not set, default is ASC.
        schema:
          type: boolean
      - name: minCreatedAt
        required: false
        in: query
        description: The min date of createdAt
        schema:
          format: date-time
          default: '2023-01-01T00:00:00.000Z'
          type: string
      - name: maxCreatedAt
        required: false
        in: query
        description: The max date of createdAt
        schema:
          format: date-time
          default: '2023-01-01T00:00:00.000Z'
          type: string
      - name: minUpdatedAt
        required: false
        in: query
        description: The min date of updatedAt
        schema:
          format: date-time
          default: '2023-01-01T00:00:00.000Z'
          type: string
      - name: maxUpdatedAt
        required: false
        in: query
        description: The min date of updatedAt
        schema:
          format: date-time
          default: '2023-01-01T00:00:00.000Z'
          type: string
      - name: includeDeleted
        required: false
        in: query
        description: If true, include deleted lines
        schema:
          default: false
          type: boolean
      - name: subscriptionId
        required: false
        in: query
        description: The subscription ID
        schema:
          type: string
      responses:
        '200':
          description: Successfully retrieved order line items
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderLineItemsResultDto'
      security:
      - bearer: []
      tags:
      - OrderLineItems API
    servers:
    - url: https://subs.api.recurlycommerce.com
components:
  schemas:
    VariantDto:
      type: object
      properties:
        id:
          type: string
        externalId:
          type: string
          description: The shopify variant ID
        status:
          type: string
          enum:
          - ACTIVE
          - DELETED
        currentPrice:
          type: number
        variantTitle:
          type: string
        sku:
          type:
          - string
          - 'null'
        requiresShipping:
          type: boolean
        product:
          allOf:
          - $ref: '#/components/schemas/ProductForVariantDto'
        subscriptionOffer:
          $ref: '#/components/schemas/SubscriptionOfferDto'
      required:
      - id
      - externalId
      - status
      - currentPrice
      - variantTitle
      - sku
      - requiresShipping
    SubscriptionOfferDto:
      type: object
      properties:
        id:
          type: string
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
        externalId:
          type: string
          description: The shopify selling plan group ID
        type:
          type: string
          enum:
          - ONETIME_AND_SUBSCRIPTION
          - ONE_TIME_AND_PREPAID_SUBSCRIPTION
          - SUBSCRIPTION_ONLY
          - PREPAID_SUBSCRIPTION_ONLY
          - ONETIME_AND_SUBSCRIPTION_AND_PREPAID
          - SUBSCRIPTION_AND_PREPAID
          - MEMBERSHIP
        status:
          type: string
          enum:
          - ACTIVE
          - ARCHIVED
          - DRAFT
        name:
          type: string
        description:
          type:
          - string
          - 'null'
        subscriptionOfferOptions:
          type: array
          items:
            $ref: '#/components/schemas/SubscriptionOfferOptionDto'
        cancellationFlowId:
          type:
          - string
          - 'null'
          description: The ID of the associated cancellation flow, if any
        trialDurationValue:
          type:
          - number
          - 'null'
        trialDurationUnit:
          type:
          - string
          - 'null'
          enum:
          - DAYS
          - WEEKS
          - MONTHS
          - YEARS
          - null
      required:
      - id
      - createdAt
      - updatedAt
      - externalId
      - type
      - status
      - name
      - description
      - subscriptionOfferOptions
      - trialDurationValue
      - trialDurationUnit
    OrderLineItemDto:
      type: object
      properties:
        id:
          type: string
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
        externalId:
          type: string
          description: The shopify order line item ID
        orderId:
          type: string
        subscriptionId:
          type: string
        quantity:
          type: number
        priceTotal:
          type: number
        priceTotalDiscounted:
          type: number
        priceTotalTaxWithDiscounts:
          type: number
        discountAllocationTotalAmount:
          type: number
        variant:
          $ref: '#/components/schemas/VariantDto'
        productTitle:
          type:
          - string
          - 'null'
        variantTitle:
          type:
          - string
          - 'null'
        variantSku:
          type:
          - string
          - 'null'
        isAddOnOneTime:
          type: boolean
      required:
      - id
      - createdAt
      - updatedAt
      - externalId
      - orderId
      - subscriptionId
      - quantity
      - priceTotal
      - priceTotalDiscounted
      - priceTotalTaxWithDiscounts
      - discountAllocationTotalAmount
      - variant
      - productTitle
      - variantTitle
      - variantSku
      - isAddOnOneTime
    SubscriptionOfferOptionDto:
      type: object
      properties:
        id:
          type: string
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
        externalId:
          type: string
          description: The shopify selling plan ID
        type:
          type:
          - string
          - 'null'
          enum:
          - ONETIME_AND_SUBSCRIPTION
          - ONE_TIME_AND_PREPAID_SUBSCRIPTION
          - SUBSCRIPTION_ONLY
          - PREPAID_SUBSCRIPTION_ONLY
          - ONETIME_AND_SUBSCRIPTION_AND_PREPAID
          - SUBSCRIPTION_AND_PREPAID
          - MEMBERSHIP
          - null
        name:
          type: string
        deliveryCadenceCount:
          type: number
        deliveryCadenceUnit:
          type: string
          enum:
          - HOUR
          - DAY
          - MONTH
          - WEEK
          - YEAR
        billingCadenceCount:
          type: number
        billingCadenceUnit:
          type: string
          enum:
          - HOUR
          - DAY
          - MONTH
          - WEEK
          - YEAR
        discount:
          type: number
        discountModifier:
          type: string
          enum:
          - PERCENTAGE
          - AMOUNT
          - FIXED_AMOUNT
        archived:
          type: boolean
      required:
      - id
      - createdAt
      - updatedAt
      - externalId
      - type
      - name
      - deliveryCadenceCount
      - deliveryCadenceUnit
      - billingCadenceCount
      - billingCadenceUnit
      - discount
      - discountModifier
      - archived
    OrderLineItemsResultDto:
      type: object
      properties:
        page:
          type: number
          description: Current page number
        limit:
          type: number
          description: Number of items per page
        totalItems:
          type: number
          description: Total number of items
        totalPages:
          type: number
          description: Total number of pages
        orderLineItems:
          description: Array of order line items for the current page
          type: array
          items:
            $ref: '#/components/schemas/OrderLineItemDto'
      required:
      - page
      - limit
      - totalItems
      - totalPages
      - orderLineItems
    ProductForVariantDto:
      type: object
      properties:
        id:
          type: string
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
        externalId:
          type: string
          description: The shopify product ID
        imageUrl:
          type:
          - string
          - 'null'
        productTitle:
          type:
          - string
          - 'null'
        description:
          type:
          - string
          - 'null'
      required:
      - id
      - createdAt
      - updatedAt
      - externalId
      - imageUrl
      - productTitle
      - description
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
x-refined-from:
- recurly-commerce-api.json
- recurly-commerce-openapi.yml
x-readme:
  explorer-enabled: false