XML Import
Validate XML
Validate XML structure without importing
POST
Validate XML
Validate an XML feed structure without actually importing the data. Use this to test your XML format before running a full import.This endpoint requires Shop API authentication using
X-API-Key and X-API-Secret headers.Path Parameters
Language code (e.g.,
en, lt)Authentication
API key from Partners Portal
API secret from Partners Portal
Request Body
URL to the XML feed to validateExample:
"https://example.com/products.xml"Response
Indicates if validation completed
HTTP status code or error code
Unique request identifier (UUID)
Status message
Detected Paths
The validator checks for these common XML structures:| Path Pattern | Example |
|---|---|
product | <product>...</product> |
item | <item>...</item> |
products/product | <products><product>...</product></products> |
items/item | <items><item>...</item></items> |
offer | <offer>...</offer> |
offers/offer | <offers><offer>...</offer></offers> |
Error Codes
| Code | Name | Description |
|---|---|---|
| 1100 | VALIDATION_FAILED | Invalid request parameters |
| 1701 | XML_VALIDATION_ERROR | XML structure validation failed |
Related Endpoints
Import from URL
Import products from URL
Field Mappings
View supported XML fields