Create service item (standalone)
documentedCreate a new service item.
POST /serviceitemService Itemno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.servicetrade.com/api/serviceitem" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Cookie: PHPSESSID={{SERVICETRADE_SESSION_COOKIE}}" \
-d '{"serviceRequestId": {{$serviceRequestId}}, "quantity": {{$quantity}}, "price": {{$price}}, "description": "{{$description}}", "libItemId": {{$libItemId}}, "serviceLineId": {{$serviceLineId}}, "orderIndex": {{$orderIndex}}}'