open-api
首页
open-api
  • 快速开始
  • 授权登录
  • 客户
  • 销售订单
    • 销售订单
    • 销售订单枚举:货币,付款方式,国家/地区,订单类型,订单状态,订单创建方式GET
    • 销售订单字段GET
    • 销售订单删除POST
    • 销售订单新建/编辑POST
    • 销售订单列表GET
    • 销售订单详情GET
  • 采购订单
  • 产品
  • 回款登记
  • 回款单
  • 付款单
  • 费用单
  • 报价单
  • 供应商
  • 商机
  • 用户
  • 销售出库单
  • 库存
  • 线索
  • 资金
  • 采购入库单
  • 采购退货单
  • 统计分析
  • 示例接口(勿用)
  • 阿里账号信息GET
  • 阿里资金账户信息GET
亮色模式
  1. 销售订单

销售订单详情

GET/v1/invoices/order/info

错误码解释

异常码 异常消息 异常解决方案
404 Not Found Resource(未知异常) 请先排查单据是否在小满是否真实存在,再联系对接群,并提供相关请求参数与请求时间

请求参数

Query 参数
order_id
integer 
可选

销售订单ID或销售订单编号必须传其中一个

示例值:
1
order_no
string 
可选

销售订单ID或销售订单编号必须传其中一个

示例值:
O1

示例代码

返回响应

成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer 
错误码
可选
message
string 
错误信息
可选
now
string 
当前时间
可选
data
object 
响应数据
可选
order_id
integer 
可选

订单ID,编辑时必填

order_no
string 
可选

订单号 (可选字段,不设置自动生成)

account_date
string 
可选

订单日期,YYYY-mm-dd

name
string 
订单名称
可选
exchange_rate
number <float>
折现人民币汇率
可选
exchange_rate_usd
number <float>
折现美元汇率
可选
currency
string 
货币
可选
amount
number <float>
订单金额
可选
amount_rmb
number <float>
订单金额(RMB)
可选
amount_usd
number <float>
订单金额(美元)
可选
cost_with_tax_total
number <float>
可选

含税成本价总金额(美元)

addition_cost_amount
number <float>
附加费用总金额
可选
product_total_amount
number <float>
产品总金额
可选
product_total_count
number 
产品总数量
可选
price_contract
string 
价格条款
可选
receive_remittance_way
string 
收汇方式
可选
price_contract_remark
string 
价格条款说明
可选
receive_remittance_remark
string 
收汇方式说明
可选
insurance_remark
string 
保险说明
可选
bank_info
string 
银行信息
可选
order_contract
string 
订单条款
可选
company
object 
关联客户信息
可选
company_id
string 
客户ID
可选
company_name
string 
客户名称
可选
company_phone
string 
客户电话
可选
company_fax
string 
客户传真
可选
company_address
string 
客户地址
可选
country
string 
可选

国家/地区:ISO两位编码

opportunity_id
integer 
商机id
可选
shipment_deadline_remark
string 
交货期
可选
status
integer 
订单状态ID
可选
status_name
string 
回款状态
可选
collection_date
string 
回款日期
可选
collect_amount_rmb
string 
已回款(RMB)
可选
collect_amount_usd
string 
已回款(美元)
可选
not_collect_amount_rmb
string 
待回款(RMB)
可选
not_collect_amount_usd
string 
待回款(美元)
可选
percentage_rmb
string 
可选

回款百分比(RMB)

percentage_usd
string 
回款百分比(美元)
可选
users
array [object {2}] 
业绩归属人列表
可选
users_info
array [object {3}] 
业绩归属人信息列表
可选
departments
array [object {3}] 
可选

业绩归属部门信息列表

handler
array [object {2}] 
可选

订单跟进人信息列表(待发布)

product_list
array [object {7}] 
产品子列表
可选
customer_id
integer 
客户联系人ID
可选
customer_name
string 
联系人名称
可选
customer_phone
string 
联系人电话
可选
customer_email
string 
联系人邮箱
可选
customer_address
string 
联系人地址
可选
transport_mode
string 
运输方式
可选
shipment_deadline
string 
装运期限
可选
shipment_port
string 
装运港口
可选
target_port
string 
目的港口
可选
more_or_less
string 
溢短装
可选
package_remark
string 
包装说明
可选
marked
string 
唛头
可选
cost_list
array [object {4}] 
费用列表
可选
stock_up_status
object 
备货状态
可选
shipping_status
object 
出库状态
可选
end_status
object 
完成状态
可选
capital_account_id
integer 
资金账户ID
可选
capital_account_name
string 
资金账户
可选
capital_name
string 
开户名
可选
capital_bank
string 
开户行
可选
bank_account
string 
银行账号
可选
capital_account_address
string 
开户行地址
可选
capital_account_remark
string 
更多信息
可选
create_user
integer 
创建人
可选
create_time
string 
创建时间
可选
update_user
integer 
更新人
可选
update_time
string 
更新时间
可选
archive_type
integer 
可选

