Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 20180413230842
- // http://127.0.0.1:8000/product/1/
- {
- "productId": 1,
- "name": "เสื้อสีดำ",
- "info": "เสื้อสีดำมาก",
- "price": "125.66",
- "quantity": 30,
- "auction": 0,
- "type": 0,
- "owner_id": 1,
- "viewer": 0,
- "hit": 0,
- "thumbnail": "/path/ab.jpg",
- "created_time": "2018-03-19T17:29:30+07:00",
- "organization": {
- "organizationId": 2,
- "name": "บริษัท ZXC จำกัด",
- "description": "ข้อมูลเกี่ยวกับ บริษัท ZXC จำกัด",
- "thumbnail": "http://abc.com",
- "contribution": 1234.56,
- "category": 2,
- "info": "สวัสดีบริษัท ZXC"
- },
- "category_id": 1,
- "seller": {
- "userId": 1,
- "firstname": "",
- "lastname": "",
- "email": "asdf@do.com",
- "username": "user123",
- "line_id": "ssss",
- "sex": "M",
- "address": "สมศักดิ์\\สมศรี\\ลาดกระบัง23\\ลาดกระบัง23\\กรุงเทพ\\10110\\084-6665478",
- "tel": "0812345678",
- "picture": "http://url.com",
- "order_count": 5,
- "buy_count": 3,
- "sell_count": 1
- },
- "attributes": [
- {
- "id": 1,
- "productId": 1,
- "name": "ขนาด",
- "value": "S",
- "quantity": 5
- },
- {
- "id": 2,
- "productId": 1,
- "name": "ขนาด",
- "value": "M",
- "quantity": 10
- }
- ],
- "images": [
- {
- "productId": 1,
- "url": "path/img1.jpg"
- },
- {
- "productId": 1,
- "url": "path/img2.jpg"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement