curl --location --request PATCH 'https://prod.your-api-server.com/campaign-item/880e8400-e29b-41d4-a716-446655440003' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"qty": 750,
"allocationRules": [
{
"property": "store",
"rule": "include",
"values": [
"STORE001",
"STORE002",
"STORE003"
],
"quantities": [
250,
250,
250
]
}
]
}'{
"_id": "880e8400-e29b-41d4-a716-446655440003",
"clientId": "client123",
"campaignId": {
"_id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Summer Sale 2025",
"state": 101
},
"itemId": {
"_id": "660e8400-e29b-41d4-a716-446655440001",
"name": "Promotional Flyer",
"posNumber": "FLY001"
},
"assetId": "770e8400-e29b-41d4-a716-446655440002",
"status": 102,
"qty": 750,
"fixedPrice": 25.5,
"oversType": "percent",
"oversValue": 10,
"warehouseType": "percent",
"warehouseQuantity": 75,
"total": 825,
"isActive": true,
"isPriorityAllocation": false,
"hasArtwork": true,
"hasAllocations": true,
"allocationRules": [
{
"property": "store",
"rule": "include",
"values": [
"STORE001",
"STORE002",
"STORE003"
],
"quantities": [
250,
250,
250
]
}
],
"meta": {
"customField1": "Summer Campaign"
},
"createdAt": "2025-09-09T10:00:00Z",
"updatedAt": "2025-09-09T15:45:00Z"
}