Skip to content

upsertItemInspectionDocumentAssignment

DESTRUCTIVE

Upsert item inspection document assignment.

POST /api/v1/quality/upsertItemInspectionDocumentAssignment
curl -X POST '<your-host>/api/v1/quality/upsertItemInspectionDocumentAssignment' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "itemId": "string",
    "usage": "Receipt"
  }'

Parameters

ParameterType
min length 1
"Receipt"

Input schema

schema
{
  "type": "object",
  "properties": {
    "itemId": {
      "type": "string",
      "minLength": 1
    },
    "usage": {
      "type": "string",
      "enum": [
        "Receipt"
      ]
    },
    "inspectionDocumentId": {
      "type": "string"
    }
  },
  "required": [
    "itemId",
    "usage"
  ]
}