Table: GBP / GMC Mapping & CrossOver
AccountManagement.Accounts.OrganizationInfo
GBP Property | GMC Content API Property | Notes {:.vertical-rules} |
---|---|---|
Address.PostalAddress.Organization | Account.Name | This is the store name. If your GMC Account Name is the store name, you can carry this property over to the Organization. |
Address.PostalAddress.LanguageCode | UserInfo.Language | The language code can be determined by the user profile information. |
Address.PostalAddress.RegionCode | AccountAddress.Region | The region is straightforward mapping. |
Address.PostalAddress.PostalCode | AccountAddress.PostalCode | The postal code is straightforward mapping. |
Address.PostalAddress.Locality | AccountAddress.locality | The locality is a straightforward mapping. |
Address.PostalAddress.AddressLines | AccountAddress.AddressLines | The content api is a single variable whereas GBP is an array. So, add the content api street address to the array. |
PhoneNumber | AccountBusinessInformation.PhoneNumber | The phone number may be different in some cases after the 1st business in the location chain is created. This can be updated later. |
RegisteredDomain | Account.WebsiteURL | The website url that belongs to the merchant account that is signing up. |
BusinessInformation.Accounts.Locations
GBP Property | GMC Content API Property | Notes |
---|---|---|
PhoneNumbers | AccountBusinessInformation.PhoneNumber | You can also use AccountManagement.Accounts.OrganizationInfo.PhoneNumber |
Categories | N/A | This is an array that holds a BusinessInformation.Accounts.Locations.Category. See BusinessInformation.Categories.List. A simple request should be made at the time of sub-account creation to retrieve the display name and name of the category. |
Category | N/A | // TextTile Exporter Example |
LanguageCode | UserInfo.Language | Or you can utilize AccountManagement.Accounts.OrganizationInfo.Address.PostalAddress.LanguageCode |
Name | N/A | Recommend to utilize AccountManagement.Accounts.Name |
Title | N/A | Recommend to utilize AccountManagement.Accounts.AccountName |
StoreFrontAddress.AdministrativeArea | AccountAddress.Region | Important: If this is an additional location, then chances are the properties are different. This is guidance on handling your first location. You could also reuse AccountManagement.Accounts.OrganizationInfo.Address.PostalAddress.RegionCode |
StoreFrontAddress.AddressLines | AccountAddress.AddressLines | Important: If this is an additional location, then chances are the properties are different. This is guidance on handling your first location. You could also reuse AccountManagement.Accounts.OrganizationInfo.Address.PostalAddress.AddressLines |
StoreFrontAddress.PostalCode | AccountAddress.PostalCode | Important: If this is an additional location, then chances are the properties are different. This is guidance on handling your first location. You could also reuse AccountManagement.Accounts.OrganizationInfo.Address.PostalAddress.PostalCode |
StoreFrontAddress.RegionCode | AccountAddress.Region | Important: If this is an additional location, then chances are the properties are different. This is guidance on handling your first location. You could also reuse AccountManagement.Accounts.OrganizationInfo.Address.PostalAddress.RegionCode |
StoreFrontAddress.Locality | AccountAddress.locality | Important: If this is an additional location, then chances are the properties are different. This is guidance on handling your first location. You could also reuse AccountManagement.Accounts.OrganizationInfo.Address.PostalAddress.Locality |
WebsiteURI | Account.WebsiteURL | AccountManagement.Accounts.OrganizationInfo.RegisteredDomain |