XML Import
Import from URL
Import products from an external XML URL
POST
Import from URL
Import products and offers from an external XML feed URL. This is useful for syncing your product catalog from e-commerce platforms or ERP systems.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 feedExample:
"https://example.com/products.xml"If
true, only validates XML structure without importingResponse
Indicates if import was successful
HTTP status code or error code
Unique request identifier (UUID)
Status message
Security
Error Codes
| Code | Name | Description |
|---|---|---|
| 1100 | VALIDATION_FAILED | Invalid request parameters |
| 1700 | XML_IMPORT_FAILED | Import process failed |
| 1701 | XML_VALIDATION_ERROR | XML structure validation failed |
Related Endpoints
Import from File
Upload and import XML file
Validate XML
Validate XML structure only
Field Mappings
View supported XML fields