Create a new address for the customer.
addressData
is an array of customerAddressEntityCreate objects.
magento.customerAddress.create({
customerId: val,
addressData: [ val, val, val ]
}, callback);
// or a single cell of address data
magento.customerAddress.create({
customerId: val,
addressData: val
}, callback);
Delete the required customer address.
magento.customerAddress.delete({
addressId: val
}, callback);
Retrieve information about the required customer address.
magento.customerAddress.info({
addressId: val
}, callback);
Retrieve the list of customer addresses.
magento.customerAddress.list({
customerId: val
}, callback);
Update address data of the required customer.
addressData
is an array of customerAddressEntityCreate objects.
magento.customerAddress.update({
addressId: val,
addressData: [ val, val, val ]
}, callback);
// or a single cell of address data
magento.customerAddress.update({
addressId: val,
addressData: val
}, callback);