Skip to main content
Use this guide when you need to add a restaurant to an existing business organization or change the profile of an existing location. Resource discovery belongs in Find your resources.

Create a location

Call POST /v1/organizations/{organization_id}/locations with a business-organization-scoped key. The key needs location.create, and the organization must be in its scope. The initial location requires name, currency, country, timezone, and a complete address. default_language, contact_information, and image_url are optional. When supplied, image_url must be a publicly reachable JPG, PNG, or WebP image no larger than 5 MB; Chataigne imports it into managed storage for the location profile picture.
Idempotency-Key is required for this creation request. Reuse the same value only when retrying the same request body. The response is the created location resource. Store its id for later settings and analytics calls.

Update a location profile

Call PATCH /v1/locations/{location_id} with location.update. Send only the fields you want to change:
PATCH is a partial update:
  • Omitted top-level fields keep their current value, including the current profile picture.
  • A supplied image_url is downloaded, validated, stored by Chataigne, and replaces the profile picture. It must be a non-empty URL — sending image_url: null (or "") is rejected with 400 INVALID_IMAGE_URL; the API has no way to clear an existing picture, so omit the field to keep the current one.
  • Omitted fields inside address also keep their current value.
  • An explicit null clears a nullable address field such as line2.
Currency, country, and timezone are set when the location is created and are not changed by this endpoint.

Location profile fields

Configure the location

Continue with ordering, hours, delivery, acceptance, and AI settings.