added
23.0.51
5 months ago by José Carlos Aguilar
Sales Order API
Users can now import (create) sales orders via API.
{
"customer": {
"id": "<string>"
},
"project": {
"id": "<string>"
},
"payment": {
"method": {
"id": "<string>"
},
"currency": "<ISO-4217>",
"paymentTerms": {
"earlyPaymentDiscount": "<float>",
"dueDate": "<long>",
"earlyPaymentDate": "<long>"
},
"billingAddress": {
"name": "<string>",
"street": "<string>",
"city": "<string>",
"zipCode": "<string>",
"country": "<string>",
"contactPerson": "<string>",
"department": "<string>",
"subDepartment": "<string>",
"state": "<string>",
"additionalDetails": "<string>",
"gln": "<string>"
}
},
"delivery": {
"method": {
"id": "<string>"
},
"email": "<email>",
"conditions": "<string>",
"autoShipping": "<boolean>",
"fastLane": "<boolean>",
"shippingAddress": {
"name": "<string>",
"street": "<string>",
"city": "<string>",
"zipCode": "<string>",
"country": "<string>",
"contactPerson": "<string>",
"state": "<string>",
"department": "<string>",
"subDepartment": "<string>",
"additionalDetails": "<string>",
"gln": "<string>"
}
},
"externalOrderNumber": "<string>",
"date": "<date>",
"name": "<string>",
"language": {
"id": "<string>"
},
"tags": [
{
"id": "<string>"
},
{
"id": "<string>"
}
]
}