include classpath("persistence/inmemory.conf")
# include classpath("persistence/local.conf")
# include classpath("persistence/inmemory.conf")
include classpath("persistence/local.conf")
curl --location --request POST 'localhost:8081/api/orders' \
--header 'Content-Type: application/json' \
--data-raw '{
"accountId" : "test-account-id",
"detail" : {
"items" : []
}
}'
curl --location --request POST 'localhost:8081/api/orders/{order-id}/make-shipped'
curl --location --request POST 'localhost:8081/api/orders/{order-id}/cancel'
Cancel due to discontinuation
curl --location --request POST 'localhost:8081/api/orders/{order-id}/cancel-discontinuation'