Update
Updates a specific tax registration.
Examples
All at once:
$tax_registration = \SureCart\Models\Product::find('8ba8d60f-5277-4e6b-807c-dee8166446d5');
$tax_registration->update([
'tax_identifier' => [
'number' => '1234556789',
'type' => 'eu_vat',
],
]);
Wait until attributes are updated:
$tax_registration = \SureCart\Models\Product::find('8ba8d60f-5277-4e6b-807c-dee8166446d5');
$tax_registration->tax_identifier->number = '1234556789';
$tax_registration->tax_identifier->type = 'eu_vat';
$tax_registration->save();