{"info":{"_postman_id":"f0c918ab-56a4-448d-a89d-c94ee31ee087","name":"Magento 2 Pre Order GraphQL & Examples","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"10589000","collectionId":"f0c918ab-56a4-448d-a89d-c94ee31ee087","publishedId":"TVYKZwEg","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-10-30T08:31:00.000Z"},"item":[{"name":"Get Customer Orders","id":"1a3969ac-41d2-4d41-a973-c14cb2ed94f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query{\r\n  customerOrders{\r\n    items {\r\n      id\r\n      mp_pre_order_notice\r\n      order_number\r\n      created_at\r\n      grand_total\r\n      status\r\n    }\r\n  }\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"cef511e7-7322-46a0-9136-853e76f3401b","name":"Get Customer Order Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query{\r\n  customerOrders{\r\n    items {\r\n      id\r\n      mp_pre_order_notice\r\n      order_number\r\n      created_at\r\n      grand_total\r\n      status\r\n    }\r\n  }\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 Oct 2020 08:18:17 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=0srkk8l19pimqj01mvc5gkqanj; expires=Fri, 30-Oct-2020 09:18:17 GMT; Max-Age=3600; path=/quynh/ce235c; domain=192.168.1.200; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=afbefb8d58871d79a6e87974db414986; expires=Mon, 28-Oct-2030 08:18:17 GMT; Max-Age=315360000; path=/"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"2085"},{"key":"Content-Type","value":"application/json"},{"key":"X-Varnish","value":"701119"},{"key":"Via","value":"1.1 varnish (Varnish/6.1)"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"-1"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"customerOrders\": {\n            \"items\": [\n                {\n                    \"id\": 1,\n                    \"mp_pre_order_notice\": null,\n                    \"order_number\": \"000000001\",\n                    \"created_at\": \"2020-10-23 04:05:32\",\n                    \"grand_total\": 36.39,\n                    \"status\": \"processing\"\n                },\n                {\n                    \"id\": 2,\n                    \"mp_pre_order_notice\": null,\n                    \"order_number\": \"000000002\",\n                    \"created_at\": \"2020-10-23 04:05:33\",\n                    \"grand_total\": 39.64,\n                    \"status\": \"closed\"\n                },\n                {\n                    \"id\": 3,\n                    \"mp_pre_order_notice\": \"This order contains pre-order product(s)\",\n                    \"order_number\": \"000000003\",\n                    \"created_at\": \"2020-10-23 07:12:05\",\n                    \"grand_total\": 179.7,\n                    \"status\": \"pending\"\n                },\n                {\n                    \"id\": 4,\n                    \"mp_pre_order_notice\": \"This order contains pre-order product(s)\",\n                    \"order_number\": \"000000004\",\n                    \"created_at\": \"2020-10-27 07:43:24\",\n                    \"grand_total\": 838.89,\n                    \"status\": \"pending\"\n                },\n                {\n                    \"id\": 6,\n                    \"mp_pre_order_notice\": null,\n                    \"order_number\": \"000000006\",\n                    \"created_at\": \"2020-10-29 06:57:59\",\n                    \"grand_total\": 42.97,\n                    \"status\": \"complete\"\n                },\n                {\n                    \"id\": 7,\n                    \"mp_pre_order_notice\": null,\n                    \"order_number\": \"000000007\",\n                    \"created_at\": \"2020-10-29 07:00:08\",\n                    \"grand_total\": 43.67,\n                    \"status\": \"complete\"\n                },\n                {\n                    \"id\": 8,\n                    \"mp_pre_order_notice\": null,\n                    \"order_number\": \"000000008\",\n                    \"created_at\": \"2020-10-29 07:06:23\",\n                    \"grand_total\": 53.41,\n                    \"status\": \"complete\"\n                },\n                {\n                    \"id\": 9,\n                    \"mp_pre_order_notice\": null,\n                    \"order_number\": \"000000009\",\n                    \"created_at\": \"2020-10-29 07:17:06\",\n                    \"grand_total\": 111.5,\n                    \"status\": \"closed\"\n                },\n                {\n                    \"id\": 10,\n                    \"mp_pre_order_notice\": null,\n                    \"order_number\": \"000000010\",\n                    \"created_at\": \"2020-10-29 07:18:18\",\n                    \"grand_total\": 111.5,\n                    \"status\": \"pending\"\n                },\n                {\n                    \"id\": 11,\n                    \"mp_pre_order_notice\": null,\n                    \"order_number\": \"000000011\",\n                    \"created_at\": \"2020-10-29 07:19:16\",\n                    \"grand_total\": 111.2,\n                    \"status\": \"complete\"\n                },\n                {\n                    \"id\": 12,\n                    \"mp_pre_order_notice\": null,\n                    \"order_number\": \"000000012\",\n                    \"created_at\": \"2020-10-29 07:21:47\",\n                    \"grand_total\": 111.2,\n                    \"status\": \"complete\"\n                },\n                {\n                    \"id\": 13,\n                    \"mp_pre_order_notice\": \"This order contains pre-order product(s)\",\n                    \"order_number\": \"000000013\",\n                    \"created_at\": \"2020-10-29 07:23:25\",\n                    \"grand_total\": 53.41,\n                    \"status\": \"complete\"\n                },\n                {\n                    \"id\": 14,\n                    \"mp_pre_order_notice\": null,\n                    \"order_number\": \"000000014\",\n                    \"created_at\": \"2020-10-30 02:46:35\",\n                    \"grand_total\": 53.41,\n                    \"status\": \"closed\"\n                },\n                {\n                    \"id\": 15,\n                    \"mp_pre_order_notice\": null,\n                    \"order_number\": \"000000015\",\n                    \"created_at\": \"2020-10-30 07:51:16\",\n                    \"grand_total\": 141.81,\n                    \"status\": \"pending\"\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"1a3969ac-41d2-4d41-a973-c14cb2ed94f8"},{"name":"Get Product","id":"cfa7e6f8-048e-4773-9459-47962a069169","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query{\r\n  products(filter:{category_id:{eq:\"6\"}}){\r\n     total_count\r\n    items {\r\n      id\r\n      name\r\n      mp_pre_order {\r\n        button_label\r\n        children\r\n        option_map\r\n        stock_notice\r\n      }\r\n    }\r\n    page_info {\r\n      current_page\r\n      page_size\r\n      total_pages\r\n    }\r\n    sort_fields {\r\n      default\r\n    }\r\n   \r\n    aggregations {\r\n      count\r\n      label\r\n      attribute_code\r\n      options {\r\n        count\r\n        label\r\n      }\r\n    }\r\n  }\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql","description":"<p>All calls for a logged in customer must specify customer’s token {{customer_token}} in the Headers</p>\n","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"2bad819c-086b-4125-b441-d1091fdb0471","name":"Get Product Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query{\r\n  products(filter:{category_id:{eq:\"4\"}}){\r\n     total_count\r\n    items {\r\n      id\r\n      name\r\n      mp_pre_order {\r\n        button_label\r\n        children\r\n        option_map\r\n        stock_notice\r\n      }\r\n    }\r\n    page_info {\r\n      current_page\r\n      page_size\r\n      total_pages\r\n    }\r\n    sort_fields {\r\n      default\r\n    }\r\n   \r\n    aggregations {\r\n      count\r\n      label\r\n      attribute_code\r\n      options {\r\n        count\r\n        label\r\n      }\r\n    }\r\n  }\r\n}","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 Oct 2020 08:53:31 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=0srkk8l19pimqj01mvc5gkqanj; expires=Fri, 30-Oct-2020 09:53:32 GMT; Max-Age=3600; path=/quynh/ce235c; domain=192.168.1.200; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=644ace17cebb18c23d0c61e6546987f8; expires=Mon, 28-Oct-2030 08:53:32 GMT; Max-Age=315360000; path=/"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4859"},{"key":"Content-Type","value":"application/json"},{"key":"X-Varnish","value":"138283"},{"key":"Via","value":"1.1 varnish (Varnish/6.1)"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"-1"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"products\": {\n            \"total_count\": 14,\n            \"items\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"Joust Duffle Bag\",\n                    \"mp_pre_order\": {\n                        \"button_label\": \"Add to Cart\",\n                        \"children\": null,\n                        \"option_map\": null,\n                        \"stock_notice\": \"\"\n                    }\n                },\n                {\n                    \"id\": 2,\n                    \"name\": \"Strive Shoulder Pack\",\n                    \"mp_pre_order\": {\n                        \"button_label\": \"Add to Cart\",\n                        \"children\": null,\n                        \"option_map\": null,\n                        \"stock_notice\": \"\"\n                    }\n                },\n                {\n                    \"id\": 3,\n                    \"name\": \"Crown Summit Backpack\",\n                    \"mp_pre_order\": {\n                        \"button_label\": \"Add to Cart\",\n                        \"children\": null,\n                        \"option_map\": null,\n                        \"stock_notice\": \"\"\n                    }\n                },\n                {\n                    \"id\": 4,\n                    \"name\": \"Wayfarer Messenger Bag\",\n                    \"mp_pre_order\": {\n                        \"button_label\": \"Add to Cart\",\n                        \"children\": null,\n                        \"option_map\": null,\n                        \"stock_notice\": \"\"\n                    }\n                },\n                {\n                    \"id\": 5,\n                    \"name\": \"Rival Field Messenger\",\n                    \"mp_pre_order\": {\n                        \"button_label\": \"Add to Cart\",\n                        \"children\": null,\n                        \"option_map\": null,\n                        \"stock_notice\": \"\"\n                    }\n                },\n                {\n                    \"id\": 6,\n                    \"name\": \"Fusion Backpack\",\n                    \"mp_pre_order\": {\n                        \"button_label\": \"Add to Cart\",\n                        \"children\": null,\n                        \"option_map\": null,\n                        \"stock_notice\": \"\"\n                    }\n                },\n                {\n                    \"id\": 7,\n                    \"name\": \"Impulse Duffle\",\n                    \"mp_pre_order\": {\n                        \"button_label\": \"Add to Cart\",\n                        \"children\": null,\n                        \"option_map\": null,\n                        \"stock_notice\": \"\"\n                    }\n                },\n                {\n                    \"id\": 8,\n                    \"name\": \"Voyage Yoga Bag\",\n                    \"mp_pre_order\": {\n                        \"button_label\": \"Add to Cart\",\n                        \"children\": null,\n                        \"option_map\": null,\n                        \"stock_notice\": \"\"\n                    }\n                },\n                {\n                    \"id\": 9,\n                    \"name\": \"Compete Track Tote\",\n                    \"mp_pre_order\": {\n                        \"button_label\": \"Add to Cart\",\n                        \"children\": null,\n                        \"option_map\": null,\n                        \"stock_notice\": \"\"\n                    }\n                },\n                {\n                    \"id\": 10,\n                    \"name\": \"Savvy Shoulder Tote\",\n                    \"mp_pre_order\": {\n                        \"button_label\": \"Add to Cart\",\n                        \"children\": null,\n                        \"option_map\": null,\n                        \"stock_notice\": \"\"\n                    }\n                },\n                {\n                    \"id\": 11,\n                    \"name\": \"Endeavor Daytrip Backpack\",\n                    \"mp_pre_order\": {\n                        \"button_label\": \"Add to Cart\",\n                        \"children\": null,\n                        \"option_map\": null,\n                        \"stock_notice\": \"\"\n                    }\n                },\n                {\n                    \"id\": 12,\n                    \"name\": \"Driven Backpack\",\n                    \"mp_pre_order\": {\n                        \"button_label\": \"Add to Cart\",\n                        \"children\": null,\n                        \"option_map\": null,\n                        \"stock_notice\": \"\"\n                    }\n                },\n                {\n                    \"id\": 13,\n                    \"name\": \"Overnight Duffle\",\n                    \"mp_pre_order\": {\n                        \"button_label\": \"Backorder\",\n                        \"children\": null,\n                        \"option_map\": null,\n                        \"stock_notice\": \"Available Soon\"\n                    }\n                },\n                {\n                    \"id\": 14,\n                    \"name\": \"Push It Messenger Bag\",\n                    \"mp_pre_order\": {\n                        \"button_label\": \"Pre-order\",\n                        \"children\": null,\n                        \"option_map\": null,\n                        \"stock_notice\": \"Available Soon\"\n                    }\n                }\n            ],\n            \"page_info\": {\n                \"current_page\": 1,\n                \"page_size\": 20,\n                \"total_pages\": 1\n            },\n            \"sort_fields\": {\n                \"default\": \"position\"\n            },\n            \"aggregations\": [\n                {\n                    \"count\": 5,\n                    \"label\": \"Price\",\n                    \"attribute_code\": \"price\",\n                    \"options\": [\n                        {\n                            \"count\": 1,\n                            \"label\": \"20-30\"\n                        },\n                        {\n                            \"count\": 7,\n                            \"label\": \"30-40\"\n                        },\n                        {\n                            \"count\": 4,\n                            \"label\": \"40-50\"\n                        },\n                        {\n                            \"count\": 1,\n                            \"label\": \"50-60\"\n                        },\n                        {\n                            \"count\": 1,\n                            \"label\": \"70-*\"\n                        }\n                    ]\n                },\n                {\n                    \"count\": 4,\n                    \"label\": \"Category\",\n                    \"attribute_code\": \"category_id\",\n                    \"options\": [\n                        {\n                            \"count\": 14,\n                            \"label\": \"Gear\"\n                        },\n                        {\n                            \"count\": 14,\n                            \"label\": \"Bags\"\n                        },\n                        {\n                            \"count\": 7,\n                            \"label\": \"Collections\"\n                        },\n                        {\n                            \"count\": 3,\n                            \"label\": \"New Luma Yoga Collection\"\n                        }\n                    ]\n                },\n                {\n                    \"count\": 1,\n                    \"label\": \"Color\",\n                    \"attribute_code\": \"color\",\n                    \"options\": [\n                        {\n                            \"count\": 2,\n                            \"label\": \"Black\"\n                        }\n                    ]\n                },\n                {\n                    \"count\": 8,\n                    \"label\": \"Activity\",\n                    \"attribute_code\": \"activity\",\n                    \"options\": [\n                        {\n                            \"count\": 6,\n                            \"label\": \"Yoga\"\n                        },\n                        {\n                            \"count\": 9,\n                            \"label\": \"Gym\"\n                        },\n                        {\n                            \"count\": 4,\n                            \"label\": \"Hiking\"\n                        },\n                        {\n                            \"count\": 4,\n                            \"label\": \"Overnight\"\n                        },\n                        {\n                            \"count\": 6,\n                            \"label\": \"School\"\n                        },\n                        {\n                            \"count\": 2,\n                            \"label\": \"Trail\"\n                        },\n                        {\n                            \"count\": 5,\n                            \"label\": \"Travel\"\n                        },\n                        {\n                            \"count\": 5,\n                            \"label\": \"Urban\"\n                        }\n                    ]\n                },\n                {\n                    \"count\": 7,\n                    \"label\": \"Style Bags\",\n                    \"attribute_code\": \"style_bags\",\n                    \"options\": [\n                        {\n                            \"count\": 4,\n                            \"label\": \"Backpack\"\n                        },\n                        {\n                            \"count\": 1,\n                            \"label\": \"Luggage\"\n                        },\n                        {\n                            \"count\": 2,\n                            \"label\": \"Duffel\"\n                        },\n                        {\n                            \"count\": 4,\n                            \"label\": \"Messenger\"\n                        },\n                        {\n                            \"count\": 6,\n                            \"label\": \"Laptop\"\n                        },\n                        {\n                            \"count\": 6,\n                            \"label\": \"Exercise\"\n                        },\n                        {\n                            \"count\": 4,\n                            \"label\": \"Tote\"\n                        }\n                    ]\n                },\n                {\n                    \"count\": 9,\n                    \"label\": \"Material\",\n                    \"attribute_code\": \"material\",\n                    \"options\": [\n                        {\n                            \"count\": 1,\n                            \"label\": \"Burlap\"\n                        },\n                        {\n                            \"count\": 1,\n                            \"label\": \"Canvas\"\n                        },\n                        {\n                            \"count\": 1,\n                            \"label\": \"Cotton\"\n                        },\n                        {\n                            \"count\": 2,\n                            \"label\": \"Leather\"\n                        },\n                        {\n                            \"count\": 3,\n                            \"label\": \"Mesh\"\n                        },\n                        {\n                            \"count\": 11,\n                            \"label\": \"Nylon\"\n                        },\n                        {\n                            \"count\": 11,\n                            \"label\": \"Polyester\"\n                        },\n                        {\n                            \"count\": 1,\n                            \"label\": \"Rayon\"\n                        },\n                        {\n                            \"count\": 1,\n                            \"label\": \"Suede\"\n                        }\n                    ]\n                },\n                {\n                    \"count\": 8,\n                    \"label\": \"Strap/Handle\",\n                    \"attribute_code\": \"strap_bags\",\n                    \"options\": [\n                        {\n                            \"count\": 11,\n                            \"label\": \"Adjustable\"\n                        },\n                        {\n                            \"count\": 4,\n                            \"label\": \"Cross Body\"\n                        },\n                        {\n                            \"count\": 2,\n                            \"label\": \"Detachable\"\n                        },\n                        {\n                            \"count\": 9,\n                            \"label\": \"Double\"\n                        },\n                        {\n                            \"count\": 7,\n                            \"label\": \"Padded\"\n                        },\n                        {\n                            \"count\": 7,\n                            \"label\": \"Shoulder\"\n                        },\n                        {\n                            \"count\": 4,\n                            \"label\": \"Single\"\n                        },\n                        {\n                            \"count\": 1,\n                            \"label\": \"Telescoping\"\n                        }\n                    ]\n                },\n                {\n                    \"count\": 10,\n                    \"label\": \"Features\",\n                    \"attribute_code\": \"features_bags\",\n                    \"options\": [\n                        {\n                            \"count\": 1,\n                            \"label\": \"Wheeled\"\n                        },\n                        {\n                            \"count\": 2,\n                            \"label\": \"Hydration Pocket\"\n                        },\n                        {\n                            \"count\": 6,\n                            \"label\": \"Audio Pocket\"\n                        },\n                        {\n                            \"count\": 1,\n                            \"label\": \"Flapover\"\n                        },\n                        {\n                            \"count\": 8,\n                            \"label\": \"Waterproof\"\n                        },\n                        {\n                            \"count\": 10,\n                            \"label\": \"Lightweight\"\n                        },\n                        {\n                            \"count\": 1,\n                            \"label\": \"TSA Approved\"\n                        },\n                        {\n                            \"count\": 5,\n                            \"label\": \"Reflective\"\n                        },\n                        {\n                            \"count\": 7,\n                            \"label\": \"Laptop Sleeve\"\n                        },\n                        {\n                            \"count\": 6,\n                            \"label\": \"Lockable\"\n                        }\n                    ]\n                },\n                {\n                    \"count\": 1,\n                    \"label\": \"Eco Collection\",\n                    \"attribute_code\": \"eco_collection\",\n                    \"options\": [\n                        {\n                            \"count\": 2,\n                            \"label\": \"0\"\n                        }\n                    ]\n                },\n                {\n                    \"count\": 2,\n                    \"label\": \"Performance Fabric\",\n                    \"attribute_code\": \"performance_fabric\",\n                    \"options\": [\n                        {\n                            \"count\": 1,\n                            \"label\": \"0\"\n                        },\n                        {\n                            \"count\": 1,\n                            \"label\": \"1\"\n                        }\n                    ]\n                },\n                {\n                    \"count\": 2,\n                    \"label\": \"Erin Recommends\",\n                    \"attribute_code\": \"erin_recommends\",\n                    \"options\": [\n                        {\n                            \"count\": 2,\n                            \"label\": \"0\"\n                        },\n                        {\n                            \"count\": 3,\n                            \"label\": \"1\"\n                        }\n                    ]\n                },\n                {\n                    \"count\": 2,\n                    \"label\": \"New\",\n                    \"attribute_code\": \"new\",\n                    \"options\": [\n                        {\n                            \"count\": 1,\n                            \"label\": \"0\"\n                        },\n                        {\n                            \"count\": 3,\n                            \"label\": \"1\"\n                        }\n                    ]\n                },\n                {\n                    \"count\": 2,\n                    \"label\": \"Sale\",\n                    \"attribute_code\": \"sale\",\n                    \"options\": [\n                        {\n                            \"count\": 2,\n                            \"label\": \"0\"\n                        },\n                        {\n                            \"count\": 3,\n                            \"label\": \"1\"\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"cfa7e6f8-048e-4773-9459-47962a069169"},{"name":"Get Cart","id":"575dea04-3381-49ca-9417-b176c733eae5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"graphql","graphql":{"query":"query {\r\n\tcart(cart_id: \"i9fOlzSSq3My73oBIUwZ37fPatUMGGd3\") {\r\n\t\tid\r\n\t\temail\r\n\t\ttotal_quantity\r\n\t\tmp_pre_order_notice\r\n\t\tprices {\r\n\t\t\tgrand_total {\r\n\t\t\t\tcurrency\r\n\t\t\t\tvalue\r\n\t\t\t}\r\n\t\t}\r\n\t\titems {\r\n\t\t\tid\r\n\t\t\tmp_pre_order_message\r\n\t\t\tquantity\r\n\t\t\tproduct {\r\n\t\t\t\tid\r\n\t\t\t\tname\r\n\t\t\t}\r\n\t\t\tprices {\r\n\t\t\t\tdiscounts {\r\n\t\t\t\t\tamount {\r\n\t\t\t\t\t\tcurrency\r\n\t\t\t\t\t\tvalue\r\n\t\t\t\t\t}\r\n\t\t\t\t\tlabel\r\n\t\t\t\t}\r\n\t\t\t\tprice {\r\n\t\t\t\t\tcurrency\r\n\t\t\t\t\tvalue\r\n\t\t\t\t}\r\n\t\t\t\trow_total {\r\n\t\t\t\t\tcurrency\r\n\t\t\t\t\tvalue\r\n\t\t\t\t}\r\n\t\t\t\trow_total_including_tax {\r\n\t\t\t\t\tcurrency\r\n\t\t\t\t\tvalue\r\n\t\t\t\t}\r\n\t\t\t\ttotal_item_discount {\r\n\t\t\t\t\tcurrency\r\n\t\t\t\t\tvalue\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql","description":"<p>All calls for a logged in customer must specify customer’s token {{customer_token}} in the Headers</p>\n","urlObject":{"path":["graphql"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"c5b1bff6-d602-4501-9249-c3fd2ce28cf3","name":"Get Cart Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{customer_token}}"}],"body":{"mode":"graphql","graphql":{"query":"query {\r\n\tcart(cart_id: \"i9fOlzSSq3My73oBIUwZ37fPatUMGGd3\") {\r\n\t\tid\r\n\t\temail\r\n\t\ttotal_quantity\r\n\t\tmp_pre_order_notice\r\n\t\tprices {\r\n\t\t\tgrand_total {\r\n\t\t\t\tcurrency\r\n\t\t\t\tvalue\r\n\t\t\t}\r\n\t\t}\r\n\t\titems {\r\n\t\t\tid\r\n\t\t\tmp_pre_order_message\r\n\t\t\tquantity\r\n\t\t\tproduct {\r\n\t\t\t\tid\r\n\t\t\t\tname\r\n\t\t\t}\r\n\t\t\tprices {\r\n\t\t\t\tdiscounts {\r\n\t\t\t\t\tamount {\r\n\t\t\t\t\t\tcurrency\r\n\t\t\t\t\t\tvalue\r\n\t\t\t\t\t}\r\n\t\t\t\t\tlabel\r\n\t\t\t\t}\r\n\t\t\t\tprice {\r\n\t\t\t\t\tcurrency\r\n\t\t\t\t\tvalue\r\n\t\t\t\t}\r\n\t\t\t\trow_total {\r\n\t\t\t\t\tcurrency\r\n\t\t\t\t\tvalue\r\n\t\t\t\t}\r\n\t\t\t\trow_total_including_tax {\r\n\t\t\t\t\tcurrency\r\n\t\t\t\t\tvalue\r\n\t\t\t\t}\r\n\t\t\t\ttotal_item_discount {\r\n\t\t\t\t\tcurrency\r\n\t\t\t\t\tvalue\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n","variables":""}},"url":"{{magento_base_url}}/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 02 Nov 2020 07:50:35 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=d7nqkvb9pkvh1ibat1tb0n6ump; expires=Mon, 02-Nov-2020 08:50:35 GMT; Max-Age=3600; path=/quynh/ce235c; domain=192.168.1.200; HttpOnly"},{"key":"Set-Cookie","value":"private_content_version=391a620800cce1471ffa07a5b83a1f26; expires=Thu, 31-Oct-2030 07:50:35 GMT; Max-Age=315360000; path=/"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1048"},{"key":"Content-Type","value":"application/json"},{"key":"X-Varnish","value":"398152"},{"key":"Via","value":"1.1 varnish (Varnish/6.1)"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"-1"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"cart\": {\n            \"id\": \"i9fOlzSSq3My73oBIUwZ37fPatUMGGd3\",\n            \"email\": \"roni_cost@example.com\",\n            \"total_quantity\": 2,\n            \"mp_pre_order_notice\": \"This order contains pre-order product(s)\",\n            \"prices\": {\n                \"grand_total\": {\n                    \"currency\": \"USD\",\n                    \"value\": 97.43\n                }\n            },\n            \"items\": [\n                {\n                    \"id\": \"81\",\n                    \"mp_pre_order_message\": \"Overnight Duffle: Sorry, we do not have as many Overnight Duffle as you requested, so we will back the quantity to 2 items remaining.\",\n                    \"quantity\": 1,\n                    \"product\": {\n                        \"id\": 13,\n                        \"name\": \"Overnight Duffle\"\n                    },\n                    \"prices\": {\n                        \"discounts\": null,\n                        \"price\": {\n                            \"currency\": \"USD\",\n                            \"value\": 45\n                        },\n                        \"row_total\": {\n                            \"currency\": \"USD\",\n                            \"value\": 45\n                        },\n                        \"row_total_including_tax\": {\n                            \"currency\": \"USD\",\n                            \"value\": 48.71\n                        },\n                        \"total_item_discount\": {\n                            \"currency\": \"USD\",\n                            \"value\": 0\n                        }\n                    }\n                },\n                {\n                    \"id\": \"82\",\n                    \"mp_pre_order_message\": \"Push It Messenger Bag: Available Soon\",\n                    \"quantity\": 1,\n                    \"product\": {\n                        \"id\": 14,\n                        \"name\": \"Push It Messenger Bag\"\n                    },\n                    \"prices\": {\n                        \"discounts\": null,\n                        \"price\": {\n                            \"currency\": \"USD\",\n                            \"value\": 45\n                        },\n                        \"row_total\": {\n                            \"currency\": \"USD\",\n                            \"value\": 45\n                        },\n                        \"row_total_including_tax\": {\n                            \"currency\": \"USD\",\n                            \"value\": 48.72\n                        },\n                        \"total_item_discount\": {\n                            \"currency\": \"USD\",\n                            \"value\": 0\n                        }\n                    }\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"575dea04-3381-49ca-9417-b176c733eae5"}]}