サンプル
リクエスト
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" \ -d 'access_token=xxxxxxxxxxxxxx&refresh_token=xxxxxxxxxxxxxx&wait_flag=1' \
"https://api.next-engine.org/api_v1_system_returnedreason/info"
レスポンス
{
"result":"success",
"count":"8",
"data":[
{
"returned_reason_id":"0",
"returned_reason_name":"受注キャンセル"
},
{
"returned_reason_id":"10",
"returned_reason_name":"商品不良"
},
{
"returned_reason_id":"20",
"returned_reason_name":"受取拒否"
},
{
"returned_reason_id":"30",
"returned_reason_name":"長期不在"
},
{
"returned_reason_id":"40",
"returned_reason_name":"クレーム"
},
{
"returned_reason_id":"50",
"returned_reason_name":"誤配"
},
{
"returned_reason_id":"60",
"returned_reason_name":"出荷遅延"
},
{
"returned_reason_id":"70",
"returned_reason_name":"住所不明"
}
],
"access_token":"xxxxxxxxxxx",
"access_token_end_date":"2017-04-13 18:24:53",
"refresh_token":"xxxxxxxxxxx",
"refresh_token_end_date":"2017-04-15 18:24:53"
}