Gofive OpenAPI
empeoVenio
eTaxGo
empeoVenio
eTaxGo
  1. Quotation
  • Introduction
  • Activity
    • Activities Enquiry
      POST
    • Get a Activity By Id
      GET
    • Get a Activity By No
      GET
    • Get Key Activities
      GET
    • Create or Update Activity
      POST
  • Authentication API
    • Authorization
      POST
  • Customer
    • Create or Update customer
      POST
    • Customer Search
      POST
    • Customers Enquiry
      POST
    • Get a Customer By CustomerId
      GET
    • Get a Customer By CustomerCode
      GET
    • Get a Customer By CustomerName
      GET
    • Get Customer By TaxID
      GET
    • Check Customer Existence
      POST
    • Create Customer Satisfaction
      POST
    • Add Customer Event
      POST
    • Get Customer Events by Customer Code
      GET
    • Edit Customer Event
      PUT
    • Delete Customer Event
      DELETE
    • Get Customer Event Types
      GET
    • Get file categories
      GET
    • Attach files category
      POST
  • Case
    • Add Case
    • Edit Case by CaseNo
    • Get Case by CaseNo
    • Get Case Categories
  • Contract
    • Get Contract By No
    • Get Contract Types
    • Get Contract Templates
    • Create or Update Contract
    • Create or Update Contract Service Agreement
    • Send Contract Document
  • Conversation
    • Conversation Enquiry
  • Expense
    • Create Expense
    • Update Expense
    • Expense Enquiry
    • Get a Expense
  • Deal
    • Create Deal
    • Update Deal
    • Deal Enquiry
    • Get Deal
    • Get Deal Board
    • Get Deal Stage
    • Get Deal Interest
    • Get DealLabel
    • Get Deal Missed Reason Categories
  • Employee
    • Employees Enquiry
    • Get a Employee
  • Product
    • Create Or Update Products
    • Get a Product Ticket
    • Get Products With Take & Status
    • Get a Product by ProductCode
    • Get Product Groups
    • Get Product Properties
    • Get Products By Filter
    • Verify Serial Number
    • Check Serial Verification Status
    • Create or Update Codeguard Products
    • Update Product Stock
    • Get Units
  • Quotation
    • Create Update Quotation
      POST
    • Convert Quotation To SalesOrder
      POST
    • Quotation Enquiry
      POST
    • Get a Quotation By QuotationNo
      GET
    • Cancel Quotation
      POST
    • Get Pdf By QuotationNo
      GET
  • SalesOrder
    • Create Or Update SalesOrder
    • Get a SalesOrder By Id
    • Get a SalesOrder By No
    • Get Sale Order Attachment by Id
    • Get Sale Order Attachment By No
    • Reject SaleOrder
    • Approve Sale Order
    • Update SalesOrder Payment
    • Get Pdf By SalesOrderNo
    • Update SalesOrder Tracking Number
  • Webhooks
    • Webhook Payload
  • Task
    • Task Enquiry
    • CreateTask
  • Setting
    • Get HeaderTemplate
  • Chat
    • Post Send message
  • Storage
    • Upload files attachments
    • Get file attachments
    • Delete file attachments
  • Calendio
    • Create Venio Calendio Event
    • Edit Venio Calendio Event
    • Get Venio Calendio Events
    • Create empeo Calendio Event
    • Edit empeo Calendio Event
    • Get empeo Calendio Events
    • Get Venio Calendio Event by Id
    • Get empeo Calendio Event by Id
    • Create Appointment
    • Appointment Enquiry
    • Edit Appointment
    • Get Appointment By Id
    • Add Calendio Custom Field
    • Calendio Custom Field Enquiry
    • Get Calendio Custom Field by Id
    • Available slots Enquiry
    • Calendio Bookings Enquiry
    • Reschedule Calendio Booking time
    • Cancel Calendio Booking
  1. Quotation

Convert Quotation To SalesOrder

Developing
POST
https://api.gofive.co.th/v1/quotation/{quotationNo}/convert-to-salesorder
การเปลี่ยนใบเสนอราคาให้กล้ายเป็นใบสั่งขาย convert to salesorder

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.gofive.co.th/v1/quotation//convert-to-salesorder' \
--header 'Ocp-Apim-Subscription-Key: <Your Subscriptin-key>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'

Responses

🟢200OK
application/json
Bodyapplication/json

