cancel
Showing results for 
Search instead for 
Did you mean: 

Magento - How to add custom variable in SOAP API response ?

Magento - How to add custom variable in SOAP API response ?

I'm getting order details through SOAP API request as follows,

http://pastebin.com/EKF7tU7K


I need to add the following field on that request,
public 'cod_charge' => string '50.0000' (length=7).

OR in XML response

<cod_charge xsi:type="xsd:string">50.0000</cod_charge>

How do i do that?