{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"description": "Identifier for the item (SKU or product ID)."
},
"lineId": {
"type": "string",
"description": "Unique identifier for this reservation line."
},
"nodeId": {
"type": "string",
"description": "Identifier for the fulfillment node."
},
"quantity": {
"type": "number",
"description": "Quantity to reserve."
},
"orderType": {
"type": "string",
"description": "Type of order (e.g., 'SALES', 'TRANSFER')."
},
"orderNumber": {
"type": "string",
"description": "Associated order number."
},
"action": {
"type": "string",
"enum": [
"RESERVE",
"RELEASE",
"UPDATE"
],
"description": "Reservation action to perform."
},
"channel": {
"type": "string",
"description": "Sales channel for the reservation."
},
"demandSegment": {
"type": "string",
"description": "Demand segment for the reservation."
}
},
"required": [
"itemId",
"lineId",
"nodeId",
"quantity"
]
},
"description": "List of reservation lines to process."
}
},
"required": [
"PCID",
"lines"
]
}