Advertisement
Guest User

Untitled

a guest
Jul 15th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.31 KB | None | 0 0
  1. ### Generate Preview (new order) - POST `/api/orders/order/meal-plan/generate-preview/`
  2.  
  3. #### Example Request Payload:
  4. ```
  5. {
  6. "event_id": 10777,
  7. "meal_id": 12,
  8. "delivery_datetime": "2019-07-21T19:30:00+00:00",
  9. "add_on_items": [{
  10. "client_price": 0,
  11. "included_item_ids": [
  12. 156
  13. ],
  14. "is_included_item": false,
  15. "dietary_restriction_groups": [
  16. 6,
  17. 1,
  18. 2,
  19. 4
  20. ],
  21. "portion_unit": {
  22. "id": 8,
  23. "name": "oz. (weight)"
  24. },
  25. "item_id": 151,
  26. "id": 0,
  27. "total_amount": 134,
  28. "name": "Seasonal Salad",
  29. "total_cost": 100.5,
  30. "meal_component": 2,
  31. "vendor_cost": 1.5,
  32. "priority": 1,
  33. "portion_amount": 2,
  34. "is_add_on": false,
  35. "quantity": 100,
  36. "key": "151-2-1"
  37. }],
  38. "is_big_eater": true,
  39. "big_eater_type": "mains",
  40. "big_eater_omnivore_count": 10,
  41. "big_eater_vegetarian_count": 10
  42. }
  43. ```
  44.  
  45. #### Example Response
  46. ```
  47. {
  48. "id": 0,
  49. "order_id": "NAMWX",
  50. "delivery_datetime": "2019-07-21T12:30:00-07:00",
  51. "add_on_items": [
  52. {
  53. "client_price": 0,
  54. "included_item_ids": [
  55. 156
  56. ],
  57. "is_included_item": false,
  58. "dietary_restriction_groups": [
  59. 6,
  60. 1,
  61. 2,
  62. 4
  63. ],
  64. "portion_unit": {
  65. "id": 8,
  66. "name": "oz. (weight)"
  67. },
  68. "item_id": 151,
  69. "id": 0,
  70. "total_amount": 200,
  71. "name": "Seasonal Salad",
  72. "total_cost": 150,
  73. "meal_component_id": 2,
  74. "vendor_cost": 1.5,
  75. "priority": 100,
  76. "portion_amount": 2,
  77. "is_add_on": true,
  78. "quantity": 100,
  79. "key": "151-2-100-a",
  80. "dietary_restrictions": [
  81. 1,
  82. 2
  83. ]
  84. }
  85. ],
  86. "included_items": [
  87. {
  88. "client_price": 0,
  89. "included_item_ids": [],
  90. "is_included_item": true,
  91. "dietary_restriction_groups": [
  92. 6
  93. ],
  94. "portion_unit": {
  95. "id": 8,
  96. "name": "oz. (weight)"
  97. },
  98. "item_id": 138,
  99. "id": 0,
  100. "total_amount": 66,
  101. "name": "Tomato Cilantro Sauce",
  102. "total_cost": 0,
  103. "meal_component_id": 1,
  104. "vendor_cost": 0,
  105. "priority": 2,
  106. "portion_amount": 0.8,
  107. "is_add_on": false,
  108. "quantity": 83,
  109. "key": "138-1-2",
  110. "dietary_restrictions": [
  111. 1,
  112. 2
  113. ]
  114. },
  115. {
  116. "client_price": 0,
  117. "included_item_ids": [],
  118. "is_included_item": true,
  119. "dietary_restriction_groups": [
  120. 6,
  121. 1,
  122. 2,
  123. 4
  124. ],
  125. "portion_unit": {
  126. "id": 9,
  127. "name": "serving"
  128. },
  129. "item_id": 156,
  130. "id": 0,
  131. "total_amount": 501,
  132. "name": "Homemade Dressing",
  133. "total_cost": 0,
  134. "meal_component_id": 2,
  135. "vendor_cost": 0,
  136. "priority": 1,
  137. "portion_amount": 3,
  138. "is_add_on": false,
  139. "quantity": 167,
  140. "key": "156-2-1",
  141. "dietary_restrictions": [
  142. 1,
  143. 2,
  144. 6
  145. ]
  146. }
  147. ],
  148. "items": [
  149. {
  150. "client_price": 0,
  151. "included_item_ids": [
  152. 138
  153. ],
  154. "is_included_item": false,
  155. "dietary_restriction_groups": [
  156. 6
  157. ],
  158. "portion_unit": {
  159. "id": 4,
  160. "name": "pc."
  161. },
  162. "item_id": 135,
  163. "id": 0,
  164. "total_amount": 62,
  165. "name": "Turkey Momo",
  166. "total_cost": 93,
  167. "meal_component_id": 1,
  168. "vendor_cost": 3,
  169. "priority": 1,
  170. "portion_amount": 2,
  171. "is_add_on": false,
  172. "quantity": 31,
  173. "key": "135-1-1",
  174. "dietary_restrictions": [
  175. 3
  176. ]
  177. },
  178. {
  179. "client_price": 0,
  180. "included_item_ids": [
  181. 138
  182. ],
  183. "is_included_item": false,
  184. "dietary_restriction_groups": [
  185. 1
  186. ],
  187. "portion_unit": {
  188. "id": 4,
  189. "name": "pc."
  190. },
  191. "item_id": 136,
  192. "id": 0,
  193. "total_amount": 42,
  194. "name": "Vegetarian Momo",
  195. "total_cost": 63,
  196. "meal_component_id": 1,
  197. "vendor_cost": 3,
  198. "priority": 2,
  199. "portion_amount": 2,
  200. "is_add_on": false,
  201. "quantity": 21,
  202. "key": "136-1-2",
  203. "dietary_restrictions": [
  204. 1,
  205. 2,
  206. 3,
  207. 6
  208. ]
  209. },
  210. {
  211. "client_price": 0,
  212. "included_item_ids": [
  213. 138
  214. ],
  215. "is_included_item": false,
  216. "dietary_restriction_groups": [
  217. 6
  218. ],
  219. "portion_unit": {
  220. "id": 4,
  221. "name": "pc."
  222. },
  223. "item_id": 137,
  224. "id": 0,
  225. "total_amount": 62,
  226. "name": "Lamb Momo",
  227. "total_cost": 93,
  228. "meal_component_id": 1,
  229. "vendor_cost": 3,
  230. "priority": 3,
  231. "portion_amount": 2,
  232. "is_add_on": false,
  233. "quantity": 31,
  234. "key": "137-1-3",
  235. "dietary_restrictions": [
  236. 3
  237. ]
  238. },
  239. {
  240. "client_price": 0,
  241. "included_item_ids": [],
  242. "is_included_item": false,
  243. "dietary_restriction_groups": [
  244. 2
  245. ],
  246. "portion_unit": {
  247. "id": 8,
  248. "name": "oz. (weight)"
  249. },
  250. "item_id": 143,
  251. "id": 0,
  252. "total_amount": 6,
  253. "name": "Baigun Bharta",
  254. "total_cost": 5.5,
  255. "meal_component_id": 1,
  256. "vendor_cost": 5.5,
  257. "priority": 4,
  258. "portion_amount": 6,
  259. "is_add_on": false,
  260. "quantity": 1,
  261. "key": "143-1-4",
  262. "dietary_restrictions": [
  263. 1,
  264. 2
  265. ]
  266. },
  267. {
  268. "client_price": 0,
  269. "included_item_ids": [],
  270. "is_included_item": false,
  271. "dietary_restriction_groups": [
  272. 4
  273. ],
  274. "portion_unit": {
  275. "id": 8,
  276. "name": "oz. (weight)"
  277. },
  278. "item_id": 144,
  279. "id": 0,
  280. "total_amount": 6,
  281. "name": "Grilled Nepali Chicken",
  282. "total_cost": 5.5,
  283. "meal_component_id": 1,
  284. "vendor_cost": 5.5,
  285. "priority": 5,
  286. "portion_amount": 6,
  287. "is_add_on": false,
  288. "quantity": 1,
  289. "key": "144-1-5",
  290. "dietary_restrictions": []
  291. },
  292. {
  293. "client_price": 0,
  294. "included_item_ids": [],
  295. "is_included_item": false,
  296. "dietary_restriction_groups": [
  297. 1
  298. ],
  299. "portion_unit": {
  300. "id": 8,
  301. "name": "oz. (weight)"
  302. },
  303. "item_id": 145,
  304. "id": 0,
  305. "total_amount": 88,
  306. "name": "Palungo Paneer",
  307. "total_cost": 66,
  308. "meal_component_id": 1,
  309. "vendor_cost": 6,
  310. "priority": 6,
  311. "portion_amount": 8,
  312. "is_add_on": false,
  313. "quantity": 11,
  314. "key": "145-1-6",
  315. "dietary_restrictions": [
  316. 1,
  317. 5
  318. ]
  319. },
  320. {
  321. "client_price": 0,
  322. "included_item_ids": [],
  323. "is_included_item": false,
  324. "dietary_restriction_groups": [
  325. 6
  326. ],
  327. "portion_unit": {
  328. "id": 8,
  329. "name": "oz. (weight)"
  330. },
  331. "item_id": 146,
  332. "id": 0,
  333. "total_amount": 248,
  334. "name": "Kukhura Aloo",
  335. "total_cost": 186,
  336. "meal_component_id": 1,
  337. "vendor_cost": 6,
  338. "priority": 7,
  339. "portion_amount": 8,
  340. "is_add_on": false,
  341. "quantity": 31,
  342. "key": "146-1-7",
  343. "dietary_restrictions": []
  344. },
  345. {
  346. "client_price": 0,
  347. "included_item_ids": [],
  348. "is_included_item": false,
  349. "dietary_restriction_groups": [
  350. 6,
  351. 4
  352. ],
  353. "portion_unit": {
  354. "id": 8,
  355. "name": "oz. (weight)"
  356. },
  357. "item_id": 147,
  358. "id": 0,
  359. "total_amount": 192,
  360. "name": "Pork Choila",
  361. "total_cost": 176,
  362. "meal_component_id": 1,
  363. "vendor_cost": 5.5,
  364. "priority": 8,
  365. "portion_amount": 6,
  366. "is_add_on": false,
  367. "quantity": 32,
  368. "key": "147-1-8",
  369. "dietary_restrictions": [
  370. 6
  371. ]
  372. },
  373. {
  374. "client_price": 0,
  375. "included_item_ids": [],
  376. "is_included_item": false,
  377. "dietary_restriction_groups": [
  378. 1,
  379. 2
  380. ],
  381. "portion_unit": {
  382. "id": 8,
  383. "name": "oz. (weight)"
  384. },
  385. "item_id": 148,
  386. "id": 0,
  387. "total_amount": 96,
  388. "name": "Golveda Ra Tofu Hariyo Keraw",
  389. "total_cost": 72,
  390. "meal_component_id": 1,
  391. "vendor_cost": 6,
  392. "priority": 9,
  393. "portion_amount": 8,
  394. "is_add_on": false,
  395. "quantity": 12,
  396. "key": "148-1-9",
  397. "dietary_restrictions": [
  398. 1,
  399. 2,
  400. 6
  401. ]
  402. },
  403. {
  404. "client_price": 0,
  405. "included_item_ids": [
  406. 156
  407. ],
  408. "is_included_item": false,
  409. "dietary_restriction_groups": [
  410. 6,
  411. 1,
  412. 2,
  413. 4
  414. ],
  415. "portion_unit": {
  416. "id": 8,
  417. "name": "oz. (weight)"
  418. },
  419. "item_id": 151,
  420. "id": 0,
  421. "total_amount": 134,
  422. "name": "Seasonal Salad",
  423. "total_cost": 100.5,
  424. "meal_component_id": 2,
  425. "vendor_cost": 1.5,
  426. "priority": 1,
  427. "portion_amount": 2,
  428. "is_add_on": false,
  429. "quantity": 67,
  430. "key": "151-2-1",
  431. "dietary_restrictions": [
  432. 1,
  433. 2
  434. ]
  435. },
  436. {
  437. "client_price": 0,
  438. "included_item_ids": [],
  439. "is_included_item": false,
  440. "dietary_restriction_groups": [
  441. 6,
  442. 1,
  443. 2,
  444. 4
  445. ],
  446. "portion_unit": {
  447. "id": 8,
  448. "name": "oz. (weight)"
  449. },
  450. "item_id": 155,
  451. "id": 0,
  452. "total_amount": 201,
  453. "name": "Jeera Brown Rice",
  454. "total_cost": 100.5,
  455. "meal_component_id": 2,
  456. "vendor_cost": 1.5,
  457. "priority": 2,
  458. "portion_amount": 3,
  459. "is_add_on": false,
  460. "quantity": 67,
  461. "key": "155-2-2",
  462. "dietary_restrictions": [
  463. 1,
  464. 2
  465. ]
  466. }
  467. ],
  468. "item_swaps": [],
  469. "meal": {
  470. "id": 12,
  471. "name": "Turkey/Lamb Momo Meal",
  472. "package": "VARIETY"
  473. },
  474. "menu": {
  475. "id": 7,
  476. "name": "Nepali Momo Menu",
  477. "description": "Nepali food is hearty and flavorful! Get a taste with some salad, two sides, two momos, one main and some of Bini's tomato-cilantro sauce for dipping."
  478. },
  479. "notes": "",
  480. "organization": {
  481. "id": 7724,
  482. "name": "Chewse HQ",
  483. "meal_specialist": 8373,
  484. "ops_notes": ""
  485. },
  486. "vendor": {
  487. "id": 559,
  488. "name": "Bini's Kitchen",
  489. "branch": ""
  490. },
  491. "guests": 67,
  492. "delivery_pickup_time": "2019-07-21T18:20:00Z",
  493. "timezone": "America/Los_Angeles",
  494. "is_demo": false,
  495. "is_canceled": false,
  496. "latest_order_ack_id": null,
  497. "vendor_ack_status": "unrequested",
  498. "dietary_restrictions": [
  499. {
  500. "id": 1,
  501. "count": 11
  502. },
  503. {
  504. "id": 2,
  505. "count": 2
  506. },
  507. {
  508. "id": 3,
  509. "count": 0
  510. },
  511. {
  512. "id": 4,
  513. "count": 2
  514. },
  515. {
  516. "id": 5,
  517. "count": 0
  518. },
  519. {
  520. "id": 6,
  521. "count": 0
  522. }
  523. ],
  524. "total_cost": 1111,
  525. "schedule_ruleset": {
  526. "id": 10777,
  527. "name": "Lunch Time",
  528. "ops_notes": "",
  529. "guest_count": 67,
  530. "meal_type": {},
  531. "meal_period": {
  532. "id": 2,
  533. "name": "Lunch"
  534. },
  535. "package": "variety",
  536. "dietary_restrictions_groups": [
  537. {
  538. "id": 1,
  539. "name": "Vegetarian"
  540. },
  541. {
  542. "id": 2,
  543. "name": "Vegan"
  544. },
  545. {
  546. "id": 4,
  547. "name": "Meat + Gluten Free"
  548. }
  549. ],
  550. "frequency": null,
  551. "organization_allergies": [],
  552. "organization": {
  553. "id": 7724,
  554. "name": "Chewse HQ"
  555. },
  556. "notes": ""
  557. },
  558. "meal_sections": [],
  559. "is_big_eater": true,
  560. "big_eater_type": "mains",
  561. "big_eater_omnivore_count": 10,
  562. "big_eater_vegetarian_count": 10
  563. }
  564. ```
  565.  
  566. ### Generate Preview (Existing Order) - PUT `/api/orders/order/meal-plan/:order_id/`
  567.  
  568. #### Example Request Payload
  569. ```
  570. {
  571. "id": 264397,
  572. "event_id": 10777,
  573. "meal_id": 12,
  574. "is_big_eater": true,
  575. "big_eater_type": "mains",
  576. "big_eater_omnivore_count": 10,
  577. "big_eater_vegetarian_count": 10
  578. }
  579. ```
  580.  
  581. #### Example Response
  582. ```
  583. {
  584. "id": 264397,
  585. "order_id": "FRSC9",
  586. "delivery_datetime": "2019-07-10T10:00:00-07:00",
  587. "add_on_items": [],
  588. "included_items": [
  589. {
  590. "client_price": 0,
  591. "included_item_ids": [],
  592. "is_included_item": true,
  593. "dietary_restriction_groups": [
  594. 6
  595. ],
  596. "portion_unit": {
  597. "id": 8,
  598. "name": "oz. (weight)"
  599. },
  600. "item_id": 138,
  601. "id": 0,
  602. "total_amount": 28,
  603. "name": "Tomato Cilantro Sauce",
  604. "total_cost": 0,
  605. "meal_component_id": 1,
  606. "vendor_cost": 0,
  607. "priority": 1,
  608. "portion_amount": 0.8,
  609. "is_add_on": false,
  610. "quantity": 36,
  611. "key": "138-1-1",
  612. "dietary_restrictions": [
  613. 1,
  614. 2
  615. ]
  616. },
  617. {
  618. "client_price": 0,
  619. "included_item_ids": [],
  620. "is_included_item": true,
  621. "dietary_restriction_groups": [
  622. 6,
  623. 2,
  624. 4
  625. ],
  626. "portion_unit": {
  627. "id": 9,
  628. "name": "serving"
  629. },
  630. "item_id": 156,
  631. "id": 0,
  632. "total_amount": 90,
  633. "name": "Homemade Dressing",
  634. "total_cost": 0,
  635. "meal_component_id": 2,
  636. "vendor_cost": 0,
  637. "priority": 3,
  638. "portion_amount": 3,
  639. "is_add_on": false,
  640. "quantity": 30,
  641. "key": "156-2-3",
  642. "dietary_restrictions": [
  643. 1,
  644. 2,
  645. 6
  646. ]
  647. }
  648. ],
  649. "items": [
  650. {
  651. "client_price": 0,
  652. "included_item_ids": [
  653. 138
  654. ],
  655. "is_included_item": false,
  656. "dietary_restriction_groups": [
  657. 6
  658. ],
  659. "portion_unit": {
  660. "id": 4,
  661. "name": "pc."
  662. },
  663. "item_id": 135,
  664. "id": 0,
  665. "total_amount": 36,
  666. "name": "Turkey Momo",
  667. "total_cost": 54,
  668. "meal_component_id": 1,
  669. "vendor_cost": 3,
  670. "priority": 1,
  671. "portion_amount": 2,
  672. "is_add_on": false,
  673. "quantity": 18,
  674. "key": "135-1-1",
  675. "dietary_restrictions": [
  676. 3
  677. ]
  678. },
  679. {
  680. "client_price": 0,
  681. "included_item_ids": [
  682. 138
  683. ],
  684. "is_included_item": false,
  685. "dietary_restriction_groups": [
  686. 6
  687. ],
  688. "portion_unit": {
  689. "id": 4,
  690. "name": "pc."
  691. },
  692. "item_id": 137,
  693. "id": 0,
  694. "total_amount": 36,
  695. "name": "Lamb Momo",
  696. "total_cost": 54,
  697. "meal_component_id": 1,
  698. "vendor_cost": 3,
  699. "priority": 2,
  700. "portion_amount": 2,
  701. "is_add_on": false,
  702. "quantity": 18,
  703. "key": "137-1-2",
  704. "dietary_restrictions": [
  705. 3
  706. ]
  707. },
  708. {
  709. "client_price": 0,
  710. "included_item_ids": [],
  711. "is_included_item": false,
  712. "dietary_restriction_groups": [
  713. 2
  714. ],
  715. "portion_unit": {
  716. "id": 8,
  717. "name": "oz. (weight)"
  718. },
  719. "item_id": 143,
  720. "id": 0,
  721. "total_amount": 6,
  722. "name": "Baigun Bharta",
  723. "total_cost": 5.5,
  724. "meal_component_id": 1,
  725. "vendor_cost": 5.5,
  726. "priority": 3,
  727. "portion_amount": 6,
  728. "is_add_on": false,
  729. "quantity": 1,
  730. "key": "143-1-3",
  731. "dietary_restrictions": [
  732. 1,
  733. 2
  734. ]
  735. },
  736. {
  737. "client_price": 0,
  738. "included_item_ids": [],
  739. "is_included_item": false,
  740. "dietary_restriction_groups": [
  741. 4
  742. ],
  743. "portion_unit": {
  744. "id": 8,
  745. "name": "oz. (weight)"
  746. },
  747. "item_id": 144,
  748. "id": 0,
  749. "total_amount": 12,
  750. "name": "Grilled Nepali Chicken",
  751. "total_cost": 11,
  752. "meal_component_id": 1,
  753. "vendor_cost": 5.5,
  754. "priority": 4,
  755. "portion_amount": 6,
  756. "is_add_on": false,
  757. "quantity": 2,
  758. "key": "144-1-4",
  759. "dietary_restrictions": []
  760. },
  761. {
  762. "client_price": 0,
  763. "included_item_ids": [],
  764. "is_included_item": false,
  765. "dietary_restriction_groups": [
  766. 6
  767. ],
  768. "portion_unit": {
  769. "id": 8,
  770. "name": "oz. (weight)"
  771. },
  772. "item_id": 146,
  773. "id": 0,
  774. "total_amount": 144,
  775. "name": "Kukhura Aloo",
  776. "total_cost": 108,
  777. "meal_component_id": 1,
  778. "vendor_cost": 6,
  779. "priority": 5,
  780. "portion_amount": 8,
  781. "is_add_on": false,
  782. "quantity": 18,
  783. "key": "146-1-5",
  784. "dietary_restrictions": []
  785. },
  786. {
  787. "client_price": 0,
  788. "included_item_ids": [],
  789. "is_included_item": false,
  790. "dietary_restriction_groups": [
  791. 6,
  792. 4
  793. ],
  794. "portion_unit": {
  795. "id": 8,
  796. "name": "oz. (weight)"
  797. },
  798. "item_id": 147,
  799. "id": 0,
  800. "total_amount": 114,
  801. "name": "Pork Choila",
  802. "total_cost": 104.5,
  803. "meal_component_id": 1,
  804. "vendor_cost": 5.5,
  805. "priority": 6,
  806. "portion_amount": 6,
  807. "is_add_on": false,
  808. "quantity": 19,
  809. "key": "147-1-6",
  810. "dietary_restrictions": [
  811. 6
  812. ]
  813. },
  814. {
  815. "client_price": 0,
  816. "included_item_ids": [],
  817. "is_included_item": false,
  818. "dietary_restriction_groups": [
  819. 2
  820. ],
  821. "portion_unit": {
  822. "id": 8,
  823. "name": "oz. (weight)"
  824. },
  825. "item_id": 148,
  826. "id": 0,
  827. "total_amount": 8,
  828. "name": "Golveda Ra Tofu Hariyo Keraw",
  829. "total_cost": 6,
  830. "meal_component_id": 1,
  831. "vendor_cost": 6,
  832. "priority": 7,
  833. "portion_amount": 8,
  834. "is_add_on": false,
  835. "quantity": 1,
  836. "key": "148-1-7",
  837. "dietary_restrictions": [
  838. 1,
  839. 2,
  840. 6
  841. ]
  842. },
  843. {
  844. "client_price": 0,
  845. "included_item_ids": [
  846. 156
  847. ],
  848. "is_included_item": false,
  849. "dietary_restriction_groups": [
  850. 6,
  851. 2,
  852. 4
  853. ],
  854. "portion_unit": {
  855. "id": 8,
  856. "name": "oz. (weight)"
  857. },
  858. "item_id": 151,
  859. "id": 0,
  860. "total_amount": 60,
  861. "name": "Seasonal Salad",
  862. "total_cost": 45,
  863. "meal_component_id": 2,
  864. "vendor_cost": 1.5,
  865. "priority": 1,
  866. "portion_amount": 2,
  867. "is_add_on": false,
  868. "quantity": 30,
  869. "key": "151-2-1",
  870. "dietary_restrictions": [
  871. 1,
  872. 2
  873. ]
  874. },
  875. {
  876. "client_price": 0,
  877. "included_item_ids": [],
  878. "is_included_item": false,
  879. "dietary_restriction_groups": [
  880. 6,
  881. 2,
  882. 4
  883. ],
  884. "portion_unit": {
  885. "id": 8,
  886. "name": "oz. (weight)"
  887. },
  888. "item_id": 155,
  889. "id": 0,
  890. "total_amount": 90,
  891. "name": "Jeera Brown Rice",
  892. "total_cost": 45,
  893. "meal_component_id": 2,
  894. "vendor_cost": 1.5,
  895. "priority": 2,
  896. "portion_amount": 3,
  897. "is_add_on": false,
  898. "quantity": 30,
  899. "key": "155-2-2",
  900. "dietary_restrictions": [
  901. 1,
  902. 2
  903. ]
  904. }
  905. ],
  906. "item_swaps": [],
  907. "meal": {
  908. "id": 12,
  909. "name": "Turkey/Lamb Momo Meal",
  910. "package": "VARIETY"
  911. },
  912. "menu": {
  913. "id": 7,
  914. "name": "Nepali Momo Menu",
  915. "description": "Nepali food is hearty and flavorful! Get a taste with some salad, two sides, two momos, one main and some of Bini's tomato-cilantro sauce for dipping."
  916. },
  917. "notes": "Attendees: 200 | Package: $12pp, Variety\n",
  918. "organization": {
  919. "id": 8015,
  920. "name": "Keller WIlliams Realty Inc Avery Lavender",
  921. "meal_specialist": 9098,
  922. "ops_notes": ""
  923. },
  924. "vendor": {
  925. "id": 559,
  926. "name": "Bini's Kitchen",
  927. "branch": ""
  928. },
  929. "guests": 30,
  930. "delivery_pickup_time": "2019-07-10T15:17:46Z",
  931. "timezone": "America/Chicago",
  932. "is_demo": false,
  933. "is_canceled": false,
  934. "latest_order_ack_id": null,
  935. "vendor_ack_status": "unrequested",
  936. "dietary_restrictions": [
  937. {
  938. "id": 1,
  939. "count": 0
  940. },
  941. {
  942. "id": 2,
  943. "count": 2
  944. },
  945. {
  946. "id": 3,
  947. "count": 0
  948. },
  949. {
  950. "id": 4,
  951. "count": 3
  952. },
  953. {
  954. "id": 5,
  955. "count": 0
  956. },
  957. {
  958. "id": 6,
  959. "count": 0
  960. }
  961. ],
  962. "total_cost": 433,
  963. "schedule_ruleset": {
  964. "id": 10879,
  965. "name": "Ad Hoc Lunch",
  966. "ops_notes": "Attendees: 200 | Package: $12pp, Variety\n",
  967. "guest_count": 30,
  968. "meal_type": {},
  969. "meal_period": {
  970. "id": 2,
  971. "name": "Lunch"
  972. },
  973. "package": "variety",
  974. "dietary_restrictions_groups": [
  975. {
  976. "id": 1,
  977. "name": "Vegetarian"
  978. },
  979. {
  980. "id": 2,
  981. "name": "Vegan"
  982. },
  983. {
  984. "id": 3,
  985. "name": "Vegan + Gluten Free"
  986. },
  987. {
  988. "id": 4,
  989. "name": "Meat + Gluten Free"
  990. },
  991. {
  992. "id": 5,
  993. "name": "Meat + Dairy Free"
  994. }
  995. ],
  996. "frequency": null,
  997. "organization_allergies": [
  998. {
  999. "id": 8,
  1000. "name": "shellfish"
  1001. }
  1002. ],
  1003. "organization": {
  1004. "id": 8015,
  1005. "name": "Keller WIlliams Realty Inc Avery Lavender"
  1006. },
  1007. "notes": "Attendees: 200 | Package: $12pp, Variety\n"
  1008. },
  1009. "meal_sections": [],
  1010. "is_big_eater": true,
  1011. "big_eater_type": "mains",
  1012. "big_eater_omnivore_count": 10,
  1013. "big_eater_vegetarian_count": 10
  1014. }
  1015. ```
  1016.  
  1017. ### Place Order - POST/PUT `/api/orders/order/place/:order_id?`
  1018.  
  1019. #### Example Request Payload
  1020. ```
  1021. {
  1022. "id": 0,
  1023. "delivery_datetime": "2019-07-10T10:00:00-07:00",
  1024. "add_on_items": [],
  1025. "included_items": [
  1026. {
  1027. "client_price": 0,
  1028. "included_item_ids": [],
  1029. "is_included_item": true,
  1030. "dietary_restriction_groups": [
  1031. 6
  1032. ],
  1033. "portion_unit": {
  1034. "id": 8,
  1035. "name": "oz. (weight)"
  1036. },
  1037. "item_id": 138,
  1038. "id": 0,
  1039. "total_amount": 28,
  1040. "name": "Tomato Cilantro Sauce",
  1041. "total_cost": 0,
  1042. "meal_component_id": 1,
  1043. "vendor_cost": 0,
  1044. "priority": 1,
  1045. "portion_amount": 0.8,
  1046. "is_add_on": false,
  1047. "quantity": 36,
  1048. "key": "138-1-1",
  1049. "dietary_restrictions": [
  1050. 1,
  1051. 2
  1052. ]
  1053. },
  1054. {
  1055. "client_price": 0,
  1056. "included_item_ids": [],
  1057. "is_included_item": true,
  1058. "dietary_restriction_groups": [
  1059. 6,
  1060. 2,
  1061. 4
  1062. ],
  1063. "portion_unit": {
  1064. "id": 9,
  1065. "name": "serving"
  1066. },
  1067. "item_id": 156,
  1068. "id": 0,
  1069. "total_amount": 90,
  1070. "name": "Homemade Dressing",
  1071. "total_cost": 0,
  1072. "meal_component_id": 2,
  1073. "vendor_cost": 0,
  1074. "priority": 3,
  1075. "portion_amount": 3,
  1076. "is_add_on": false,
  1077. "quantity": 30,
  1078. "key": "156-2-3",
  1079. "dietary_restrictions": [
  1080. 1,
  1081. 2,
  1082. 6
  1083. ]
  1084. }
  1085. ],
  1086. "items": [
  1087. {
  1088. "client_price": 0,
  1089. "included_item_ids": [
  1090. 138
  1091. ],
  1092. "is_included_item": false,
  1093. "dietary_restriction_groups": [
  1094. 6
  1095. ],
  1096. "portion_unit": {
  1097. "id": 4,
  1098. "name": "pc."
  1099. },
  1100. "item_id": 135,
  1101. "id": 0,
  1102. "total_amount": 36,
  1103. "name": "Turkey Momo",
  1104. "total_cost": 54,
  1105. "meal_component_id": 1,
  1106. "vendor_cost": 3,
  1107. "priority": 1,
  1108. "portion_amount": 2,
  1109. "is_add_on": false,
  1110. "quantity": 18,
  1111. "key": "135-1-1",
  1112. "dietary_restrictions": [
  1113. 3
  1114. ]
  1115. },
  1116. {
  1117. "client_price": 0,
  1118. "included_item_ids": [
  1119. 138
  1120. ],
  1121. "is_included_item": false,
  1122. "dietary_restriction_groups": [
  1123. 6
  1124. ],
  1125. "portion_unit": {
  1126. "id": 4,
  1127. "name": "pc."
  1128. },
  1129. "item_id": 137,
  1130. "id": 0,
  1131. "total_amount": 36,
  1132. "name": "Lamb Momo",
  1133. "total_cost": 54,
  1134. "meal_component_id": 1,
  1135. "vendor_cost": 3,
  1136. "priority": 2,
  1137. "portion_amount": 2,
  1138. "is_add_on": false,
  1139. "quantity": 18,
  1140. "key": "137-1-2",
  1141. "dietary_restrictions": [
  1142. 3
  1143. ]
  1144. },
  1145. {
  1146. "client_price": 0,
  1147. "included_item_ids": [],
  1148. "is_included_item": false,
  1149. "dietary_restriction_groups": [
  1150. 2
  1151. ],
  1152. "portion_unit": {
  1153. "id": 8,
  1154. "name": "oz. (weight)"
  1155. },
  1156. "item_id": 143,
  1157. "id": 0,
  1158. "total_amount": 6,
  1159. "name": "Baigun Bharta",
  1160. "total_cost": 5.5,
  1161. "meal_component_id": 1,
  1162. "vendor_cost": 5.5,
  1163. "priority": 3,
  1164. "portion_amount": 6,
  1165. "is_add_on": false,
  1166. "quantity": 1,
  1167. "key": "143-1-3",
  1168. "dietary_restrictions": [
  1169. 1,
  1170. 2
  1171. ]
  1172. },
  1173. {
  1174. "client_price": 0,
  1175. "included_item_ids": [],
  1176. "is_included_item": false,
  1177. "dietary_restriction_groups": [
  1178. 4
  1179. ],
  1180. "portion_unit": {
  1181. "id": 8,
  1182. "name": "oz. (weight)"
  1183. },
  1184. "item_id": 144,
  1185. "id": 0,
  1186. "total_amount": 12,
  1187. "name": "Grilled Nepali Chicken",
  1188. "total_cost": 11,
  1189. "meal_component_id": 1,
  1190. "vendor_cost": 5.5,
  1191. "priority": 4,
  1192. "portion_amount": 6,
  1193. "is_add_on": false,
  1194. "quantity": 2,
  1195. "key": "144-1-4",
  1196. "dietary_restrictions": []
  1197. },
  1198. {
  1199. "client_price": 0,
  1200. "included_item_ids": [],
  1201. "is_included_item": false,
  1202. "dietary_restriction_groups": [
  1203. 6
  1204. ],
  1205. "portion_unit": {
  1206. "id": 8,
  1207. "name": "oz. (weight)"
  1208. },
  1209. "item_id": 146,
  1210. "id": 0,
  1211. "total_amount": 144,
  1212. "name": "Kukhura Aloo",
  1213. "total_cost": 108,
  1214. "meal_component_id": 1,
  1215. "vendor_cost": 6,
  1216. "priority": 5,
  1217. "portion_amount": 8,
  1218. "is_add_on": false,
  1219. "quantity": 18,
  1220. "key": "146-1-5",
  1221. "dietary_restrictions": []
  1222. },
  1223. {
  1224. "client_price": 0,
  1225. "included_item_ids": [],
  1226. "is_included_item": false,
  1227. "dietary_restriction_groups": [
  1228. 6,
  1229. 4
  1230. ],
  1231. "portion_unit": {
  1232. "id": 8,
  1233. "name": "oz. (weight)"
  1234. },
  1235. "item_id": 147,
  1236. "id": 0,
  1237. "total_amount": 114,
  1238. "name": "Pork Choila",
  1239. "total_cost": 104.5,
  1240. "meal_component_id": 1,
  1241. "vendor_cost": 5.5,
  1242. "priority": 6,
  1243. "portion_amount": 6,
  1244. "is_add_on": false,
  1245. "quantity": 19,
  1246. "key": "147-1-6",
  1247. "dietary_restrictions": [
  1248. 6
  1249. ]
  1250. },
  1251. {
  1252. "client_price": 0,
  1253. "included_item_ids": [],
  1254. "is_included_item": false,
  1255. "dietary_restriction_groups": [
  1256. 2
  1257. ],
  1258. "portion_unit": {
  1259. "id": 8,
  1260. "name": "oz. (weight)"
  1261. },
  1262. "item_id": 148,
  1263. "id": 0,
  1264. "total_amount": 8,
  1265. "name": "Golveda Ra Tofu Hariyo Keraw",
  1266. "total_cost": 6,
  1267. "meal_component_id": 1,
  1268. "vendor_cost": 6,
  1269. "priority": 7,
  1270. "portion_amount": 8,
  1271. "is_add_on": false,
  1272. "quantity": 1,
  1273. "key": "148-1-7",
  1274. "dietary_restrictions": [
  1275. 1,
  1276. 2,
  1277. 6
  1278. ]
  1279. },
  1280. {
  1281. "client_price": 0,
  1282. "included_item_ids": [
  1283. 156
  1284. ],
  1285. "is_included_item": false,
  1286. "dietary_restriction_groups": [
  1287. 6,
  1288. 2,
  1289. 4
  1290. ],
  1291. "portion_unit": {
  1292. "id": 8,
  1293. "name": "oz. (weight)"
  1294. },
  1295. "item_id": 151,
  1296. "id": 0,
  1297. "total_amount": 60,
  1298. "name": "Seasonal Salad",
  1299. "total_cost": 45,
  1300. "meal_component_id": 2,
  1301. "vendor_cost": 1.5,
  1302. "priority": 1,
  1303. "portion_amount": 2,
  1304. "is_add_on": false,
  1305. "quantity": 30,
  1306. "key": "151-2-1",
  1307. "dietary_restrictions": [
  1308. 1,
  1309. 2
  1310. ]
  1311. },
  1312. {
  1313. "client_price": 0,
  1314. "included_item_ids": [],
  1315. "is_included_item": false,
  1316. "dietary_restriction_groups": [
  1317. 6,
  1318. 2,
  1319. 4
  1320. ],
  1321. "portion_unit": {
  1322. "id": 8,
  1323. "name": "oz. (weight)"
  1324. },
  1325. "item_id": 155,
  1326. "id": 0,
  1327. "total_amount": 90,
  1328. "name": "Jeera Brown Rice",
  1329. "total_cost": 45,
  1330. "meal_component_id": 2,
  1331. "vendor_cost": 1.5,
  1332. "priority": 2,
  1333. "portion_amount": 3,
  1334. "is_add_on": false,
  1335. "quantity": 30,
  1336. "key": "155-2-2",
  1337. "dietary_restrictions": [
  1338. 1,
  1339. 2
  1340. ]
  1341. }
  1342. ],
  1343. "item_swaps": [],
  1344. "meal": {
  1345. "id": 12,
  1346. "name": "Turkey/Lamb Momo Meal",
  1347. "package": "VARIETY"
  1348. },
  1349. "menu": {
  1350. "id": 7,
  1351. "name": "Nepali Momo Menu",
  1352. "description": "Nepali food is hearty and flavorful! Get a taste with some salad, two sides, two momos, one main and some of Bini's tomato-cilantro sauce for dipping."
  1353. },
  1354. "notes": "Attendees: 200 | Package: $12pp, Variety\n",
  1355. "organization": {
  1356. "id": 8015,
  1357. "name": "Keller WIlliams Realty Inc Avery Lavender",
  1358. "meal_specialist": 9098,
  1359. "ops_notes": ""
  1360. },
  1361. "vendor": {
  1362. "id": 559,
  1363. "name": "Bini's Kitchen",
  1364. "branch": ""
  1365. },
  1366. "guests": 30,
  1367. "delivery_pickup_time": "2019-07-10T15:17:46Z",
  1368. "timezone": "America/Chicago",
  1369. "is_demo": false,
  1370. "is_canceled": false,
  1371. "latest_order_ack_id": null,
  1372. "vendor_ack_status": "unrequested",
  1373. "dietary_restrictions": [
  1374. {
  1375. "id": 1,
  1376. "count": 0
  1377. },
  1378. {
  1379. "id": 2,
  1380. "count": 2
  1381. },
  1382. {
  1383. "id": 3,
  1384. "count": 0
  1385. },
  1386. {
  1387. "id": 4,
  1388. "count": 3
  1389. },
  1390. {
  1391. "id": 5,
  1392. "count": 0
  1393. },
  1394. {
  1395. "id": 6,
  1396. "count": 0
  1397. }
  1398. ],
  1399. "total_cost": 433,
  1400. "schedule_ruleset": {
  1401. "id": 10879,
  1402. "name": "Ad Hoc Lunch",
  1403. "ops_notes": "Attendees: 200 | Package: $12pp, Variety\n",
  1404. "guest_count": 30,
  1405. "meal_type": {},
  1406. "meal_period": {
  1407. "id": 2,
  1408. "name": "Lunch"
  1409. },
  1410. "package": "variety",
  1411. "dietary_restrictions_groups": [
  1412. {
  1413. "id": 1,
  1414. "name": "Vegetarian"
  1415. },
  1416. {
  1417. "id": 2,
  1418. "name": "Vegan"
  1419. },
  1420. {
  1421. "id": 3,
  1422. "name": "Vegan + Gluten Free"
  1423. },
  1424. {
  1425. "id": 4,
  1426. "name": "Meat + Gluten Free"
  1427. },
  1428. {
  1429. "id": 5,
  1430. "name": "Meat + Dairy Free"
  1431. }
  1432. ],
  1433. "frequency": null,
  1434. "organization_allergies": [
  1435. {
  1436. "id": 8,
  1437. "name": "shellfish"
  1438. }
  1439. ],
  1440. "organization": {
  1441. "id": 8015,
  1442. "name": "Keller WIlliams Realty Inc Avery Lavender"
  1443. },
  1444. "notes": "Attendees: 200 | Package: $12pp, Variety\n"
  1445. },
  1446. "meal_sections": [],
  1447. "is_big_eater": true,
  1448. "big_eater_type": "mains",
  1449. "big_eater_omnivore_count": 10,
  1450. "big_eater_vegetarian_count": 10
  1451. }
  1452. ```
  1453.  
  1454. #### Example Response
  1455. ```
  1456. {
  1457. "id": 265863,
  1458. "order_id": "MAL8R",
  1459. "delivery_datetime": "2019-07-10T10:00:00-07:00",
  1460. "add_on_items": [],
  1461. "included_items": [
  1462. {
  1463. "client_price": 0,
  1464. "included_item_ids": [],
  1465. "is_included_item": true,
  1466. "dietary_restriction_groups": [
  1467. 6
  1468. ],
  1469. "portion_unit": {
  1470. "id": 8,
  1471. "name": "oz. (weight)"
  1472. },
  1473. "item_id": 138,
  1474. "id": 65,
  1475. "total_amount": 28,
  1476. "name": "Tomato Cilantro Sauce",
  1477. "total_cost": 0,
  1478. "meal_component_id": 1,
  1479. "vendor_cost": 0,
  1480. "priority": 1,
  1481. "portion_amount": 0.8,
  1482. "is_add_on": false,
  1483. "quantity": 36,
  1484. "key": "138-1-1",
  1485. "dietary_restrictions": [
  1486. 1,
  1487. 2
  1488. ]
  1489. },
  1490. {
  1491. "client_price": 0,
  1492. "included_item_ids": [],
  1493. "is_included_item": true,
  1494. "dietary_restriction_groups": [
  1495. 6,
  1496. 2,
  1497. 4
  1498. ],
  1499. "portion_unit": {
  1500. "id": 9,
  1501. "name": "serving"
  1502. },
  1503. "item_id": 156,
  1504. "id": 66,
  1505. "total_amount": 90,
  1506. "name": "Homemade Dressing",
  1507. "total_cost": 0,
  1508. "meal_component_id": 2,
  1509. "vendor_cost": 0,
  1510. "priority": 3,
  1511. "portion_amount": 3,
  1512. "is_add_on": false,
  1513. "quantity": 30,
  1514. "key": "156-2-3",
  1515. "dietary_restrictions": [
  1516. 1,
  1517. 2,
  1518. 6
  1519. ]
  1520. }
  1521. ],
  1522. "items": [
  1523. {
  1524. "client_price": 0,
  1525. "included_item_ids": [
  1526. 138
  1527. ],
  1528. "is_included_item": false,
  1529. "dietary_restriction_groups": [
  1530. 6
  1531. ],
  1532. "portion_unit": {
  1533. "id": 4,
  1534. "name": "pc."
  1535. },
  1536. "item_id": 135,
  1537. "id": 56,
  1538. "total_amount": 36,
  1539. "name": "Turkey Momo",
  1540. "total_cost": 54,
  1541. "meal_component_id": 1,
  1542. "vendor_cost": 3,
  1543. "priority": 1,
  1544. "portion_amount": 2,
  1545. "is_add_on": false,
  1546. "quantity": 18,
  1547. "key": "135-1-1",
  1548. "dietary_restrictions": [
  1549. 3
  1550. ]
  1551. },
  1552. {
  1553. "client_price": 0,
  1554. "included_item_ids": [
  1555. 138
  1556. ],
  1557. "is_included_item": false,
  1558. "dietary_restriction_groups": [
  1559. 6
  1560. ],
  1561. "portion_unit": {
  1562. "id": 4,
  1563. "name": "pc."
  1564. },
  1565. "item_id": 137,
  1566. "id": 57,
  1567. "total_amount": 36,
  1568. "name": "Lamb Momo",
  1569. "total_cost": 54,
  1570. "meal_component_id": 1,
  1571. "vendor_cost": 3,
  1572. "priority": 2,
  1573. "portion_amount": 2,
  1574. "is_add_on": false,
  1575. "quantity": 18,
  1576. "key": "137-1-2",
  1577. "dietary_restrictions": [
  1578. 3
  1579. ]
  1580. },
  1581. {
  1582. "client_price": 0,
  1583. "included_item_ids": [],
  1584. "is_included_item": false,
  1585. "dietary_restriction_groups": [
  1586. 2
  1587. ],
  1588. "portion_unit": {
  1589. "id": 8,
  1590. "name": "oz. (weight)"
  1591. },
  1592. "item_id": 143,
  1593. "id": 58,
  1594. "total_amount": 6,
  1595. "name": "Baigun Bharta",
  1596. "total_cost": 5.5,
  1597. "meal_component_id": 1,
  1598. "vendor_cost": 5.5,
  1599. "priority": 3,
  1600. "portion_amount": 6,
  1601. "is_add_on": false,
  1602. "quantity": 1,
  1603. "key": "143-1-3",
  1604. "dietary_restrictions": [
  1605. 1,
  1606. 2
  1607. ]
  1608. },
  1609. {
  1610. "client_price": 0,
  1611. "included_item_ids": [],
  1612. "is_included_item": false,
  1613. "dietary_restriction_groups": [
  1614. 4
  1615. ],
  1616. "portion_unit": {
  1617. "id": 8,
  1618. "name": "oz. (weight)"
  1619. },
  1620. "item_id": 144,
  1621. "id": 59,
  1622. "total_amount": 12,
  1623. "name": "Grilled Nepali Chicken",
  1624. "total_cost": 11,
  1625. "meal_component_id": 1,
  1626. "vendor_cost": 5.5,
  1627. "priority": 4,
  1628. "portion_amount": 6,
  1629. "is_add_on": false,
  1630. "quantity": 2,
  1631. "key": "144-1-4",
  1632. "dietary_restrictions": []
  1633. },
  1634. {
  1635. "client_price": 0,
  1636. "included_item_ids": [],
  1637. "is_included_item": false,
  1638. "dietary_restriction_groups": [
  1639. 6
  1640. ],
  1641. "portion_unit": {
  1642. "id": 8,
  1643. "name": "oz. (weight)"
  1644. },
  1645. "item_id": 146,
  1646. "id": 60,
  1647. "total_amount": 144,
  1648. "name": "Kukhura Aloo",
  1649. "total_cost": 108,
  1650. "meal_component_id": 1,
  1651. "vendor_cost": 6,
  1652. "priority": 5,
  1653. "portion_amount": 8,
  1654. "is_add_on": false,
  1655. "quantity": 18,
  1656. "key": "146-1-5",
  1657. "dietary_restrictions": []
  1658. },
  1659. {
  1660. "client_price": 0,
  1661. "included_item_ids": [],
  1662. "is_included_item": false,
  1663. "dietary_restriction_groups": [
  1664. 6,
  1665. 4
  1666. ],
  1667. "portion_unit": {
  1668. "id": 8,
  1669. "name": "oz. (weight)"
  1670. },
  1671. "item_id": 147,
  1672. "id": 61,
  1673. "total_amount": 114,
  1674. "name": "Pork Choila",
  1675. "total_cost": 104.5,
  1676. "meal_component_id": 1,
  1677. "vendor_cost": 5.5,
  1678. "priority": 6,
  1679. "portion_amount": 6,
  1680. "is_add_on": false,
  1681. "quantity": 19,
  1682. "key": "147-1-6",
  1683. "dietary_restrictions": [
  1684. 6
  1685. ]
  1686. },
  1687. {
  1688. "client_price": 0,
  1689. "included_item_ids": [],
  1690. "is_included_item": false,
  1691. "dietary_restriction_groups": [
  1692. 2
  1693. ],
  1694. "portion_unit": {
  1695. "id": 8,
  1696. "name": "oz. (weight)"
  1697. },
  1698. "item_id": 148,
  1699. "id": 62,
  1700. "total_amount": 8,
  1701. "name": "Golveda Ra Tofu Hariyo Keraw",
  1702. "total_cost": 6,
  1703. "meal_component_id": 1,
  1704. "vendor_cost": 6,
  1705. "priority": 7,
  1706. "portion_amount": 8,
  1707. "is_add_on": false,
  1708. "quantity": 1,
  1709. "key": "148-1-7",
  1710. "dietary_restrictions": [
  1711. 1,
  1712. 2,
  1713. 6
  1714. ]
  1715. },
  1716. {
  1717. "client_price": 0,
  1718. "included_item_ids": [
  1719. 156
  1720. ],
  1721. "is_included_item": false,
  1722. "dietary_restriction_groups": [
  1723. 6,
  1724. 2,
  1725. 4
  1726. ],
  1727. "portion_unit": {
  1728. "id": 8,
  1729. "name": "oz. (weight)"
  1730. },
  1731. "item_id": 151,
  1732. "id": 63,
  1733. "total_amount": 60,
  1734. "name": "Seasonal Salad",
  1735. "total_cost": 45,
  1736. "meal_component_id": 2,
  1737. "vendor_cost": 1.5,
  1738. "priority": 1,
  1739. "portion_amount": 2,
  1740. "is_add_on": false,
  1741. "quantity": 30,
  1742. "key": "151-2-1",
  1743. "dietary_restrictions": [
  1744. 1,
  1745. 2
  1746. ]
  1747. },
  1748. {
  1749. "client_price": 0,
  1750. "included_item_ids": [],
  1751. "is_included_item": false,
  1752. "dietary_restriction_groups": [
  1753. 6,
  1754. 2,
  1755. 4
  1756. ],
  1757. "portion_unit": {
  1758. "id": 8,
  1759. "name": "oz. (weight)"
  1760. },
  1761. "item_id": 155,
  1762. "id": 64,
  1763. "total_amount": 90,
  1764. "name": "Jeera Brown Rice",
  1765. "total_cost": 45,
  1766. "meal_component_id": 2,
  1767. "vendor_cost": 1.5,
  1768. "priority": 2,
  1769. "portion_amount": 3,
  1770. "is_add_on": false,
  1771. "quantity": 30,
  1772. "key": "155-2-2",
  1773. "dietary_restrictions": [
  1774. 1,
  1775. 2
  1776. ]
  1777. }
  1778. ],
  1779. "item_swaps": [],
  1780. "meal": {
  1781. "id": 12,
  1782. "name": "Turkey/Lamb Momo Meal",
  1783. "package": "VARIETY"
  1784. },
  1785. "menu": {
  1786. "id": 7,
  1787. "name": "Nepali Momo Menu",
  1788. "description": "Nepali food is hearty and flavorful! Get a taste with some salad, two sides, two momos, one main and some of Bini's tomato-cilantro sauce for dipping."
  1789. },
  1790. "notes": "Attendees: 200 | Package: $12pp, Variety\n",
  1791. "organization": {
  1792. "id": 8015,
  1793. "name": "Keller WIlliams Realty Inc Avery Lavender",
  1794. "meal_specialist": 9098,
  1795. "ops_notes": ""
  1796. },
  1797. "vendor": {
  1798. "id": 559,
  1799. "name": "Bini's Kitchen",
  1800. "branch": ""
  1801. },
  1802. "guests": 30,
  1803. "delivery_pickup_time": "2019-07-10T08:25:00-07:00",
  1804. "timezone": "America/Chicago",
  1805. "is_demo": false,
  1806. "is_canceled": false,
  1807. "latest_order_ack_id": 120437,
  1808. "vendor_ack_status": "initial_requested",
  1809. "dietary_restrictions": [
  1810. {
  1811. "id": 1,
  1812. "count": 0
  1813. },
  1814. {
  1815. "id": 2,
  1816. "count": 2
  1817. },
  1818. {
  1819. "id": 3,
  1820. "count": 0
  1821. },
  1822. {
  1823. "id": 4,
  1824. "count": 3
  1825. },
  1826. {
  1827. "id": 5,
  1828. "count": 0
  1829. },
  1830. {
  1831. "id": 6,
  1832. "count": 0
  1833. }
  1834. ],
  1835. "total_cost": null,
  1836. "schedule_ruleset": {
  1837. "id": 10879,
  1838. "name": "Ad Hoc Lunch",
  1839. "ops_notes": "Attendees: 200 | Package: $12pp, Variety\n",
  1840. "guest_count": 30,
  1841. "meal_type": {},
  1842. "meal_period": {
  1843. "id": 2,
  1844. "name": "Lunch"
  1845. },
  1846. "package": "variety",
  1847. "dietary_restrictions_groups": [
  1848. {
  1849. "id": 1,
  1850. "name": "Vegetarian"
  1851. },
  1852. {
  1853. "id": 2,
  1854. "name": "Vegan"
  1855. },
  1856. {
  1857. "id": 3,
  1858. "name": "Vegan + Gluten Free"
  1859. },
  1860. {
  1861. "id": 4,
  1862. "name": "Meat + Gluten Free"
  1863. },
  1864. {
  1865. "id": 5,
  1866. "name": "Meat + Dairy Free"
  1867. }
  1868. ],
  1869. "frequency": null,
  1870. "organization_allergies": [
  1871. {
  1872. "id": 8,
  1873. "name": "shellfish"
  1874. }
  1875. ],
  1876. "organization": {
  1877. "id": 8015,
  1878. "name": "Keller WIlliams Realty Inc Avery Lavender"
  1879. },
  1880. "notes": "Attendees: 200 | Package: $12pp, Variety\n"
  1881. },
  1882. "is_big_eater": false,
  1883. "big_eater_type": "",
  1884. "big_eater_omnivore_count": 0,
  1885. "big_eater_vegetarian_count": 0
  1886. }
  1887. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement