Create Branch
POST
{{ecommercev2_url}}/branches
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '{{ecommercev2_url}}/branches' \
--header 'x-client: {{client}}' \
--header 'accept-language: {{acceptLanguage}}' \
--header 'Content-Type: application/json' \
--header 'x-access-token;' \
--data-raw '{
"name": {
"en": "Dubai Silicon Oasis : Dubai Silicon Oasis - Dubai",
"ar": "واحة دبي للسيليكون : واحة دبي للسيليكون - دبي",
"tr": ""
},
"image": {
"en": {
"_id": "6832dd9abc84c023409f4bc7",
"path": "https://services.larsa.io/files/file/ct6pkgc5drjs739ucs1g/2025/5/554e3eef-b103-4578-8a5e-c08212dbf9a1.jpg"
},
"ar": {
"_id": "6832ddcf2772173d99e8bd0a",
"path": "https://services.larsa.io/files/file/ct6pkgc5drjs739ucs1g/2025/5/b0c0ac3d-ec4a-47cb-af9c-47ad337c27f6.jpg"
},
"tr": {
"_id": "",
"path": ""
}
},
"countryIso3": "UnitedArabEmirates",
"city": "AbuDhabi",
"area": "AlAin",
"coordinates": [
55.40209175370659,
25.12452043423553
],
"isActive": true,
"phoneNumber": "45535234",
"timeBeforeOrder": 15,
"baseCurrencyCode": "AED",
"supportedCurrencyCodes": [
"USD"
],
"realTimeCurrencyConversion": true,
"canSetDeliveryOnPickup": false,
"products": [
{
"productId": "68223108e028b7dd8391a918",
"overrideDescription": {
"en": ""
}
}
],
"timezone": {
"location": "Asia/Damascus",
"utcOffset": 1
},
"openingDays": {
"3": [
{
"from": 58140000,
"to": 58200000
}
]
},
"zones": [
{
"zoneId": "6832e8e52a94fd5621e6531c",
"minOrderAmount": 1,
"deliveryFee": {
"value": 50,
"currencyCode": "AED"
},
"estimatedTime": 5
}
]
}'
Response Response Example
{}
Request
Header Params
x-access-token
string
required
Example:
{{admin-token}}
x-client
string
required
Example:
{{client}}
accept-language
string
required
Example:
{{acceptLanguage}}
Body Params application/json
Responses
Modified at 2025-06-09 15:44:07