POST
/v1/orders
curl \
--request POST 'https://localhost/v1/orders' \
--header "Content-Type: application/json" \
--data '{"payload":[{"familyId":"fml_xxxxxxxxxxxxxxxxxxxxxxxxxx","date":"2023-12-05","items":[{"description":"string","amount":100,"discount":100,"taxRateId":"string"}]}]}'
Request examples
{
"payload": [
{
"familyId": "fml_xxxxxxxxxxxxxxxxxxxxxxxxxx",
"date": "2023-12-05",
"items": [
{
"description": "string",
"amount": 100,
"discount": 100,
"taxRateId": "string"
}
]
}
]
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (422)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}