curl --request POST \
--url http://localhost/api/orders \
--header 'Content-Type: application/json' \
--data '
{
"identification": {
"seller": {
"pink_id": "<string>",
"gln": "<string>"
},
"buyer": {
"pink_id": "<string>",
"gln": "<string>"
},
"pink_id": "<string>",
"buyer_order_id": "<string>",
"seller_order_id": "<string>"
},
"type": "purchase_order",
"order_date": "2023-11-07T05:31:56Z",
"currency": "EUR",
"buyer": {
"name": "<string>",
"address": {
"line1": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "AT",
"line2": "<string>"
},
"identification": {
"gln": "<string>",
"tax_id": "<string>"
},
"contact_person": "<string>",
"email": "jsmith@example.com",
"phone": "<string>"
},
"delivery_address": {
"name": "<string>",
"address": {
"line1": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "AT",
"line2": "<string>"
},
"identification": {
"gln": "<string>",
"tax_id": "<string>"
},
"contact_person": "<string>",
"email": "jsmith@example.com",
"phone": "<string>"
},
"seller": {
"name": "<string>",
"address": {
"line1": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "AT",
"line2": "<string>"
},
"identification": {
"gln": "<string>",
"tax_id": "<string>"
},
"contact_person": "<string>",
"email": "jsmith@example.com",
"phone": "<string>"
},
"lines": [
{
"line_number": "<string>",
"product_id": "<string>",
"product_name": "<string>",
"quantity": 123,
"unit": "pc",
"expected_delivery_date": "2023-11-07T05:31:56Z"
}
],
"total_amount": {
"amount": 123,
"currency": "EUR"
},
"net_amount": {
"amount": 123,
"currency": "EUR"
},
"tax_details": [
{
"rate": 123,
"amount": {
"amount": 123,
"currency": "EUR"
},
"type": "<string>"
}
],
"expected_delivery_date": "2023-11-07T05:31:56Z"
}
'