Authorization: Bearer ********************curl --location 'https://api.hyperzod.app/admin/v1/order/orderTypes/1' \
--header 'x-tenant: 42' \
--header 'x-client-device: web' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"language_translation": [
{
"locale": "en",
"key": "label",
"value": "Delivery"
}
],
"status": true,
"logo_url": "https://assets.example.com/maple-street-kitchen/menu.jpg",
"enable_otp": true
}'{
"success": true,
"service": "order",
"status_code": 200,
"data": {
"id": "64b7f2a9c1e4d5038a6b9120",
"_id": "64b7f2a9c1e4d5038a6b9120",
"language_translation": [
{
"key": "name",
"locale": "en",
"value": "Maple Street Kitchen"
}
],
"status": true,
"order_type": "delivery",
"description": "Freshly prepared lunch from Maple Street Kitchen."
}
}