setOrderStatus(JSON)
Function: setOrderStatus | |
Description: set new order status | |
Request | |
user | xsd:string |
pass | xsd:string |
order_id | xsd:int |
new_status_id | xsd:int |
comments | xsd:string |
sendmail | xsd:int |
indivFieldsList | tns:indivFieldsList |
sendcomments | xsd:int |
shippings | tns:arrayOfStrings (ab API 6.0.14) |
Response | |
result | xsd:boolean |
message | xsd:string |
{ "result":"", "message":"" } |
Beispiel
Carrier_id = ID des Versenders (Einstellungen->Konfiguration->Versender)
{ "function": "setOrderStatus", "paras": { "user": "{{api_user}}", "pass": "{{api_password}}", "order_id":"1", "new_status_id":"40", "comments": "", "sendmail":0, "indivFieldList":[], "sendcomments":0, "shippings":[ {"carrier_id":"1","tracking_id":"1234563"}, {"carrier_id":"4","tracking_id":"12345678"} ] } }