diff --git a/packages/Webkul/API/Http/Resources/Customer/CustomerAddress.php b/packages/Webkul/API/Http/Resources/Customer/CustomerAddress.php index 111cdb31c..6538496c0 100644 --- a/packages/Webkul/API/Http/Resources/Customer/CustomerAddress.php +++ b/packages/Webkul/API/Http/Resources/Customer/CustomerAddress.php @@ -16,6 +16,9 @@ class CustomerAddress extends JsonResource { return [ 'id' => $this->id, + 'first_name' => $this->first_name, + 'last_name' => $this->last_name, + 'company_name' => $this->company_name, 'address1' => explode(PHP_EOL, $this->address1), 'country' => $this->country, 'country_name' => core()->country_name($this->country), @@ -27,4 +30,4 @@ class CustomerAddress extends JsonResource 'updated_at' => $this->updated_at, ]; } -} \ No newline at end of file +}