Skip to content

shortCloseSalesReturnOrderLine

WRITE

Short-close ("stop expecting") an RMA line — the shortClosePurchaseOrderLine mechanic.

POST /api/v1/sales/shortCloseSalesReturnOrderLine
curl -X POST '<your-host>/api/v1/sales/shortCloseSalesReturnOrderLine' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "lineId": "string",
    "salesReturnOrderId": "string",
    "intent": "close"
  }'

Parameters

ParameterType
"close""reopen"

Input schema

schema
{
  "type": "object",
  "properties": {
    "lineId": {
      "type": "string"
    },
    "salesReturnOrderId": {
      "type": "string"
    },
    "intent": {
      "type": "string",
      "enum": [
        "close",
        "reopen"
      ]
    }
  },
  "required": [
    "lineId",
    "salesReturnOrderId",
    "intent"
  ]
}