Gofive OpenAPI
empeoVenioeTaxGo
empeoVenioeTaxGo
  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
    • Get a Customer By CustomerCode
      GET
    • Customers Enquiry
      POST
    • Get a Customer By CustomerName
      GET
    • 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
  • 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
  • Expense
    • Create Expense
    • Update Expense
    • Expense Enquiry
    • Get a Expense
  • 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
    • /v3/Products/serials/status
    • Create or Update Codeguard Products
    • Update Product Stock
    • /v1/products/units
    • /v1/products/units Copy
  • Quotation
    • Create Update Quotation
    • Convert Quotation To SalesOrder
    • Quotation Enquiry
    • Get a Quotation By QuotationNo
    • Cancel Quotation
  • SalesOrder
    • Create Or Update SalesOrder
      POST
    • Get a SalesOrders By Id
      GET
    • Get a SalesOrder By SalesOrderNo
      GET
    • Get Sale Order Attachment
      GET
    • Reject SaleOrder
      DELETE
    • Approve Sale Order
      PUT
    • Update SalesOrder Payment
      PUT
    • Update SalesOrder Tracking Number
      PUT
  • Webhooks
    • Webhook Payload
  • Task
    • CreateTask
  • Setting
    • Get HeaderTemplate
  • Chat
    • Post Send message
  • Storage
    • Upload files attachments
    • Get file attachments
    • Delete file attachments
  1. SalesOrder

Get a SalesOrder By SalesOrderNo

Developing
GET
https://api.gofive.co.th/v2/salesorder/{salesOrderNo}
ดึงข้อมูล salesorder โดย salesorderNo

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 GET 'https://api.gofive.co.th/v2/salesorder/' \
--header 'Ocp-Apim-Subscription-Key: <Your Subscription-Key>' \
--header 'Content-Type: application/json'

Responses

🟢200Success
application/json
Body

Example
{
    "status": {
        "code": "1000",
        "description": "Success"
    },
    "data": {
        "salesOrderSubject": "string",
        "customerCode": "L000001",
        "customerId": 1234,
        "salesOrderNo": "string",
        "salesOrderStatus": 3,
        "salesOrderDate": "2023-01-23T00:00:00+0700",
        "recipientName": "string",
        "recipientAddress": "string",
        "recipient": {
            "name": "string",
            "country": "string",
            "province": "string",
            "district": "string",
            "subDistrict": "string",
            "zipCode": "string",
            "phone": "string",
            "email": "string"
        },
        "headerTemplateId": 1,
        "salesorderDetails": [
            {
                "productCode": "string",
                "productName": "string",
                "price": 456,
                "qty": 1,
                "productDescription": "string",
                "discountValue": 0,
                "discountType": true,
                "totalPrice": 456,
                "productUnitName": "string",
                "isShipping": true
            }
        ],
        "discountName": "string",
        "discountValue": 5,
        "discountType": false,
        "paymentTerm": "string",
        "remark": "string",
        "staffCode": "string",
        "salesOrderNote": "string",
        "vatCalculation": true,
        "subTotal": 456,
        "subTotalWithDiscount": 451,
        "grandTotal": 451,
        "payment": {
            "valueType": 1,
            "periods": [
                {
                    "periodNo": 1,
                    "value": 10,
                    "valuePercent": 50,
                    "isPaid": false
                },
                {
                    "periodNo": 2,
                    "value": 10,
                    "valuePercent": 50,
                    "isPaid": false
                }
            ]
        },
        "privateNote": "string",
        "invoiceInfo": {
            "id": 2,
            "integrationPlatform": 400027,
            "integrationBuyerId": "string",
            "type": 13001,
            "customerName": "string",
            "taxId": "string",
            "isEtax": false,
            "isHeadOffice": true,
            "branch": "string",
            "branchCode": "string",
            "province": "string",
            "district": "string",
            "subDistrict": "string",
            "zipCode": "string",
            "phone": "string",
            "address": "string"
        },
        "shippingDocumentUrl": "string",
        "trackingNo": "string",
        "discounts": [
            {
                "discountName": "string",
                "discountValue": 5,
                "discountType": false
            },
            {
                "discountName": "string",
                "discountValue": 10,
                "discountType": false
            }
        ],
        "integrationPlatform": 400027
    }
}
🟠404Not Found
🟠401Unauthorized
🟠401User authentication required V2.
Modified at 2025-07-07 08:12:19
Previous
Get a SalesOrders By Id
Next
Get Sale Order Attachment
Built with