Gofive OpenAPI
empeoVenio
eTaxGo
empeoVenio
eTaxGo
  1. SalesOrder
  • 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
    • Convert Quotation To SalesOrder
    • Quotation Enquiry
    • Get a Quotation By QuotationNo
    • Cancel Quotation
    • Get Pdf By QuotationNo
  • SalesOrder
    • Create Or Update SalesOrder
      POST
    • Get a SalesOrder By Id
      GET
    • Get a SalesOrder By No
      GET
    • Get Sale Order Attachment by Id
      GET
    • Get Sale Order Attachment By No
      GET
    • Reject SaleOrder
      DELETE
    • Approve Sale Order
      PUT
    • Update SalesOrder Payment
      PUT
    • Get Pdf By SalesOrderNo
      GET
    • Update SalesOrder Tracking Number
      PUT
  • 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. SalesOrder

Update SalesOrder Tracking Number

Developing
PUT
https://api.gofive.co.th/v2/salesorder/{salesOrderNo}/shipping-detail
อัพเดทข้อมูล tracking number ของ salesorder

Request

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

Header Params

Body Params application/json

Example
{
    "trackingNumber": "string"
}

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 PUT 'https://api.gofive.co.th/v2/salesorder//shipping-detail' \
--header 'Ocp-Apim-Subscription-Key: <Your Subscription-Key>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "trackingNumber": "string"
}'

Responses

🟢200Success
application/json
Body

Examples
{
    "status": {
        "code": "1000",
        "description": "Success"
    },
    "data": {
        "salesOrderSubject": "ใบสั่งขาย - บริษัท ABC จำกัด",
        "customerCode": "CUST-001",
        "customerId": 1001,
        "salesOrderNo": "SOZ-260400032",
        "salesOrderStatus": 1,
        "salesOrderDate": "2026-04-21T00:00:00",
        "recipientName": "คุณสมชาย ใจดี",
        "recipientAddress": "123/45 ถ.สุขุมวิท แขวงคลองเตย เขตคลองเตย กรุงเทพฯ 10110",
        "headerTemplateId": 1,
        "warehouseCode": "WHGENERAL",
        "salesorderDetails": [
            {
                "productCode": "PRD-001",
                "productName": "สินค้าตัวอย่าง A",
                "price": 1000.00,
                "qty": 2.00,
                "productUnitName": "ชิ้น",
                "productDescription": "รายละเอียดสินค้าตัวอย่าง A",
                "discountValue": 50.00,
                "discountType": false,
                "vatTaxValue": 7.00,
                "whtTaxValue": 3.00,
                "totalPrice": 1950.00,
                "unitId": 10,
                "isShipping": true,
                "warehouseCode": "WHGENERAL"
            },
            {
                "productCode": "PRD-002",
                "productName": "สินค้าตัวอย่าง B",
                "price": 500.00,
                "qty": 5.00,
                "productUnitName": "กล่อง",
                "productDescription": "รายละเอียดสินค้าตัวอย่าง B",
                "discountValue": 10.00,
                "discountType": true,
                "vatTaxValue": 7.00,
                "whtTaxValue": null,
                "totalPrice": 2325.00,
                "unitId": 12,
                "isShipping": false,
                "warehouseCode": "WHGENERAL"
            }
        ],
        "discountName": "ส่วนลดพิเศษ",
        "discountValue": 100.00,
        "discountType": false,
        "paymentTerm": "Net 30",
        "remark": "กรุณาจัดส่งในวันทำการถัดไป",
        "staffCode": "STAFF-001",
        "salesOrderNote": "ลูกค้า VIP — ดูแลเป็นพิเศษ",
        "vatCalculation": true,
        "subTotal": 4275.00,
        "subTotalWithDiscount": 4175.00,
        "grandTotal": 4467.25,
        "payment": {
            "valueType": 1,
            "schedulePayments": [
                {
                    "installmentNumber": 1,
                    "status": 1,
                    "installmentAmount": 2233.63,
                    "installmentPercent": 50.00
                },
                {
                    "installmentNumber": 2,
                    "status": 0,
                    "installmentAmount": 2233.62,
                    "installmentPercent": 50.00
                }
            ]
        },
        "privateNote": "โน้ตสำหรับทีมภายใน ไม่แสดงลูกค้า",
        "invoiceInfo": {
            "id": 5001,
            "integrationPlatform": 400020,
            "integrationBuyerId": "shopee_buyer_98765",
            "type": 13002,
            "customerName": "บริษัท ABC จำกัด",
            "taxId": "0105560123456",
            "isEtax": true,
            "isHeadOffice": true,
            "branch": "สำนักงานใหญ่",
            "branchCode": "00000",
            "country": "TH",
            "province": "กรุงเทพมหานคร",
            "district": "คลองเตย",
            "subDistrict": "คลองเตย",
            "zipCode": "10110",
            "phone": "02-123-4567",
            "address": "123/45 ถ.สุขุมวิท แขวงคลองเตย เขตคลองเตย กรุงเทพฯ",
            "email": "[email protected]"
        },
        "shippingDocumentUrl": "https://storage.veniocrm.com/shipping/SOZ-260400032.pdf",
        "trackingNo": "TH123456789",
        "discounts": [
            {
                "discountName": "ส่วนลดสมาชิก",
                "discountValue": 50.00,
                "discountType": false
            },
            {
                "discountName": "โปรโมชั่นพิเศษ Q2",
                "discountValue": 5.00,
                "discountType": true
            }
        ],
        "referenceNo": "REF-2026-00123",
        "contactId": 301,
        "customerAddressId": 7002,
        "currencyCode": "THB",
        "salesOrderId": 20260400032,
        "totalVat": 292.25,
        "integrationPlatform": 400020,
        "recipient": {
            "name": "คุณสมชาย ใจดี",
            "email": "[email protected]",
            "phone": "081-234-5678",
            "country": "TH",
            "province": "กรุงเทพมหานคร",
            "district": "คลองเตย",
            "subDistrict": "คลองเตย",
            "zipCode": "10110",
            "address": "123/45 ถ.สุขุมวิท แขวงคลองเตย เขตคลองเตย กรุงเทพฯ 10110"
        },
        "isIntegrationOrderPaid": true,
        "salesOrderCustomerAddress": {
            "addressId": 7002,
            "locationName": "ที่อยู่สำนักงานใหญ่",
            "location": "123/45 ถ.สุขุมวิท แขวงคลองเตย เขตคลองเตย กรุงเทพฯ 10110",
            "locationEN": "123/45 Sukhumvit Rd., Khlong Toei, Khlong Toei, Bangkok 10110",
            "fullAddress": "123/45 ถ.สุขุมวิท แขวงคลองเตย เขตคลองเตย กรุงเทพมหานคร 10110",
            "fullAddressEN": "123/45 Sukhumvit Rd., Khlong Toei, Khlong Toei, Bangkok 10110",
            "subdistrict": "คลองเตย",
            "subdistrictEN": "Khlong Toei",
            "district": "คลองเตย",
            "districtEN": "Khlong Toei",
            "province": "กรุงเทพมหานคร",
            "provinceEN": "Bangkok",
            "zipCode": "10110",
            "phone": "02-123-4567"
        }
    }
}
🟠404Not Found
🟠401Unauthorized
🟠401User authentication required V2.
Modified at 2026-04-20 10:51:40
Previous
Get Pdf By SalesOrderNo
Next
Webhook Payload
Built with