Create custom field
documentedCreate a new custom field.
POST /api/custom-fieldsCustom Fieldsno 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://{{$domain}}.gorgias.com/api/custom-fields" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "type": "{{$type}}", "description": "{{$description}}", "required": {{$required}}, "active": {{$active}}, "options": {{$options}} }'