Skip to main content
PATCH
/
ecommerce
/
v2
/
apps
/
{app_id}
/
branches
/
{branch_id}
curl -X PATCH "https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/{branch_id}" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Renovated Downtown Branch",
    "address": "456 Main Ave, Quito"
  }'
{
  "data": {
    "id": "9e3f2c1a-8b7d-4e6f-a5c4-d3b2a1e0f9c8",
    "name": "Renovated Downtown Branch",
    "code": "BRANCH-DOWNTOWN",
    "address": "456 Main Ave, Quito",
    "phone": "+593991234567",
    "status": true,
    "properties": {
      "schedule": "09:00 - 18:00",
      "zone": "north"
    },
    "created_at": "2026-02-19T15:30:00.000000Z",
    "updated_at": "2026-02-19T16:00:00.000000Z"
  }
}
You only need to send the fields you want to update.
app_id
string
required
Your store ID in Jelou Shop.
branch_id
string
required
The ID of the branch to update.
To assign or change the branch language, send properties.language. It is a validated field: it only accepts es, en, or pt. Note that sending properties replaces the whole object, so include any other keys you want to keep as well.
curl -X PATCH "https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/{branch_id}" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Renovated Downtown Branch",
    "address": "456 Main Ave, Quito"
  }'
{
  "data": {
    "id": "9e3f2c1a-8b7d-4e6f-a5c4-d3b2a1e0f9c8",
    "name": "Renovated Downtown Branch",
    "code": "BRANCH-DOWNTOWN",
    "address": "456 Main Ave, Quito",
    "phone": "+593991234567",
    "status": true,
    "properties": {
      "schedule": "09:00 - 18:00",
      "zone": "north"
    },
    "created_at": "2026-02-19T15:30:00.000000Z",
    "updated_at": "2026-02-19T16:00:00.000000Z"
  }
}