createReplacementPurchaseOrder
WRITECreate Replacement Purchase Order: a draft PO from the return lines, priced from the linked PO line (purchase-UOM price + conversion factor copied) else the su….
POST /api/v1/purchasing/createReplacementPurchaseOrder
curl -X POST '<your-host>/api/v1/purchasing/createReplacementPurchaseOrder' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"purchaseReturnOrderId": "string"
}'Response
{
"id": "string"
}Parameters
ParameterType
Input schema
schema
{
"type": "object",
"properties": {
"purchaseReturnOrderId": {
"type": "string"
}
},
"required": [
"purchaseReturnOrderId"
]
}