- Developer guide
- New to our DevPortal 🤔
- Authentication
- Webhook
- Overview
- Invoice Webhooks
- Orders Webhooks
- Menu Webhooks
- Loyalty Webhooks
- Customer webhook
- Error webhook
- Orders
- Menu
- Categories
- Products
- MenuGET
- Branches
- Devices
- Order type
- Price Lists
- Payment Methods
- Order Charges
- Taxes
- Customers
Create order type
POST
https://{serviceID}.retm.sa/api/v2/orderTypes/create
Request
Body Params application/json
name
objectÂ
required
en
stringÂ
required
ar
stringÂ
required
is_flowable
stringÂ
required
is_credit
stringÂ
required
Example
{
"name": {
"en": "string|required",
"ar": "string|required"
},
"is_flowable": "bool",
"is_credit": "bool"
}
Responses
🟢200Create order type
application/json
Body
uuid
stringÂ
required
name
objectÂ
required
en
stringÂ
required
ar
stringÂ
required
is_credit
booleanÂ
required
is_flowable
booleanÂ
required
Example
{
"uuid": "01h6p3s28gw00jfwfk79jbb6rw",
"name": {
"en": "Dine out",
"ar": "خارجى"
},
"is_credit": false,
"is_flowable": true
}
Modified at 2023-12-24 21:03:47