Inhalte aufrufen

Profilbild

WebApi: Customer registriation where is the VAT stored?

this col;zeile 220

  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
2 Antworten zu diesem Thema

#1 TripleNico

TripleNico

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 124 Beiträge

Geschrieben: 02 April 2020 - 15:11

When a user registeres and enters there VAT number under "Company Info" where is this value stored? I cannot find it under endpoint /Customers
 
But when i go the the admin --> Customers page and then open the newly registered customer i can see the VAT value.
 
For the record it searched in:
 
/Customer --> root properties
/Customer --> BillingAddress
/Customer --> ShippingAddress
/Customer --> Orders

#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3801 Beiträge

Geschrieben: 02 April 2020 - 15:35

The VAT number is a generic attribute stored in table "GenericAttribute" with Key "VatNumber" and KeyGroup "Customer".


Marcus Gesing

Smartstore AG


#3 TripleNico

TripleNico

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 124 Beiträge

Geschrieben: 06 April 2020 - 12:43

Found it ,thanks!

 

Is there also a field for the CoC ?