asyncapi: 3.0.0 info: title: vendor-connectivity Domain Events version: 1.0.0 contact: name: vendor-connectivity maintainers url: https://github.com/IQVO/vendor-connectivity email: vendor-connectivity@iqvo.example.com license: name: UNLICENSED tags: - name: vendor-connectivity description: The vendor-connectivity bounded context (retail network, partner tier). - name: vendoraccount description: Events raised by the VendorAccount aggregate. - name: purchaseorder description: Events raised by the PurchaseOrder aggregate. - name: submission description: Events raised by the Submission aggregate. - name: inboundreceipt description: The InboundReceiptSubmitted event, raised when an inbound receipt is accepted. - name: returnoutcome description: The VendorReturnOutcomeSubmitted event, raised when a return outcome is accepted. description: | Event catalog for the **vendor-connectivity** bounded context of the retail network (partner tier): the Open Host Service for vendors that operate fulfillment nodes. The Vendor API itself is `apis/openapi.yaml`; vendors never see these events, the in-organization contexts do. **Published.** Twelve types. Eleven go to `retailnetwork.vendor-connectivity.events` and `PurchaseOrderCancelled` goes ONLY to `retailnetwork.vendor-connectivity.analytics` (the model marks it analytics only). Every event leaves through a **transactional outbox**: the aggregate row, the submission row and the already-encoded events are written in ONE database transaction and an always-on relay drains them to Kafka (at-least-once; the CloudEvents `id` is stored with the outbox row, so a retry republishes the same `id`). The types are catalogued in ADR 0004. **Consumed.** Seventeen types from five producers (ADR 0003, ADR 0005, ADR 0014): seller-inbound `InboundShipmentLabelled`, `InboundShipmentShipped`, `InboundShipmentReceived`; offer-availability `CatalogItemPackagingDeclared`, `CatalogItemPackLevelRetired`; node-topology `NodeRegistered`, `NodeOperationalProfileDeclared`, `NodeActivated`, `NodeSuspended`, `NodeRetired`; offer-availability `ListingCreated`; order-sourcing `FulfillmentReleasedToNode`, `FulfillmentCancelled`, `FulfillmentReleaseWithdrawn`; customer-returns `ReturnAuthorized`, `ReturnLabelIssued`, `ReturnCancelled`. Each is deduplicated on the CloudEvents `id` in the `processed_events` inbox table, dispatched on the full `type`, decoded tolerantly (unknown fields are ignored) and dead-lettered to `.dlq` (with `x-dlq-source-topic`, `x-dlq-source-partition`, `x-dlq-source-offset`, `x-dlq-error` and `x-dlq-failed-at` headers) after a bounded number of failed attempts, or at once when the `data` cannot be decoded. A message that is not a valid CloudEvents 1.0 event, or whose `type` is not handled, is skipped (logged, offset committed). The consumed `data` below lists only the fields this context relies on. **Envelope (mandatory).** CloudEvents 1.0, structured content mode, Kafka header `content-type: application/cloudevents+json; charset=UTF-8`. `specversion`, `id`, `source` (`/retailnetwork/vendor-connectivity`), `type`, `subject` (the aggregate root id: `vendorId`, `poNumber`, `transactionId`, `shipmentId` or `authorizationId`), `time`, `datacontenttype` (`application/json`) and `dataschema` (`urn:retailnetwork:vendor-connectivity:::v1`, stream `events` or `analytics`) are all required. Kafka key = the subject, so one purchase order's events stay ordered on one partition. Type = `com.retailnetwork.partner.vendor-connectivity..` with entity `vendoraccount`, `purchaseorder`, `submission`, `inboundreceipt` or `returnoutcome`. The subject of `InboundReceiptSubmitted` is the `shipmentId`, the subject of `VendorReturnOutcomeSubmitted` is the `authorizationId`, and the subject of `SubmissionProcessed` is the `transactionId`. **Conventions.** `data` is camelCase; timestamps are RFC 3339 UTC; optional fields are omitted when absent (never null); arrays are always present. No event carries a ship-to address, name or phone. servers: production: host: '{brokers}' protocol: kafka description: Retail-network Kafka broker (host supplied by the deployment environment via KAFKA_BROKERS). variables: brokers: default: kafka.retail-network.internal:9092 defaultContentType: application/cloudevents+json channels: vendorConnectivityEvents: address: retailnetwork.vendor-connectivity.events title: vendor-connectivity integration topic description: This service's integration topic, written by the outbox relay; key = subject. Every message carries the CloudEvents content-type header. Dispatch on the full `type`, ignore unknown types, dedupe on `id`. messages: VendorOnboarded: $ref: '#/components/messages/VendorOnboarded' VendorSuspended: $ref: '#/components/messages/VendorSuspended' VendorReinstated: $ref: '#/components/messages/VendorReinstated' PurchaseOrderIssued: $ref: '#/components/messages/PurchaseOrderIssued' PurchaseOrderAccepted: $ref: '#/components/messages/PurchaseOrderAccepted' PurchaseOrderRejected: $ref: '#/components/messages/PurchaseOrderRejected' PurchaseOrderExpired: $ref: '#/components/messages/PurchaseOrderExpired' VendorShipmentConfirmed: $ref: '#/components/messages/VendorShipmentConfirmed' SubmissionProcessed: $ref: '#/components/messages/SubmissionProcessed' InboundReceiptSubmitted: $ref: '#/components/messages/InboundReceiptSubmitted' VendorReturnOutcomeSubmitted: $ref: '#/components/messages/VendorReturnOutcomeSubmitted' vendorConnectivityAnalytics: address: retailnetwork.vendor-connectivity.analytics title: vendor-connectivity analytics topic description: Analytics-only events. No context consumes them. messages: PurchaseOrderCancelled: $ref: '#/components/messages/PurchaseOrderCancelled' nodeTopologyEvents: address: retailnetwork.node-topology.events title: node-topology integration topic description: The node-topology integration topic, consumed by the node consumer under the mandatory consumer group `NODE_CONSUMER_GROUP`. messages: NodeRegistered: $ref: '#/components/messages/NodeRegistered' NodeOperationalProfileDeclared: $ref: '#/components/messages/NodeOperationalProfileDeclared' NodeActivated: $ref: '#/components/messages/NodeActivated' NodeSuspended: $ref: '#/components/messages/NodeSuspended' NodeRetired: $ref: '#/components/messages/NodeRetired' offerAvailabilityEvents: address: retailnetwork.offer-availability.events title: offer-availability integration topic description: 'The offer-availability integration topic, read by two consumers with their own mandatory consumer groups, the listing consumer (`ListingCreated`, `LISTING_CONSUMER_GROUP`) and the packaging consumer (`CatalogItemPackagingDeclared`, `CatalogItemPackLevelRetired`, `PACKAGING_CONSUMER_GROUP`).' messages: ListingCreated: $ref: '#/components/messages/ListingCreated' CatalogItemPackagingDeclared: $ref: '#/components/messages/CatalogItemPackagingDeclared' CatalogItemPackLevelRetired: $ref: '#/components/messages/CatalogItemPackLevelRetired' sellerInboundEvents: address: retailnetwork.seller-inbound.events title: seller-inbound integration topic description: The seller-inbound integration topic, consumed under the mandatory consumer group `INBOUND_CONSUMER_GROUP`. messages: InboundShipmentLabelled: $ref: '#/components/messages/InboundShipmentLabelled' InboundShipmentShipped: $ref: '#/components/messages/InboundShipmentShipped' InboundShipmentReceived: $ref: '#/components/messages/InboundShipmentReceived' customerReturnsEvents: address: retailnetwork.customer-returns.events title: customer-returns integration topic description: The customer-returns integration topic, consumed by the customer-returns consumer under the mandatory consumer group `CUSTOMER_RETURNS_CONSUMER_GROUP`. The producer is being created in parallel (ADR 0014); until it exists the consumer group is handed an empty assignment and this topic carries nothing. messages: ReturnAuthorized: $ref: '#/components/messages/ReturnAuthorized' ReturnLabelIssued: $ref: '#/components/messages/ReturnLabelIssued' ReturnCancelled: $ref: '#/components/messages/ReturnCancelled' orderSourcingEvents: address: retailnetwork.order-sourcing.events title: order-sourcing integration topic description: The order-sourcing integration topic, consumed by the sourcing consumer under the mandatory consumer group `SOURCING_CONSUMER_GROUP`. messages: FulfillmentReleasedToNode: $ref: '#/components/messages/FulfillmentReleasedToNode' FulfillmentCancelled: $ref: '#/components/messages/FulfillmentCancelled' FulfillmentReleaseWithdrawn: $ref: '#/components/messages/FulfillmentReleaseWithdrawn' operations: publishVendorConnectivityEvents: action: send title: Publish vendor-connectivity integration events summary: Publish the ten integration events through the transactional outbox. description: The service sends every integration event of its three aggregates (VendorAccount, PurchaseOrder, Submission) plus the InboundReceiptSubmitted and VendorReturnOutcomeSubmitted facts to `retailnetwork.vendor-connectivity.events`. Consumers route on the full `type`. tags: - name: vendor-connectivity channel: $ref: '#/channels/vendorConnectivityEvents' messages: - $ref: '#/channels/vendorConnectivityEvents/messages/VendorOnboarded' - $ref: '#/channels/vendorConnectivityEvents/messages/VendorSuspended' - $ref: '#/channels/vendorConnectivityEvents/messages/VendorReinstated' - $ref: '#/channels/vendorConnectivityEvents/messages/PurchaseOrderIssued' - $ref: '#/channels/vendorConnectivityEvents/messages/PurchaseOrderAccepted' - $ref: '#/channels/vendorConnectivityEvents/messages/PurchaseOrderRejected' - $ref: '#/channels/vendorConnectivityEvents/messages/PurchaseOrderExpired' - $ref: '#/channels/vendorConnectivityEvents/messages/VendorShipmentConfirmed' - $ref: '#/channels/vendorConnectivityEvents/messages/SubmissionProcessed' - $ref: '#/channels/vendorConnectivityEvents/messages/InboundReceiptSubmitted' - $ref: '#/channels/vendorConnectivityEvents/messages/VendorReturnOutcomeSubmitted' publishVendorConnectivityAnalytics: action: send title: Publish vendor-connectivity analytics events summary: Publish the analytics-only PurchaseOrderCancelled through the transactional outbox. description: PurchaseOrderCancelled goes ONLY to `retailnetwork.vendor-connectivity.analytics`; no context consumes it. tags: - name: purchaseorder channel: $ref: '#/channels/vendorConnectivityAnalytics' messages: - $ref: '#/channels/vendorConnectivityAnalytics/messages/PurchaseOrderCancelled' receiveCustomerReturnsEvents: action: receive title: Receive customer-returns events summary: Receive the customer-returns events this context relies on. description: Consumes ReturnAuthorized, ReturnLabelIssued and ReturnCancelled into the local ReturnAdviceView (Conformist); the advice is attributed to the operator vendor of the destination node from VendorNodeView, never from the event. The topic does not exist yet while the producer repo is being created; the reader construction does not dial and a consumer group is handed an empty assignment for a missing topic, so boot and readiness are unaffected (ADR 0014). tags: - name: vendor-connectivity channel: $ref: '#/channels/customerReturnsEvents' messages: - $ref: '#/channels/customerReturnsEvents/messages/ReturnAuthorized' - $ref: '#/channels/customerReturnsEvents/messages/ReturnLabelIssued' - $ref: '#/channels/customerReturnsEvents/messages/ReturnCancelled' receiveNodeTopologyEvents: action: receive title: Receive node-topology events summary: Receive the node-topology events this context relies on. description: Consumes NodeRegistered, NodeOperationalProfileDeclared, NodeActivated, NodeSuspended and NodeRetired into the local VendorNodeView (Conformist). NodeOperationalProfileDeclared supplies the handling time of `ackBy` (G4). tags: - name: vendor-connectivity channel: $ref: '#/channels/nodeTopologyEvents' messages: - $ref: '#/channels/nodeTopologyEvents/messages/NodeRegistered' - $ref: '#/channels/nodeTopologyEvents/messages/NodeOperationalProfileDeclared' - $ref: '#/channels/nodeTopologyEvents/messages/NodeActivated' - $ref: '#/channels/nodeTopologyEvents/messages/NodeSuspended' - $ref: '#/channels/nodeTopologyEvents/messages/NodeRetired' receiveOfferAvailabilityEvents: action: receive title: Receive offer-availability events summary: Receive the offer-availability events this context relies on. description: Consumes ListingCreated into the local ListingView and CatalogItemPackagingDeclared / CatalogItemPackLevelRetired into the local CatalogPackagingView (Conformist). The listing consumer and the packaging consumer read the same topic under their own consumer groups. tags: - name: vendor-connectivity channel: $ref: '#/channels/offerAvailabilityEvents' messages: - $ref: '#/channels/offerAvailabilityEvents/messages/ListingCreated' - $ref: '#/channels/offerAvailabilityEvents/messages/CatalogItemPackagingDeclared' - $ref: '#/channels/offerAvailabilityEvents/messages/CatalogItemPackLevelRetired' receiveSellerInboundEvents: action: receive title: Receive seller-inbound events summary: Receive the seller-inbound shipment events this context relies on. description: Consumes InboundShipmentLabelled, InboundShipmentShipped and InboundShipmentReceived into the local InboundShipmentView (Conformist). Only a SHIPPED shipment with a manifest is offered to vendors. tags: - name: vendor-connectivity channel: $ref: '#/channels/sellerInboundEvents' messages: - $ref: '#/channels/sellerInboundEvents/messages/InboundShipmentLabelled' - $ref: '#/channels/sellerInboundEvents/messages/InboundShipmentShipped' - $ref: '#/channels/sellerInboundEvents/messages/InboundShipmentReceived' receiveOrderSourcingEvents: action: receive title: Receive order-sourcing events summary: Receive the order-sourcing events this context relies on. description: Consumes FulfillmentReleasedToNode (issues a purchase order for a VENDOR node), FulfillmentCancelled (cancels the ISSUED purchase order of the open release) and FulfillmentReleaseWithdrawn (cancels the ISSUED purchase order of one withdrawn release, ADR 0013) (Customer/Supplier). tags: - name: vendor-connectivity channel: $ref: '#/channels/orderSourcingEvents' messages: - $ref: '#/channels/orderSourcingEvents/messages/FulfillmentReleasedToNode' - $ref: '#/channels/orderSourcingEvents/messages/FulfillmentCancelled' - $ref: '#/channels/orderSourcingEvents/messages/FulfillmentReleaseWithdrawn' components: messages: VendorOnboarded: name: VendorOnboarded title: VendorOnboarded summary: A vendor account was onboarded (ACTIVE). description: '`type` = `com.retailnetwork.partner.vendor-connectivity.vendoraccount.VendorOnboarded`; subject and key = `vendorId`; stream `events`. Raised by OnboardVendor. Consumers: node-performance (acknowledged without effect).' contentType: application/cloudevents+json tags: - name: vendoraccount payload: $ref: '#/components/schemas/VendorOnboardedEvent' examples: - name: vendorOnboarded summary: A vendor account was onboarded (ACTIVE). payload: specversion: '1.0' id: 9b2f4c1e-6a7d-4e0b-8f31-2c5d7a9e1b44 source: /retailnetwork/vendor-connectivity type: com.retailnetwork.partner.vendor-connectivity.vendoraccount.VendorOnboarded subject: V-WS time: '2026-10-22T13:05:41Z' datacontenttype: application/json dataschema: urn:retailnetwork:vendor-connectivity:events:VendorOnboarded:v1 data: vendorId: V-WS name: Warehouse Systems ackWindowMinutes: 240 VendorSuspended: x-no-consumer-reason: "vendor-account lifecycle fact (G30); integration event, no consumer yet" name: VendorSuspended title: VendorSuspended summary: A vendor account was suspended; its writes are refused until reinstated (G30). description: '`type` = `com.retailnetwork.partner.vendor-connectivity.vendoraccount.VendorSuspended`; subject and key = `vendorId`; stream `events`. Raised by SuspendVendor. Consumers: none yet (integration event).' contentType: application/cloudevents+json tags: - name: vendoraccount payload: $ref: '#/components/schemas/VendorSuspendedEvent' examples: - name: vendorSuspended summary: A vendor account was suspended; its writes are refused until reinstated (G30). payload: specversion: '1.0' id: 9b2f4c1e-6a7d-4e0b-8f31-2c5d7a9e1b44 source: /retailnetwork/vendor-connectivity type: com.retailnetwork.partner.vendor-connectivity.vendoraccount.VendorSuspended subject: V-WS time: '2026-10-22T13:05:41Z' datacontenttype: application/json dataschema: urn:retailnetwork:vendor-connectivity:events:VendorSuspended:v1 data: vendorId: V-WS suspendedAt: '2026-10-22T13:00:00Z' reason: contract review VendorReinstated: x-no-consumer-reason: "vendor-account lifecycle fact (G30); integration event, no consumer yet" name: VendorReinstated title: VendorReinstated summary: A suspended vendor account was reinstated (G30). description: '`type` = `com.retailnetwork.partner.vendor-connectivity.vendoraccount.VendorReinstated`; subject and key = `vendorId`; stream `events`. Raised by ReinstateVendor. Consumers: none yet (integration event).' contentType: application/cloudevents+json tags: - name: vendoraccount payload: $ref: '#/components/schemas/VendorReinstatedEvent' examples: - name: vendorReinstated summary: A suspended vendor account was reinstated (G30). payload: specversion: '1.0' id: 9b2f4c1e-6a7d-4e0b-8f31-2c5d7a9e1b44 source: /retailnetwork/vendor-connectivity type: com.retailnetwork.partner.vendor-connectivity.vendoraccount.VendorReinstated subject: V-WS time: '2026-10-22T13:05:41Z' datacontenttype: application/json dataschema: urn:retailnetwork:vendor-connectivity:events:VendorReinstated:v1 data: vendorId: V-WS reinstatedAt: '2026-10-22T15:00:00Z' PurchaseOrderIssued: name: PurchaseOrderIssued title: PurchaseOrderIssued summary: A purchase order was issued to a vendor node. description: '`type` = `com.retailnetwork.partner.vendor-connectivity.purchaseorder.PurchaseOrderIssued`; subject and key = `poNumber`; stream `events`. Raised by IssuePurchaseOrder (policy IssueOnRelease). Consumers: node-performance.' contentType: application/cloudevents+json tags: - name: purchaseorder payload: $ref: '#/components/schemas/PurchaseOrderIssuedEvent' examples: - name: purchaseOrderIssued summary: A purchase order was issued to a vendor node. payload: specversion: '1.0' id: 9b2f4c1e-6a7d-4e0b-8f31-2c5d7a9e1b44 source: /retailnetwork/vendor-connectivity type: com.retailnetwork.partner.vendor-connectivity.purchaseorder.PurchaseOrderIssued subject: PO-3b9f1c0a7d2e4a18 time: '2026-10-22T13:05:41Z' datacontenttype: application/json dataschema: urn:retailnetwork:vendor-connectivity:events:PurchaseOrderIssued:v1 data: poNumber: PO-3b9f1c0a7d2e4a18 vendorId: V-WS nodeId: node-0f3a91 assignmentId: asg-41d2 releaseNo: 1 requiredShipBy: '2026-10-22T18:00:00Z' ackBy: '2026-10-22T16:00:00Z' lines: - lineNo: 1 listingId: lst-77 quantity: 2 PurchaseOrderAccepted: name: PurchaseOrderAccepted title: PurchaseOrderAccepted summary: The vendor accepted the purchase order in full; the acknowledgement transaction succeeded. description: '`type` = `com.retailnetwork.partner.vendor-connectivity.purchaseorder.PurchaseOrderAccepted`; subject and key = `poNumber`; stream `events`. Raised by ProcessSubmission (ACCEPT, SUCCESS). Consumers: order-sourcing, node-performance.' contentType: application/cloudevents+json tags: - name: purchaseorder payload: $ref: '#/components/schemas/PurchaseOrderAcceptedEvent' examples: - name: purchaseOrderAccepted summary: The vendor accepted the purchase order in full; the acknowledgement transaction succeeded. payload: specversion: '1.0' id: 9b2f4c1e-6a7d-4e0b-8f31-2c5d7a9e1b44 source: /retailnetwork/vendor-connectivity type: com.retailnetwork.partner.vendor-connectivity.purchaseorder.PurchaseOrderAccepted subject: PO-3b9f1c0a7d2e4a18 time: '2026-10-22T13:05:41Z' datacontenttype: application/json dataschema: urn:retailnetwork:vendor-connectivity:events:PurchaseOrderAccepted:v1 data: poNumber: PO-3b9f1c0a7d2e4a18 assignmentId: asg-41d2 releaseNo: 1 nodeId: node-0f3a91 acceptedAt: '2026-10-22T13:05:41Z' transactionId: tx-9b2f4c1e PurchaseOrderRejected: name: PurchaseOrderRejected title: PurchaseOrderRejected summary: The vendor rejected the purchase order in full; the acknowledgement transaction succeeded. description: '`type` = `com.retailnetwork.partner.vendor-connectivity.purchaseorder.PurchaseOrderRejected`; subject and key = `poNumber`; stream `events`. Raised by ProcessSubmission (REJECT, SUCCESS). Consumers: order-sourcing, node-performance.' contentType: application/cloudevents+json tags: - name: purchaseorder payload: $ref: '#/components/schemas/PurchaseOrderRejectedEvent' examples: - name: purchaseOrderRejected summary: The vendor rejected the purchase order in full; the acknowledgement transaction succeeded. payload: specversion: '1.0' id: 9b2f4c1e-6a7d-4e0b-8f31-2c5d7a9e1b44 source: /retailnetwork/vendor-connectivity type: com.retailnetwork.partner.vendor-connectivity.purchaseorder.PurchaseOrderRejected subject: PO-3b9f1c0a7d2e4a18 time: '2026-10-22T13:05:41Z' datacontenttype: application/json dataschema: urn:retailnetwork:vendor-connectivity:events:PurchaseOrderRejected:v1 data: poNumber: PO-3b9f1c0a7d2e4a18 assignmentId: asg-41d2 releaseNo: 1 nodeId: node-0f3a91 reasonCode: OUT_OF_STOCK rejectedAt: '2026-10-22T13:05:41Z' PurchaseOrderExpired: name: PurchaseOrderExpired title: PurchaseOrderExpired summary: The purchase order was not acknowledged before ackBy. description: '`type` = `com.retailnetwork.partner.vendor-connectivity.purchaseorder.PurchaseOrderExpired`; subject and key = `poNumber`; stream `events`. Raised by ExpireUnacknowledgedOrders (policy ExpireUnacknowledged). Consumers: order-sourcing, node-performance.' contentType: application/cloudevents+json tags: - name: purchaseorder payload: $ref: '#/components/schemas/PurchaseOrderExpiredEvent' examples: - name: purchaseOrderExpired summary: The purchase order was not acknowledged before ackBy. payload: specversion: '1.0' id: 9b2f4c1e-6a7d-4e0b-8f31-2c5d7a9e1b44 source: /retailnetwork/vendor-connectivity type: com.retailnetwork.partner.vendor-connectivity.purchaseorder.PurchaseOrderExpired subject: PO-3b9f1c0a7d2e4a18 time: '2026-10-22T13:05:41Z' datacontenttype: application/json dataschema: urn:retailnetwork:vendor-connectivity:events:PurchaseOrderExpired:v1 data: poNumber: PO-3b9f1c0a7d2e4a18 assignmentId: asg-41d2 releaseNo: 1 nodeId: node-0f3a91 ackBy: '2026-10-22T16:00:00Z' PurchaseOrderCancelled: name: PurchaseOrderCancelled title: PurchaseOrderCancelled summary: An ISSUED purchase order was cancelled because order-sourcing cancelled the assignment. Analytics only. description: '`type` = `com.retailnetwork.partner.vendor-connectivity.purchaseorder.PurchaseOrderCancelled`; subject and key = `poNumber`; stream `analytics`. Raised by CancelPurchaseOrder (policy CancelOnSourcingCancel). Consumers: analytics only (no context consumer).' contentType: application/cloudevents+json tags: - name: purchaseorder payload: $ref: '#/components/schemas/PurchaseOrderCancelledEvent' examples: - name: purchaseOrderCancelled summary: An ISSUED purchase order was cancelled because order-sourcing cancelled the assignment. Analytics only. payload: specversion: '1.0' id: 9b2f4c1e-6a7d-4e0b-8f31-2c5d7a9e1b44 source: /retailnetwork/vendor-connectivity type: com.retailnetwork.partner.vendor-connectivity.purchaseorder.PurchaseOrderCancelled subject: PO-3b9f1c0a7d2e4a18 time: '2026-10-22T13:05:41Z' datacontenttype: application/json dataschema: urn:retailnetwork:vendor-connectivity:analytics:PurchaseOrderCancelled:v1 data: poNumber: PO-3b9f1c0a7d2e4a18 assignmentId: asg-41d2 reason: customer cancelled VendorShipmentConfirmed: name: VendorShipmentConfirmed title: VendorShipmentConfirmed summary: The vendor confirmed shipment; the confirmation transaction succeeded. description: '`type` = `com.retailnetwork.partner.vendor-connectivity.purchaseorder.VendorShipmentConfirmed`; subject and key = `poNumber`; stream `events`. Raised by ProcessSubmission (SHIPMENT_CONFIRMATION, SUCCESS). Consumers: order-sourcing, shipping-and-tracking, node-performance.' contentType: application/cloudevents+json tags: - name: purchaseorder payload: $ref: '#/components/schemas/VendorShipmentConfirmedEvent' examples: - name: vendorShipmentConfirmed summary: The vendor confirmed shipment; the confirmation transaction succeeded. payload: specversion: '1.0' id: 9b2f4c1e-6a7d-4e0b-8f31-2c5d7a9e1b44 source: /retailnetwork/vendor-connectivity type: com.retailnetwork.partner.vendor-connectivity.purchaseorder.VendorShipmentConfirmed subject: PO-3b9f1c0a7d2e4a18 time: '2026-10-22T13:05:41Z' datacontenttype: application/json dataschema: urn:retailnetwork:vendor-connectivity:events:VendorShipmentConfirmed:v1 data: poNumber: PO-3b9f1c0a7d2e4a18 assignmentId: asg-41d2 nodeId: node-0f3a91 trackingNumbers: - BR123456789 shippedAt: '2026-10-22T17:30:00Z' requiredShipBy: '2026-10-22T18:00:00Z' SubmissionProcessed: name: SubmissionProcessed title: SubmissionProcessed summary: An asynchronous vendor write was processed (SUCCESS or FAILURE). description: '`type` = `com.retailnetwork.partner.vendor-connectivity.submission.SubmissionProcessed`; subject and key = `transactionId`; stream `events`. Raised by ProcessSubmission. Consumers: node-performance.' contentType: application/cloudevents+json tags: - name: submission payload: $ref: '#/components/schemas/SubmissionProcessedEvent' examples: - name: submissionProcessed summary: An asynchronous vendor write was processed (SUCCESS or FAILURE). payload: specversion: '1.0' id: 9b2f4c1e-6a7d-4e0b-8f31-2c5d7a9e1b44 source: /retailnetwork/vendor-connectivity type: com.retailnetwork.partner.vendor-connectivity.submission.SubmissionProcessed subject: tx-9b2f4c1e time: '2026-10-22T13:05:41Z' datacontenttype: application/json dataschema: urn:retailnetwork:vendor-connectivity:events:SubmissionProcessed:v1 data: transactionId: tx-9b2f4c1e vendorId: V-WS kind: ACKNOWLEDGEMENT status: SUCCESS errorCount: 0 NodeRegistered: name: NodeRegistered title: NodeRegistered summary: A node was registered; fills VendorNodeView. description: Consumed from node-topology. `type` = `com.retailnetwork.logistics.node-topology.node.NodeRegistered`; subject = `nodeId`. Only the listed `data` fields are relied on; unknown fields are ignored. contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/NodeRegisteredEvent' examples: - name: nodeRegistered summary: A node was registered; fills VendorNodeView. payload: specversion: '1.0' id: 3f6c2a9e-8b1d-4c7a-9e55-0d2f6b7a1c40 source: /retailnetwork/node-topology type: com.retailnetwork.logistics.node-topology.node.NodeRegistered subject: node-0f3a91 time: '2026-10-22T13:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:node-topology:events:NodeRegistered:v1 data: nodeId: node-0f3a91 nodeType: FULFILLMENT_CENTER subtype: SORTABLE operator: VENDOR vendorId: V-WS vendorNodeCode: SP-CAJAMAR-01 regionId: region-se timezone: America/Sao_Paulo NodeOperationalProfileDeclared: name: NodeOperationalProfileDeclared title: NodeOperationalProfileDeclared summary: A profile revision was declared; supplies handlingTimeMinutes for ackBy (G4). description: Consumed from node-topology. `type` = `com.retailnetwork.logistics.node-topology.node.NodeOperationalProfileDeclared`; subject = `nodeId`. Only the listed `data` fields are relied on; unknown fields are ignored. contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/NodeOperationalProfileDeclaredEvent' examples: - name: nodeOperationalProfileDeclared summary: A profile revision was declared; supplies handlingTimeMinutes for ackBy (G4). payload: specversion: '1.0' id: 3f6c2a9e-8b1d-4c7a-9e55-0d2f6b7a1c40 source: /retailnetwork/node-topology type: com.retailnetwork.logistics.node-topology.node.NodeOperationalProfileDeclared subject: node-0f3a91 time: '2026-10-22T13:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:node-topology:events:NodeOperationalProfileDeclared:v1 data: nodeId: node-0f3a91 profileRevision: 3 handlingTimeMinutes: 90 NodeActivated: name: NodeActivated title: NodeActivated summary: A node became ACTIVE. description: Consumed from node-topology. `type` = `com.retailnetwork.logistics.node-topology.node.NodeActivated`; subject = `nodeId`. Only the listed `data` fields are relied on; unknown fields are ignored. contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/NodeActivatedEvent' examples: - name: nodeActivated summary: A node became ACTIVE. payload: specversion: '1.0' id: 3f6c2a9e-8b1d-4c7a-9e55-0d2f6b7a1c40 source: /retailnetwork/node-topology type: com.retailnetwork.logistics.node-topology.node.NodeActivated subject: node-0f3a91 time: '2026-10-22T13:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:node-topology:events:NodeActivated:v1 data: nodeId: node-0f3a91 activatedAt: '2026-10-22T13:00:00Z' NodeSuspended: name: NodeSuspended title: NodeSuspended summary: A node became SUSPENDED. description: Consumed from node-topology. `type` = `com.retailnetwork.logistics.node-topology.node.NodeSuspended`; subject = `nodeId`. Only the listed `data` fields are relied on; unknown fields are ignored. contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/NodeSuspendedEvent' examples: - name: nodeSuspended summary: A node became SUSPENDED. payload: specversion: '1.0' id: 3f6c2a9e-8b1d-4c7a-9e55-0d2f6b7a1c40 source: /retailnetwork/node-topology type: com.retailnetwork.logistics.node-topology.node.NodeSuspended subject: node-0f3a91 time: '2026-10-22T13:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:node-topology:events:NodeSuspended:v1 data: nodeId: node-0f3a91 reason: audit suspendedAt: '2026-10-22T13:00:00Z' NodeRetired: name: NodeRetired title: NodeRetired summary: A node became RETIRED. description: Consumed from node-topology. `type` = `com.retailnetwork.logistics.node-topology.node.NodeRetired`; subject = `nodeId`. Only the listed `data` fields are relied on; unknown fields are ignored. contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/NodeRetiredEvent' examples: - name: nodeRetired summary: A node became RETIRED. payload: specversion: '1.0' id: 3f6c2a9e-8b1d-4c7a-9e55-0d2f6b7a1c40 source: /retailnetwork/node-topology type: com.retailnetwork.logistics.node-topology.node.NodeRetired subject: node-0f3a91 time: '2026-10-22T13:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:node-topology:events:NodeRetired:v1 data: nodeId: node-0f3a91 retiredAt: '2026-10-22T13:00:00Z' ListingCreated: name: ListingCreated title: ListingCreated summary: A listing was created; fills ListingView. description: Consumed from offer-availability. `type` = `com.retailnetwork.commerce.offer-availability.listing.ListingCreated`; subject = `listingId`. Only the listed `data` fields are relied on; unknown fields are ignored. contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/ListingCreatedEvent' examples: - name: listingCreated summary: A listing was created; fills ListingView. payload: specversion: '1.0' id: 3f6c2a9e-8b1d-4c7a-9e55-0d2f6b7a1c40 source: /retailnetwork/offer-availability type: com.retailnetwork.commerce.offer-availability.listing.ListingCreated subject: lst-77 time: '2026-10-22T13:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:offer-availability:events:ListingCreated:v1 data: listingId: lst-77 catalogItemId: item-12 nodeId: node-0f3a91 InboundReceiptSubmitted: name: InboundReceiptSubmitted title: InboundReceiptSubmitted summary: A vendor reported what its dock received against an inbound shipment; the INBOUND_RECEIPT transaction was accepted. description: '`type` = `com.retailnetwork.partner.vendor-connectivity.inboundreceipt.InboundReceiptSubmitted`; subject and key = `shipmentId`; stream `events`. Raised by SubmitInboundReceipt in the same transaction as the submission. Consumers: seller-inbound (emits InboundShipmentReceived and InboundDiscrepancyRecorded), node-performance.' contentType: application/cloudevents+json tags: - name: inboundreceipt payload: $ref: '#/components/schemas/InboundReceiptSubmittedEvent' examples: - name: inboundReceiptSubmitted summary: A receipt with one received and one damaged carton. payload: specversion: '1.0' id: 4d1a7c52-0b9e-4f36-a8c1-6e2b9d3f5a70 source: /retailnetwork/vendor-connectivity type: com.retailnetwork.partner.vendor-connectivity.inboundreceipt.InboundReceiptSubmitted subject: SHP-1001 time: '2026-10-24T13:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:vendor-connectivity:events:InboundReceiptSubmitted:v1 data: transactionId: tx-01J9Z6K4M2 vendorId: V-WS nodeId: n-1 shipmentId: SHP-1001 receivedAt: '2026-10-25T09:30:00Z' cartons: - sscc: '006141410000000012' status: RECEIVED items: - gtin: '00614141000036' qtyEaches: 12 complianceCodes: [] - sscc: '006141410000000029' status: DAMAGED items: - gtin: '00614141000036' qtyEaches: 5 complianceCodes: - CARTON_CRUSHED VendorReturnOutcomeSubmitted: name: VendorReturnOutcomeSubmitted title: VendorReturnOutcomeSubmitted summary: A vendor reported its graded return outcome against a return advice; the RETURN_OUTCOME transaction was accepted and the advice left the poll. description: '`type` = `com.retailnetwork.partner.vendor-connectivity.returnoutcome.VendorReturnOutcomeSubmitted`; subject and key = `authorizationId`; stream `events`. Raised by SubmitReturnOutcome in the same transaction as the submission and the advice reaching OUTCOME_RECORDED (ADR 0014). Consumer: customer-returns (completes the authorization).' contentType: application/cloudevents+json tags: - name: returnoutcome payload: $ref: '#/components/schemas/VendorReturnOutcomeSubmittedEvent' examples: - name: vendorReturnOutcomeSubmitted summary: One line restocked, one line of another owner unsellable. payload: specversion: '1.0' id: 5b2f8d63-1c0d-4a47-b9d2-7f3cae4a6b81 source: /retailnetwork/vendor-connectivity type: com.retailnetwork.partner.vendor-connectivity.returnoutcome.VendorReturnOutcomeSubmitted subject: ret-01J9Z6K4M2 time: '2026-11-14T13:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:vendor-connectivity:events:VendorReturnOutcomeSubmitted:v1 data: transactionId: tx-01J9Z6K4M2 vendorId: V-WS authorizationId: ret-01J9Z6K4M2 nodeId: n-1 receivedAt: '2026-11-14T12:30:00Z' lines: - catalogItemId: ci-100 qtyRestockable: 2 qtyUnsellable: 1 - catalogItemId: ci-100 ownerRef: seller-7 qtyRestockable: 0 qtyUnsellable: 3 ReturnAuthorized: name: ReturnAuthorized title: ReturnAuthorized summary: The network authorized a shopper return; creates ReturnAdviceView attributed to the operator vendor of the destination node. description: Consumed from customer-returns. `type` = `com.retailnetwork.commerce.customer-returns.returnauthorization.ReturnAuthorized`; subject = `authorizationId`. Only the listed `data` fields are relied on; unknown fields are ignored. The advice's node is `destinationNodeId`, else `originNodeId` (the ORIGIN_NODE disposition ships there); a node the view cannot attribute to a vendor is counted and skipped (WARN). contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/ReturnAuthorizedEvent' examples: - name: returnAuthorized summary: A drop-off return to the nearest returns centre. payload: specversion: '1.0' id: 6c3a9e74-2d1e-4b58-8ae3-804dbf5b7c92 source: /retailnetwork/customer-returns type: com.retailnetwork.commerce.customer-returns.returnauthorization.ReturnAuthorized subject: ret-01J9Z6K4M2 time: '2026-11-14T10:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:customer-returns:events:ReturnAuthorized:v1 data: authorizationId: ret-01J9Z6K4M2 orderId: ord-100 groupNo: 1 reason: NOT_NEEDED disposition: NEAREST_RETURNS_CENTER method: DROP_OFF lines: - lineNo: 1 catalogItemId: ci-100 quantity: 2 ownerRef: seller-7 destinationNodeId: n-1 authorizedAt: '2026-11-14T10:00:00Z' expiresAt: '2026-12-14T10:00:00Z' ReturnLabelIssued: name: ReturnLabelIssued title: ReturnLabelIssued summary: A reverse label exists for the return; the tracking number joins the advice (idempotent). description: Consumed from customer-returns. `type` = `com.retailnetwork.commerce.customer-returns.returnauthorization.ReturnLabelIssued`; subject = `authorizationId`. Only the listed `data` fields are relied on; unknown fields are ignored. The label never changes the advice's state. contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/ReturnLabelIssuedEvent' examples: - name: returnLabelIssued summary: One reverse label. payload: specversion: '1.0' id: 7d4baf85-3e2f-4c69-9bf4-915ec06c8da3 source: /retailnetwork/customer-returns type: com.retailnetwork.commerce.customer-returns.returnauthorization.ReturnLabelIssued subject: ret-01J9Z6K4M2 time: '2026-11-14T10:05:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:customer-returns:events:ReturnLabelIssued:v1 data: authorizationId: ret-01J9Z6K4M2 trackingNumber: TRK-RET-9 destinationNodeId: n-1 issuedAt: '2026-11-14T10:05:00Z' ReturnCancelled: name: ReturnCancelled title: ReturnCancelled summary: The authorization was cancelled or expired; the advice leaves the poll unless an outcome was already recorded. description: Consumed from customer-returns. `type` = `com.retailnetwork.commerce.customer-returns.returnauthorization.ReturnCancelled`; subject = `authorizationId`. Only the listed `data` fields are relied on; unknown fields are ignored. contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/ReturnCancelledEvent' examples: - name: returnCancelled summary: The shopper cancelled before shipping. payload: specversion: '1.0' id: 8e5cba96-4f30-4d7a-8c05-a26fd17d9eb4 source: /retailnetwork/customer-returns type: com.retailnetwork.commerce.customer-returns.returnauthorization.ReturnCancelled subject: ret-01J9Z6K4M2 time: '2026-11-15T09:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:customer-returns:events:ReturnCancelled:v1 data: authorizationId: ret-01J9Z6K4M2 reason: SHOPPER_CANCELLED cancelledAt: '2026-11-15T09:00:00Z' InboundShipmentLabelled: name: InboundShipmentLabelled title: InboundShipmentLabelled summary: Every carton of a shipment has its SSCC label; fills the manifest of InboundShipmentView. description: Consumed from seller-inbound. `type` = `com.retailnetwork.partner.seller-inbound.inboundshipment.InboundShipmentLabelled`; subject = `shipmentId`. Only the listed `data` fields are relied on; unknown fields are ignored. A later label replaces the manifest. contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/InboundShipmentLabelledEvent' examples: - name: inboundShipmentLabelled summary: Two cartons, one on a pallet. payload: specversion: '1.0' id: 7e0c3b18-52d4-4a96-8f7e-1b6a9c4d2e03 source: /retailnetwork/seller-inbound type: com.retailnetwork.partner.seller-inbound.inboundshipment.InboundShipmentLabelled subject: SHP-1001 time: '2026-10-24T13:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:seller-inbound:events:InboundShipmentLabelled:v1 data: shipmentId: SHP-1001 planId: PLAN-9 sellerId: S-100 nodeId: n-1 labelledAt: '2026-10-24T12:00:00Z' cartons: - sscc: '006141410000000012' parentSscc: '006141410000000036' kind: HOMOGENEOUS_CASE contents: - catalogItemId: item-12 gtin: '00614141000036' qtyEaches: 12 lot: L-77 expiry: '2027-03-01' grossWeightG: 4200 dimsMm: l: 400 w: 300 h: 200 - sscc: '006141410000000029' kind: MIXED contents: - catalogItemId: item-12 gtin: '00614141000036' qtyEaches: 6 grossWeightG: 2100 InboundShipmentShipped: name: InboundShipmentShipped title: InboundShipmentShipped summary: The seller handed the shipment over; it becomes visible to the vendor poll. description: Consumed from seller-inbound. `type` = `com.retailnetwork.partner.seller-inbound.inboundshipment.InboundShipmentShipped`; subject = `shipmentId`. Only the listed `data` fields are relied on; unknown fields are ignored. It may arrive before the label event; the shipment is offered once both arrived. contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/InboundShipmentShippedEvent' examples: - name: inboundShipmentShipped summary: A shipment was shipped. payload: specversion: '1.0' id: 1c8f5d93-6a2e-4b07-9d14-3e7a0b5c8f21 source: /retailnetwork/seller-inbound type: com.retailnetwork.partner.seller-inbound.inboundshipment.InboundShipmentShipped subject: SHP-1001 time: '2026-10-24T13:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:seller-inbound:events:InboundShipmentShipped:v1 data: shipmentId: SHP-1001 planId: PLAN-9 sellerId: S-100 nodeId: n-1 shippedAt: '2026-10-24T13:00:00Z' InboundShipmentReceived: name: InboundShipmentReceived title: InboundShipmentReceived summary: The network closed the shipment after a receipt; it leaves the vendor poll. description: Consumed from seller-inbound. `type` = `com.retailnetwork.partner.seller-inbound.inboundshipment.InboundShipmentReceived`; subject = `shipmentId`. Only the listed `data` fields are relied on; unknown fields are ignored. contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/InboundShipmentReceivedEvent' examples: - name: inboundShipmentReceived summary: A shipment closed with a discrepancy. payload: specversion: '1.0' id: 5a9e2f64-7c1b-4d08-b3a6-8f0d4e1c7b92 source: /retailnetwork/seller-inbound type: com.retailnetwork.partner.seller-inbound.inboundshipment.InboundShipmentReceived subject: SHP-1001 time: '2026-10-24T13:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:seller-inbound:events:InboundShipmentReceived:v1 data: shipmentId: SHP-1001 sellerId: S-100 nodeId: n-1 status: CLOSED_WITH_DISCREPANCY receivedAt: '2026-10-25T10:00:00Z' cartons: - sscc: '006141410000000012' status: RECEIVED - sscc: '006141410000000029' status: DAMAGED CatalogItemPackagingDeclared: name: CatalogItemPackagingDeclared title: CatalogItemPackagingDeclared summary: A packaging level was declared for a catalogue item; fills CatalogPackagingView. description: Consumed from offer-availability. `type` = `com.retailnetwork.commerce.offer-availability.catalogitem.CatalogItemPackagingDeclared`; subject = `catalogItemId`. Only the listed `data` fields are relied on; unknown fields are ignored. Both the `commerce` spelling shown and the `partner` spelling of the tier segment (`com.retailnetwork.partner.offer-availability.catalogitem.`) are dispatched. contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/CatalogItemPackagingDeclaredEvent' examples: - name: catalogItemPackagingDeclared summary: A CASE level of 12 eaches. payload: specversion: '1.0' id: 2b7d4e81-9f3a-4c56-a0e8-5d1c6f2b9a37 source: /retailnetwork/offer-availability type: com.retailnetwork.commerce.offer-availability.catalogitem.CatalogItemPackagingDeclared subject: item-12 time: '2026-10-24T13:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:offer-availability:events:CatalogItemPackagingDeclared:v1 data: catalogItemId: item-12 level: CASE gtin: '10614141000019' childGtin: '00614141000036' unitsPerPack: 12 declaredAt: '2026-10-20T08:00:00Z' CatalogItemPackLevelRetired: name: CatalogItemPackLevelRetired title: CatalogItemPackLevelRetired summary: A packaging level GTIN was retired; it stops being offered in packaging[]. description: Consumed from offer-availability. `type` = `com.retailnetwork.commerce.offer-availability.catalogitem.CatalogItemPackLevelRetired`; subject = `catalogItemId`. Only the listed `data` fields are relied on; unknown fields are ignored. Both the `commerce` spelling shown and the `partner` spelling of the tier segment (`com.retailnetwork.partner.offer-availability.catalogitem.`) are dispatched. contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/CatalogItemPackLevelRetiredEvent' examples: - name: catalogItemPackLevelRetired summary: The CASE GTIN was retired. payload: specversion: '1.0' id: 8c3e1a75-4d9b-4f20-b6a7-0e5f2d8c1b64 source: /retailnetwork/offer-availability type: com.retailnetwork.commerce.offer-availability.catalogitem.CatalogItemPackLevelRetired subject: item-12 time: '2026-10-24T13:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:offer-availability:events:CatalogItemPackLevelRetired:v1 data: catalogItemId: item-12 level: CASE gtin: '10614141000019' retiredAt: '2026-10-23T08:00:00Z' FulfillmentReleasedToNode: name: FulfillmentReleasedToNode title: FulfillmentReleasedToNode summary: An assignment was released to a node; for a VENDOR node issues a purchase order (policy IssueOnRelease). description: >- Consumed from order-sourcing. `type` = `com.retailnetwork.commerce.order-sourcing.assignment.FulfillmentReleasedToNode`; subject = `assignmentId`. Only the listed `data` fields are relied on; unknown fields are ignored. A consolidated release (ADR 0013) is one release of the carrier assignment. The top-level ids are the carrier's, `lines` are the union of the members' lines (a `listingId` may repeat, each line keeps its own `ownerRef`), and the optional `members` array and per-line `assignmentId` are ignored. It still issues ONE purchase order, lines numbered by position. contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/FulfillmentReleasedToNodeEvent' examples: - name: fulfillmentReleasedToNode summary: An assignment was released to a node; for a VENDOR node issues a purchase order (policy IssueOnRelease). payload: specversion: '1.0' id: 3f6c2a9e-8b1d-4c7a-9e55-0d2f6b7a1c40 source: /retailnetwork/order-sourcing type: com.retailnetwork.commerce.order-sourcing.assignment.FulfillmentReleasedToNode subject: asg-41d2 time: '2026-10-22T13:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:order-sourcing:events:FulfillmentReleasedToNode:v1 data: assignmentId: asg-41d2 releaseNo: 1 orderId: ord-9001 groupNo: 1 nodeId: node-0f3a91 requiredShipBy: '2026-10-22T18:00:00Z' tier: NEXT_DAY lines: - catalogItemId: item-12 listingId: lst-77 quantity: 2 FulfillmentReleaseWithdrawn: name: FulfillmentReleaseWithdrawn title: FulfillmentReleaseWithdrawn summary: A release was withdrawn before the vendor acknowledged it; cancels the ISSUED purchase order of exactly that release (policy CancelOnReleaseWithdrawn). description: >- Consumed from order-sourcing. `type` = `com.retailnetwork.commerce.order-sourcing.assignment.FulfillmentReleaseWithdrawn`; subject and key = the carrier's `assignmentId`. The order is found by (`assignmentId`, `releaseNo`), never as "the latest"; an unknown release is a no-op; an order past ISSUED stays as it is (logged). The cancel reason is `release withdrawn: ` (ADR 0013). Only the listed `data` fields are relied on; unknown fields are ignored. contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/FulfillmentReleaseWithdrawnEvent' examples: - name: fulfillmentReleaseWithdrawn summary: A merged release is dissolved after a promise revision; cancels the ISSUED purchase order of release 1. payload: specversion: '1.0' id: 6a1d7c52-0e4b-4f93-b2a8-5c9e3d4f7b10 source: /retailnetwork/order-sourcing type: com.retailnetwork.commerce.order-sourcing.assignment.FulfillmentReleaseWithdrawn subject: asg-41d2 time: '2026-10-22T14:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:order-sourcing:events:FulfillmentReleaseWithdrawn:v1 data: assignmentId: asg-41d2 releaseNo: 1 orderId: ord-9001 groupNo: 1 reason: PROMISE_REVISED withdrawnAt: '2026-10-22T14:00:00Z' FulfillmentCancelled: name: FulfillmentCancelled title: FulfillmentCancelled summary: An assignment was cancelled; cancels the ISSUED purchase order of its open release (policy CancelOnSourcingCancel). description: Consumed from order-sourcing. `type` = `com.retailnetwork.commerce.order-sourcing.assignment.FulfillmentCancelled`; subject = `assignmentId`. Only the listed `data` fields are relied on; unknown fields are ignored. contentType: application/cloudevents+json tags: - name: vendor-connectivity payload: $ref: '#/components/schemas/FulfillmentCancelledEvent' examples: - name: fulfillmentCancelled summary: An assignment was cancelled; cancels the ISSUED purchase order of its open release (policy CancelOnSourcingCancel). payload: specversion: '1.0' id: 3f6c2a9e-8b1d-4c7a-9e55-0d2f6b7a1c40 source: /retailnetwork/order-sourcing type: com.retailnetwork.commerce.order-sourcing.assignment.FulfillmentCancelled subject: asg-41d2 time: '2026-10-22T13:00:00Z' datacontenttype: application/json dataschema: urn:retailnetwork:order-sourcing:events:FulfillmentCancelled:v1 data: assignmentId: asg-41d2 orderId: ord-9001 groupNo: 1 reason: customer cancelled schemas: CloudEventEnvelope: type: object required: - specversion - id - source - type - subject - time - datacontenttype - dataschema - data properties: specversion: type: string const: '1.0' id: type: string format: uuid source: type: string const: /retailnetwork/vendor-connectivity type: type: string subject: type: string description: The aggregate root id. time: type: string format: date-time datacontenttype: type: string const: application/json dataschema: type: string description: Published envelope. Consumed envelopes have the same attributes with the producer's `source`. PoLine: type: object required: - lineNo - listingId - quantity properties: lineNo: type: integer minimum: 1 listingId: &id001 type: string quantity: type: integer minimum: 1 ownerRef: type: string description: The owner of the goods to pick (the seller's ownerRef); omitted for operator-owned stock (ADR 0012). RejectReason: type: string enum: - OUT_OF_STOCK - UNKNOWN_LISTING - CANNOT_MEET_SHIP_BY - DISCONTINUED SubmissionKind: type: string enum: - ACKNOWLEDGEMENT - INVENTORY - NODE_REGISTRATION - NODE_PROFILE - SHIPMENT_CONFIRMATION - INBOUND_RECEIPT - RETURN_OUTCOME VendorOnboardedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - vendorId - name - ackWindowMinutes properties: vendorId: type: string name: type: string ackWindowMinutes: type: integer minimum: 60 maximum: 1440 VendorSuspendedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - vendorId - suspendedAt properties: vendorId: type: string suspendedAt: type: string format: date-time reason: type: string VendorReinstatedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - vendorId - reinstatedAt properties: vendorId: type: string reinstatedAt: type: string format: date-time PurchaseOrderIssuedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - poNumber - vendorId - nodeId - assignmentId - releaseNo - requiredShipBy - ackBy - lines properties: poNumber: type: string vendorId: type: string nodeId: type: string assignmentId: type: string releaseNo: type: integer minimum: 1 requiredShipBy: type: string format: date-time ackBy: type: string format: date-time lines: type: array minItems: 1 items: $ref: '#/components/schemas/PoLine' PurchaseOrderAcceptedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - poNumber - assignmentId - releaseNo - nodeId - acceptedAt - transactionId properties: poNumber: type: string assignmentId: type: string releaseNo: type: integer minimum: 1 nodeId: type: string acceptedAt: type: string format: date-time transactionId: type: string PurchaseOrderRejectedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - poNumber - assignmentId - releaseNo - nodeId - reasonCode - rejectedAt properties: poNumber: type: string assignmentId: type: string releaseNo: type: integer minimum: 1 nodeId: type: string reasonCode: $ref: '#/components/schemas/RejectReason' rejectedAt: type: string format: date-time PurchaseOrderExpiredEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - poNumber - assignmentId - releaseNo - nodeId - ackBy properties: poNumber: type: string assignmentId: type: string releaseNo: type: integer minimum: 1 nodeId: type: string ackBy: type: string format: date-time PurchaseOrderCancelledEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - poNumber - assignmentId - reason properties: poNumber: type: string assignmentId: type: string reason: type: string VendorShipmentConfirmedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - poNumber - assignmentId - nodeId - trackingNumbers - shippedAt - requiredShipBy properties: poNumber: type: string assignmentId: type: string nodeId: type: string trackingNumbers: type: array minItems: 1 items: *id001 shippedAt: type: string format: date-time requiredShipBy: type: string format: date-time SubmissionProcessedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - transactionId - vendorId - kind - status - errorCount properties: transactionId: type: string vendorId: type: string kind: $ref: '#/components/schemas/SubmissionKind' status: type: string enum: - SUCCESS - FAILURE errorCount: type: integer minimum: 0 NodeRegisteredEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - nodeId - nodeType - operator properties: nodeId: type: string nodeType: type: string subtype: type: string operator: type: string enum: - NETWORK - VENDOR vendorId: type: string vendorNodeCode: type: string regionId: type: string timezone: type: string NodeOperationalProfileDeclaredEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - nodeId - profileRevision - handlingTimeMinutes properties: nodeId: type: string profileRevision: type: integer minimum: 1 handlingTimeMinutes: type: integer minimum: 0 NodeActivatedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - nodeId properties: nodeId: type: string NodeSuspendedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - nodeId properties: nodeId: type: string NodeRetiredEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - nodeId properties: nodeId: type: string ListingCreatedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - listingId - nodeId properties: listingId: type: string catalogItemId: type: string nodeId: type: string InboundReceiptSubmittedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - transactionId - vendorId - nodeId - shipmentId - receivedAt - cartons properties: transactionId: type: string vendorId: type: string nodeId: type: string shipmentId: type: string receivedAt: type: string format: date-time cartons: type: array items: type: object required: - sscc - status - items - complianceCodes properties: sscc: type: string status: type: string enum: - RECEIVED - MISSING - UNEXPECTED - DAMAGED items: type: array items: type: object required: - gtin - qtyEaches properties: gtin: type: string qtyEaches: type: integer minimum: 0 complianceCodes: type: array items: type: string VendorReturnOutcomeSubmittedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - transactionId - vendorId - authorizationId - nodeId - receivedAt - lines properties: transactionId: type: string vendorId: type: string authorizationId: type: string nodeId: type: string receivedAt: type: string format: date-time lines: type: array minItems: 1 description: Between 1 and 50 lines; the service never accepts an outcome with more. items: type: object required: - catalogItemId - qtyRestockable - qtyUnsellable properties: catalogItemId: type: string ownerRef: type: string qtyRestockable: type: integer minimum: 0 description: 0 to 2147483647. qtyUnsellable: type: integer minimum: 0 description: 0 to 2147483647. ReturnAuthorizedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - authorizationId - disposition - lines - authorizedAt properties: authorizationId: type: string orderId: type: string groupNo: type: integer reason: type: string disposition: type: string enum: - KEEP - NEAREST_RETURNS_CENTER - ORIGIN_NODE method: type: string enum: - DROP_OFF - PICKUP lines: type: array items: type: object required: - lineNo - catalogItemId - quantity properties: lineNo: type: integer catalogItemId: type: string quantity: type: integer minimum: 1 ownerRef: type: string destinationNodeId: type: string originNodeId: type: string authorizedAt: type: string format: date-time expiresAt: type: string format: date-time ReturnLabelIssuedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - authorizationId - trackingNumber - issuedAt properties: authorizationId: type: string trackingNumber: type: string destinationNodeId: type: string issuedAt: type: string format: date-time ReturnCancelledEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - authorizationId - cancelledAt properties: authorizationId: type: string reason: type: string cancelledAt: type: string format: date-time InboundShipmentLabelledEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - shipmentId - nodeId - cartons properties: shipmentId: type: string planId: type: string sellerId: type: string nodeId: type: string labelledAt: type: string format: date-time cartons: type: array items: type: object required: - sscc - kind - contents properties: sscc: type: string parentSscc: type: string kind: type: string contents: type: array items: type: object required: - gtin - qtyEaches properties: catalogItemId: type: string gtin: type: string qtyEaches: type: integer lot: type: string expiry: type: string format: date grossWeightG: type: integer dimsMm: type: object properties: l: type: integer w: type: integer h: type: integer InboundShipmentShippedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - shipmentId - nodeId - shippedAt properties: shipmentId: type: string planId: type: string sellerId: type: string nodeId: type: string shippedAt: type: string format: date-time InboundShipmentReceivedEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - shipmentId - nodeId - status properties: shipmentId: type: string sellerId: type: string nodeId: type: string status: type: string enum: - CLOSED - CLOSED_WITH_DISCREPANCY receivedAt: type: string format: date-time CatalogItemPackagingDeclaredEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - catalogItemId - level - gtin - unitsPerPack - declaredAt properties: catalogItemId: type: string level: type: string enum: - EACH - INNER - CASE - PALLET gtin: type: string childGtin: type: string unitsPerPack: type: integer declaredAt: type: string format: date-time CatalogItemPackLevelRetiredEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - catalogItemId - level - gtin - retiredAt properties: catalogItemId: type: string level: type: string enum: - EACH - INNER - CASE - PALLET gtin: type: string retiredAt: type: string format: date-time FulfillmentReleasedToNodeEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - assignmentId - releaseNo - orderId - nodeId - requiredShipBy - tier - lines properties: assignmentId: type: string releaseNo: type: integer minimum: 1 orderId: type: string groupNo: type: integer nodeId: type: string requiredShipBy: type: string format: date-time tier: type: string enum: - SAME_DAY - NEXT_DAY - TWO_DAY - STANDARD lines: type: array minItems: 1 items: type: object required: - listingId - quantity properties: listingId: *id001 quantity: type: integer minimum: 1 ownerRef: type: string description: Optional. The owner of the stock to pick (the seller's ownerRef); absent means operator-owned stock (ADR 0012). FulfillmentReleaseWithdrawnEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - assignmentId - releaseNo properties: assignmentId: type: string description: The carrier's assignment id. releaseNo: type: integer minimum: 1 orderId: type: string description: The carrier's order id. Not relied on. groupNo: type: integer description: The carrier's group number. Not relied on. reason: type: string description: Today `PROMISE_REVISED` only; carried into the cancel reason as an opaque string. withdrawnAt: type: string format: date-time description: Not relied on. FulfillmentCancelledEvent: allOf: - $ref: '#/components/schemas/CloudEventEnvelope' - type: object properties: data: type: object required: - assignmentId properties: assignmentId: type: string reason: type: string