Salework Tài Liệu
Trang ChủCác sản phẩmLiên hệ trực tuyến
Bắt đầu sử dụng
Bắt đầu sử dụng
  • Bắt Đầu
  • Tài khoản & đăng nhập
    • Tạo tài khoản
    • Tổ chức kinh doanh
    • Tài khoản nhân viên
    • Phân quyền tài khoản nhân viên
  • Sản phẩm & Ứng dụng
    • Các sản phẩm Salework
    • App di động
    • Báo cáo nhanh
  • Hệ thống hỗ trợ
    • Hệ thống thông báo
    • Hệ thống Agency
    • Salework Open Api
      • Product Get List
      • Order Create 3rd Logistics
      • Order Create Self Logistics
      • Order Create In Store
      • Warehouse Import
      • Warehouse Export
      • Warehouse Return
      • Product Report
      • Merchant List
      • Debt Create
      • Gen QR
  • Hoá đơn và thanh toán
    • Nâng cấp gói dịch vụ
    • Hoá đơn dịch vụ
    • Ví Salework
  • Bảo mật
    • Chế độ bảo mật 2 lớp
    • Thay đổi thông tin tài khoản
  • Tiếp theo
    • Tiếp tục với Salework?
Powered by GitBook
On this page
  1. Hệ thống hỗ trợ
  2. Salework Open Api

Order Create 3rd Logistics

POST: https://salework.net/api/open/stock/v1/order/salework/create

Tạo đơn trong Salework Kho Vận và liên kết với các đơn vị vận chuyển

Request Headers

client-id: 123456
token: 50000601c30atpedfgu3LVvik87Ixlsvle3mSoB7701ceb156fPunYZ43GBg

Request Body

{
    "warehouse_id": "warehouse_id",
    "order_info": {
        "total_price": 0,
        "cod": 0,
        "price_policy": "price_policy",
        "discount": 0,
        "discount_type": "VND",
        "prepaid": 0,
        "note": "This is order note!",
        "complete_now": false
    },
    "products_info": [
        {
            "code": "PRODUCT_CODE",
            "quantity": 1
        }
    ],
    "package_info": {
        "height": 10,
        "width": 10,
        "length": 10,
        "weight": 0.2
    },
    "customer_info": {
        "name": "John Doe",
        "phone": "0123456789",
        "phone_alt": "",
        "address": "123 ABC Street",
        "province_id": "01",
        "district_id": "011",
        "ward_id": "00111",
        "note": "This is customer note!"
    },
    "delivery_info": {
        "logistics": "XXX",
        "delivery_fee_paid_by": 1,
        "shipping_fee": 111,
        "additional_fee": 222,
        "note": "This is delivery note!"
    }
}

Response Body

{
    "status": "success",
    "data": {}
}

Parameters

Parameters
Type
Required
Note

warehouse_id

string

yes

order_info

object

no

total_price

number

no

cod

number

no

price_policy

string

no

discount

number

no

discount_type

string

no

prepaid

number

no

note

string

no

complete_now

boolean

no

products_info

object[]

yes

code

string

yes

quantity

number

yes

package_info

object

yes

height

number

yes

width

number

yes

length

number

yes

weight

number

yes

customer_info

object

yes

name

string

yes

phone

number

yes

phone_alt

string

no

address

string

yes

province_id

number

yes

district_id

number

yes

ward_id

number

yes

note

string

no

delivery_info

object

yes

logistics

string

yes

delivery_fee_paid_by

number

yes

shipping_fee

number

yes

additional_fee

number

yes

note

string

no

PreviousProduct Get ListNextOrder Create Self Logistics

Last updated 2 years ago