{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "https:\/\/courses-plus-api.architechpro.cc"
        }
    ],
    "info": {
        "name": "Courses Plus Api Documentation",
        "_postman_id": "bbe3d51d-a45e-474e-9041-72aba715bbe0",
        "description": "",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "Courses",
            "description": "",
            "item": [
                {
                    "name": "Sections (modules)",
                    "description": "Endpoints to work with course sections (modules)",
                    "item": [
                        {
                            "name": "Course sections",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/courses\/:courseId\/sections",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/courses\/:courseId\/sections",
                                    "variable": [
                                        {
                                            "id": "courseId",
                                            "key": "courseId",
                                            "value": "123456789",
                                            "description": "ID of the course"
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Access-Control-Allow-Origin",
                                        "value": "*"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"shop\":\"example-shop.myshopify.com\",\"course_type\":\"regular\"}"
                                },
                                "description": "Display a list of sections for a course"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n \"sections\": [\n     {\n         \"id\": 123456789,\n          \"title\": \"Test preparation\",\n          \"course_id\": 123456789,\n          \"order\": 1,\n          \"created_at\": \"2024-01-01T06:30:10+00:00\",\n          \"updated_at\": \"2024-01-01T06:30:10+00:00\",\n          \"removed\": false,\n          \"visible\": true,\n      }\n ]\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Course section",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/courses\/:courseId\/sections\/:sectionId",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/courses\/:courseId\/sections\/:sectionId",
                                    "variable": [
                                        {
                                            "id": "courseId",
                                            "key": "courseId",
                                            "value": "123456789",
                                            "description": "ID of the course"
                                        },
                                        {
                                            "id": "sectionId",
                                            "key": "sectionId",
                                            "value": "123456789",
                                            "description": "ID of the section"
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Access-Control-Allow-Origin",
                                        "value": "*"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"shop\":\"example-shop.myshopify.com\",\"course_type\":\"regular\"}"
                                },
                                "description": "Display a section for selected course"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n \"section\":\n     {\n         \"id\": 123456789,\n         \"title\": \"Test preparation\",\n         \"course_id\": 123456789,\n         \"order\": 1,\n         \"created_at\": \"2024-01-01T06:30:10+00:00\",\n         \"updated_at\": \"2024-01-01T06:30:10+00:00\",\n         \"removed\": false,\n         \"visible\": true,\n     }\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "POST api\/v1\/courses\/{courseId}\/sections",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/courses\/:courseId\/sections",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/courses\/:courseId\/sections",
                                    "variable": [
                                        {
                                            "id": "courseId",
                                            "key": "courseId",
                                            "value": "vel",
                                            "description": ""
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Access-Control-Allow-Origin",
                                        "value": "*"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"shop\":\"pif\",\"title\":\"eeomfe\",\"course_type\":\"regular\",\"status\":true,\"removed\":false,\"visible\":true}"
                                },
                                "description": ""
                            },
                            "response": []
                        },
                        {
                            "name": "DELETE api\/v1\/courses\/{courseId}\/sections\/{sectionId}",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/courses\/:courseId\/sections\/:sectionId",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/courses\/:courseId\/sections\/:sectionId",
                                    "variable": [
                                        {
                                            "id": "courseId",
                                            "key": "courseId",
                                            "value": "voluptas",
                                            "description": ""
                                        },
                                        {
                                            "id": "sectionId",
                                            "key": "sectionId",
                                            "value": "quo",
                                            "description": ""
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Access-Control-Allow-Origin",
                                        "value": "*"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"shop\":\"iwjfoemcyueivl\",\"course_type\":\"open\"}"
                                },
                                "description": ""
                            },
                            "response": []
                        }
                    ]
                },
                {
                    "name": "Student's courses",
                    "description": "The student's courses resource allows you to to retrieve information about all available courses for student. This includes:\n<ul>\n <li>Public courses - available for all customers without logging in.<\/li>\n <li>Free courses - requires either purchase of 0.00 price product or making course free in its' settings.<\/li>\n <li>Purchased (regular) courses - students will be able to access this course after purchasing a paid product or via tag-based access or via manuall enroll.<\/li>\n <li>Private courses - courses that are available via manuall enroll or via tag-based access.<\/li>\n <li>Connected courses - the same as for purchased, but this course type should be connected to a product(s) or product variant(s) and requires its' purchase<\/li>\n<\/ul>",
                    "item": [
                        {
                            "name": "Student's courses",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/student-courses",
                                    "query": [
                                        {
                                            "key": "shop",
                                            "value": "example-shop.myshopify.com",
                                            "description": "Shopify shop",
                                            "disabled": false
                                        },
                                        {
                                            "key": "student_id",
                                            "value": "123456789",
                                            "description": "ID of the student (Shopify customer)",
                                            "disabled": false
                                        },
                                        {
                                            "key": "liquid_product_ids",
                                            "value": "12345678%2C21345678%2C32145678",
                                            "description": "If you already have the list of course products\n                                                         purchased by a customer in your Liquid code (or in any other code you're creating)\n                                                         you may specify them here in order to improve response speed",
                                            "disabled": false
                                        },
                                        {
                                            "key": "variants_ids",
                                            "value": "12345678%2C21345678%2C32145678",
                                            "description": "Comma seperated list of purchased products' variants ids",
                                            "disabled": false
                                        },
                                        {
                                            "key": "tags",
                                            "value": "access_tag%2Cmy+tag%2CMultiple+words+tag",
                                            "description": "Comma seperated list of customer's tags",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/student-courses?shop=example-shop.myshopify.com&student_id=123456789&liquid_product_ids=12345678%2C21345678%2C32145678&variants_ids=12345678%2C21345678%2C32145678&tags=access_tag%2Cmy+tag%2CMultiple+words+tag"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Access-Control-Allow-Origin",
                                        "value": "*"
                                    }
                                ],
                                "body": null,
                                "description": "Display a list of all available courses for a student."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n \"courses\": [\n     {\n         \"id\": 123456789,\n         \"type\": \"regular\",\n         \"title\": \"Paid course\",\n         \"handle\": \"paid-course\",\n         \"short_description\": \"Paid course\",\n         \"description\": \"This is paid course\",\n         \"image\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0504\/5829\/6488\/products\/no_image.png\"\n         \"completionMinutes\": 15\n         \"completionHours\": 20,\n         \"tags\": ['first', 'second', 'third', 'vip']\n         \"link\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0504\/5829\/6488\/products\/no_image.png\",\n         \"total_lessons\": 10,\n         \"finished_lessons\": 2,\n         \"is_free\": false,\n         \"enrolled_date\": 1703548800,\n         \"prerequisite_json\": \"[\\\"8042275799318\\\", \\\"8002744353046\\\", \\\"8438703227158\\\"]\",\n         \"instructor\": {\n             \"id\": 42,\n             \"shop\": \"example-shop.myshopify.com\",\n             \"customer_id\": 7012569871234,\n             \"email\": \"david.chen@summityoga.com\",\n             \"title\": \"Senior Yoga Instructor\",\n             \"bio\": \"David is a certified E-RYT 500 instructor with over a decade of experience in Vinyasa and Hatha yoga. His passion is making the principles of mindfulness and alignment accessible to everyone, from complete beginners to advanced practitioners. When he's not on the mat, David enjoys trail running and writing about holistic wellness.\",\n             \"settings\": \"{\\\"show_phone\\\": false, \\\"contact_form_enabled\\\": true}\",\n             \"twitter\": \"davidchen_yoga\",\n             \"facebook\": \"DavidChenYoga\",\n             \"linkedin\": \"in\/david-chen-yoga\",\n             \"instagram\": \"davidchen.mindfulmovement\",\n             \"youtube\": \"https:\/\/www.youtube.com\/c\/DavidChenYoga\",\n             \"website\": \"https:\/\/www.davidchenyoga.com\",\n             \"created_at\": \"2023-05-15 14:22:05\",\n             \"updated_at\": \"2024-10-28 09:15:33\",\n             \"customer\": {\n              \"id\": 7012569871234,\n              \"lastName\": \"Chen\",\n              \"firstName\": \"David\",\n              \"email\": \"david.chen@summityoga.com\",\n              \"state\": \"ENABLED\",\n              \"displayName\": \"David Chen\",\n              \"tags\": [\n                  \"vip_customer\",\n                  \"workshop_attendee_2023\",\n                  \"yoga_pro_subscription\",\n                  \"instructor\",\n                  \"newsletter_subscriber\"\n              ],\n              \"gid\": \"gid:\/\/shopify\/Customer\/7012569871234\"\n             }\n         }\n     }\n ]\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Student's private courses",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/student-courses\/private",
                                    "query": [
                                        {
                                            "key": "shop",
                                            "value": "example-shop.myshopify.com",
                                            "description": "Shopify shop",
                                            "disabled": false
                                        },
                                        {
                                            "key": "student_id",
                                            "value": "123456789",
                                            "description": "Id of the student to get private courses info",
                                            "disabled": false
                                        },
                                        {
                                            "key": "liquid_product_ids[0]",
                                            "value": "16",
                                            "description": "",
                                            "disabled": false
                                        },
                                        {
                                            "key": "variants_ids[0]",
                                            "value": "13",
                                            "description": "",
                                            "disabled": false
                                        },
                                        {
                                            "key": "tags[0]",
                                            "value": "dxbtyn",
                                            "description": "Must not be greater than 255 characters.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/v1\/student-courses\/private?shop=example-shop.myshopify.com&student_id=123456789&liquid_product_ids[0]=16&variants_ids[0]=13&tags[0]=dxbtyn"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Access-Control-Allow-Origin",
                                        "value": "*"
                                    }
                                ],
                                "body": null,
                                "description": "Display a list of all available private courses for a student."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n \"data\": {\n\"private_courses\": [\n{\n\"private_course_id\": 1,\n\"shop\": \"example-shop.myshopify.com\",\n\"title\": \"test private course\",\n\"description\": \"long course description\",\n\"short_description\": \"short description for private course\",\n\"handle\": \"test_private_course\",\n\"certificate\": 0,\n\"completion_hours\": 0,\n\"completion_minutes\": 0,\n\"hidden\": 0,\n\"buttontext\": \"private course download link\",\n\"settings\": null,\n\"customer_tag_value\": null,\n\"customer_tag_enabled\": 0,\n\"order\": 0,\n\"image\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0504\/5829\/6488\/products\/no_image.png\",\n\"category\": \"my private courses\",\n\"created_at\": \"2023-10-12 07:25:52\",\n\"updated_at\": \"2023-10-12 07:25:52\"\n}\n]\n}\n}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Course structure",
                    "description": "",
                    "item": [
                        {
                            "name": "Course lessons",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/courses\/:courseId\/lessons",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/courses\/:courseId\/lessons",
                                    "variable": [
                                        {
                                            "id": "courseId",
                                            "key": "courseId",
                                            "value": "123456789",
                                            "description": "ID of the course"
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Access-Control-Allow-Origin",
                                        "value": "*"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"shop\":\"example-shop.myshopify.com\",\"course_type\":\"regular\"}"
                                },
                                "description": "Provides course lessons"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n \"lessons\": [\n     {\n          \"id\": 123456789,\n          \"type\": \"regular\",\n          \"course_id\": 123456789,\n          \"course_type\": \"private\",\n          \"title\": \"Getting stared with revision\",\n          \"order\": 1,\n          \"html\": '<div>Hello world<\/div>',\n          \"removed\": false,\n          \"created_at\": \"2024-01-01T06:30:10+00:00\",\n          \"updated_at\": \"2024-01-01T06:30:10+00:00\",\n      }\n ]\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Course quizes",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/courses\/:courseId\/quizes",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/courses\/:courseId\/quizes",
                                    "variable": [
                                        {
                                            "id": "courseId",
                                            "key": "courseId",
                                            "value": "123456789",
                                            "description": "ID of the course"
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Access-Control-Allow-Origin",
                                        "value": "*"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"shop\":\"example-shop.myshopify.com\",\"course_type\":\"regular\"}"
                                },
                                "description": "Provides course quizes"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n \"quizes\" => [\n     {\n         \"id\": 123456789,\n          \"title\": \"Revision test\"\",\n           \"course_id\": 123456789,\n           \"course_type\": \"regular\",\n           \"section_id\": 123456789,\n           \"min_correct_answers_amount\": 100,\n           \"questions_data\": {\n               \"questions\": {\n                   \"1\": [\n                       \"Two plus two equals:\"\n                   ],\n                   \"2\": [\n                       \"Ten times ten equals:\"\n                   ],\n               },\n               \"question_files\": {\n                   \"1\": [\n                       null\n                   ],\n                   \"2\": [\n                       \"https:\/\/cdn.shopify.com\/s\/files\/1\/0675\/8377\/0902\/files\/download.jpg?v=1670491061\"\n                   ],\n               },\n               \"question_options\": {\n                   \"1\": {\n                       \"1\": [\n                           \"2\"\n                       ],\n                       \"2\": [\n                           \"4\"\n                       ]\n                   },\n                   \"2\": {\n                       \"1\": [\n                           \"50\"\n                       ],\n                       \"2\": [\n                           \"0\"\n                       ],\n                       \"3\": [\n                           \"100\"\n                       ]\n                   },\n               },\n               \"question_answers\": {\n                   \"1\": [\n                       \"2\"\n                   ],\n                   \"2\": [\n                       \"3\"\n                   ],\n               }\n           },\n           \"quiz_tag\": \"revision_complete\",\n           \"require_correct_answers\": 10,\n           \"active\": true,\n     }\n ]\n}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Shop courses",
                    "description": "The shop courses resource allows you to retrieve information about all available courses for a shop.",
                    "item": [
                        {
                            "name": "Shop courses",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/shop-courses",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/shop-courses"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Access-Control-Allow-Origin",
                                        "value": "*"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"shop\":\"example-shop.myshopify.com\"}"
                                },
                                "description": "Display all courses for a shop."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n \"courses\": [\n     {\n         \"id\": 123456789,\n         \"type\": \"regular\",\n         \"title\": \"Paid course\",\n         \"handle\": \"paid-course\",\n      }\n ]\n}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Course instructors",
                    "description": "",
                    "item": [
                        {
                            "name": "Course instructors",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/v1\/instructors\/get-course-instructor",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/v1\/instructors\/get-course-instructor"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Access-Control-Allow-Origin",
                                        "value": "*"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"shop\":\"example-shop.myshopify.com\",\"product_id\":123456789,\"type\":\"regular\"}"
                                },
                                "description": "Get information about course instructor."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n     \"id\": 37,\n     \"shop\": \"example-shop.myshopify.com\"\n     \"customer_id\": 6675927990550,\n     \"email\": \"johnsmith@mail.com\",\n     \"title\": \"Specialist\"\n     \"bio\":\"John Smith, expert in yoga field\",\n     \"twitter\": \"\",\n     \"facebook\": \"\",\n     \"linkedin\": \"\",\n     \"instagram\": \"\",\n     \"youtube\": \"\",\n     \"website\": \"john-smith.com\",\n     \"created_at\": \"2023-12-01 09:30:00\",\n     \"updated_at\": \"2023-12-02 10:20:00\",\n     \"customer\": {\n         \"id\": 6675927990550,\n         \"lastName\": \"Doe\"\n         \"firstName\": \"John\"\n         \"email\": \"johndoe@test.com\"\n         \"state\": \"ENABLED\"\n         \"displayName\": \"John Doe\"\n         \"tags\": [\"vip\", \"instructor\"],\n         \"gid\": \"gid:\\\/\\\/shopify\\\/Customer\\\/6675927990550\"\n     }\n }",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Lessons",
            "description": "\nEndpoints to work with course lessons",
            "item": [
                {
                    "name": "Section lessons",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/sections\/:sectionId\/lessons",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/sections\/:sectionId\/lessons",
                            "variable": [
                                {
                                    "id": "sectionId",
                                    "key": "sectionId",
                                    "value": "123456789",
                                    "description": "ID of the course section"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            },
                            {
                                "key": "Access-Control-Allow-Origin",
                                "value": "*"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"shop\":\"example-shop.myshopify.com\"}"
                        },
                        "description": "Display a list of lessons for a section"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n \"lessons\": [\n     {\n         \"id\": 123456789,\n         \"type\": \"regular\",\n         \"course_id\": 123456789,\n         \"course_type\": \"private\",\n         \"title\": \"Getting stared with revision\",\n         \"order\": 1,\n         \"html\": '<div>Hello world<\/div>',\n         \"removed\": false,\n         \"created_at\": \"2024-01-01T06:30:10+00:00\",\n         \"updated_at\": \"2024-01-01T06:30:10+00:00\",\n     }\n ]\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Section lesson",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/sections\/:sectionId\/lessons\/:lessonId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/sections\/:sectionId\/lessons\/:lessonId",
                            "variable": [
                                {
                                    "id": "sectionId",
                                    "key": "sectionId",
                                    "value": "123456789",
                                    "description": "ID of the course section"
                                },
                                {
                                    "id": "lessonId",
                                    "key": "lessonId",
                                    "value": "123456789",
                                    "description": "ID of the section lesson"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            },
                            {
                                "key": "Access-Control-Allow-Origin",
                                "value": "*"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"shop\":\"example-shop.myshopify.com\"}"
                        },
                        "description": "Display a lesson for a section"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n \"lesson\": {\n     \"id\": 123456789,\n     \"type\": \"regular\",\n     \"course_id\": 123456789,\n     \"course_type\": \"private\",\n     \"title\": \"Getting stared with revision\",\n     \"order\": 1,\n     \"html\": '<div>Hello world<\/div>',\n     \"removed\": false,\n     \"created_at\": \"2024-01-01T06:30:10+00:00\",\n     \"updated_at\": \"2024-01-01T06:30:10+00:00\",\n  }\n}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Quizes",
            "description": "\nEndpoints to work with quizes",
            "item": [
                {
                    "name": "Course section quiz",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/sections\/:sectionId\/quiz",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/sections\/:sectionId\/quiz",
                            "variable": [
                                {
                                    "id": "sectionId",
                                    "key": "sectionId",
                                    "value": "123456789",
                                    "description": "ID of the course section"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            },
                            {
                                "key": "Access-Control-Allow-Origin",
                                "value": "*"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"shop\":\"example-shop.myshopify.com\"}"
                        },
                        "description": "Display a quiz for a course section"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n \"quizes\" => [\n     {\n         \"id\": 123456789,\n         \"title\": \"Revision test\"\",\n         \"course_id\": 123456789,\n         \"course_type\": \"regular\",\n         \"section_id\": 123456789,\n         \"min_correct_answers_amount\": 100,\n         \"questions_data\": {\n             \"questions\": {\n                 \"1\": [\n                     \"Two plus two equals:\"\n                 ],\n                 \"2\": [\n                     \"Ten times ten equals:\"\n                 ],\n               },\n               \"question_files\": {\n                   \"1\": [\n                       null\n                   ],\n                   \"2\": [\n                       \"https:\/\/cdn.shopify.com\/s\/files\/1\/0675\/8377\/0902\/files\/download.jpg?v=1670491061\"\n                   ],\n               },\n               \"question_options\": {\n                   \"1\": {\n                       \"1\": [\n                           \"2\"\n                       ],\n                       \"2\": [\n                           \"4\"\n                       ]\n                   },\n                   \"2\": {\n                       \"1\": [\n                           \"50\"\n                       ],\n                       \"2\": [\n                           \"0\"\n                       ],\n                       \"3\": [\n                           \"100\"\n                       ]\n                   },\n               },\n               \"question_answers\": {\n                   \"1\": [\n                       \"2\"\n                   ],\n                   \"2\": [\n                       \"3\"\n                   ],\n               }\n           },\n           \"quiz_tag\": \"revision_complete\",\n           \"require_correct_answers\": 10,\n           \"active\": true,\n     }\n ]\n}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Students",
            "description": "\nEndpoints to work with student access to courses",
            "item": [
                {
                    "name": "Provide course access to a specific student (customer)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/attendees\/:studentId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/attendees\/:studentId",
                            "variable": [
                                {
                                    "id": "studentId",
                                    "key": "studentId",
                                    "value": "123456789",
                                    "description": "ID of the student (Shopify customer)"
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            },
                            {
                                "key": "Access-Control-Allow-Origin",
                                "value": "*"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"shop\":\"example-shop.myshopify.com\",\"product_id\":\"12345678\"}"
                        },
                        "description": "Allows to provide access to a course (or membership) for a customer (student)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{ \"provided\": true }",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Revoke course access to a specific student (customer)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/attendees\/:studentId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/attendees\/:studentId",
                            "variable": [
                                {
                                    "id": "studentId",
                                    "key": "studentId",
                                    "value": "123456789",
                                    "description": "ID of the student (Shopify customer)"
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            },
                            {
                                "key": "Access-Control-Allow-Origin",
                                "value": "*"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"shop\":\"example-shop.myshopify.com\",\"product_id\":\"12345678\"}"
                        },
                        "description": "Allows to revoke access to a course (or membership) for a customer (student)"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{ \"revoked\": true }",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Membership \/ Bundles",
            "description": "\nEndpoints to work with bundles",
            "item": [
                {
                    "name": "Display list of courses connected with a product (could be a bundle (membership) or just a product)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/membership-courses\/:membershipId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/membership-courses\/:membershipId",
                            "variable": [
                                {
                                    "id": "membershipId",
                                    "key": "membershipId",
                                    "value": "123456789",
                                    "description": "The ID of the bundle (membership)"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            },
                            {
                                "key": "Access-Control-Allow-Origin",
                                "value": "*"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"shop\":\"example-shop.myshopify.com\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n \"product_ids\": [ 12345678, 12345679, 12345679 ]\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Add a course (by providing product_id) to a bundle (membership)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/membership-courses\/:membershipId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/membership-courses\/:membershipId",
                            "variable": [
                                {
                                    "id": "membershipId",
                                    "key": "membershipId",
                                    "value": "123456789",
                                    "description": "The ID of the bundle (membership)"
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            },
                            {
                                "key": "Access-Control-Allow-Origin",
                                "value": "*"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"shop\":\"example-shop.myshopify.com\",\"product_id\":\"12345678\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{ \"updated\": true }",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Delete a course (by providing product_id) from a bundle (membership)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/membership-courses\/:membershipId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/membership-courses\/:membershipId",
                            "variable": [
                                {
                                    "id": "membershipId",
                                    "key": "membershipId",
                                    "value": "123456789",
                                    "description": "The ID of the bundle (membership)"
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            },
                            {
                                "key": "Access-Control-Allow-Origin",
                                "value": "*"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"shop\":\"example-shop.myshopify.com\",\"product_id\":\"12345678\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{ \"deleted\": \"true\" }",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Shop",
            "description": "\nEndpoints to get information by shop",
            "item": [
                {
                    "name": "Endpoints to get information about shop",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/installed",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/installed"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            },
                            {
                                "key": "Access-Control-Allow-Origin",
                                "value": "*"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"shop\":\"example-shop.myshopify.com\"}"
                        },
                        "description": "Check if Courses Plus app is installed on the shop"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"installed\": true}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Courses extensions",
            "description": "\nAPIs for extensions requests",
            "item": [
                {
                    "name": "Courses extensions",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/extensions\/check-courses-data",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/extensions\/check-courses-data"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            },
                            {
                                "key": "Access-Control-Allow-Origin",
                                "value": "*"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"shop\":\"example-shop.myshopify.com\",\"orderId\":\"5904502620480\"}"
                        },
                        "description": "Check if order items contains course data"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"status\": \"true\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        }
    ],
    "auth": {
        "type": "apikey",
        "apikey": [
            {
                "key": "in",
                "value": "header",
                "type": "string"
            },
            {
                "key": "key",
                "value": "Authorization",
                "type": "string"
            }
        ]
    }
}