wetcat-studios / fortie

Laravel 5 package for Fortnox API
Apache License 2.0
19 stars 20 forks source link

How do i update DefaultDeliveryTypes->Invoice ,i want to update subarray value on fortnox, How can i do ? #86

Open ravi0076 opened 3 years ago

ravi0076 commented 3 years ago

How can i update DefaultDeliveryTypes['Invoices'] Code:

$addArr=array( 'DeliveryAddress1'=>'Lundens Addres s ass', 'DefaultDeliveryTypes["Invoice"]'=>'PRINTSERVICE', ); $customerup = $fortie->customers()->update(150, $addArr);

it returen error : [ErrorInformation] => stdClass Object ( [error] => 1 [message] => DefaultDeliveryTypes innehåller ogiltig data. [code] => 2003088 )