Create library item
documentedCreate a library item.
POST /libitemLibItemno 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/libitem" \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Cookie: PHPSESSID={{SERVICETRADE_SESSION_TOKEN}}" \
-d '{"name":"{{$name}}","type":"{{$type}}","serviceLineId":{{$serviceLineId}},"code":"{{$code}}","cost":{{$cost}},"companyId":{{$companyId}}}'