Sign in

Update location

documented

Update an existing Location resource by id.

POST /locations/{id}Locationsno 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.usecopper.com/next/locations/{{$id}}" \
  -X POST \
  -u "{{COPPER_API_KEY}}": \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "display_name": "{{$display_name}}",
    "phone": "{{$phone}}",
    "website": "{{$website}}",
    "address": {
      "line1": "{{$line1}}",
      "line2": "{{$line2}}",
      "city": "{{$city}}",
      "state": "{{$state}}",
      "postal_code": "{{$postal_code}}",
      "country": "{{$country}}"
    },
    "metadata": {{$metadata}}
  }'