RETM | REST API
  1. Order type
RETM | REST API
  • Developer guide
  • New to our DevPortal 🤔
  • Authentication
    • Token
      POST
  • Webhook
    • Overview
    • Invoice Webhooks
      • Webhook Events
      • Invoice Created
    • Orders Webhooks
      • Webhook Events
      • Order Triggeres
    • Menu Webhooks
      • Menu Updates
      • Menu Changed
    • Loyalty Webhooks
      • Promotional Coupon
      • Check Reward
      • Redeem Reward
    • Customer webhook
      • Customer Data
      • Customer hook
    • Error webhook
      • Stay Alert to Connectivity Issues
      • Error webhook
  • Orders
    • Orders
      GET
    • Create Order
      POST
    • Cancel Order
      POST
    • Update delivery order status
      POST
  • Menu
    • Categories
      • List Categories
      • Single Categoy
    • Products
      • Products
      • Single Product
      • Simple List
    • Menu
      GET
  • Branches
    • Branches
      GET
  • Devices
    • Devices
      GET
  • Order type
    • Order types
      GET
    • Create order type
      POST
  • Price Lists
    • Price Lists
      GET
  • Payment Methods
    • Payment methods
    • Create pay method
  • Order Charges
    • order charges
    • Create order charges
  • Taxes
    • Tax list
    • Create tax
  • Customers
    • Customers
  1. Order type

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
Previous
Order types
Next
Price Lists
Built with