{
    "info": {
        "name": "Duwunkyal Mobile API",
        "description": "API for the Duwunkyal mobile app (shopping/customer). **Auth:** Use `POST /api/mobile/customerLogin` to obtain the Bearer token, then send it in the `Authorization: Bearer <token>` header for Cart, Wishlist, Orders, and other protected endpoints. Generated from OpenAPI \u2014 updates when you add new APIs.",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "variable": [
        {
            "key": "base_url",
            "value": "https://duwunkyalgarment.com"
        },
        {
            "key": "token",
            "value": ""
        }
    ],
    "item": [
        {
            "name": "Public",
            "item": [
                {
                    "name": "Get API list",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": "{{base_url}}/api/list"
                    }
                }
            ]
        },
        {
            "name": "Auth",
            "item": [
                {
                    "name": "Customer signup",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/customerSignup",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"name\": \"John Doe\",\n    \"phone\": \"09123456789\",\n    \"email\": \"john@example.com\",\n    \"password\": \"password123\",\n    \"password_confirmation\": \"password123\"\n}"
                        }
                    }
                },
                {
                    "name": "Customer login",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/customerLogin",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"phone\": \"09123456789\",\n    \"password\": \"password123\"\n}"
                        }
                    }
                }
            ]
        },
        {
            "name": "Customer",
            "item": [
                {
                    "name": "Current customer",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/customerMe"
                    }
                },
                {
                    "name": "Edit profile",
                    "request": {
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/customerUpdate",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"name\": \"John Doe\",\n    \"phone\": \"09123456789\",\n    \"email\": \"john@example.com\",\n    \"password\": \"\",\n    \"password_confirmation\": \"\"\n}"
                        }
                    }
                },
                {
                    "name": "Customer logout",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/customerLogout"
                    }
                }
            ]
        },
        {
            "name": "Catalog",
            "item": [
                {
                    "name": "Banner list",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/bannerList"
                    }
                },
                {
                    "name": "Category list",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/categoryList"
                    }
                },
                {
                    "name": "Product list",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/productList"
                    }
                },
                {
                    "name": "Featured product list",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/featuredProductList"
                    }
                },
                {
                    "name": "Product detail",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/productDetail/1"
                    }
                },
                {
                    "name": "Clipart list",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/clipartList"
                    }
                },
                {
                    "name": "Template list",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/templateList"
                    }
                }
            ]
        },
        {
            "name": "Cart",
            "item": [
                {
                    "name": "Cart list",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/cart"
                    }
                },
                {
                    "name": "Add to cart",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/cart",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"productId\": 11,\n    \"quantity\": 0,\n    \"size\": \"M\",\n    \"color\": \"Navy\",\n    \"customPrice\": 22000,\n    \"customization\": {},\n    \"productOverride\": {}\n}"
                        }
                    }
                },
                {
                    "name": "Update cart item quantity",
                    "request": {
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/cart/1",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"quantity\": 2\n}"
                        }
                    }
                },
                {
                    "name": "Remove from cart",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/cart/1"
                    }
                }
            ]
        },
        {
            "name": "Wishlist",
            "item": [
                {
                    "name": "Wishlist list",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/wishlist"
                    }
                },
                {
                    "name": "Add to wishlist",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/wishlist",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"productId\": 11\n}"
                        }
                    }
                },
                {
                    "name": "Check if product in wishlist",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/wishlist/check/1"
                    }
                },
                {
                    "name": "Remove from wishlist",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/wishlist/1"
                    }
                }
            ]
        },
        {
            "name": "Orders",
            "item": [
                {
                    "name": "Order list",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/orders"
                    }
                },
                {
                    "name": "Place order",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/orders",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"shippingAddress\": \"No. 1, Yangon\",\n    \"shippingName\": \"John Doe\",\n    \"shippingPhone\": \"09123456789\"\n}"
                        }
                    }
                },
                {
                    "name": "Order details",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "url": "{{base_url}}/api/mobile/orders/1"
                    }
                }
            ]
        }
    ]
}