Discussions
Documenation on /api/invoice/_execute - ProcessOrderAdjustment
8 days ago
Hello,
Beyond a few discussion posts, one with a dead link: I did not find documentation on this.
I am trying to do the following post based on what little I have and it is just returning an error 500:
Any insights?
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "ProcessOrderAdjustment",
"EntityTypeName": "Invoice",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.InvoiceActionOrderAdjustmentData, Asi.Contracts",
"$value": [
{
"$type": "Asi.Soa.Commerce.DataContracts.InvoiceActionOrderAdjustmentData, Asi.Contracts",
"InvoiceId": "10423",
"AdjustmentDate": "2026-01-13",
"AdjustmentReason": "Price Update",
"OrderLineAdjustments": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.PartialOrderLine, Asi.Contracts",
"ProductCode": "VCON",
"NewUnitPrice": 50,
"IsNewLine": false
}
]
}
}
]
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.InvoiceActionOrderAdjustmentData, Asi.Contracts"
]
},
"UseJson": false
}
Thanks,
Andrew Tang
