Add orderMethod methods
This commit is contained in:
parent
349f657032
commit
0e17e6c541
@ -393,7 +393,7 @@ class RestApi
|
|||||||
$dataJson = json_encode($orderMethod);
|
$dataJson = json_encode($orderMethod);
|
||||||
$this->parameters['orderMethod'] = $dataJson;
|
$this->parameters['orderMethod'] = $dataJson;
|
||||||
|
|
||||||
$url = $this->apiUrl.'reference/order-methods/'.$orderType['code'].'/edit';
|
$url = $this->apiUrl.'reference/order-methods/'.$orderMethod['code'].'/edit';
|
||||||
$result = $this->curlRequest($url, 'POST');
|
$result = $this->curlRequest($url, 'POST');
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user