curl --location --request POST 'https://prod.your-api-server.com/campaign-item' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"campaignId": "550e8400-e29b-41d4-a716-446655440000",
"itemId": "660e8400-e29b-41d4-a716-446655440001",
"assetId": "770e8400-e29b-41d4-a716-446655440002",
"qty": 100,
"fixedPrice": 25.5,
"oversType": "percent",
"oversValue": 10,
"warehouseType": "percent",
"warehouseQuantity": 0,
"isPriorityAllocation": false,
"meta": {
"customField1": "value1"
}
}'{
"_id": "880e8400-e29b-41d4-a716-446655440003",
"clientId": "client123",
"campaignId": {
"_id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Summer Sale 2025",
"state": 100
},
"itemId": {
"_id": "660e8400-e29b-41d4-a716-446655440001",
"name": "Promotional Flyer",
"posNumber": "FLY001"
},
"assetId": "770e8400-e29b-41d4-a716-446655440002",
"status": 100,
"qty": 100,
"fixedPrice": 25.5,
"oversType": "percent",
"oversValue": 10,
"warehouseType": "percent",
"warehouseQuantity": 0,
"total": 0,
"isActive": true,
"isPriorityAllocation": false,
"hasArtwork": true,
"perBoxQty": 1,
"allocationRules": [],
"meta": {
"customField1": "value1"
},
"createdAt": "2025-09-09T10:00:00Z",
"updatedAt": "2025-09-09T10:00:00Z"
}