Import client
documentedImport a single client from your system into Repsly.
POST https://api.repsly.com/v3/import/clientClientsno 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.repsly.com/v3/import/client" \
-X POST \
-H "Authorization: Basic {{REPSLY_SECRET}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"Code": "{{$code}}", "Name": "{{$name}}", "Active": true, "Territory": "{{$territory}}", "RepresentativeCode": "{{$repCode}}", "RepresentativeName": "{{$repName}}", "StreetAddress": "{{$address}}", "ZIP": "{{$zip}}", "ZIPExt": "{{$zipExt}}", "City": "{{$city}}", "State": "{{$state}}", "Country": "{{$country}}", "Email": "{{$email}}", "Phone": "{{$phone}}", "Mobile": "{{$mobile}}", "Website": "{{$website}}", "ContactName": "{{$contactName}}", "ContactTitle": "{{$contactTitle}}", "Note": "{{$note}}", "Status": "{{$status}}", "AccountCode": "{{$accountCode}}", "CustomFields": { "Item": [ { "Field": "{{$customFieldName}}", "Value": "{{$customFieldValue}}" } ] } }}'
# Source: Repsly API docs
# Endpoint: https://api.repsly.com/v3/import/client
# Auth: Basic (username:password) encoded as Base64 in {{REPSLY_SECRET}}