Order Event Definition 0.1.0

Operations

  • SEND ebb-{region}-integration-{env}

    The application will send new operation notification messages through this channel.

    Operation IDsend
    object
    env
    required
    string

    The environment from which the event originated from e.g. dev, prod

      Allowed values:
    • "local"
    • "dev"
    • "qa"
    • "qa2"
    • "stg"
    • "prod"

    Accepts one of the following messages:

    • #0
      Message IDOrderConfirmed
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new order confirmed events through this channel.

      object
      • #order

      Examples

    • #1
      Message IDOrderCreated
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new order paid events through this channel.

      object
      • #order

      Examples

    • #2
      Message IDUpcomingOrderCreated
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new upcoming order(i.e recurring order) created events through this channel.

      object
      • #order

      Examples

    • #3
      Message IDRtpOrderCreated
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new order rtp internal invoice created events through this channel.

      object
      • #order

      Examples

    • #4
      Message IDRtpOrderCancelled
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send RTP order cancelled events through this channel.

      object
      • #order

      Examples

    • #5
      Message IDRtpSubscriptionUpdated
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new subscription rtp updated events through this channel.

      object
      • #order

      Examples

    • #6
      Message IDRtpRemorseCompleted
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new order rtp internal remorse completed events through this channel.

      object
      • #order

      Examples

    • #7
      Message IDPaymentCaptured
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new payment captured events through this channel.

      object
      • #order

      Examples

    • #8
      Message IDPaymentFailed
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new payment failed events through this channel.

      object
      • #order

      Examples

    • #9
      Message IDPaymentRefunded
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new payment refunded events through this channel.

      object
      • #order

      Examples

    • #10
      Message IDRefundFailed
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new payment refund failed events through this channel.

      object
      • #order

      Examples

    • #11
      Message IDRtpReturnRefunded
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send RTP return refunded events when a refund payment is manually refunded through this channel.

      object
      • #order

      Examples

    • #12
      Message IDRtpOrderRefunded
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send RTP order refund events through this channel.

      object
      • #order

      Examples

    • #13
      Message IDRtpCreditNoteCreated
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send RTP credit note created events through this channel.

      object
      • #order

      Examples

    • #14
      Message IDSubscriptionCreated
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new subscription created events through this channel.

      object
      • #order

      Examples

    • #15
      Message IDSubscriptionUpdated
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new subscription updated events through this channel.

      object
      • #order

      Examples

    • #16
      Message IDSubscriptionResumed
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new subscription resumed events through this channel.

      object
      • #order

      Examples

    • #17
      Message IDSubscriptionStatusUpdated
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new subscription updated events through this channel.

      object
      • #order

      Examples

    • #18
      Message IDSubscriptionCancelled
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send subscription cancelled events through this channel.

      object
      • #order

      Examples

    • #19
      Message IDSubscriptionProductSubstituted
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send subscription product substitution events through this channel.

      object
      • #order

      Examples

    • #20
      Message IDSubscriptionProductSubstitutedBySku
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send subscription product substitution by SKU events through this channel.

      object
      • #order

      Examples

    • #21
      Message IDOrderCompleted
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new order completed events through this channel.

      object
      • #order

      Examples

    • #22
      Message IDOrderUpdated
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new order events through this channel for order status update.

      object
      • #order

      Examples

    • #23
      Message IDOrderShipped
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new order shipped events through this channel.

      object
      • #order

      Examples

    • #24
      Message IDOrderCancelled
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new order cancelled events through this channel.

      object
      • #order

      Examples

    • #25
      Message IDReturnCreated
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send return created events through this channel.

      object
      • #return

      Examples

    • #26
      Message IDReturnCompleted
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send return completed events through this channel.

      object
      • #return

      Examples

    • #27
      Message IDHicapsWebhookEvent
      Correlation ID$message.payload#/detail/correlationid

      Default Correlation ID

      The application will send new content events through this channel.

      object
      • #content

      Examples

Schemas

  • OrderAssetType
    string

    The type of the asset. E.g. order

      Allowed values:
    • "order"
  • Environment
    string

    The environment from which the event originated from e.g. dev, prod

      Allowed values:
    • "local"
    • "dev"
    • "qa"
    • "qa2"
    • "stg"
    • "prod"
  • OrderEventSource
    string
    Const:"com.specsavers/order-service"
  • ReturnEventSource
    string
    Const:"com.specsavers/returns"
  • allOf
  • allOf
  • object [RtpOrderCreatedData]
  • object
  • object [RtpSubscriptionUpdatedData]
  • object [RtpRemorseCompletedData]
  • allOf
  • object [PaymentStatusData]
  • object [ProductSubstitution]
  • object [SubscriptionData]
  • object [SubscriptionStatusUpdatedData]
  • object [SubscriptionCancelledData]
  • object [SubscriptionProductSubstitutedData]
  • object [SubscriptionProductSubstitutedBySkuData]
  • object [OrderCompletedData]
  • object [OrderShippedData]
  • object [OrderCancelledData]
  • object [OrderUpdatedData]
  • object
  • object
  • object
  • object
  • object
  • object [OrderReturnData]
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object [OrderEventBody]
  • object [UpcomingOrderEventBody]