Get cs-cart api with vendor detail, with all vendor details need for migration

 

/your-server/cscart-folder.com/app/functions

than edit file:

at line: 165 function fn_get_companies

// Define fields that should be retrieved
$fields = array (
‘?:companies.company_id’,
‘?:companies.lang_code’,
‘?:companies.email’,
‘?:companies.company’,
‘?:companies.timestamp’,
‘?:companies.status’,
);

replace it with below code

// Define fields that should be retrieved, snippetbucket enhancement
$fields = array (
‘?:companies.company_id’,
‘?:companies.lang_code’,
‘?:companies.email’,
‘?:companies.city’,
‘?:companies.phone’,
‘?:companies.company’,
‘?:companies.timestamp’,
‘?:companies.status’,
‘?:companies.zipcode’,
‘?:companies.address’,
‘?:companies.country’,
‘?:companies.state’,
‘?:companies.shippings’,
‘?:companies.storefront’,
);