Connect Your Business to a Wider Product Catalog and More Opportunities
Commercial, operational, and technical documentation covering the B2B API, product feeds, the Exclusive Extended Catalog for Marketplaces, dropshipping orders, and shipments
What the API is and how it works
The MediaMax B2B API lets you connect an online shop, ERP or internal system to our catalogue, prices, stock, orders and shipments using authenticated HTTP requests.
Query information
Retrieve the catalogue, product details, customer-specific prices, and the status of orders and shipments.
Operate automatically
Create orders, receive their identifiers and subsequently check their preparation and tracking.
HTTP-API-KEY: YOUR_TOKEN with every request. The key must be kept on the server and never exposed in public code or in the browser.Catalogue and product lookup
The catalogue lets you retrieve a paginated list and then query the up-to-date details of a SKU. Depending on the product, the data may include name, reference, customer price, availability, EAN, images and energy information.
| Operation | Method | Path | Description |
|---|---|---|---|
| Catalogue | GET |
/product/all
|
Paginated list of products |
| Product | GET |
/product/{sku}
|
Record for one SKU |
Retrieve catalogue
curl --request GET \
--url 'https://www.mediamax.es/api/product/all?pag=1&max=25' \
--header 'HTTP-API-KEY: YOUR_TOKEN' \
--header 'Accept-Language: en'
Query a product
curl --request GET \
--url 'https://www.mediamax.es/api/product/SAMPLE-SKU' \
--header 'HTTP-API-KEY: YOUR_TOKEN'
Simplified illustrative response
{
"id": 12345,
"attributes": {
"name": "Sample product",
"sku": "SAMPLE-SKU",
"price": 199.99,
"qty_available": 8,
"gallery": []
}
}
Feeds: catalogue, price and stock synchronisation
Feeds provide files to be imported periodically into an eCommerce platform, ERP or integrator. They are an alternative or complement to the API: they allow batch synchronisation without making individual queries per product.
CSV feed
Downloadable and importable file. The information reflects the latest generation or download of the feed. Useful for simple integrations.
API
Direct queries to MediaMax services, with the option to create orders and query shipments. Requires technical integration.
Fast price and availability feed
Recommended update frequency: every 15–30 minutes, depending on the integration process.
| Field | Meaning |
|---|---|
SKU
|
Unique product reference |
price
|
Customer price excluding VAT (cost price for their resale) |
qty
|
Quantity available for immediate dispatch |
qty2
|
Expected quantity with estimated arrival in less than 24 hours |
Documented format: field separator |; text delimiter '.
Exclusive Extended Catalog
More categories. More selling opportunities.
In addition to our specialisation in mobile phones and tablets, we put within your reach all of our suppliers' products in consumer electronics, personal care, home and many other categories.
The Exclusive Extended Catalog includes items not yet published on our website, giving you access to a much wider catalogue.
What advantages does it offer?
More products and categories
Expand your offering with new items from our suppliers.
Early access
Discover products before they are published on mediamax.es.
More opportunities on marketplaces
Take advantage of items that already have listings on the main platforms.
Special feed for marketplace integrations
More variants. More selling opportunities.
We have a special feed for integrators and dropshippers that makes it easier to identify many more variants of each of our products across the different marketplaces.
Its purpose is to improve matching with existing listings on platforms such as Amazon, Miravia and other marketplaces, increasing the chances of selling our products.
What advantages does it offer?
Greater coverage
Makes it easier to identify more variants of each product.
More matches
Increases the chances of linking our products with existing listings.
Optimised integration
Allows integrators to capture more selling opportunities without duplicating products.
Users, tokens and go-live
Each API integration is associated with a MediaMax user and email linked to the customer's commercial and tax configuration. That association affects the price list, prices and invoicing treatment.
| Phase | Owner / objective |
|---|---|
| 1. Token generation | IT creates the access and carries out the initial authentication and configuration tests |
| 2. Secure delivery | IT provides the key to the customer through an appropriate channel |
| 3. DEMO | The customer places test orders and validates how it works |
| 4. Validation | Catalogue, addresses, prices and the order flow are reviewed |
| 5. Supervised production | Live operations are enabled with a contact hold so that the first orders can be reviewed |
Creating and querying orders
An API order brings together the customer's own reference, the billing address, the shipping address and the lines with SKU and quantity. MediaMax returns an identifier that must be kept alongside the original reference.
| Operation | Method | Path |
|---|---|---|
| Create order | POST |
/order
|
| Query by customer reference | GET |
/order/reference/{reference}
|
| Query by MediaMax ID | GET |
/order/id/{order_id}
|
| Query several references | GET |
/batch/reference
|
Create order
curl --request POST \
--url 'https://www.mediamax.es/api/order' \
--header 'HTTP-API-KEY: YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data @pedido.json
Example pedido.json
{
"b2b_reference": "CUSTOMER-ORDER-2026-0001",
"order_billing_address": {
"name": "Laura",
"lastname": "García",
"company": "Example Company SL",
"email": "compras@example.com",
"phone": "+34900000000",
"street": "1 Example Street",
"postcode": "03001",
"city": "Alicante",
"region_id": "A",
"country": "ES"
},
"order_shipping_address": {
"name": "Laura",
"lastname": "García",
"company": "Example Company SL",
"email": "logistica@example.com",
"phone": "+34900000000",
"street": "Delivery Avenue 10",
"postcode": "03002",
"city": "Alicante",
"region_id": "A",
"country": "ES",
"express": 0
},
"order_lines": [
{"sku": "SAMPLE-SKU", "quantity": 1}
]
}
Query several references
curl --request GET \
--url 'https://www.mediamax.es/api/batch/reference?pag=1&max=25&references=ORDER-001&references=ORDER-002' \
--header 'HTTP-API-KEY: YOUR_TOKEN'
b2b_reference must be unique. If a POST /order call fails or times out, first check whether the order was created before retrying. Avoid blind automatic resubmissions.Dropship: preparation and documentation
In Dropship, MediaMax prepares and ships orders on behalf of the customer, using the account configuration for documentation and labelling. According to the procedure described, orders placed via the API use this method.
Account configuration
- Dropship enabled.
- Logo and account details correct.
- Shipping address of the sender.
Shipment documentation
- Packing slip or statement of contents.
- Logo and details displayed.
- Label with the appropriate sender.
Shipments, tracking and delivery
An order may generate one or several shipments. Each one may have its own picking reference, carrier, tracking number and logistics status.
| Operation | Method | Path |
|---|---|---|
| Query a shipment by picking | GET |
/packing/show/reference/{reference}
|
| Query shipments of an Odoo order | GET |
/packing/show/order/odoo/{odoo_reference}
|
Query shipment by reference
curl --request GET \
--url 'https://www.mediamax.es/api/packing/show/reference/WH%2FOUT%2F00000' \
--header 'HTTP-API-KEY: YOUR_TOKEN'
Simplified illustrative response
{
"code": "200",
"status": "success",
"data": {
"id": 4567,
"attributes": {
"reference": "WH/OUT/00000",
"tracking": "TRACKING-SAMPLE",
"status": "done"
}
}
}
Query all shipments of the order
curl --request GET \
--url 'https://www.mediamax.es/api/packing/show/order/odoo/S00000' \
--header 'HTTP-API-KEY: YOUR_TOKEN'
Monitoring the first orders
Moving from DEMO to production requires supervising the first operations to confirm that the integration works with real data. A contact hold is used to control the transfer of the picking until the review is complete.
Quick reference, support and resources
Summary of operations
| Need | Endpoint |
|---|---|
| List catalogue |
GET /product/all
|
| SKU details |
GET /product/{sku}
|
| Create order |
POST /order
|
| Search by reference |
GET /order/reference/{reference}
|
| Search by ID |
GET /order/id/{order_id}
|
| Search several orders |
GET /batch/reference
|
| Query picking |
GET /packing/show/reference/{reference}
|
| Order shipments |
GET /packing/show/order/odoo/{odoo_reference}
|
Technical documentation
Reference source for the complete fields, response models, validations and errors.
Access and support
Feeds: My Account → Feeds in the B2B portal.
Access requests and technical questions: it@mediamax.es.