Sign in

Update contact

documented

Update an existing contact.

PUT /contacts/{contact_id}Accountingno 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://api.accounting.sage.com/v3.1/contacts/{{$contact_id}}" \
  -X PUT \
  -H "Authorization: Bearer {{oauth2_access_token}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-Business: {{$business_id}}" \
  -d '{"contact": {"name": "{{$contact_name}}", "reference": "{{$reference}}", "contact_type_ids": ["CUSTOMER"], "main_address": {"address_line_1": "{{$address_line_1}}", "address_line_2": "{{$address_line_2}}", "city": "{{$city}}", "region": "{{$region}}", "postal_code": "{{$postal_code}}", "country_group_id": "{{$country_group_id}}"}}}'
Update contact · Sage · OpenIntegrations