Sign in

Update service item

documented

Update a service item.

PUT /servicerequest/{serviceRequestId}/item/{itemId}Service Itemno implementation yet0 runs
No 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/servicerequest/{{$serviceRequestId}}/item/{{$itemId}}" \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Cookie: PHPSESSID={{AUTH_SESSION_COOKIE}}" \
  -d '{"serviceRequestId": {{$serviceRequestId}}, "serviceRecurrenceId": {{$serviceRecurrenceId}}, "serviceTemplateId": {{$serviceTemplateId}}, "quantity": {{$quantity}}, "price": {{$price}}, "description": "{{$description}}", "libItemId": {{$libItemId}}, "serviceLineId": {{$serviceLineId}}, "orderIndex": {{$orderIndex}}}'