Sign in

Update library item

documented

Update a library item.

PUT /libitem/{libItemId}LibItemno 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/libitem/{{$libItemId}}" \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Cookie: PHPSESSID={{SERVICETRADE_SECRET}}" \
  -d '{"name": "{{$name}}", "code": "{{$code}}", "type": "{{$type}}", "cost": {{$cost}}, "serviceLineId": {{$serviceLineId}}, "companyId": {{$companyId}}, "active": {{$active}}, "taxable": {{$taxable}}, "techId": {{$techId}}}'