- 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 Id
- Get Web Product By Criteria
- Create Product
- Get Product By Id
- Get Product By Criteria
- Link Product By Id to Branches
- Update Product By Id
- Link Product By Id to Production Line
- Delete Product By Id
- Delete Duplicated Products
- Category
- Unit
- Contact
- Payment
- Setup
- Config
- Settings
- Cart
- Ticket
- Coupon
- Checkout
- Survey
- Truncate Collection ListDELETE
- Fix Product AttributesPUT
- Files
Create Ticket
POST
{{ecommercev2_url}}/tickets
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '{{ecommercev2_url}}/tickets' \
--header 'Content-Type: application/json' \
--header 'x-access-token;' \
--data-raw '{
"title": "string",
"typeId": "string",
"priority": "low",
"description": "string",
"attachment": {
"filename": "string",
"contentType": "string",
"size": 0,
"url": "string"
},
"quotationId": "string",
"invoiceId": "string",
"orderId": "string",
"buyerId": "string",
"vendorId": "string"
}'
Response Response Example
{}
Request
Authorization
API Key
Add parameter in header
x-access-token
Example:
x-access-token: ********************
or
Header Params
x-access-token
stringÂ
optional
Example:
{{admin-token}}
x-client
stringÂ
optional
Example:
{{client}}
accept-language
stringÂ
optional
Example:
{{acceptLanguage}}
Body Params application/json
title
stringÂ
required
typeId
stringÂ
required
Match pattern:
^[0-9a-fA-F]{24}$
priority
enum<string>Â
required
Allowed values:
lowmediumhighurgent
description
stringÂ
required
attachment
objectÂ
optional
filename
stringÂ
optional
contentType
stringÂ
optional
size
integerÂ
optional
url
stringÂ
optional
quotationId
stringÂ
optional
Match pattern:
^[0-9a-fA-F]{24}$
invoiceId
stringÂ
optional
Match pattern:
^[0-9a-fA-F]{24}$
orderId
stringÂ
optional
Match pattern:
^[0-9a-fA-F]{24}$
buyerId
stringÂ
optional
Match pattern:
^[0-9a-fA-F]{24}$
vendorId
stringÂ
optional
Match pattern:
^[0-9a-fA-F]{24}$
Examples
Responses
🟢200Success
application/json
Body
object {0}
Modified at 2025-05-20 13:21:56