Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- POST /order/create/ HTTP/1.1
- Host: 127.0.0.1:8000
- Content-Type: application/json
- Cache-Control: no-cache
- Postman-Token: 67902940-1f5b-4a92-8563-b58fef0ba438
- {
- "userId": 3,
- "cartId": 3,
- "items": [
- {
- "product": {
- "id": 1,
- "name": "เสื้อสีดำ",
- "productAttributeId": 4,
- "thumbnail": "path"
- },
- "organization": "1 Help 1 Life: น้ำสะอาดให้น้องดื่ม",
- "price": 150,
- "quantity": 3
- },
- {
- "product": {
- "id": 11,
- "name": "กางเกงสีน้ำเงิน",
- "productAttributeId": 2,
- "thumbnail": "path"
- },
- "price": 120,
- "organization": "หมื่นฝันปันโอกาส",
- "quantity": 2
- }
- ],
- "address": {
- "firstname": "John",
- "lastname": "Doe",
- "tel": "087-64543214",
- "district": "Ladkrabang",
- "subDistrict": "Ladkrabang",
- "province": "Bangkok",
- "postcode": "10220"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement