JSON ข้อความ · Message objectflexlay-shop-return-request.json
{
"type": "flex",
"altText": "ได้รับคำขอคืนสินค้า RT-20419 แล้ว กรุณาส่งพัสดุคืนภายใน 7 วัน",
"contents": {
"type": "bubble",
"size": "kilo",
"body": {
"type": "box",
"layout": "vertical",
"spacing": "sm",
"paddingAll": "lg",
"contents": [
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "สินค้า",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "เสื้อแจ็กเก็ตกันลม ไซซ์ M",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "เหตุผล",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "ไซซ์ไม่พอดี (ขอเปลี่ยน)",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "ส่งคืนภายใน",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "26 ธ.ค. 2569",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827",
"weight": "bold"
}
]
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "วิธีส่งคืน",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "ส่งที่ร้านสะดวกซื้อ ไม่มีค่าใช้จ่าย",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
},
{
"type": "separator",
"color": "#EEF0F3",
"margin": "lg"
},
{
"type": "text",
"size": "xs",
"text": "เมื่อคลังได้รับสินค้า เราจะคืนเงินหรือส่งสินค้าใหม่ภายใน 3–5 วันทำการ",
"wrap": true,
"color": "#5F6673",
"margin": "lg"
}
]
},
"footer": {
"type": "box",
"layout": "vertical",
"spacing": "sm",
"paddingAll": "lg",
"paddingTop": "none",
"contents": [
{
"type": "button",
"color": "#0369A1",
"style": "primary",
"height": "sm",
"action": {
"type": "uri",
"uri": "https://example.com/returns/RT-20419/label",
"label": "ดาวน์โหลดใบนำส่ง"
}
},
{
"type": "button",
"color": "#0369A1",
"style": "link",
"height": "sm",
"action": {
"type": "uri",
"uri": "https://example.com/returns/RT-20419",
"label": "ติดตามสถานะคำขอ"
}
}
]
},
"header": {
"type": "box",
"layout": "vertical",
"paddingAll": "lg",
"backgroundColor": "#0369A1",
"contents": [
{
"type": "text",
"size": "sm",
"text": "คำขอคืนสินค้า",
"color": "#FFFFFF",
"weight": "bold"
},
{
"type": "text",
"size": "xl",
"text": "RT-20419",
"color": "#FFFFFF",
"margin": "xs",
"weight": "bold"
}
]
}
}
}