Sign in

Create customer

documented

Creates a new customer.

POST /customersCustomerno 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://{{$subdomain}}.repairshopr.com/api/v1/customers?api_key={{REPAIRSHOPR_API_KEY}}" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -d '{"name": "{{$name}}", "email": "{{$email}}", "phone": "{{$phone}}", "address1": "{{$address1}}", "address2": "{{$address2}}", "city": "{{$city}}", "state": "{{$state}}", "postal_code": "{{$postal_code}}", "country": "{{$country}}", "company": "{{$company}}", "notes": "{{$notes}}"}'"