SubscriptionResumed
v1.0.0

An event raised whenever a subscription resumes.
SubscriptionResumed Schema (yml)
openapi: 3.0.0
info:
  version: "1.0.0"
  title: SubscriptionResumed
paths: {}
components:
  schemas:
    SubscriptionResumed:
      type: object
      required:
        - metadata
        - data
      properties:
        data:
          "$ref": "#/components/schemas/Data"
        metadata:
          "$ref": "#/components/schemas/Metadata"
    Data:
      type: object
      required:
        - subscriptionId
        - addonSubscription
        - deliveryDays
        - dietType
        - foodType
        - kitchen
        - planType
        - startingFrom
        - subscriptionFrequency

      properties:
        subscriptionId:
          type: string
        addonSubscription:
          type: array
          items:
            type: object
            required:
              - startDate
              - endDate
              - category
            properties:
              startDate:
                type: string
              endDate:
                type: string
              category:
                type: string
        deliveryDays:
          type: array
          items:
            type: number
        dietType:
          type: string
        foodType:
          type: array
          items:
            type: string
        kitchen:
          type: string
        planType:
          type: string
        startingFrom:
          type: string
          format: date
        subscriptionFrequency:
          type: string
          enum:
            - weekly
            - monthly

    Metadata:
      type: object
      required:
        - serviceFunction
        - version
      properties:
        serviceFunction:
          type: string
        version:
          type: string
Edit this pageLast updated on 2024/4/2