XML Import
Import from File
Import products from an uploaded XML file
POST
Import from File
Upload and import products from an XML file. Maximum file size is 10MB.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 (multipart/form-data)
XML file to import
- Max size: 10 MB
- Allowed types:
application/xml,text/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
Limits
| Limit | Value |
|---|---|
| Maximum file size | 10 MB |
| Allowed MIME types | application/xml, text/xml |
Error Codes
| Code | Name | Description |
|---|---|---|
| 1100 | VALIDATION_FAILED | Invalid file or parameters |
| 1700 | XML_IMPORT_FAILED | Import process failed |
| 1706 | XML_FILE_TOO_LARGE | File exceeds 10MB limit |
Related Endpoints
Import from URL
Import from external URL
Field Mappings
View supported XML fields