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": "[email protected]",
"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": "[email protected]",
"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": "[email protected]",
"phone": "<string>"
},
"lines": [
{
"line_number": "<string>",
"product_id": "<string>",
"product_name": "<string>",
"quantity": 123,
"unit": "pc",
"unit_price": {
"amount": 123,
"currency": "EUR"
},
"total_amount": {
"amount": 123,
"currency": "EUR"
},
"net_amount": {
"amount": 123,
"currency": "EUR"
},
"tax_details": {
"rate": 123,
"amount": {
"amount": 123,
"currency": "EUR"
},
"type": "<string>",
"taxable_amount": {
"amount": 123,
"currency": "EUR"
}
},
"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>",
"taxable_amount": {
"amount": 123,
"currency": "EUR"
}
}
],
"expected_delivery_date": "2023-11-07T05:31:56Z"
}
'{
"message": "Order created successfully",
"transmission_id": "<string>",
"": "<string>"
}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": "[email protected]",
"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": "[email protected]",
"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": "[email protected]",
"phone": "<string>"
},
"lines": [
{
"line_number": "<string>",
"product_id": "<string>",
"product_name": "<string>",
"quantity": 123,
"unit": "pc",
"unit_price": {
"amount": 123,
"currency": "EUR"
},
"total_amount": {
"amount": 123,
"currency": "EUR"
},
"net_amount": {
"amount": 123,
"currency": "EUR"
},
"tax_details": {
"rate": 123,
"amount": {
"amount": 123,
"currency": "EUR"
},
"type": "<string>",
"taxable_amount": {
"amount": 123,
"currency": "EUR"
}
},
"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>",
"taxable_amount": {
"amount": 123,
"currency": "EUR"
}
}
],
"expected_delivery_date": "2023-11-07T05:31:56Z"
}
'{
"message": "Order created successfully",
"transmission_id": "<string>",
"": "<string>"
}Order
Show child attributes
Internal platform UUID
The order number from the buyer's system
The order number from the seller's system
purchase_order, sales_order EUR, USD, GBP Buyer information
Show child attributes
Show child attributes
Address line 1 (e.g., street name and number)
City name
AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SE, AL, AD, BY, BA, IS, LI, MD, MC, ME, MK, NO, RU, SM, RS, CH, TR, UA, GB, VA Address line 2 (e.g., apartment, suite, unit, building)
Contact person name
Contact email
Contact phone
Show child attributes
Show child attributes
Address line 1 (e.g., street name and number)
City name
AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SE, AL, AD, BY, BA, IS, LI, MD, MC, ME, MK, NO, RU, SM, RS, CH, TR, UA, GB, VA Address line 2 (e.g., apartment, suite, unit, building)
Contact person name
Contact email
Contact phone
Show child attributes
Show child attributes
Address line 1 (e.g., street name and number)
City name
AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SE, AL, AD, BY, BA, IS, LI, MD, MC, ME, MK, NO, RU, SM, RS, CH, TR, UA, GB, VA Address line 2 (e.g., apartment, suite, unit, building)
Contact person name
Contact email
Contact phone
Show child attributes
pc, box, ctn, plt, pack, bundle, kg, g, mg, t, l, ml, m3 Show child attributes
Tax rate percentage
Tax type (e.g., VAT)
Tax details
Show child attributes
Tax rate percentage
Tax type (e.g., VAT)