SaveProductsList
Saves product data on the Global‑e system and returns the list of matching ProductCountry objects for the list of products specified. The caller is responsible for calling this method for every product not found (or invalidated) in the local cache on the Merchant side. Calling this method as soon as possible will allow Global‑e to map the products to their respective customs category and will therefore allow guaranteed landed cost offering for these products. Therefore, this method should be called when creating or updating the products on the Merchant’s back end as well.
Method/URL
https://{server_name}/Browsing/SaveProductsList
Parameters
Request
Parameter Name | Type | Description | Mandatory |
|---|---|---|---|
| String | End customer’s IP address | |
| String | 2-char ISO country code of the end customer’s shipping country | |
| String | ISO culture code. If specified, the textual properties (e.g. RestrictionMessage) will be returned in the requested culture’s language if available. Texts in English will be returned by default. | No |
| Int64 |
| |
| String | ISO culture code. Denotes the culture for the products’ textual properties being saved (e.g. Description). If not specified, the Merchant’s default culture will be assumed by default. | No |
| String | 3-char ISO currency code denoting the original currency on the Merchant’s site (before applying country coefficient and FX conversion). If not specified, the Merchant’s default currency will be assumed by default. | No |
| Decimal | Rate returned from | |
| List of | List of Product objects (specified in the request body) | |
| Int64 | The |
Response
Parameter Name | Type | Description | Mandatory |
|---|---|---|---|
| List of | List of countries and their details for specified products |
Example
Request
[{
"ProductCode": "1020872",
"Name": "Lanolin",
"Description": "Breast%20Feeding%20Ointment",
"GenericHSCode": "",
"OriginCountryCode": "",
"Weight": "1.0000",
"Height": null,
"Length": null,
"Volume": "60",
"ImageURL": "\/a\/3\/a3c9ef_ece3bec0467310603bce72e9a58e33d3.jpg",
"ImageHeight": "",
"ImageWidth": "",
"ListPrice": "25.0000",
"OriginalListPrice": "17.7000",
"SalePrice": "15.0000",
"OriginalSalePrice": "17.7000",
"VATRateType": {
"VATRateTypeCode": 1,
"Name": "Low",
"Rate": "18.0000"
},
"VATCategory": {
"VATCategoryCode": "640211",
"Name": "Ski-boots"
},
"Brand": {
"BrandCode": "7",
"Name": "Brand2"
},
"Categories": [{
"CategoryCode": "3",
"Name": "Maternity"
}
],
"Attributes": [{
"AttributeCode": "c034",
"Name": "Red",
"AttributeTypeCode": "color"
}, {
"AttributeCode": "s23",
"Name": "XXL",
"AttributeTypeCode": "size"
}
]
}
]