v1
latestOpenAPI 3.0.02026-07-2455104.8 MBSales Order
Import sales order
Import a sales order from external marketplace
post/api/v1/salesOrders/actions/import
Request body
Example request
{
"tags": [
{
"id": "17"
}
],
"customer": {
"id": "1337"
},
"project": {
"id": "1337"
},
"salesChannel": {
"id": "1337"
},
"language": {
"iso2": "DE"
},
"financials": {
"paymentMethod": {
"id": "3"
},
"currency": "EUR"
},
"delivery": {
"shippingCosts": [
{
"id": "17",
"shippingCostProduct": {
"id": "17",
"freeFields": [
{
"id": "17"
}
]
},
"tax": {
"vatCategory": "reduced",
"rate": 0.5,
"taxText": "Tax Text"
},
"price": {
"amount": "13.37",
"currency": "EUR"
}
}
],
"shippingMethod": {
"id": "1337"
},
"deliveryTerms": {
"id": "1337"
}
},
"positions": [
{
"id": "17",
"product": {
"id": "17",
"freeFields": [
{
"id": "17"
}
]
},
"tax": {
"vatCategory": "reduced",
"rate": 0.5,
"taxText": "Tax Text"
},
"price": {
"amount": "13.37",
"currency": "EUR"
}
}
],
"discountPositions": [
{
"discountProduct": {
"id": "17",
"freeFields": [
{
"id": "17"
}
]
},
"tax": {
"vatCategory": "reduced",
"rate": 0.5,
"taxText": "Tax Text"
},
"value": {
"amount": "13.37",
"currency": "EUR"
}
}
]
}Response
Resource successfully created response