hotfix(plugin-brightpearl): adds missing address parts

This commit is contained in:
Sebastian Rindom
2020-09-17 17:59:51 +02:00
parent 3c61a2c22b
commit cc97908c15

View File

@@ -644,6 +644,8 @@ class BrightpearlService extends BaseService {
const address = await client.addresses.create({
addressLine1: fromOrder.shipping_address.address_1,
addressLine2: fromOrder.shipping_address.address_2,
addressLine3: fromOrder.shipping_address.city,
addressLine4: fromOrder.shipping_address.province,
postalCode: fromOrder.shipping_address.postal_code,
countryIsoCode: fromOrder.shipping_address.country_code,
})