创建方式,1手动创建,2AI创建,3智能导入,4ERP同步,5阿里巴巴同步

remark
integer 
备注,非必填
可选
source_type
integer 
可选

订单类型:1 CRM订单、2 信保订单、3 e收汇订单

file_list
array [object {5}] 
附件
可选
quotation_id
integer 
可选

报价单ID,默认值0

quotation_info
object 
可选

报价单信息,默认值空数组

示例
{
  "code": 200,
  "message": "success",
  "now": "2025-03-06 16:55:25",
  "data": {
    "1101060384": "腾讯",
    "1101060387": "",
    "1101060390": "多行文本默认值",
    "1101060392": 0,
    "1101060395": "",
    "1101171288": 0,
    "1105112312": "",
    "1105748394": "",
    "1106123086": 10,
    "3118802410": "",
    "3160063335": "",
    "3163668035": 0,
    "3163748900": 0,
    "3449238368": "",
    "3449778077": "",
    "3449778080": "",
    "3477298105": "",
    "3477358481": "",
    "3583958644": "",
    "3584000435": 0,
    "4026081820": "",
    "4026081826": "",
    "4256034965": "",
    "4256034970": "",
    "4256034975": "",
    "4256034980": "",
    "order_id": 5203556502,
    "order_no": "qiao250306000259",
    "shipment_port": "",
    "company_address": "erp的公司地址",
    "target_port": "",
    "shipment_deadline": "",
    "transport_mode": "",
    "name": "erp同步订单new",
    "user_id": [
      11858712,
      11858711
    ],
    "users": [
      {
        "rate": 100,
        "user_id": "11858712",
        "nickname": "qiao"
      }
    ],
    "quotation_id": 12333,
    "quotation_info": {
      "quotation_no": "报价单编号",
      "quotation_id": 12333,
      "name": "报价单名称"
    },
    "create_user": 11858712,
    "status": 1101043688,
    "approval_status": -1,
    "company_id": 3448551934,
    "opportunity_id": 0,
    "customer_id": 3448551921,
    "create_time": "2025-03-06 16:47:03",
    "update_time": "2025-03-06 16:48:40",
    "remark": "",
    "account_date": "2024-01-29 00:00:00",
    "price_contract": "",
    "currency": "USD",
    "exchange_rate": 725,
    "amount": 300,
    "amount_rmb": 2175,
    "product_list": [
      {
        "1102748156": "",
        "1106224145": "",
        "3162345910": "",
        "3162359671": "",
        "3162469705": 0,
        "3163352408": "",
        "3163727403": "",
        "3410827449": "",
        "3410827451": "",
        "3410827454": "",
        "3410827459": "",
        "3413022306": "",
        "3442113436": 0,
        "3447805973": "",
        "3447805975": "",
        "3449279514": "",
        "3449443402": "",
        "3449443407": "",
        "3449443409": "",
        "3449443411": "",
        "3449443414": "",
        "3449443418": "",
        "3450286195": "",
        "3450308119": "",
        "3450308121": "",
        "3450308176": "",
        "3450308178": "",
        "3450308180": "",
        "3450308183": "",
        "3451819597": "",
        "3451819793": "",
        "3454274429": "",
        "3457250300": "",
        "3457250309": "",
        "3457280622": "",
        "3457977854": "",
        "3457977856": "",
        "3457977858": "",
        "3457977890": "",
        "3457977893": "",
        "3457977895": "",
        "3457977898": "",
        "3457977903": "",
        "3457977910": "",
        "3457977914": "",
        "3457977917": "",
        "3457977920": "",
        "3457977923": "",
        "3457977925": "",
        "3457977964": "",
        "3457977972": "",
        "3457977974": "",
        "3457977978": "",
        "3457977980": "",
        "3457977989": "",
        "3457977993": "",
        "3457977996": "",
        "3457978000": "",
        "3457978004": "",
        "3457978009": "",
        "3457978011": "",
        "3457978200": "",
        "3457978202": "",
        "3457978205": "",
        "3457978216": "",
        "3457978221": "",
        "3457978223": "",
        "3457978232": "",
        "3460471814": "",
        "3483655566": "",
        "unit": "",
        "count": 10,
        "ratio": 0,
        "sku_id": 3495743812,
        "hs_code": "",
        "vat_rate": 0,
        "master_id": 0,
        "unique_id": 5203556547,
        "offer_data": "",
        "other_cost": 0,
        "product_id": "3495743811",
        "product_no": "2024031221684",
        "unit_price": 10,
        "cost_amount": 100,
        "description": "",
        "enable_count": 0,
        "gross_margin": 10,
        "package_unit": "",
        "product_name": "Yellow Paper Bag With White Kraft         白牛带印刷",
        "product_type": 1,
        "cost_with_tax": 0,
        "package_count": 0,
        "product_image": "",
        "product_model": "",
        "is_sub_product": 0,
        "package_volume": 0,
        "product_remark": "",
        "refer_order_no": "qiao250306000259",
        "sku_attributes": "",
        "master_group_id": 0,
        "product_cn_name": "",
        "tax_refund_rate": 15,
        "count_per_package": 0,
        "is_master_product": 0,
        "to_outbound_count": 0,
        "to_purchase_count": 0,
        "combine_product_id": 0,
        "combine_product_no": "",
        "inquiry_product_id": "",
        "gross_profit_margin": 100,
        "product_enable_flag": 1,
        "task_outbound_count": 0,
        "task_purchase_count": 0,
        "todo_shipping_count": 0,
        "package_gross_weight": 0,
        "product_disable_flag": 0,
        "quotation_product_id": "",
        "platform_product_info": "",
        "product_package_remark": "",
        "purchase_cost_unit_rmb": 0,
        "package_volume_subtotal": 0,
        "package_gross_weight_subtotal": 0,
        "sku_code": "2024031221684",
        "5133738273": "",
        "4327254221": "",
        "4331053034": 0,
        "4331472448": "",
        "4333475924": "",
        "4334682049": "",
        "4335644130": "",
        "4335644196": "",
        "4335647171": "",
        "4336763643": "",
        "4337990078": "",
        "4340253637": "",
        "4345267108": "",
        "5200416596": 0,
        "quotation_id": "",
        "cost_remark": "",
        "cost_item_relation_id": 0,
        "percent_amount": 0,
        "percent_type": 0,
        "cost_name": "",
        "cost": 0
      }
    ],
    "product_total_amount": 100,
    "product_total_count": 10,
    "cost_list": [
      {
        "cost": 200,
        "cost_name": "erp费用名称",
        "cost_remark": "erp费用备注",
        "percent_type": "0",
        "percent_amount": "200",
        "cost_description": ""
      }
    ],
    "addition_cost_amount": 200,
    "order_contract": "",
    "bank_info": "",
    "receive_remittance_remark": "",
    "insurance_remark": "",
    "customer_phone": "1829383944",
    "customer_email": "22sxx@qq.com",
    "customer_address": "联系人地址",
    "customer_name": "ysq",
    "company_name": "中国宝安科技",
    "company_phone": "19999999999, 21318888888888",
    "company_fax": "",
    "shipment_deadline_remark": "",
    "marked": "",
    "more_or_less": "",
    "file_list": [],
    "price_contract_remark": "",
    "package_remark": "",
    "receive_remittance_way": "",
    "package_gross_weight_amount": 0,
    "package_volume_amount": 0,
    "amount_usd": 300,
    "exchange_rate_usd": 100,
    "departments": [
      {
        "rate": 100,
        "department_id": "148",
        "name": "外贸部跟单组"
      }
    ],
    "archive_type": 4,
    "update_user": 11858711,
    "country": "",
    "source_type": 0,
    "link_status": [
      20,
      30,
      40,
      60,
      50,
      10
    ],
    "cost_with_tax_total": 0,
    "capital_account_id": 122,
    "tax_refund_type": 0,
    "collect_amount_rmb": 0,
    "collect_amount_usd": 0,
    "not_collect_amount_rmb": 2175,
    "not_collect_amount_usd": 300,
    "company": {
      "company_id": 3448551934,
      "name": "高通--编辑",
      "is_archive": 1,
      "serial_id": "2023670"
    },
    "alibaba_order_info": [],
    "capital_account_name": "",
    "capital_name": "",
    "capital_bank": "",
    "bank_account": "",
    "capital_account_address": "",
    "capital_account_remark": "",
    "collection_date": "",
    "status_name": "待回款",
    "percentage_rmb": 0,
    "percentage_usd": 0,
    "4329999255": 10,
    "4330687445": 0,
    "4330687483": "",
    "4333438332": "",
    "4334677588": "",
    "4335624132": 0,
    "4335641902": "",
    "4335643949": "",
    "4335644061": "",
    "4335647754": 10,
    "4340028778": 0,
    "4340096769": "",
    "4340252279": 0,
    "4345267067": "",
    "4346852441": "",
    "4346854345": "",
    "4346854358": "",
    "4347197714": 100,
    "4347892551": "",
    "4347897774": "",
    "4349404922": 0,
    "5005485355": "",
    "5131181302": "",
    "5131181306": "",
    "5131181323": "",
    "5131181329": "",
    "5131181335": "",
    "5131193365": "",
    "5131196926": "",
    "5131196936": "",
    "5165546714": 0,
    "5149456386": "4星"
  }
}
最后修改时间: 3 个月前