Create Order (v0.0.1)

Command requesting an order be created

Command

Overview

Requests the creation of a new order. Note that this order is a barebones skeleton to which other information can be attached later in the workflow. Users create an order, indicate if it’s going to be a consignment order, and then proceed with one or more amendments.

Architecture diagram

accepts
Create Order
v0.0.1Command
Orders
v0.0.1Service
Key
  • Event
  • Service
  • Command

Schema (JSON schema)

orderId
string<uuid>
required

The unique identifier of the order.

description
string
required

Description of the order.

isConsignment
boolean
required

Indicates whether or not this order is a consignment order.