mozaik.geliver — Geliver ile kargo

Kendi Geliver hesabınla etiket oluştur, kargo fiyatlarını karşılaştır ve takibi otomatik al.

Secrets

keylabel (TR)requiredsandbox prefix
cargo.geliver.api_tokenGeliver API Anahtarıyes

Secrets are write-only and owner-entered — see Tokens.

Provider-driven inbound

Webhooks and jobs are the platform's to ingest and schedule — never callable by agents.

kindnamenote
webhookcargo (/v1/ext/mozaik.geliver/wh/cargo/{storeId})provider-driven ingestion (cargo_events); not callable by agents
jobtrack_pollhourly platform job; not callable by agents

Config schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "mode": {
      "default": "test",
      "type": "string",
      "const": "test"
    },
    "senderAddressId": {
      "type": "string",
      "maxLength": 64
    },
    "defaultPackage": {
      "default": {
        "weightGr": 1000,
        "lengthCm": 20,
        "widthCm": 15,
        "heightCm": 10
      },
      "type": "object",
      "properties": {
        "weightGr": {
          "default": 1000,
          "type": "integer",
          "minimum": 100,
          "maximum": 50000
        },
        "lengthCm": {
          "default": 20,
          "type": "integer",
          "minimum": 1,
          "maximum": 150
        },
        "widthCm": {
          "default": 15,
          "type": "integer",
          "minimum": 1,
          "maximum": 150
        },
        "heightCm": {
          "default": 10,
          "type": "integer",
          "minimum": 1,
          "maximum": 150
        }
      },
      "additionalProperties": false
    },
    "offerPolicy": {
      "default": "merchant_picks",
      "type": "string",
      "enum": [
        "merchant_picks",
        "cheapest"
      ]
    },
    "labelFormat": {
      "default": "PDF",
      "type": "string",
      "enum": [
        "PDF",
        "JPG"
      ]
    },
    "webhookId": {
      "type": "string",
      "maxLength": 64
    }
  },
  "additionalProperties": false
}

For agents

Cargo through the merchant's Geliver account: quote offers, book shipments, fetch labels, track. The sender address must be registered at Geliver before the first booking.

Setup

  1. Installextension.install with {"extensionId": "mozaik.geliver"} and the consent block. Consent includes buyer name/phone/address flowing to Geliver for labels.
  2. Secret — the owner enters cargo.geliver.api_token in the admin panel (agents cannot set secrets). Owner-entered; test-mode tokens only until the platform unlocks live cargo (M7).
  3. Action — run op sender-address via ext.cargo.sender. Register the pickup/sender profile — agents call the sender-address op, owners use the admin dialog.
  4. Enableextension.enable.
  5. Verify — run op offers via orders.cargo.offers. Quote offers on a test order; a carrier list proves the token + sender profile.

Operations

opviaeffectsproposal-onlyrequires
bookorders.cargo.bookexternalenabled · capability rateShopping
labelorders.shipment.labelexternalenabled · capability labelFormats
offersorders.cargo.offersexternalenabled · capability rateShopping
sender-addressext.cargo.senderexternalinstalled (enable not required) · secret cargo.geliver.api_token
trackorders.shipment.trackexternalenabled · capability tracking

extensions.ops.get (GET /v1/extensions/mozaik.geliver/ops) returns this table with live readiness — exactly what blocks each op right now (missing_secret:<key>, missing_config:<pointer>, not_enabled, …).

Lifecycle

extension.installextension.configureextension.enableextension.disableextension.uninstall

Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /catalog/mozaik.geliver.md