Create location
documentedCreate a new location.
POST /locationLocationno 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/location" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"name": "{{$location_name}}", "addressStreet": "{{$addressStreet}}", "addressCity": "{{$addressCity}}", "addressState": "{{$addressState}}", "addressPostalCode": "{{$addressPostalCode}}", "companyId": {{$companyId}}}'