×
Supplier integration dossier · Confidential
Castrol lubricants
on the aftersales marketplace
Technical brief for Castrol: how to publish the oils & fluids catalogue, map the lubricants attribute set, and fulfil dealer orders for the OMODA & JAECOO network.
Category oils · Attribute set oils · English
Agenda
What this Castrol pack covers
- Commercial context & recommended integration path
- Catalogue REST / JSON / CSV contracts
- Lubricants attribute set — full field dictionary
- Castrol sample payloads (EDGE, MAGNATEC, TRANSMAX…)
- Vehicle fitment codes OMODA / JAECOO
- Orders API — list, detail, confirm shipment
- Go-live checklist
omoda.atic.red.

Recommended path
Path 2 — Our endpoints (primary for Castrol)
Castrol pushes (or hosts) catalogue data into the marketplace and polls / confirms orders with one API key. Path 1 (Castrol APIs we consume) remains available if preferred.
category: "oils" and lubricants attributes.https://omoda.atic.red/api/v1/supplier ·
Auth: X-API-Key or Authorization: Bearer

Catalogue API
Product endpoints
Write / sync
POST/api/v1/supplier/products
Batch upsert: {"products":[…]} (max 500).
PUT/api/v1/supplier/products/{sku}
Single SKU upsert.
DELETE/api/v1/supplier/products/{sku}
Deactivate SKU in catalogue.
Read / feed alternative
GET/api/v1/supplier/products
List Castrol catalogue as stored.
- JSON feed: host file; portal sync pulls it
- Sample:
/samples/castrol-products.json - Swagger:
/docs/api

Canonical product fields
Core payload (all categories)
| Field | Type | Req | Castrol notes |
|---|---|---|---|
sku | string | Yes | Stable Castrol / SAP material code |
name / name_en | string | Yes* | Commercial label (ES + EN) |
category | slug | Yes | Always oils for lubricants & fluids |
cost_price | number | Yes | MARGIN model settlement cost |
dealer_price | number | — | Required if RAPPEL commercial mode |
stock | integer | — | Sellable units at warehouse |
models | string[] | — | Fitment codes (see slide 11) |
attributes | object | Yes† | Lubricants attribute set (next slides) |
image_url / active | url / bool | — | CDN pack shot; soft delete |
name required · † strongly required for dealer filters & family pages
Attribute set · oils
Lubricants family — overview
oils
Linked to category oils (“Oils & lubricants”). Used for engine oils, ATF, brake fluid, coolant, grease.
Attributes
SELECT / NUMBER / TEXT fields. Required flags enforce data quality at ingestion.
Dealer impact
Shown on catalogue cards (viscosity, seasonality-equivalent filters via grade & application).
/admin/attribute-sets → Oils & lubricants.

Attribute dictionary (1/2)
Required & classification fields
| Code | Label | Type | Req | Allowed / unit | Castrol example |
|---|---|---|---|---|---|
viscosity | Viscosity grade | SELECT | Yes | 0W16, 0W20, 0W30, 5W30, 5W40, 10W40, 15W40, ATF, CVT, DOT4, OAT | 5W30 |
capacity_l | Pack size (L) | NUMBER | Yes | unit: L | 5 |
base_type | Base type | SELECT | Yes | Full Synthetic, Synthetic Technology, Semi-Synthetic, Mineral, Speciality | Full Synthetic |
application | Application | SELECT | Yes | Engine oil, Transmission ATF, CVT fluid, Brake fluid, Coolant, Grease, Gear oil | Engine oil |
brand_line | Product line | SELECT | — | EDGE, MAGNATEC, GTX, TRANSMAX, REACT, Radicool, Other | EDGE |

Attribute dictionary (2/2)
Specs, approvals & packaging
| Code | Label | Type | Req | Guidance | Castrol example |
|---|---|---|---|---|---|
spec | Industry specs | TEXT | — | Free text summary of standards | ACEA C3 / API SP |
acea | ACEA | TEXT | — | Sequence only for filtering/reporting | C3 or C5 |
api | API | TEXT | — | Gasoline / diesel service category | SP |
oem_approvals | OEM approvals | TEXT | — | Semicolon-separated OEM specs | VW 504 00 / 507 00; MB 229.51 |
pack_type | Pack type | SELECT | — | Bottle, Can, Drum, IBC, Bulk | Bottle |
attributes. Unknown codes are ignored; known codes upsert into product_attribute_values.

