---
  host: "localhost"
  basePath: "/wcs/resources"
  schemes: 
    - "https"
  swagger: "2.0"
  info: 
    version: "WC.TOOLKIT Enterprise Version : 9 Fix Pack : 0"
    title: "WebSphere Commerce V9 - Subscription API"
    description: "These services provide classes related to subscriptions. Use these classes to: Submit a recurring or subscription order; Cancel a recurring or subscription order; Get subscriptions by user and subscription type; Get subscription information by subscription ID."
  tags: 
    - 
      name: "subscription"
      description: "This class has the ability to return information about subscriptions"
  paths: 
    /store/{storeId}/subscription/{subscriptionId}: 
      get: 
        responses: 
          200: 
            description: "The requested completed successfully."
            schema: 
              $ref: "#/definitions/subscription-IBM_Store_Details"
          400: 
            description: "Bad request. Some of the inputs provided to the request aren't valid."
          401: 
            description: "Not authenticated. The user session isn't valid."
          403: 
            description: "The user isn't authorized to perform the specified request."
          404: 
            description: "The specified resource couldn't be found."
          500: 
            description: "Internal server error. Additional details will be contained on the server logs."
        parameters: 
          - 
            enum: 
              - "0"
              - "10001"
              - "10501"
              - "11001"
              - "1"
              - "11501"
              - "2"
            name: "storeId"
            required: true
            in: "path"
            type: "string"
            description: "The store identifier."
          - 
            required: true
            type: "string"
            description: "The subcription id"
            in: "path"
            name: "subscriptionId"
          - 
            enum: 
              - "IBM_Admin_Summary"
            name: "profileName"
            required: false
            in: "query"
            type: "string"
            description: "Profile name. Profiles determine the subset of data to be returned by a query."
          - 
            enum: 
              - "xml"
              - "json"
            name: "responseFormat"
            required: false
            in: "query"
            type: "string"
            description: "The response format. If the request has an input body, that body must also use the format specified in \"responseFormat\". Valid values include \"json\" and \"xml\" without the quotes. If the responseFormat isn't specified, the \"accept\" HTTP header shall be used to determine the format of the response. If the \"accept\" HTTP header isn't specified as well, the default response format shall be in json."
        tags: 
          - "subscription"
        produces: 
          - "application/json"
          - "application/xml"
          - "application/xhtml+xml"
          - "application/atom+xml"
        summary: "Finds subcription infomation by its subscriptionId"
        operationId: "bySubscriptionId"
    /store/{storeId}/subscription: 
      get: 
        responses: 
          200: 
            description: "The requested completed successfully."
            schema: 
              $ref: "#/definitions/subscription-IBM_Store_Summary"
          400: 
            description: "Bad request. Some of the inputs provided to the request aren't valid."
          401: 
            description: "Not authenticated. The user session isn't valid."
          403: 
            description: "The user isn't authorized to perform the specified request."
          500: 
            description: "Internal server error. Additional details will be contained on the server logs."
        parameters: 
          - 
            enum: 
              - "0"
              - "10001"
              - "10501"
              - "11001"
              - "1"
              - "11501"
              - "2"
            name: "storeId"
            required: true
            in: "path"
            type: "string"
            description: "The store identifier."
          - 
            enum: 
              - "byBuyerIdAndSubscriptionType"
            name: "q"
            required: true
            in: "query"
            type: "string"
            description: "The query name."
          - 
            enum: 
              - "IBM_Store_Summary"
            name: "profileName"
            required: false
            in: "query"
            type: "string"
            description: "Profile name. Profiles determine the subset of data to be returned by a query."
          - 
            required: true
            type: "string"
            description: "The subscription type code ie(All,RecurringOrder)"
            in: "query"
            name: "subscriptionTypeCode"
          - 
            required: true
            type: "string"
            description: "The buyer Id"
            in: "query"
            name: "buyerId"
        tags: 
          - "subscription"
        produces: 
          - "application/json"
          - "application/xml"
          - "application/xhtml+xml"
          - "application/atom+xml"
        summary: "Finds subscriptions by user and subscription type"
        operationId: "byBuyerIdAndSubscriptionType"
    /store/{storeId}/subscription/{orderId}/submit_recurring_or_subscription: 
      post: 
        responses: 
          200: 
            description: "The requested completed successfully."
            schema: 
              $ref: "#/definitions/com.ibm.commerce.rest.subscription.handler.SubscriptionHandler$SubmitRecurringOrSubscriptionResponse"
          201: 
            description: "The requested resource has been created."
          400: 
            description: "Bad request. Some of the inputs provided to the request aren't valid."
          401: 
            description: "Not authenticated. The user session isn't valid."
          403: 
            description: "The user isn't authorized to perform the specified request."
          404: 
            description: "The specified resource couldn't be found."
          500: 
            description: "Internal server error. Additional details will be contained on the server logs."
        parameters: 
          - 
            enum: 
              - "0"
              - "10001"
              - "10501"
              - "11001"
              - "1"
              - "11501"
              - "2"
            name: "storeId"
            required: true
            in: "path"
            type: "string"
            description: "The store identifier."
          - 
            enum: 
              - "0"
              - "10001"
              - "10501"
              - "11001"
              - "1"
              - "11501"
              - "2"
            name: "orderId"
            required: true
            in: "path"
            type: "string"
            description: "The order id"
          - 
            enum: 
              - "xml"
              - "json"
            name: "responseFormat"
            required: false
            in: "query"
            type: "string"
            description: "The response format. If the request has an input body, that body must also use the format specified in \"responseFormat\". Valid values include \"json\" and \"xml\" without the quotes. If the responseFormat isn't specified, the \"accept\" HTTP header shall be used to determine the format of the response. If the \"accept\" HTTP header isn't specified as well, the default response format shall be in json."
          - 
            required: false
            in: "body"
            description: "Request body."
            name: "body"
            schema: 
              $ref: "#/definitions/com.ibm.commerce.rest.subscription.handler.SubscriptionHandler$SubmitRecurringOrSubscription"
        tags: 
          - "subscription"
        produces: 
          - "application/json"
          - "application/xml"
          - "application/xhtml+xml"
          - "application/atom+xml"
        summary: "Submits a recurring or subscription."
        operationId: "submitRecurringOrSubscription"
    /store/{storeId}/subscription/{orderId}/cancel_recurring_or_subscription: 
      delete: 
        responses: 
          200: 
            description: "The requested completed successfully."
            schema: 
              $ref: "#/definitions/com.ibm.commerce.rest.subscription.handler.SubscriptionHandler$CancelRecurringOrSubscription"
          400: 
            description: "Bad request. Some of the inputs provided to the request aren't valid."
          401: 
            description: "Not authenticated. The user session isn't valid."
          403: 
            description: "The user isn't authorized to perform the specified request."
          404: 
            description: "The specified resource couldn't be found."
          500: 
            description: "Internal server error. Additional details will be contained on the server logs."
        parameters: 
          - 
            enum: 
              - "0"
              - "10001"
              - "10501"
              - "11001"
              - "1"
              - "11501"
              - "2"
            name: "storeId"
            required: true
            in: "path"
            type: "string"
            description: "The store identifier."
          - 
            enum: 
              - "0"
              - "10001"
              - "10501"
              - "11001"
              - "1"
              - "11501"
              - "2"
            name: "orderId"
            required: true
            in: "path"
            type: "string"
            description: "The order id"
          - 
            enum: 
              - "xml"
              - "json"
            name: "responseFormat"
            required: false
            in: "query"
            type: "string"
            description: "The response format. If the request has an input body, that body must also use the format specified in \"responseFormat\". Valid values include \"json\" and \"xml\" without the quotes. If the responseFormat isn't specified, the \"accept\" HTTP header shall be used to determine the format of the response. If the \"accept\" HTTP header isn't specified as well, the default response format shall be in json."
          - 
            required: false
            type: "string"
            description: "The subcription id"
            in: "query"
            name: "subscriptionId"
        tags: 
          - "subscription"
        produces: 
          - "application/json"
          - "application/xml"
          - "application/xhtml+xml"
          - "application/atom+xml"
        summary: "Cancel the specified recurring or subscription."
        operationId: "cancelRecurringOrSubscription"
  definitions: 
    com.ibm.commerce.foundation.common.datatypes.PartNumberIdentifierType.storeIdentifier: 
      properties: 
        uniqueID: 
          type: "string"
        externalIdentifier: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.PartNumberIdentifierType.storeIdentifier.externalIdentifier"
    com.ibm.commerce.rest.subscription.handler.SubscriptionHandler$SubmitRecurringOrSubscriptionResponse: 
      description: "Information about an Subscription/Recurring order"
      properties: 
        orderId: 
          type: "string"
          description: "The organization entity identifier."
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.frequencyInfo.userData.userDataField: 
      required: 
        - "key"
      properties: 
        value: 
          type: "string"
        key: 
          type: "string"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.endInfo.duration: 
      properties: 
        value: 
          type: "number"
          format: "double"
        uom: 
          type: "string"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.endInfo: 
      properties: 
        duration: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.endInfo.duration"
        totalOccurrences: 
          type: "integer"
          format: "int64"
        endDate: 
          type: "string"
        userData: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.endInfo.userData"
    com.ibm.commerce.foundation.common.datatypes.UserDataType.userDataField: 
      required: 
        - "key"
      properties: 
        value: 
          type: "string"
        key: 
          type: "string"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.startInfo.userData.userDataField: 
      required: 
        - "key"
      properties: 
        value: 
          type: "string"
        key: 
          type: "string"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.startInfo.userData: 
      properties: 
        userDataField: 
          items: 
            $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.startInfo.userData.userDataField"
          type: "array"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.frequencyInfo.userData.userDataField: 
      required: 
        - "key"
      properties: 
        value: 
          type: "string"
        key: 
          type: "string"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule: 
      properties: 
        endInfo: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.endInfo"
        startInfo: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.startInfo"
        userData: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.userData"
        frequencyInfo: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.frequencyInfo"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.userData: 
      properties: 
        userDataField: 
          items: 
            $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.userData.userDataField"
          type: "array"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.startInfo.userData.userDataField: 
      required: 
        - "key"
      properties: 
        value: 
          type: "string"
        key: 
          type: "string"
    com.ibm.commerce.foundation.common.datatypes.PartNumberIdentifierType: 
      required: 
        - "partNumber"
      properties: 
        ownerID: 
          type: "string"
        partNumber: 
          type: "string"
        storeIdentifier: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.PartNumberIdentifierType.storeIdentifier"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentInfo.totalCost: 
      properties: 
        currency: 
          type: "string"
        value: 
          type: "number"
          format: "double"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.endInfo.duration: 
      properties: 
        value: 
          type: "number"
          format: "double"
        uom: 
          type: "string"
    subscription-ParentOrderItemIdentifier: 
      properties: 
        parentOrderItemId: 
          type: "string"
    com.ibm.commerce.rest.subscription.handler.SubscriptionHandler$CancelRecurringOrSubscription: 
      description: "Cancel recurring/subscription order"
      properties: 
        state: 
          type: "string"
          description: "The state of the order ie(Cancelled)."
        subscriptionType: 
          type: "string"
          description: "The subscription type ie(RecurringOrder)."
        subscriptionId: 
          type: "string"
          description: "The subscription identifier."
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.frequencyInfo.frequency: 
      properties: 
        value: 
          type: "number"
          format: "double"
        uom: 
          type: "string"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.userData: 
      properties: 
        userDataField: 
          items: 
            $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.userData.userDataField"
          type: "array"
    subscription-IBM_Store_Details: 
      properties: 
        recordSetCount: 
          type: "integer"
          format: "int64"
        recordSetComplete: 
          type: "boolean"
        recordSetStartNumber: 
          type: "integer"
          format: "int64"
        resultList: 
          items: 
            $ref: "#/definitions/subscription-IBM_Store_Details_item"
          type: "array"
        recordSetTotal: 
          type: "integer"
          format: "int64"
    subscription-ParentOrderIdentifier: 
      properties: 
        customerOrderNumber: 
          type: "string"
        parentOrderId: 
          type: "string"
        externalOrderId: 
          type: "string"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.startInfo.userData: 
      properties: 
        userDataField: 
          items: 
            $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.startInfo.userData.userDataField"
          type: "array"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.endInfo: 
      properties: 
        duration: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.endInfo.duration"
        totalOccurrences: 
          type: "integer"
          format: "int64"
        endDate: 
          type: "string"
        userData: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.endInfo.userData"
    subscription-IBM_Store_Summary_item: 
      properties: 
        subscriptionIdentifier: 
          $ref: "#/definitions/subscription-SubscriptionIdentifier"
        state: 
          type: "string"
        subscriptionInfo: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType"
        purchaseDetails: 
          $ref: "#/definitions/subscription-PurchaseDetails"
    subscription-IBM_Store_Summary: 
      properties: 
        recordSetCount: 
          type: "integer"
          format: "int64"
        recordSetComplete: 
          type: "boolean"
        recordSetStartNumber: 
          type: "integer"
          format: "int64"
        resultList: 
          items: 
            $ref: "#/definitions/subscription-IBM_Store_Summary_item"
          type: "array"
        recordSetTotal: 
          type: "integer"
          format: "int64"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.userData.userDataField: 
      required: 
        - "key"
      properties: 
        value: 
          type: "string"
        key: 
          type: "string"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.endInfo.userData.userDataField: 
      required: 
        - "key"
      properties: 
        value: 
          type: "string"
        key: 
          type: "string"
    com.ibm.commerce.rest.subscription.handler.SubscriptionHandler$SubmitRecurringOrSubscription: 
      required: 
        - "billing_address_id"
        - "numberOfFulfillment"
        - "payMethodId"
        - "paymentInterval"
        - "paymentIntervalUOM"
        - "paymentTCId"
        - "piAmount"
        - "purchaseorder_id"
        - "timePeriod"
        - "timePeriodUOM"
      description: "Request body from submitting a Recurring order/Subscription "
      properties: 
        timePeriodUOM: 
          type: "string"
          description: "The unit of time ie(Day)."
        startDate: 
          type: "string"
          description: "The start date for the subscription."
        endDate: 
          type: "string"
          description: "The end date for the subscription"
        paymentInterval: 
          type: "string"
          description: "The day of the week set to collect payment."
        fulfillmentInterval: 
          type: "string"
          description: "The day of the week set for subscription fulfillment"
        payMethodId: 
          type: "string"
          description: "The payMethod Identifier"
        fulfillmentIntervalUOM: 
          type: "string"
          description: "The day of month set for subscription fulfillment"
        storeId: 
          type: "string"
          description: "The storeidentifier."
        paymentIntervalUOM: 
          type: "string"
          description: "The day of month set for collect subscription payment"
        numberOfFulfillment: 
          type: "string"
          description: "The number of fulfillment centers."
        purchaseorder_id: 
          type: "string"
          description: "The purchase order identifier."
        timePeriod: 
          type: "string"
          description: "The specified time period."
        piAmount: 
          type: "string"
          description: "The payment insruction amount."
        billing_address_id: 
          type: "string"
          description: "The billing address identifier."
        paymentTCId: 
          type: "string"
          description: "The Term and Condition identifier."
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.userData.userDataField: 
      required: 
        - "key"
      properties: 
        value: 
          type: "string"
        key: 
          type: "string"
    com.ibm.commerce.foundation.common.datatypes.PartNumberIdentifierType.storeIdentifier.externalIdentifier: 
      properties: 
        ownerID: 
          type: "string"
        nameIdentifier: 
          type: "string"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.frequencyInfo.userData: 
      properties: 
        userDataField: 
          items: 
            $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.frequencyInfo.userData.userDataField"
          type: "array"
    subscription-PurchaseDetails: 
      properties: 
        userData: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.UserDataType"
        subscribedItem: 
          $ref: "#/definitions/subscription-SubscribedItem"
        parentOrderIdentifier: 
          $ref: "#/definitions/subscription-ParentOrderIdentifier"
        parentOrderItemIdentifier: 
          $ref: "#/definitions/subscription-ParentOrderItemIdentifier"
        quantity: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.QuantityType"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.frequencyInfo: 
      properties: 
        nextOccurence: 
          type: "string"
        completedOccurrences: 
          type: "integer"
          format: "int64"
        frequency: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.frequencyInfo.frequency"
        remainingOccurrences: 
          type: "integer"
          format: "int64"
        userData: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.frequencyInfo.userData"
    com.ibm.commerce.foundation.common.datatypes.UserDataType: 
      properties: 
        userDataField: 
          items: 
            $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.UserDataType.userDataField"
          type: "array"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentInfo.userData.userDataField: 
      required: 
        - "key"
      properties: 
        value: 
          type: "string"
        key: 
          type: "string"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.frequencyInfo.userData: 
      properties: 
        userDataField: 
          items: 
            $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.frequencyInfo.userData.userDataField"
          type: "array"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.frequencyInfo: 
      properties: 
        nextOccurence: 
          type: "string"
        completedOccurrences: 
          type: "integer"
          format: "int64"
        frequency: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.frequencyInfo.frequency"
        remainingOccurrences: 
          type: "integer"
          format: "int64"
        userData: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.frequencyInfo.userData"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentInfo: 
      properties: 
        totalCost: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentInfo.totalCost"
        userData: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentInfo.userData"
        amountPaid: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentInfo.amountPaid"
        amountToCharge: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentInfo.amountToCharge"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.frequencyInfo.frequency: 
      properties: 
        value: 
          type: "number"
          format: "double"
        uom: 
          type: "string"
    subscription-SubscriptionIdentifier: 
      properties: 
        subscriptionId: 
          type: "string"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentInfo.amountToCharge: 
      properties: 
        currency: 
          type: "string"
        value: 
          type: "number"
          format: "double"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.startInfo: 
      properties: 
        startDate: 
          type: "string"
        userData: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.startInfo.userData"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentInfo.amountPaid: 
      properties: 
        currency: 
          type: "string"
        value: 
          type: "number"
          format: "double"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.userData.userDataField: 
      required: 
        - "key"
      properties: 
        value: 
          type: "string"
        key: 
          type: "string"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.userData: 
      properties: 
        userDataField: 
          items: 
            $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.userData.userDataField"
          type: "array"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.startInfo: 
      properties: 
        startDate: 
          type: "string"
        userData: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.startInfo.userData"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.endInfo.userData: 
      properties: 
        userDataField: 
          items: 
            $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule.endInfo.userData.userDataField"
          type: "array"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentInfo.userData: 
      properties: 
        userDataField: 
          items: 
            $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentInfo.userData.userDataField"
          type: "array"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule: 
      properties: 
        endInfo: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.endInfo"
        startInfo: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.startInfo"
        userData: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.userData"
        frequencyInfo: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.frequencyInfo"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType: 
      properties: 
        paymentInfo: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentInfo"
        paymentSchedule: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.paymentSchedule"
        fulfillmentSchedule: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule"
        userData: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.userData"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.endInfo.userData.userDataField: 
      required: 
        - "key"
      properties: 
        value: 
          type: "string"
        key: 
          type: "string"
    com.ibm.commerce.foundation.common.datatypes.QuantityType: 
      properties: 
        value: 
          type: "number"
          format: "double"
        uom: 
          type: "string"
    subscription-SubscribedItem: 
      properties: 
        subscribedItemId: 
          type: "string"
        externalIdentifier: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.PartNumberIdentifierType"
    com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.endInfo.userData: 
      properties: 
        userDataField: 
          items: 
            $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType.fulfillmentSchedule.endInfo.userData.userDataField"
          type: "array"
    subscription-IBM_Store_Details_item: 
      properties: 
        subscriptionIdentifier: 
          $ref: "#/definitions/subscription-SubscriptionIdentifier"
        state: 
          type: "string"
        subscriptionInfo: 
          $ref: "#/definitions/com.ibm.commerce.foundation.common.datatypes.SubscriptionInfoType"
        purchaseDetails: 
          $ref: "#/definitions/subscription-PurchaseDetails"

