开放平台
简要描述
  • 获取订单采购单数据

请求URL
  • https://ggtools.thinkerx.com/open-api/orders/panel_purchase

请求方式
  • POST

参数

content_type: application/json

参数名必选类型说明
app_keystring平台签发key
timestampstring时间戳,精确到秒
order_idint订单ID

cURL

curl --location 'https://ggtools.thinkerx.com/open-api/orders/panel_purchase' \--header 'token: TDJ5bGtreGY1VENzK1pUWGNLaHd...' \
--header 'sign: 62c91867976b...' \
--header 'Content-Type: application/json' \
--data '{    "order_id": "12345",    "app_key": "b0d566b0fac064a230ec",    "timestamp": 1753091011}'
返回示例
{
    "status": 1,
    "msg": "请求成功",
    "data": {
        "plank": [
            {
                "branch_name": "",
                "brand_name": "",
                "brand_type": "",
                "color_name": "T01",
                "count": 3,
                "detail_value": {
                    "color": "",
                    "content": "",
                    "material": "",
                    "spec": "1260*2480",
                    "substrate": "多层实木",
                    "thick": "18",
                    "width": ""
                },
                "name": "T01_18_多层实木",
                "picture": [],
                "plankNum": "",
                "plankOrderNumber": "",
                "plankType": "special",
                "price": 0,
                "steel_plate": ""
            },
            {
                "branch_name": "",
                "brand_name": "",
                "brand_type": "",
                "color_name": "T01",
                "count": 1,
                "detail_value": {
                    "color": "",
                    "content": "",
                    "material": "",
                    "spec": "1220*2440",
                    "substrate": "装饰板",
                    "thick": "5",
                    "width": ""
                },
                "name": "T01_5_装饰板",
                "picture": [],
                "plankNum": "",
                "plankOrderNumber": "",
                "plankType": "normal",
                "price": 0,
                "steel_plate": ""
            }
        ],
        "order_info": [
            {
                "order_id": 1185680,
                "order_code": "2507172507-091",
                "room_id": [
                    "100037315",
                    "100038048"
                ],
                "buyer_address": "测试订单"
            }
        ],
        "door": [],
        "hardware": [],
        "edge": [
            {
                "color": "T01",
                "thick": 18,
                "width": 1.5,
                "length": 10028.782226562502,
                "waste": 1002.9
            },
            {
                "color": "T01",
                "thick": 18,
                "width": 0.5,
                "length": 31630.483398437504,
                "waste": 3163
            },
            {
                "color": "T01",
                "thick": 18,
                "width": 1,
                "length": 2202.9468242187504,
                "waste": 220.3
            }
        ],
        "all_edge": [],
        "addon": [
            {
                "name": "连接件",
                "spec": "三合一",
                "unit": "个",
                "count": 43
            },
            {
                "name": "普通拉手",
                "spec": "短拉手",
                "unit": "个",
                "count": 3
            },
            {
                "name": "抽屉滑轨",
                "spec": "默认滑轨_450mm",
                "unit": "副",
                "count": 2
            }
        ],
        "all_addon": []
    }
}
返回参数说明
参数名类型说明
statusint请求状态,1:成功,0:失败
msgstring状态说明
dataobject数据
plankarray板材信息
order_infoarray订单信息
doorarray门信息
hardwarearray五金信息
edgearray边材信息
addonarray附加五金



新格尔累计为
7368555
位用户提供服务

客服热线

联系电话:400-1567-080

微信咨询

扫码在线咨询
企微官网客服在线随时答复

公众号

扫一扫
关注官方公众号

抖音号

扫一扫
关注官方抖音号