Castrol sample · EDGE
JSON product with full attributes
{
"sku": "CAS-EDGE-5W30-5L",
"name": "Castrol EDGE 5W-30 LL 5L",
"name_en": "Castrol EDGE 5W-30 LL 5L",
"category": "oils",
"cost_price": 34.5,
"stock": 240,
"models": ["C5", "C5-SHS", "C7", "O5"],
"attributes": {
"viscosity": "5W30",
"capacity_l": 5,
"base_type": "Full Synthetic",
"application": "Engine oil",
"brand_line": "EDGE",
"spec": "ACEA C3 / API SP",
"acea": "C3",
"api": "SP",
"oem_approvals": "VW 504 00 / 507 00; MB 229.51",
"pack_type": "Bottle"
}
}

Castrol assortment map
Suggested SKU → attribute mapping
| Line | SKU pattern | viscosity | application | Typical models |
|---|---|---|---|---|
| EDGE | CAS-EDGE-* | 5W30 / 0W30 | Engine oil | C5, C7, O5 |
| MAGNATEC | CAS-MAG-* | 0W20 / 5W30 | Engine oil | C5-SHS, E5, C7 |
| TRANSMAX | CAS-TRX-* | ATF / CVT | Transmission ATF / CVT | C5, C7, O5, J7 |
| REACT | CAS-REACT-* | DOT4 | Brake fluid | All ICE / EV |
| Radicool | CAS-RAD-* | OAT | Coolant | C5, SHS, E5, C7, O5 |
/samples/castrol-products.json — import via portal sync or POST to REST.

Vehicle fitment
OMODA & JAECOO model codes
OMODA
C5— OMODA 5 PetrolC5-SHS— OMODA 5 Hybrid SHSE5— OMODA 5 EVC7— OMODA 7O5— OMODA 9
JAECOO
J5/J5-EVJ7/J7-SHS-H/J7-SHS-PJ8
Pass as array or CSV string in models. Dealers filter catalogue by family & version.

Orders API
Read & confirm Castrol purchase orders
Endpoints
GET/orders?open=1
Open POs (CONFIRMED / SENT_TO_SUPPLIER).
GET/orders/{id}
Header + lines (SKU, qty, unit_cost).
POST/orders/{id}/confirm
Body {"action":"ship"} or cancel.
After confirm
- Status → SHIPPED → document cycle
- Self-invoice (Castrol)
- Delivery note
- Dealer invoice
- Status → INVOICED
Field can_confirm marks actionable orders.

curl examples
Push catalogue & confirm order
# Upsert Castrol batch
curl -X POST https://omoda.atic.red/api/v1/supplier/products \
-H "Content-Type: application/json" \
-H "X-API-Key: $CASTROL_API_KEY" \
-d @castrol-products.json
# Open orders
curl "https://omoda.atic.red/api/v1/supplier/orders?open=1" \
-H "X-API-Key: $CASTROL_API_KEY"
# Confirm shipment
curl -X POST https://omoda.atic.red/api/v1/supplier/orders/123/confirm \
-H "Content-Type: application/json" \
-H "X-API-Key: $CASTROL_API_KEY" \
-d '{"action":"ship"}'

Commercial
MARGIN vs RAPPEL for lubricants
MARGIN (typical oils)
- Castrol publishes
cost_price - Dealer nets cost + network margin %
- Credit reserved at order, consumed at invoice
RAPPEL (if contracted)
- Publish
dealer_price - Period-end rebate % on turnover
- Same order / document cycle

Go-live
Castrol checklist
- 1Receive Supplier Portal user + API key; set integration to REST or JSON feed.
- 2Load pilot SKUs (EDGE / MAGNATEC / TRANSMAX / REACT / Radicool) with full
attributes. - 3Validate dealer catalogue filters (viscosity, application, vehicle family).
- 4Place test PO → confirm via API → verify self-invoice & dealer invoice.
- 5Schedule stock push cadence; monitor
/supplier/integrationlast sync.
/docs/api · Integration docs /docs/integration ·
Sample /samples/castrol-products.json · Portal /supplier/integration

×
Thank you
Ready to connect
Castrol lubricants
Attribute-rich catalogue, fitment-aware discovery, and automated order-to-invoice — built for the OMODA & JAECOO aftersales network.
omoda.atic.red · Castrol integration