RecentProductCountryS
Returns the list of ProductCountry objects requested by the Merchant since requestId is specified.
This method may be used by the Merchants to load to their local “cache” ProductCountries storage, product “country exceptions” (product/country combinations that have commercial or regulatory country-specific restrictions, as well as any non-standard VAT rates that should be applied to the respective products in the respective EU countries).
For the first call to RecentProductCountryS, requestId=0 must be specified.
If any ProductCountry object record returned by RecentProductCountryS API is not "restricted", not "forbidden", and VATRateType's rate is equal to the respective country’s default VATRateType's rate, this indicates that this ProductCountry is “reverted” to “default” (no restrictions and default country VAT rate). In such a case, this ProductCountry should not be created in the local "cache" ProductCountries storage. If this ProductCountry already exists in the local "cache" storage, then it has to be deleted from there. Note that the IsForbidden flag actually denotes global restriction that is applied to ALL countries for the respective product. So if IsForbidden is set, it will be set for all countries, although in Global‑e core it’s actually a Product level flag (rather than ProductCountry level).
Method/URL
https://{server_name}/Browsing/RecentProductCountryS
Parameter
Request
Parameter Name | Type | Description | Mandatory |
|---|---|---|---|
| Decimal | Request identifier |
Response
Parameter Name | Type | Description | Mandatory |
|---|---|---|---|
| List of | List of countries related to products, list of ProductCountry objects | |
| Decimal | Request identifier |