getCreditableQuantitiesForPurchaseReturn
READPer-line creditable pool = shipped − already credited.
POST /api/v1/purchasing/getCreditableQuantitiesForPurchaseReturn
curl -X POST '<your-host>/api/v1/purchasing/getCreditableQuantitiesForPurchaseReturn' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"purchaseReturnOrderId": "string"
}'Response
{
"results": [
{
"purchaseReturnOrderLineId": "string",
"lineNumber": 0,
"quantityShipped": 0,
"quantityCredited": 0,
"creditableQuantity": 0,
"unitPrice": 0,
"restockFeePercent": 0
}
],
"count": null
}Parameters
ParameterType
Input schema
schema
{
"type": "object",
"properties": {
"purchaseReturnOrderId": {
"type": "string"
}
},
"required": [
"purchaseReturnOrderId"
]
}