Examples
{
    "status": {
        "code": "1000",
        "description": "Success"
    },
    "data": {
        "salesOrderSubject": "ใบสั่งขายจากใบเสนอราคา QT-2025-00123",
        "customerCode": "C001",
        "customerId": 5001,
        "salesOrderNo": "SO-2025-00456",
        "salesOrderStatus": 1,
        "salesOrderDate": "2025-04-21T00:00:00",
        "recipientName": "คุณสมชาย ใจดี",
        "recipientAddress": "123 ถนนสุขุมวิท แขวงคลองเตย กรุงเทพฯ 10110",
        "headerTemplateId": 3,
        "warehouseCode": "WH-01",
        "salesorderDetails": [
            {
                "productCode": "PRD-001",
                "productName": "สินค้าตัวอย่าง A",
                "price": 1000.00,
                "qty": 2.00,
                "productUnitName": "ชิ้น",
                "productDescription": "รายละเอียดสินค้า A",
                "discountValue": 50.00,
                "discountType": false,
                "vatTaxValue": 7.00,
                "whtTaxValue": null,
                "totalPrice": 1950.00,
                "unitId": 1,
                "isShipping": true,
                "warehouseCode": "WH-01"
            }
        ],
        "discountName": "ส่วนลดพิเศษ",
        "discountValue": 100.00,
        "discountType": false,
        "paymentTerm": "ชำระภายใน 30 วัน",
        "remark": "กรุณาจัดส่งภายในวันศุกร์",
        "staffCode": "EMP-001",
        "salesOrderNote": "หมายเหตุภายใน",
        "vatCalculation": true,
        "subTotal": 2000.00,
        "subTotalWithDiscount": 1900.00,
        "grandTotal": 2033.00,
        "payment": {
            "valueType": 1,
            "schedulePayments": [
                {
                    "installmentNumber": 1,
                    "status": 2,
                    "installmentAmount": 1016.50,
                    "installmentPercent": 50.00
                },
                {
                    "installmentNumber": 2,
                    "status": 2,
                    "installmentAmount": 1016.50,
                    "installmentPercent": 50.00
                }
            ]
        },
        "privateNote": "หมายเหตุที่ไม่แสดงให้ลูกค้าเห็น",
        "invoiceInfo": {
            "id": 9001,
            "integrationPlatform": 400020,
            "integrationBuyerId": "SHOPEE-BUY-12345",
            "type": 13001,
            "customerName": "สมชาย ใจดี",
            "taxId": "1234567890123",
            "isEtax": true,
            "isHeadOffice": true,
            "branch": "สำนักงานใหญ่",
            "branchCode": "00000",
            "country": "Thailand",
            "province": "กรุงเทพมหานคร",
            "district": "คลองเตย",
            "subDistrict": "คลองเตย",
            "zipCode": "10110",
            "phone": "0812345678",
            "address": "123 ถนนสุขุมวิท",
            "email": "[email protected]"
        },
        "shippingDocumentUrl": "https://storage.example.com/shipping/doc-001.pdf",
        "trackingNo": "TH123456789",
        "discounts": [
            {
                "discountName": "ส่วนลดสมาชิก",
                "discountValue": 50.00,
                "discountType": false
            },
            {
                "discountName": "ส่วนลดตามปริมาณ",
                "discountValue": 5.00,
                "discountType": true
            }
        ],
        "referenceNo": "REF-2025-001",
        "contactId": 101,
        "customerAddressId": 201,
        "currencyCode": "THB",
        "salesOrderId": 277474,
        "totalVat": 133.00,
        "integrationPlatform": 400020,
        "recipient": {
            "name": "คุณสมชาย ใจดี",
            "email": "[email protected]",
            "phone": "0812345678",
            "country": "Thailand",
            "province": "กรุงเทพมหานคร",
            "district": "คลองเตย",
            "subDistrict": "คลองเตย",
            "zipCode": "10110",
            "address": "123 ถนนสุขุมวิท แขวงคลองเตย"
        },
        "isIntegrationOrderPaid": false,
        "salesOrderCustomerAddress": {
            "addressId": 201,
            "locationName": "สำนักงานใหญ่",
            "location": "123 ถนนสุขุมวิท แขวงคลองเตย เขตคลองเตย กรุงเทพฯ 10110",
            "locationEN": "123 Sukhumvit Rd, Khlong Toei, Bangkok 10110",
            "fullAddress": "123 ถนนสุขุมวิท แขวงคลองเตย เขตคลองเตย กรุงเทพมหานคร 10110",
            "fullAddressEN": "123 Sukhumvit Rd, Khlong Toei Sub-district, Khlong Toei District, Bangkok 10110",
            "subdistrict": "คลองเตย",
            "subdistrictEN": "Khlong Toei",
            "district": "คลองเตย",
            "districtEN": "Khlong Toei",
            "province": "กรุงเทพมหานคร",
            "provinceEN": "Bangkok",
            "zipCode": "10110",
            "phone": "021234567"
        }
    }
}
🟢200Bad Request
🟠401Unauthorized
Modified at 2026-04-22 03:02:26
Previous
Create Update Quotation
Next
Quotation Enquiry
Built with