event driven microservice
A Postman collection is available under the doc
directory.
- Request Delivery Order (
POST /delivery
) - Request Delivery Preparing (
PUT /delivery/{deliverId}/prepare
)- delivery state change message published
- Request Delivery Packaging (
PUT /delivery/{deliverId}/package
)- delivery state change message published
- Request Delivery Shipping (
PUT /delivery/{deliverId}/ship
)- delivery state change message published
- Request Delivery Complete (temporary fix) (
PUT /delivery/{deliverId}/complete
)- delivery state change message published
- Find Delivery by delivery ID (
GET /delivery/{deliverId}
) - Find delivery by order number (
GET /delivery?orderNo={orderNo}
) - Search deliveries by state (
GET /delivery/searches?pageNo={0}&pageSize={10}&state={state}
)- Find all:
GET /delivery/searches?pageNo={0}&pageSize={10}
- Find by state:
state={paid, preparing, packaging, shipped, delivered}
- Find all: