REST API: not work extra_params

31.12.2022 10:57
#1
IWEB
Joomshopping forum user no avatar
Name: VitalyGas
14.05.2013
Posts: 49
Quote
REST API: not work extra_params

Hi!

Does not work in step3save, step3save, step5save passed extra_params. Maybe I'm doing something wrong.
I'm trying to override the standard parameters: price, delivery time and other parameters, but it doesn't work.

Request example. Code snippet from CURL:


curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query([
'section' => 'checkout',
'task' => 'step4save',
'args' => [
'shipping_id' => $shipping_id,
'extra_params' => ['calculeprice' => 399]
]

]));


Please help me understand what is the matter. Maybe I'm using the wrong query syntax.

 
03.01.2023 10:14
#2
IWEB
Joomshopping forum user no avatar
Name: VitalyGas
14.05.2013
Posts: 49
Quote
Aw: REST API: not work extra_params

Hi! Can you tell me if there is a solution to my problem?

 
03.01.2023 10:44
#3
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25854
Quote
Aw: REST API: not work extra_params

I think calculeprice you can not pass such a parameter
it is calculated by the system.


Last change: 03.01.2023 10:45
 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.