- Start your Apidog journey
- Sample APIs
- Users
- Ecommerce
- Profile
- Features Group
- Features
- Order
- Order web
- Appointment
- Quotation
- Plan
- Addresses
- Watch list Web
- Dashboard Carts
- Capabilities
- Product
- Production Line
- Attribute
- Group
- Review
- Branch
- Create Branch
- Update Branch By Id
- Get Branch By Id
- Get Branch All
- Get Branchs with pagination
- Delete Branch By Id
- Bulk Delete Branches
- Get Web Branch By Coordinates
- Get All Web Branch With Pagination
- Get All Web Branch
- Import Branch Zones
- Get Import Branch Zones Example
- Get Branch Zones File
- Import Branch Products
- Get Import Branch Products Example
- Get Branch Products File
- Link To Branches
- Addons
- Get Web Product By IdGET
- Get Web Product By CriteriaGET
- Create ProductPOST
- Get Product By IdGET
- Get Product By CriteriaGET
- Link Product By Id to BranchesPUT
- Update Product By IdPUT
- Link Product By Id to Production LinePUT
- Delete Product By IdDELETE
- Delete Duplicated ProductsDELETE
- Category
- Unit
- Contact
- Payment
- Setup
- Config
- Settings
- Cart
- Ticket
- Coupon
- Checkout
- Survey
- Truncate Collection ListDELETE
- Fix Product AttributesPUT
- Files
Create Group
POST
{{ecommercev2_url}}/groups
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '{{ecommercev2_url}}/groups' \
--header 'x-client: {{client}}' \
--header 'accept-language: {{acceptLanguage}}' \
--header 'Content-Type: application/json' \
--header 'x-access-token;' \
--data-raw '{
"name": {
"en": "color",
"ar": "اللون"
}
}'
Response Response Example
{
"name": {
"ar": "string",
"defaultTranslation": "string",
"en": "string"
},
"code": "string",
"id": "string",
"createdAt": "string",
"createdBy": "string",
"updatedAt": "string",
"updatedBy": "string"
}
Request
Authorization
API Key
Add parameter in header
x-access-token
Example:
x-access-token: ********************
or
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
name
object
required
en
string
required
ar
string
required
Examples
Responses
🟢200OK
application/json
Body
name
object
required
ar
string
required
defaultTranslation
string
required
en
string
required
code
string
required
id
string
required
createdAt
string
required
createdBy
string
required
updatedAt
string
required
updatedBy
string
required
Modified at 2025-05-27 11:23:45