Manufacturer Endpoint
Endpoint
Manufacturers
Manufacturers/Brands that are GPSR-compliant.
Overview
| Operation | Method | Endpoint | Scope |
|---|---|---|---|
| Export | GET | /xpanel/xoport/export/json/manufacturers | manufacturers:read |
| Import | POST | /xpanel/xoport/import/json/manufacturers | manufacturers:write |
| Update | PUT | /xpanel/xoport/import/json/manufacturers | manufacturers:write |
| Delete | DELETE | /xpanel/xoport/delete/json/manufacturers | manufacturers:delete |
GPSR Fields (EU Product Safety)
Starting with v2.3.0, all GPSR contact fields are supported (EU Product Safety Regulation):
EU Contact (manufacturers_gpsr_contact_*)
manufacturers_gpsr_contact_company- Company namemanufacturers_gpsr_contact_street,_postcode,_citymanufacturers_gpsr_contact_country- Country code (DE, AT, etc.)manufacturers_gpsr_contact_email,_phone,_url
Non-EU contact (manufacturers_gpsr_non_eu_contact_*)
- The same fields with the prefix
_non_eu_ - Required for manufacturers outside the EU
Export (GET)
Query parameters
| Parameters | Type | Description |
|---|---|---|
manufacturers_id | int | Export individual manufacturers |
limit | int | Max. number |
offset | int | Start position |
Response fields
manufacturers_id,manufacturers_namemanufacturers_image- Logo pathmanufacturers_gpsr_*- GPSR contact fieldslanguages{}- Description, SEO per language
Import (POST/PUT)
Example with GPSR
curl -X POST "https://shop.de/xpanel/xoport/import/json/manufacturers" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"type": "manufacturers",
"data": [{
"manufacturers_name": "ACME Corp",
"manufacturers_gpsr_contact_company": "ACME Europe GmbH",
"manufacturers_gpsr_contact_street": "Industriestr. 1",
"manufacturers_gpsr_contact_postcode": "12345",
"manufacturers_gpsr_contact_city": "Berlin",
"manufacturers_gpsr_contact_country": "DE",
"manufacturers_gpsr_contact_email": "gpsr@acme.de",
"languages": {
"de": {
"manufacturers_description": "Führender Hersteller..."
}
}
}]
}'