AntBuddy Vietnam
  • Tài liệu AntBuddy - Hướng dẫn sử dụng (AntBuddy Docs - User Guide)
    • Hướng dẫn đăng ký và thanh toán (Guide to Register and Payment)
      • Đăng ký và Đăng nhập (Register and Login)
        • 1. Đăng ký (Register)
        • 2. Đăng nhập (Log in)
      • Thanh toán (Payment)
    • Quản trị khách hàng AntCrm (AntCrm Customer Management)
      • Cài đặt (Settings)
        • Tạo nhân viên (Create users)
        • Tạo nhóm (Create group)
        • Mời nhân viên vào công ty (Invite users to the company)
        • Quyền xem (View permissions)
        • Quyền hoạt động (Activity permissions)
        • Ticket là gì? Cách tạo mới Ticket? (What is Ticket? How to create Ticket?)
          • Thao tác với Ticket (Operations with Ticket)
          • Thiết lập các trường thông tin bắt buộc của Ticket (Add feature to set required information fields)
        • Thao tác với task (Operations with task)
        • SLA là gì? Sử dụng SLA như thế nào?(What is SLA? How to use SLA?)
        • Lead, Contact, Account là gì và cách tạo mới (What are Lead, Contact, Account and how to create)
        • Hướng dẫn sử dụng tính năng tự động gửi tin nhắn SMS/ZNS khi có cuộc gọi nhỡ
        • Cách sử dụng tính năng Giới hạn số phiên hội thoại tối đa cho từng nhân viên
        • Hướng dẫn Cấu hình điện thoại Yealink T19 E2 (Instruction to Configure Yealink T19 E2 phone)
        • Cấu hình IP Phone Grandstream GXP 1610 (Configure IP Phone Grandstream GXP 1610)
        • Làm thế nào để tạo mẫu SMS, Email? (How to create SMS, Email template?)
      • Tin nhắn đa kênh (Conversation)
        • Hướng dẫn sử dụng Omni Facebook (Omni Facebook user guide)
          • 1. Tích hợp Facebook (Facebook integration)
            • 1.1 Truy cập vào trang tích hợp Facebook (Access the Facebook Integration Page)
            • 1.2 Dùng tài khoản admin để tích hợp (Use the Admin account of the page to integrate)
          • 2. Thiết lập Fanpage Facebook (Setting Up Facebook Fanpage)
            • 2.1 Thêm hỗ trợ (Adding Support)
            • 2.2. Cấu hình phân công (Assignment Configuration)
            • 2.3. Cấu hình tương tác (Interaction Configuration)
          • 3. Quản lý tin nhắn (Message Management)
            • 3.1 Gửi tin nhắn (Sending Message)
            • 3.2 Xem lịch sử hội thoại (Viewing Conversation History)
          • 4. Quản lý comment (Comment Management)
            • 4.1 Bình luận chăm sóc khách hàng (Customer Support Commenting)
            • 4.2 Cách ẩn bình luận (Hiding comments)
            • 4.3 Chỉnh sửa bình luận (Editing comments)
            • 4.4 Xóa bình luận (Deleting comments)
            • 4.5 Hướng dẫn thêm tính năng Xóa và Ẩn bình luận facebook cho member
            • 4.6 Thích/Bỏ thích bình luận (Liking/Unliking Comments)
          • 5. Quản lý bài Post (Post Management)
          • 6. Thay đổi người phụ trách session (Changing the Session Owner)
          • 7. Thêm user hỗ trợ (Adding support user)
          • 8. Gắn nhãn session (Tagging session)
          • 9. Gửi hình ảnh (Sending images)
          • 10. Đánh dấu Xong (Marking done)
          • 11. 𝑇ℎ𝑒̂𝑚 𝑚𝑎̂̃𝑢 𝑡𝑖𝑛 𝑛ℎ𝑎̆́𝑛 (𝐴𝑑𝑑𝑖𝑛𝑔 𝑚𝑒𝑠𝑠𝑎𝑔𝑒 𝑡𝑒𝑚𝑝𝑙𝑎𝑡𝑒)
            • 11.1. Thêm sửa xóa templates (Add/Edit/Delete templates)
            • 11.2. Sử dụng mẫu tin nhắn (Using message template)
          • 12. Thiết lập thời gian đóng session (Setting Up Session Timeout)
          • 13. Cấu hình thời gian chờ (Configuring the Timeout)
          • 14. Thiết lập tự động trả lời và gửi tin nhắn (Setting Up Auto-Reply and Sending Messages)
          • 15. Thiết lập thời hạn phản hồi và cảnh báo (Setting Up Response Time and Pre-Expiration Warnings)
          • 16. Các thao tác với khách hàng (Customer operations)
          • 17. Đánh dấu chưa đọc (Marking unread)
          • 18. Thiết lập Danh mục hội thoại (Setting up Omnichannel chat Categories)
          • 19. Cấu hình hiển thị (Configuring layout)
        • Hướng dẫn sử dụng Zalo OA (Zalo OA user guide)
          • 1. Tích hợp Zalo OA (Zalo OA integration)
          • 2. Thiết lập trang (Setting page)
            • 2.1. Thêm User hỗ trợ (Add user support)
            • 2.2. Tính năng phân phối tự động và Assignment Mode (Auto assign feature and Assignment Mode)
            • 2.3. Cấu hình gắn thẻ cho khách hàng mới (Configure tagging for new customers)
            • 2.4. Cấu hình Nguồn Lead (Configure lead source)
          • 3. Quản lý tin nhắn (Message Management)
            • 3.1. Gửi tin nhắn(Sending message)
            • 3.2. Xem lịch sử hội thoại (Viewing Conversation History)
          • 4. Thay đổi người phụ trách cho session (Changing the Session Owner)
          • 5. Thêm user hỗ trợ (Adding support user)
          • 6. Gắn nhãn (Tags)
          • 7. Gửi hình ảnh (Sending images)
          • 8. Đánh dấu Xong (Marking done)
          • 9. Thêm mẫu tin nhắn (Adding Message Template)
            • 9.1. Thêm/sửa/xóa (Add/Edit/Delete)
              • 9.1.1. Thêm mẫu tin nhắn (Adding a Message Template)
              • 9.1.2. Chỉnh sửa mẫu tin nhắn (Editing message template)
              • 9.1.3. Xóa mẫu tin nhắn (Deleting message template)
            • 9.2. Sử dụng mẫu tin nhắn (Using message template)
          • 10. Thiết lập thời gian đóng session (Setting Up Session Timeout)
          • 11. Cấu hình thời gian chờ (Configuring the Timeout)
          • 12. Thiết lập thời hạn phản hồi và cảnh báo (Setting Up Response Time and Pre-Expiration Warnings)
          • 13. Đánh dấu chưa đọc (Marking unread)
          • 14. Thiết lập Danh mục hội thoại (Setting up Omnichannel chat Categories)
          • 15. Cấu hình Cấu hình hiển thị (Configuring layout)
        • Hướng dẫn sử dụng Instagram (Instagram use guide)
          • 1. Tích hợp Instagram (Instagram integration)
          • 1. Làm thế nào để tích hợp Instagram vào Tin nhắn đa kênh (Instagram integration)
          • 2. Sử dụng hội thoại đa kênh Instagram (Using Instagram Omni conversations)
            • 2.1. Thiết lập Instagram trên AntCRM (Guide to setting up Instagram on AntCRM)
              • 2.1.1. Thêm hỗ trợ (Adding support)
              • 2.1.2. Cấu hình phân công (Assignment configuration)
              • 2.1.3. Cấu hình tương tác (Interactive Configuration)
          • 3. Quản lý chat với khách hàng (Manage chat with customers)
            • 3.1. Gửi tin nhắn cho khách hàng (Send message to customer)
            • 3.2. Xem lịch sử hội thoại (View session history)
          • 4. Quản lý comment (Comment Manager)
            • 4.1. Ẩn bình luận (Hide comment)
            • 4.2. Xóa bình luận (Delete comment)
          • 5. Thay đổi người phụ trách session (Change the person assign to session)
          • 6. Thêm user hỗ trợ (Adding user support)
          • 7. Gắn nhãn session (Tags for session)
          • 8. Gửi hình ảnh (Send image)
          • 9. Đánh dấu xong (Mark as done)
          • 10. Thêm mẫu tin nhắn (Adding message template)
            • 10.1.Thêm/sửa/xóa template (Add/Edit/Delete template)
            • 10.2.Sử dụng mẫu tin nhắn (Using messenger template)
          • 11. Thiết lập thời gian đóng session (Setting up session timeout)
          • 12. Thiết lập thời hạn phản hồi và cảnh báo (Setting Up Response Time and Pre-Expiration Warnings)
        • Hướng dẫn sử dụng whatsapp (Whatsapp use guide)
          • 1. Tích hợp whatsapp vào CRM (Integrate whatsapp on CRM)
          • 2. Thiết lập whatsapp trên CRM (Setting whatsapp on CRM)
            • 2.1. Thêm user hỗ trợ (Adding user support)
            • 2.2. Thiết lập đóng hội thoại (Setting close session)
            • 2.3. Cấu hình phân công (Assignment Configuration)
            • 2.4. Cấu hình tương tác (Interaction Configuration)
          • 3. Quản lý chat với khách hàng whatsapp (Managing Chats with Whatsapp Customers)
            • 3.1. Gửi tin nhắn (Send message)
            • 3.2. Xem lịch sử phiên hội thoại (Viewing Conversation History)
            • 3.3 Thay đổi nhân viên phụ trách phiên hội thoại (Changing the Session's Assigned Agent)
          • 4. Thêm user hỗ trợ (Adding a Support User)
          • 5. Mục Tag (Tagging a Session)
          • 6. Gửi hình ảnh (Sending image)
          • 7. Đánh dấu session đã xong (Marking a Session as Completed)
          • 8. Thêm, Sửa và Xóa mẫu tin nhắn (Adding, Edit and Delete omni message template)
          • 9. Thời gian đóng session (Session Closure Time)
          • 10. Cấu hình thời gian chờ (Configuring the wait time)
          • 11. Cài đặt thời gian phản hồi và cảnh báo (Setting response Time and Pre-expiration Alerts)
          • 12. Tạo chiến dịch SMS whatsapp (Creating Whatsapp SMS campaign)
          • 13. Gửi chiến dịch SMS whatsapp (Sending Whatsapp SMS Campaign)
          • 14. Gửi Carousel Sản Phẩm (Sending the Product Carousel)
          • 15. Chiến lược đa kênh (Cross-Channel Campaign Guide)
            • 15.1. Tạo mẫu (Creating template)
          • 16. Tạo mẫu WhatsApp qua Meta Business Suite (Create WhatsApp Template via Meta Business Suite)
          • 17. Chạy mẫu trong nền tảng AntCRM (Run Template in AntCRM platform)
        • Hướng dẫn sử dụng Shopee (Shopee use guide)
          • 1. Tích hợp Shopee vào CRM (Integrate Shopee on CRM)
        • Hướng dẫn sử dụng Live chat (Live chat use guide)
        • Hướng dẫn sử dụng Lazada (Lazada use guide)
        • Cách thêm lý do tạm dừng nhận tin hội thoại đa kênh
        • Tích hợp Live Chat vào Tin nhắn đa kênh? (Instructions to integrating LiveChat WIDGET into AntCRM)
        • Làm thế nào để tích hợp Google Play vào Tin nhắn đa kênh?
        • Làm thế nào để tích hợp Telegram vào Tin nhắn đa kênh?
        • Hướng dẫn tích hợp Business Messages thành 1 kênh Omni
        • Làm thế nào để tích hợp Youtobe vào Tin nhắn đa kênh?
        • Làm thế nào để tích hợp App Store vào Tin nhắn đa kênh?
        • Làm thế nào để tích hợp Tiki vào Tin nhắn đa kênh?
        • Làm thế nào để tích hợp Zalo Cá nhân vào Tin nhắn đa kênh?
      • Báo cáo (Report)
        • Hướng dẫn xem và truy xuất Báo cáo AntCRM (Instruction to view and retrieve AntCRM Reports)
          • 1. Báo cáo nhân viên (Users report)
          • 2. Báo cáo nhóm (Group report)
          • 3. Báo cáo khách hàng tiềm năng (Lead report)
          • 4. Báo cáo khách hàng (Customer report)
          • 5. Báo cáo giao dịch (Order report)
          • 6. Báo cáo Ticket (Ticket report)
          • 7. Báo cáo Lịch sử cuộc gọi (Call history report)
          • 8. Báo cáo Lịch sử gửi tin nhắn (Sending message history report)
          • 9. Báo cáo Quy trình tự động (Automation)
          • 10. Báo cáo KPI (KPI report)
        • KPI là gì? Xây dựng chỉ tiêu KPI như thế nào? (What is KPI ? How to build KPI targets? )
        • Xem báo cáo tin nhắn đa kênh (View Omnichannel conversation report)
        • Báo cáo điểm hài lòng (Satisfaction Report)
      • Quản lý trải nghiệm khách hàng (Customer Experience Management)
        • 1. Thiết lập khảo sát khách hàng (Customer survey setting)
          • 1.1. Tin nhắn đa kênh(Conversations)
          • 1.2. Tổng đài cuộc gọi(Call Center)
          • 1.3. Thiết lập tiêu chí đánh giá (Rating criteria setting)
          • 1.4. Cấu hình landing page (Setting landing page)
        • 2. Cách sử dụng trên giao diện tư vấn viên (How to use the Agent interface)
        • 3. Báo cáo điểm hài lòng (Satisfaction Report)
        • Khảo sát mức độ hài lòng của khách hàng (Survey of customer satisfaction)
      • Hướng dẫn sử dụng chiến dịch (User manual for Campaign)
        • Làm sao để chạy quy trình Marketing Automation? (How to run Marketing Automation process ?)
        • Chiến dịch Telesales là gì? Làm thế nào để chạy chiến dịch Telesales? (Telesales user manual)
        • Hướng dẫn khởi tạo chiến dịch ZNS (Instructions to configure a ZNS campaign)
        • Hướng dẫn khởi tạo chiến dịch Social Facebook (Instructions for creating a Facebook Social campaign)
      • Sản phẩm (Product)
        • Hướng dẫn tạo sản phẩm trong giao dịch (Instructions to create products in order )
        • Hướng dẫn import hàng loạt sản phẩm (Instructions to import series of products)
      • Đơn hàng (Order)
        • Hướng dẫn tạo và quản lý giao dịch
        • Import đơn hàng (Import orders)
        • Cam kết SLA đơn hàng (Order SLA Commitment)
        • Lọc và tải về đơn hàng (Filter and download orders)
      • Khách hàng thân thiết (Loyalist)
        • Hướng dẫn tạo sản phẩm và mã thẻ cho sản phẩm (Instructions to create products and product codes)
      • Hướng dẫn sử dụng Shared mailbox
      • Hướng dẫn sử dụng Callbar Web (Instruction to use Callbar web)
    • Tổng đài AntRing (Antring Call Center)
      • Cài đặt (Setting)
        • Antbuddy PC
        • Điện thoại Yealink T19 E2 (Yealink T19 E2 phone)
        • IP Phone Grandstream GXP 1610
        • Reset Password dành cho quản trị viên (Reset password for administrators)
        • Hướng dẫn Reset Password dành cho nhân viên
        • Chặn số quấy rối trên trang quản trị AntBuddy (Block spam numbers on the AntBuddy admin page)
        • Tạo người dùng trên Call Center (Create a user on Call Center)
        • Yêu cầu gọi lại
        • Tính năng Số điện thoại ẩn cho vai trò Telesales (Masked Phone Number Feature for Telesales Role )
      • Hướng dẫn cài đặt AntBuddy Callbar PC (Antbuddy PC installation guide)
      • Hướng dẫn cài đặt và sử dụng Mobile app AntBuddy (Guide to install and use Mobile App AntBuddy)
      • Cách xem báo cáo cụ thể của Antbuddy Call Center
        • 1. Lịch sử cuộc gọi (Call history)
        • 2. Tổng quan tổng đài
        • 3. Báo cáo hàng đợi
        • 4. Báo cáo nhân viên
        • 5. Bảng tổng quan TV
      • Hướng dẫn sử dụng tính năng chấm điểm cuộc gọi
      • Hướng dẫn tắt SIP ALG trên các dòng modem phổ thông (guide to turn off SIP ALG on popular modems)
      • Hướng dẫn Reset Password dành cho quản trị viên (Instructions to reset password for administrators)
      • Các tình huống với AntBuddy Callbar và cách xử lý
      • AntRing - Hướng dẫn cập nhật thông tin, quyền người dùng ( Guide to update user information, permis)
      • Tài khoản SIP
    • Tài liệu hướng dẫn sử dụng AntBot ChatBot (User manual for AntBot ChatBot)
      • Hướng dẫn sử dụng FAQ
      • Tích hợp tin nhắn đa kênh với Chatbot AntBot
      • Các tính năng cơ bản của Chatbot AntBot (The basic features of AntBot Chatbot)
      • Các Trường Hợp Sử Dụng Chatbot AntBot (Use Cases of AntBot Chatbot)
      • Giải thích chi tiết về node Chatbot (Detailed explanation of the Chatbot node)
      • How to create a google cloud bot
  • Hướng dẫn tích hợp API (Team technical) (API integration guide (technical team))
    • AntRing
      • Đăng ký API (API Registration )
      • Sử dụng API (Use API)
      • Danh sách API (API List)
      • Mã lỗi (Error code)
    • AntBot
      • AntBOT API
      • Voice OTP
      • HTTP Response
    • AntCRM
      • ApiRing AntCrm
        • 1. API get customer
        • 2. API get order
        • 3. API get product
        • 4. API get ticket
        • 5. Point accumulation API
        • 6. API get redeem
        • 7. API get segment
        • 8. API get list of survey
        • 9. API get list of telecalls
        • 10. API get campaign list
        • 11. API get rating list
        • 12. API get tags
Powered by GitBook
On this page
  1. Hướng dẫn tích hợp API (Team technical) (API integration guide (technical team))
  2. AntCRM
  3. ApiRing AntCrm

2. API get order

  1. List of transactions or details of a transaction via id on Ant CRM URL:

/opportunities

Method: GET

Content-Type: application/json

Parameters

Type

Cat ch set c

Explain

number

string

Id of opportunity

page

number

Page number, maximum 20 transactions per page

limit

number

Number of records per page

Results returned:

Parameters

Type

Required

Explain

name

string

AND

Trading name

receiverName

string

AND

Customer name

opportunityIdApiRing

string

Code orders

dealByUsers

array

Officer in charge. For example: [“thong.nguyen@antbuddy.com”]

dealWith

receiverPhone

Object

string

{

“customerId”: “123”,

“name”: “thong”,

“phones”: [{type: “Work”, value: “023232”}],

“customerIdApiRing”: “Customer Id” }

Customer phone number

HTTP Response Code: 200

Response:

[{ cusFields: [

{ name: "Shipping unit", value: “Fast delivery”

}

],

description: "", groupPackage: [], name: "test", number: 3609, receiverAddressObj: {street: "", streetName: "", city: "", state: "", wards: "", cityCode: "", stateCode:

""}, receiverName: "Tuyen Do ", receiverPhone: "0123444534", stage: "", value: 4520000,

branch: “ // branch or store name, createdAt: “”, // Order creation time updatedAt: “” // Order update time

}]

  1. Add transaction

URL: /opportunities

Method: POST

Content-Type: application/json

receiverAddressObj

object

Customer address. For example: {

city: "Ho Chi Minh City",

state: "Tan Binh district", street: "3", //(apartment number) streetName: "Nguyen Kiem",

wards: "Ward 12",

"country": {

"code": "VN",

"name": "Vietnam"

}

}

Record the same as the address on the system.

groupPackage

array

Information line. For example:

[

{ name: "Beef combo", // product name quantity: 1, // quantity

typeDiscount: 1, (0: cash, 1: percent) // type of discount discount: 10, // discount amount or % discount value: 1000, // Product price productIdApiRing: “1”, // product id note: "Grilled beef" // Note, code: “Sku” // Product code

}

]

Note:

- The combo name and product in the combo must match the corresponding combo and product name

value

number

Value of the transaction. If there is no value, the system will calculate the value of the transaction according to the price on the system.

receiverNote

string

Delivery notes

description

string

Transaction description

stage

string

Transaction status

branch

string

Store or branch name

cusFields

array

AntCRM custom fields. [

{

name: "Shipping unit", value: “Fast delivery”

}

]

Results returned:

createdAt

Number

Creation time

Type: Timestamp

shipping_cost

Number

Shipping Fee

HTTP Response Code: 200

Response:

{

"success": 1,

"number”: 9457 (id of transaction on antcrm) }

  1. Edit transaction

URL: /opportunities

Method: PUT

Content-Type: application/json

Parameters

Type

Required

Explain

number

string

AND

id on crm

name

string

Trading name

receiverName

string

Customer name

receiverPhone

string

Customer phone number

receiverAddress Obj

groupPackage

object

array

Customer address. For example: {

city: "Ho Chi Minh City",

state: "Tan Binh district", street: "3", //(apartment number) streetName: "Nguyen Kiem",

wards: "Ward 12",

"country": {

"code": "VN",

"name": "Vietnam"

}

}

Record the same as the address on the system.

Information line. For example:

[

{ name: "Beef combo", // product name quantity: 1, // quantity

typeDiscount: 1, (0: cash, 1: percent) //

type of discount discount: 10, // discount amount or % discount value: 1000, // Product price productIdApiRing: “1”, // product id note: "Grilled beef" // Note, code: “Sku” // Product code

}

]

Note:

- The combo name and product in the combo must match the corresponding combo and product name on the system.

value

number

Value of the transaction. If there is no value, the system will calculate the value of the transaction according to the price on the system.

receiverNote

string

Delivery notes

description

string

Transaction description

stage

string

Transaction status

branch

string

Store or branch name

cusFields

array

Custom fields on AntCRM.

[

{

name: "Shipping unit", value: “Fast delivery”

}

]

shipping_cost

Number

Shipping fee

Results returned:

HTTP Response Code: 200

Response:

{

"success": 1,

"number”: 9457 (id of transaction on antcrm) }

  1. Delete transaction

URL: /opportunities

Method: DELETE

Content-Type: application/json

Parameters

Type

Cat ch set c

Explain

number

string

A

N

D

id of the transaction on antcrm

Results returned: HTTP Response Code: 200

Response:

{

"success": 1 }

  1. Add bulk transactions URL: /opportunities/package

Method: POST

Content-Type: application/json

Limit 100 orders per request

Body: [{order data A}, {order data B}]

Parameters

Type

Required

Explain

name

string

AND

Trading name

receiverName

string

AND

Customer name

opportunityIdApiRing

string

Code orders

dealByUsers

array

Officer in charge. For example: [“thong.nguyen@antbuddy.com”]

dealWith

receiverPhone

Object

string

{

“customerId”: “123”,

“name”: “thong”,

“phones”: [{type: “Work”, value: “023232”}],

“customerIdApiRing”: “Customer Id” }

Customer phone number

receiverAddressObj

object

Customer address. For example: {

city: "Ho Chi Minh City",

state: "Tan Binh district", street: "3", //(apartment number) streetName: "Nguyen Kiem",

wards: "Ward 12",

"country": {

"code": "VN",

"name": "Vietnam"

}

}

Record the same as the address on the system.

groupPackage

array

Information line. For example:

[

{name: "Beef combo", // product name quantity: 1, // quantity typeDiscount: 1, (0: cash, 1: percent) //

type of discount discount: 10, // discount amount or % discount value: 1000, // Product price productIdApiRing: “1”, // product id note: "Grilled beef" // Note, code: “Sku” // Product code

}

]

Note:

- The combo name and product in the combo must match the corresponding combo and product name on the system.

Value of the transaction. If there is no value, the system will calculate the value of the transaction according to the price on the system.

value

number

The transaction value. If no value is provided, the system will calculate the transaction value based on the system's pricing

receiverNote

number

Delivery notes

description

string

Transaction description

stage

string

Transaction status

branch

string

Store or branch name

cusFields

array

Custom fields on AntCRM.

[

{ name: "Shipping unit", value: “Fast delivery”

}

]

createdAt

Number

Creation time

Type: Timestamp

shipping_cost

Number

Shipping fee

Results returned: HTTP Response Code: 200

Response:

{

"success": 1,

"number”: [9457, 9458, 9459] (antcrm transaction id) }

  1. Edit transaction URL: /opportunities/package

Method: PUT

Content-Type: application/json Limit 100 orders per request

Body: [{order data A}, {order data B}]

Parameters

Type

Required

Explain

number

string

AND

id on crm

name

string

Trading name

receiverName

string

Customer name

receiverPhone

string

Customer phone number

receiverAddress Obj

groupPackage

object

array

Customer address. For example: {

city: "Ho Chi Minh City",

state: "Tan Binh district", street: "3", //(apartment number) streetName: "Nguyen Kiem",

wards: "Ward 12",

"country": {

"code": "VN",

"name": "Vietnam"

}

}

Record the same as the address on the system.

Information line. For example:

[

{ name: "Beef combo", // product name quantity: 1, // quantity typeDiscount: 1, (0: cash, 1: percent) // type

of discount discount: 10, // discount amount or % discount value: 1000, // Product price productIdApiRing: “1”, // product id note: "Grilled beef" // Note,

code: “Sku” // Product code

}

]

Note:

- The combo name and product in the combo must match the corresponding combo and product name on the system.

value

number

Value of the transaction. If there is no value, the system will calculate the value of the transaction according to the price on the system.

receiverNote

string

Delivery notes

description

string

Transaction description

stage

string

Transaction status

branch

string

Store or branch name

cusFields

array

AntCRM custom fields.

[

{ name: "Shipping unit", value: “Fast delivery”

}

]

shipping_cost

Number

Shipping Fee

Results returned:

HTTP Response Code: 200

Response:

{

"success": 1,

"number”: [9457, 9458] (antcrm transaction id) }

Previous1. API get customerNext3. API get product

Last updated 3 months ago