Procurify · Schema
OrderItemPurchaseEdit
Spend ManagementProcurementPurchase OrdersAccounts PayableVendor ManagementBudget TrackingProcure-to-PayERP Integration
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | |
| name | string | |
| sku | string | |
| unit | string | |
| quantity | string | |
| price | string | |
| po_note | string | |
| custom_fields | array | |
| tax_amount | string | |
| shipping_amount | string | |
| receive_method | object |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "OrderItemPurchaseEdit",
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string",
"maxLength": 255
},
"sku": {
"type": "string",
"maxLength": 100
},
"unit": {
"type": "string",
"maxLength": 30
},
"quantity": {
"type": "string",
"format": "decimal",
"pattern": "^-?\\d{0,10}(?:\\.\\d{0,5})?$"
},
"price": {
"type": "string",
"format": "decimal",
"pattern": "^-?\\d{0,13}(?:\\.\\d{0,8})?$"
},
"po_note": {
"type": "string",
"title": "Comment"
},
"custom_fields": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
}
},
"tax_amount": {
"type": "string",
"format": "decimal",
"pattern": "^-?\\d{0,13}(?:\\.\\d{0,8})?$",
"nullable": true
},
"shipping_amount": {
"type": "string",
"format": "decimal",
"pattern": "^-?\\d{0,13}(?:\\.\\d{0,8})?$",
"nullable": true
},
"receive_method": {
"allOf": [
{
"$ref": "#/components/schemas/ReceiveMethodEnum"
}
],
"minimum": 0,
"maximum": 65535
}
},
"required": [
"custom_fields",
"id",
"name",
"price",
"quantity",
"unit"
]
}