Passer au contenu principal
Autrex
Panier (0 articles)
POST/api/v1/fitment/verify

Verify Fitment

Issue signed, line-bound fitment evidence for one SKU, canonical vehicle scope, and axle position. Product classification selects ACES for parts or geometry for tires and wheels.

The same-origin /api/erp relay accepts only storefront allow-listed paths and methods; other routes return 404. Browser-supplied API keys are discarded. Direct public API endpoints remain available at their documented URLs.

fitmentverifycompatibility

Use Cases

  • Verify fitment before adding a specific cart line
  • Preserve vehicle and axle evidence through checkout
  • Re-verify a saved cart line without changing its identity

Request Body

Immutable cart-line identity and canonical vehicle evidence

Content-Type: application/json

{
  "lineKey": "06f7f86c5d8dc1f96f97ac9c4ff5ea9f7e41d2209248f83291c7887d56f5ee26",
  "sku": "BCZC283107",
  "vehicle": {
    "version": 1,
    "source": "ymm",
    "year": 2024,
    "make": "Toyota",
    "model": "Camry",
    "baseVehicleId": 148891,
    "configurationState": "configuration_partial"
  },
  "scope": "all_trims",
  "axlePosition": "unspecified",
  "conditions": []
}

Request Example

cURL
curl -X POST "https://autrex.ca/api/v1/fitment/verify" \
  -H "Content-Type: application/json" \
  -d '{
  "lineKey": "06f7f86c5d8dc1f96f97ac9c4ff5ea9f7e41d2209248f83291c7887d56f5ee26",
  "sku": "BCZC283107",
  "vehicle": {
    "version": 1,
    "source": "ymm",
    "year": 2024,
    "make": "Toyota",
    "model": "Camry",
    "baseVehicleId": 148891,
    "configurationState": "configuration_partial"
  },
  "scope": "all_trims",
  "axlePosition": "unspecified",
  "conditions": []
}'
JavaScript
fetch("https://autrex.ca/api/v1/fitment/verify", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
  "lineKey": "06f7f86c5d8dc1f96f97ac9c4ff5ea9f7e41d2209248f83291c7887d56f5ee26",
  "sku": "BCZC283107",
  "vehicle": {
    "version": 1,
    "source": "ymm",
    "year": 2024,
    "make": "Toyota",
    "model": "Camry",
    "baseVehicleId": 148891,
    "configurationState": "configuration_partial"
  },
  "scope": "all_trims",
  "axlePosition": "unspecified",
  "conditions": []
}),
})

Response

200Canonical decision, bound evidence, and signed V2 token
{
  "decision": {
    "version": 2,
    "status": "confirmed_for_ymm",
    "requiredFields": [],
    "matchedApplicationIds": [
      10
    ],
    "algorithmVersion": "progressive-v1",
    "catalogRevision": "2026-09-28",
    "evaluatedAt": "2026-09-28T12:00:00.000Z",
    "contextHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
  },
  "evidence": {
    "lineKey": "06f7f86c5d8dc1f96f97ac9c4ff5ea9f7e41d2209248f83291c7887d56f5ee26",
    "sku": "BCZC283107",
    "productId": "BCZC283107",
    "productDomain": "aces",
    "productKind": "part",
    "vehicle": {
      "domain": "aces",
      "identity": {
        "namespace": "vcdb_base_vehicle",
        "id": 148891
      },
      "scope": "all_trims",
      "context": {
        "version": 1,
        "source": "ymm",
        "year": 2024,
        "make": "Toyota",
        "model": "Camry",
        "baseVehicleId": 148891,
        "configurationState": "configuration_partial"
      }
    },
    "axlePosition": "unspecified",
    "conditions": [],
    "conditionsComplete": true
  },
  "fitmentToken": "v2.payload.signature"
}

Rate Limit

30 requests/minute