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
}

Storefront (themes)

Rendered through the active theme's kit as kit-trees; placed by the owner (design.zone.place / design.extpage.add). Exposed own-config pointers ($ext.*): none.

Block teslimat: Teslimat tahmini

Ürün sayfasında tahmini teslimat süresini gösterir.

{
  "type": "object",
  "properties": {
    "minGun": {
      "type": "integer",
      "minimum": 0,
      "maximum": 30,
      "default": 2
    },
    "maxGun": {
      "type": "integer",
      "minimum": 1,
      "maximum": 60,
      "default": 4
    },
    "not": {
      "type": "string",
      "maxLength": 120,
      "default": "Kargoya aynı gün verilir."
    }
  }
}
{
  "el": "Stack",
  "props": {
    "direction": "row",
    "gap": "s",
    "align": "center"
  },
  "children": [
    {
      "el": "Icon",
      "props": {
        "name": "truck",
        "size": "m"
      }
    },
    {
      "el": "Stack",
      "props": {
        "gap": "none"
      },
      "children": [
        {
          "el": "Text",
          "props": {
            "size": "s",
            "weight": "medium"
          },
          "children": [
            "Tahmini teslimat: ",
            {
              "$bind": "$config.minGun"
            },
            "-",
            {
              "$bind": "$config.maxGun"
            },
            " iş günü"
          ]
        },
        {
          "el": "Text",
          "props": {
            "size": "xs",
            "tone": "muted"
          },
          "children": [
            {
              "$bind": "$config.not"
            }
          ],
          "if": "$config.not"
        }
      ]
    }
  ]
}

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. Install: extension.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 (pre-launch gate).
  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. Enable: extension.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.bookexternal✓enabled · capability rateShopping
labelorders.shipment.labelexternalenabled · capability labelFormats
offersorders.cargo.offersexternalenabled · capability rateShopping
place-block-teslimatdesign.zone.placewrite✓installed (enable not required)
sender-addressext.cargo.senderexternal✓installed (enable not required) · secret cargo.geliver.api_token
trackorders.shipment.trackexternal✓enabled · 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.install → extension.configure → extension.enable → extension.disable → extension.uninstall

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