Create a location
CallPOST /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
CallPATCH /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_urlis downloaded, validated, stored by Chataigne, and replaces the profile picture. It must be a non-empty URL — sendingimage_url: null(or"") is rejected with400 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
addressalso keep their current value. - An explicit
nullclears a nullable address field such asline2.
Location profile fields
Configure the location
Continue with ordering, hours, delivery, acceptance, and AI settings.