| 环境类型 | 地址 |
|---|---|
| 测试环境 | https://test-oms.hanjinexp.com/openapi/customer/ |
| 线上环境 | https://oms.hanjinexp.com/openapi/customer/ |
| Code | Description |
|---|---|
| 200 | success;服务器已成功处理了请求 |
| 301 | repeated requests;重复请求 |
| 400 | badRequest;客户端提交的数据错误 |
| 401 | unauthorized;请求要求身份验证 |
| 500 | server error;服务器遇到错误,无法完成请求 |
api_key以及api_secret进行签名计算,将得计算到的签名作填入头部参数signature使用api_key+api_secret+timestamp+requestBodyrequestBody为json压缩格式,示例{"field":"value"}示例值
api_key:abcdefght
api_secret:123456789
timestamp:1766304000
requestBody:{"field":"value"}示例字符串
abcdefght1234567891766304000{"field":"value"}
计算MD5(abcdefght1234567891766304000{"field":"value"}) 小写MD5值
e6a7c2b605cb9f03d1a9c283c2149c3e
api_key{{api_key}}47608e3aca7c41d6af9c454cfa29fd60timestamp{{secTimestamp}}1766304000signature{{signature}}79d8af56641cf301d44e14abbdefec4fapi-token27d6bfcae7b74a0495c6fef7cff53c93accept-language['en', 'zh', 'vi', 'ko']encurl --location --request POST 'https://test-oms.hanjinexp.com/openapi/customer/order_create/'
--header 'api_key: 1766304000'
--header 'signature: 79d8af56641cf301d44e14abbdefec4f'
--header 'api-token: 27d6bfcae7b74a0495c6fef7cff53c93'
--header 'accept-language: en' \