Skip to main content
POST
/
apps
/
{app_id}
/
branches
curl -X POST "https://ecommerce.jelou.ai/apps/{app_id}/branches" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Downtown Branch",
    "code": "BRANCH-DOWNTOWN",
    "address": "123 Main Ave, Quito",
    "phone": "+593991234567",
    "status": true,
    "properties": {
      "schedule": "09:00 - 18:00",
      "zone": "north"
    }
  }'
{
  "id": 1,
  "name": "Downtown Branch",
  "code": "BRANCH-DOWNTOWN",
  "address": "123 Main Ave, Quito",
  "phone": "+593991234567",
  "status": true,
  "properties": {
    "schedule": "09:00 - 18:00",
    "zone": "north"
  },
  "created_at": "2026-02-19T15:30:00Z",
  "updated_at": "2026-02-19T15:30:00Z"
}
app_id
string
required
Your store ID in Jelou Shop.
name
string
required
Branch name (max. 255 characters).
code
string
required
Unique branch code within the store (max. 255 characters).
address
string
Branch address (max. 255 characters).
phone
string
Branch phone number (max. 255 characters).
status
boolean
default:"true"
Branch status (active/inactive).
properties
object
JSON object with custom branch properties.
The code must be unique per store. If you try to create two branches with the same code in the same store, you will receive a validation error.
curl -X POST "https://ecommerce.jelou.ai/apps/{app_id}/branches" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Downtown Branch",
    "code": "BRANCH-DOWNTOWN",
    "address": "123 Main Ave, Quito",
    "phone": "+593991234567",
    "status": true,
    "properties": {
      "schedule": "09:00 - 18:00",
      "zone": "north"
    }
  }'
{
  "id": 1,
  "name": "Downtown Branch",
  "code": "BRANCH-DOWNTOWN",
  "address": "123 Main Ave, Quito",
  "phone": "+593991234567",
  "status": true,
  "properties": {
    "schedule": "09:00 - 18:00",
    "zone": "north"
  },
  "created_at": "2026-02-19T15:30:00Z",
  "updated_at": "2026-02-19T15:30:00Z"
}