Zum Inhalt
edoobox Docs
Kostenlos testen 7 Tage unverbindlich testen
Menü
Kostenlos testen 7 Tage unverbindlich testen
OpenAPI herunterladen
offerAPI-Referenz
PUT/v2/offer/{id}

Angebot aktualisieren

Ändert die übergebenen schreibbaren Felder in data für Angebot. Die Pfad-ID wählt das Ziel; ein zusätzliches id im JSON-Umschlag hat im Legacy-Handler Vorrang.

Operation-ID put_v2_offer_id

01

Vertrag & Verhalten

Dokumentationsstand
reviewed
Ändert Zustand
Ja
Als readOnly markiert
Nein
Für Automation markiert
Nein
02

Authentifizierung

Eine der folgenden Alternativen muss erfüllt sein (ODER). Innerhalb jeder Alternative werden alle angegebenen Schemas gemeinsam benötigt (UND).

Alternative 1

bearerAuthhttp · bearer

Existing edoobox v2 access token. Never substitute API key/secret headers.

Format: JWT

Security-Schema als JSON
{
  "type": "http",
  "scheme": "bearer",
  "bearerFormat": "JWT",
  "description": "Existing edoobox v2 access token. Never substitute API key/secret headers."
}
accountContextapiKey

Selected login/account context from the JWT, not a database primary key. Required even for a JWT with one account.

header: edid

Security-Schema als JSON
{
  "type": "apiKey",
  "in": "header",
  "name": "edid",
  "description": "Selected login/account context from the JWT, not a database primary key. Required even for a JWT with one account."
}

Alternative 2

sessionCookieapiKey

Existing browser login session, with the same permission checks as Bearer authentication.

cookie: _edlogin

Security-Schema als JSON
{
  "type": "apiKey",
  "in": "cookie",
  "name": "_edlogin",
  "description": "Existing browser login session, with the same permission checks as Bearer authentication."
}
accountContextapiKey

Selected login/account context from the JWT, not a database primary key. Required even for a JWT with one account.

header: edid

Security-Schema als JSON
{
  "type": "apiKey",
  "in": "header",
  "name": "edid",
  "description": "Selected login/account context from the JWT, not a database primary key. Required even for a JWT with one account."
}

Berechtigungen

Resource permission mapping from APIPermissions(), Authfunc::_getCheckJWT. Additional model/admin/plugin checks may apply; resources absent from api_permission do not acquire a fictitious scope.

03

Parameter

Pfadparameter

iderforderlich

v2 object identifier in the selected account.

string

Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.

pattern
"^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$"
Schema-Beispiel
"offer_012345abcdef_123456"
Vollständiges Schema als JSON
{
  "type": "string",
  "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
  "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
  "examples": [
    "offer_012345abcdef_123456"
  ]
}

Header

languageoptional

Account language code, where the resource supports setLanguage().

string
Schema-Beispiel
"de"
Vollständiges Schema als JSON
{
  "type": "string",
  "examples": [
    "de"
  ]
}
X-Edoobox-If-Revisionoptional

Optional account mutation revision from a preceding authenticated auth-context snapshot. The dispatcher compares it while holding the account lock; mismatch409 requires a new review.

string
pattern
"^[a-f0-9]{32}$"
Schema-Beispiel
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
Vollständiges Schema als JSON
{
  "type": "string",
  "pattern": "^[a-f0-9]{32}$",
  "examples": [
    "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
  ]
}
04

Request Body

erforderlich

application/json

object
data object erforderlich

Source-declared fields; action-specific and account validation still apply.

minProperties
1
id kein Wert zulässig
name kein Wert zulässig
number Typ nicht eingeschränkt

Kanonischer Typ nach Normalisierung: string. Dies ist keine zusätzliche Einschränkung des Eingabetyps.

Maximal gespeicherte Länge: 120. Diese Speichergrenze ist keine maxLength-Validierung der Eingabe.

The aP getter trims text, replaces newlines and limits the legacy escaped storage representation to maxStoredLength UTF-8 characters without splitting escape pairs; aQ decodes the stored representation. Non-string input becomes empty text. This getter limit is normalization, not a rejecting input maxLength or proof of a custom action hook or database column capacity.

Schema-Beispiel
"Example"
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-canonicalType": "string",
  "x-edoobox-maxStoredLength": 120,
  "x-edoobox-normalization": "The aP getter trims text, replaces newlines and limits the legacy escaped storage representation to maxStoredLength UTF-8 characters without splitting escape pairs; aQ decodes the stored representation. Non-string input becomes empty text. This getter limit is normalization, not a rejecting input maxLength or proof of a custom action hook or database column capacity.",
  "x-edoobox-sourceLine": 59
}
row_lft kein Wert zulässig
row_rgt kein Wert zulässig
user_maximum Typ nicht eingeschränkt

PHP int cast then clamp to 0..99999. Original out-of-range values are normalized, not rejected. Normalize/clamp, then verify against runtime subscription maximum. Runtime preconditions / rejection: Normalized capacity above active subscription maximum emits ED40240.

Kanonischer Typ nach Normalisierung: integer. Dies ist keine zusätzliche Einschränkung des Eingabetyps.

Schema-Beispiel
25
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-canonicalType": "integer",
  "x-edoobox-schemaStatus": "source-reviewed",
  "x-edoobox-contractSource": [
    {
      "file": "application/models/v2/Offer.php",
      "line": 88,
      "lineStart": 88,
      "lineEnd": 103,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "ef67ec9958d0589d12df524ed964d96f3647cf8176d2f107424bbb6d2715621d",
      "reason": "Structure getter, output setter and field flags."
    },
    {
      "file": "application/models/v2/Offerfunc.php",
      "line": 72,
      "lineStart": 72,
      "lineEnd": 85,
      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
      "spanSha256": "b4cc2c675e48a2ddfd8b73a207e8b793140887e1a00f7f3dd8dc5e05ddabbe0e",
      "reason": "func delegates to _change_user_maximum_Offer"
    },
    {
      "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
      "line": 21,
      "lineStart": 21,
      "lineEnd": 71,
      "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
      "spanSha256": "0a04bfb4c037dc7bd950da50fcbd419c47001d5879a737dff29c10afc183c998",
      "reason": "Account-specific maximum checked after clamp."
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 681,
      "lineStart": 681,
      "lineEnd": 705,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 734,
      "lineStart": 734,
      "lineEnd": 735,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 805,
      "lineStart": 805,
      "lineEnd": 843,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
    },
    {
      "file": "docs/openapi/reviews/domain-fields.json",
      "line": 1,
      "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
      "sha256": "6b38123b776600a328c8e844b0ecd6e0a579144081a345e335400dad52a9a5db"
    }
  ]
}
order kein Wert zulässig
user_minimal Typ nicht eingeschränkt

Kanonischer Typ nach Normalisierung: integer. Dies ist keine zusätzliche Einschränkung des Eingabetyps.

PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.

Schema-Beispiel
1
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-schemaStatus": "source-inferred",
  "x-edoobox-sourceLine": 122,
  "x-edoobox-canonicalType": "integer",
  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction."
}
date_start kein Wert zulässig
date_end kein Wert zulässig
date_close Typ nicht eingeschränkt

dP uses PHP strtotime(); unparseable/falsy results normalize to zero. ISO 8601 text is the canonical client input; no rejecting JSON date-time format assertion is established here. Account/action hooks may add preconditions.

Kanonischer Typ nach Normalisierung: string. Dies ist keine zusätzliche Einschränkung des Eingabetyps.

Schema-Beispiel
"2026-10-15T10:00:00+02:00"
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-canonicalType": "string",
  "x-edoobox-sourceLine": 157
}
date_displayend_reference Typ nicht eingeschränkt

'date_open' => array( 'db' => $this->tableS.'anmeldeschluss', 'get' => function ($a, $fid, $insert = false) { return dP($a); }, 'set' => function ($a) { return dQ($a); }, ),

Switch default normalizes other input values; case labels are not an exhaustive accepted-input enum.

Schema-Beispiel
"date_start"
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-knownInputs": [
    "date_start",
    "date_end",
    "date_close"
  ],
  "x-edoobox-normalization": "Switch default normalizes other input values; case labels are not an exhaustive accepted-input enum.",
  "x-edoobox-sourceLine": 176
}
date_displayend Typ nicht eingeschränkt

Kanonischer Typ nach Normalisierung: integer. Dies ist keine zusätzliche Einschränkung des Eingabetyps.

PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.

Schema-Beispiel
1
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-schemaStatus": "source-inferred",
  "x-edoobox-sourceLine": 203,
  "x-edoobox-canonicalType": "integer",
  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction."
}
date_displaystart Typ nicht eingeschränkt

dP uses PHP strtotime(); unparseable/falsy results normalize to zero. ISO 8601 text is the canonical client input; no rejecting JSON date-time format assertion is established here. Account/action hooks may add preconditions.

Kanonischer Typ nach Normalisierung: string. Dies ist keine zusätzliche Einschränkung des Eingabetyps.

Schema-Beispiel
"2026-10-15T10:00:00+02:00"
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-canonicalType": "string",
  "x-edoobox-sourceLine": 218
}
date_signupstart Typ nicht eingeschränkt

ISO date-time text is canonical. PHP strtotime accepts broader text; invalid/empty strings normalize to timestamp 0 rather than reject. dP returns parsed timestamp or 0. Positive timestamp requires offer_signup_start subscription capability. Runtime preconditions / rejection: Positive timestamp with unavailable feature emits ED40240.

Kanonischer Typ nach Normalisierung: string. Dies ist keine zusätzliche Einschränkung des Eingabetyps.

Schema-Beispiel
"2030-06-01T09:00:00+02:00"
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-canonicalType": "string",
  "x-edoobox-schemaStatus": "source-reviewed",
  "x-edoobox-contractSource": [
    {
      "file": "application/models/v2/Offer.php",
      "line": 227,
      "lineStart": 227,
      "lineEnd": 236,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "a2dbd62e363a822b38cdbc9058263e13bd7e92f70f6fd200e7e4d7435d24b610",
      "reason": "Structure getter, output setter and field flags."
    },
    {
      "file": "application/models/v2/Offerfunc.php",
      "line": 99,
      "lineStart": 99,
      "lineEnd": 113,
      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
      "spanSha256": "19794aa7b608b508b4b2987afbce43721e8217056649de45174b7bc3a900507c",
      "reason": "func delegates to _change_date_signupstart_Offer"
    },
    {
      "file": "application/helpers/edooboxhelp_helper.php",
      "line": 11613,
      "lineStart": 11613,
      "lineEnd": 11639,
      "sha256": "090d351b5bde81813c7a829bedf2f1f9f978fce5765f246989779f996198934e",
      "spanSha256": "29d94d04d092603b477c949772b36e49a438b1550130b4ba4194c882983d8eed",
      "reason": "dP parse/fallback and dQ date-or-false output."
    },
    {
      "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
      "line": 45,
      "lineStart": 45,
      "lineEnd": 71,
      "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
      "spanSha256": "c9425ad19c85e68c6bc57eacc00cebd71d4e624b76013e116afd1cadcd87b7e8",
      "reason": "Feature gating after successful positive parse."
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 681,
      "lineStart": 681,
      "lineEnd": 705,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 734,
      "lineStart": 734,
      "lineEnd": 735,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 805,
      "lineStart": 805,
      "lineEnd": 843,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
    },
    {
      "file": "docs/openapi/reviews/domain-fields.json",
      "line": 1,
      "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
      "sha256": "6b38123b776600a328c8e844b0ecd6e0a579144081a345e335400dad52a9a5db"
    }
  ]
}
image kein Wert zulässig
place string

Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.

pattern
"^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$"
Schema-Beispiel
"place_012345abcdef_123456"
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-schemaStatus": "source-inferred",
  "x-edoobox-sourceLine": 256
}
category kein Wert zulässig
offerdef string

Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.

pattern
"^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$"
Schema-Beispiel
"offerdef_012345abcdef_123456"
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-schemaStatus": "source-inferred",
  "x-edoobox-sourceLine": 293
}
type kein Wert zulässig
mode Typ nicht eingeschränkt
Erlaubte Werte
"Online""Onsite""Blended"
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-sourceLine": 347
}
status Typ nicht eingeschränkt

Cast result must be 0..5. Numeric strings and other PHP int-coercible values can also pass. This is not a strict integer wire validator. Callback casts itself and rejects out-of-range cast results; unlike getter it does not remap out-of-range to 0. Runtime preconditions / rejection: Cast result outside 0..5 -> callback false -> ED90100. Missing offer or absent positive capacity/start/close dates -> ED90100. Statuses 1/2 require future registration close date; otherwise date_close_must_be_in_the_future.

Kanonischer Typ nach Normalisierung: integer. Dies ist keine zusätzliche Einschränkung des Eingabetyps.

Schema-Beispiel
1
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-canonicalType": "integer",
  "x-edoobox-recognizedValues": [
    0,
    1,
    2,
    3,
    4,
    5
  ],
  "x-edoobox-schemaStatus": "source-reviewed",
  "x-edoobox-contractSource": [
    {
      "file": "application/models/v2/Offer.php",
      "line": 365,
      "lineStart": 365,
      "lineEnd": 379,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "d763fc061eef55129445d0ce78b398e566748b018764270c35d41f4bac19281b",
      "reason": "Structure getter, output setter and field flags."
    },
    {
      "file": "application/models/v2/Offerfunc.php",
      "line": 981,
      "lineStart": 981,
      "lineEnd": 1094,
      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
      "spanSha256": "b1caf7273b4abd50f432241a4d6ce8f321c70d7eb6a035aa17c88f6ce8e4ab01",
      "reason": "func delegates to statusOffer"
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 681,
      "lineStart": 681,
      "lineEnd": 705,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 734,
      "lineStart": 734,
      "lineEnd": 735,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 805,
      "lineStart": 805,
      "lineEnd": 843,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
    },
    {
      "file": "docs/openapi/reviews/domain-fields.json",
      "line": 1,
      "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
      "sha256": "6b38123b776600a328c8e844b0ecd6e0a579144081a345e335400dad52a9a5db"
    }
  ]
}
archive kein Wert zulässig
trash kein Wert zulässig
waiting_list Typ nicht eingeschränkt

Kanonischer Typ nach Normalisierung: boolean. Dies ist keine zusätzliche Einschränkung des Eingabetyps.

PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.

Schema-Beispiel
false
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-schemaStatus": "source-inferred",
  "x-edoobox-sourceLine": 404,
  "x-edoobox-canonicalType": "boolean",
  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction."
}
mustpay Typ nicht eingeschränkt

Kanonischer Typ nach Normalisierung: boolean. Dies ist keine zusätzliche Einschränkung des Eingabetyps.

PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.

Schema-Beispiel
false
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-schemaStatus": "source-inferred",
  "x-edoobox-sourceLine": 413,
  "x-edoobox-canonicalType": "boolean",
  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction."
}
countdown Typ nicht eingeschränkt

Kanonischer Typ nach Normalisierung: integer. Dies ist keine zusätzliche Einschränkung des Eingabetyps.

PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.

Schema-Beispiel
1
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-schemaStatus": "source-inferred",
  "x-edoobox-sourceLine": 422,
  "x-edoobox-canonicalType": "integer",
  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction."
}
lesson_booking Typ nicht eingeschränkt

Canonical JSON booleans supported; PHP loose truth comparison also coerces other JSON values. No strict wire boolean validator. Hook bypasses getter but uses equivalent ==true conversion to y/n. Runtime preconditions / rejection: Existing bookings cause callback false -> ED90100, including redundant assignments. Enable requires lesson_booking subscription capability (ED40240). Enable with existing offerlist throws offerlist_not_allowed.

Kanonischer Typ nach Normalisierung: boolean. Dies ist keine zusätzliche Einschränkung des Eingabetyps.

2 Schema-Beispiele
false
true
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-canonicalType": "boolean",
  "x-edoobox-schemaStatus": "source-reviewed",
  "x-edoobox-contractSource": [
    {
      "file": "application/models/v2/Offer.php",
      "line": 437,
      "lineStart": 437,
      "lineEnd": 448,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "eda0ddf56bc7ae84e33f342f55baa52a6b54e1bd0241bbc4b19927e8d7db3a42",
      "reason": "Structure getter, output setter and field flags."
    },
    {
      "file": "application/models/v2/Offerfunc.php",
      "line": 11,
      "lineStart": 11,
      "lineEnd": 58,
      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
      "spanSha256": "2982272dd02cad7bd8dddc88f941f504b13f74048f866a69ceb2e309ef376c67",
      "reason": "func delegates to change_lessenbooking_Offer"
    },
    {
      "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
      "line": 45,
      "lineStart": 45,
      "lineEnd": 71,
      "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
      "spanSha256": "c9425ad19c85e68c6bc57eacc00cebd71d4e624b76013e116afd1cadcd87b7e8",
      "reason": "Feature gating on enabling."
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 681,
      "lineStart": 681,
      "lineEnd": 705,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 734,
      "lineStart": 734,
      "lineEnd": 735,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 805,
      "lineStart": 805,
      "lineEnd": 843,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
    },
    {
      "file": "docs/openapi/reviews/domain-fields.json",
      "line": 1,
      "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
      "sha256": "6b38123b776600a328c8e844b0ecd6e0a579144081a345e335400dad52a9a5db"
    }
  ]
}
multiple_registration Typ nicht eingeschränkt

Kanonischer Typ nach Normalisierung: boolean. Dies ist keine zusätzliche Einschränkung des Eingabetyps.

PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.

Schema-Beispiel
false
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-schemaStatus": "source-inferred",
  "x-edoobox-sourceLine": 449,
  "x-edoobox-canonicalType": "boolean",
  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction."
}
multiple_registration_type Typ nicht eingeschränkt

Switch default normalizes other input values; case labels are not an exhaustive accepted-input enum.

Schema-Beispiel
"named_users"
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-knownInputs": [
    "named_users",
    "participant_count",
    "named_users_contact"
  ],
  "x-edoobox-normalization": "Switch default normalizes other input values; case labels are not an exhaustive accepted-input enum.",
  "x-edoobox-sourceLine": 459
}
barcode_ticket Typ nicht eingeschränkt

Kanonischer Typ nach Normalisierung: boolean. Dies ist keine zusätzliche Einschränkung des Eingabetyps.

PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.

Schema-Beispiel
false
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-schemaStatus": "source-inferred",
  "x-edoobox-sourceLine": 486,
  "x-edoobox-canonicalType": "boolean",
  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction."
}
design string

Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.

pattern
"^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$"
Schema-Beispiel
"design_012345abcdef_123456"
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-schemaStatus": "source-inferred",
  "x-edoobox-sourceLine": 495
}
multi_offer kein Wert zulässig
multi_offer_child kein Wert zulässig
vat Typ nicht eingeschränkt
anyOf · Mindestens eine Variante muss passen
Variante 1 string

Opaque v2 ID returned for a record in the selected account.

pattern
"^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$"
Variante 2 Typ nicht eingeschränkt

Fester Wert: "dynamic"

Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-contractSource": [
    {
      "file": "application/models/v2/Offer.php",
      "line": 534,
      "reason": "Input accepts the dynamic sentinel before decoding a vat ID.",
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 540,
      "reason": "Response returns false, dynamic or a public vat ID.",
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
    }
  ]
}
cancellation_condition_group string

Opaque v2 ID returned for a record in the selected account.

pattern
"^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$"
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-contractSource": [
    {
      "file": "application/models/v2/Offer.php",
      "line": 552,
      "reason": "Write decodes a public cancellationconditiongroup ID and rejects nonpositive results.",
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 559,
      "reason": "Response uses integer zero when no group is assigned.",
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
    }
  ]
}
country string

Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.

pattern
"^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$"
Schema-Beispiel
"country_012345abcdef_123456"
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-schemaStatus": "source-inferred",
  "x-edoobox-sourceLine": 566
}
shortdescription kein Wert zulässig
tags array

Replaces normal/include/exclude tag associations. Every supplied tag must be a typed, existing same-account tag and every mode must be recognized before relation writes. Duplicate associations are normalized.

Array-Elemente
object
tag string erforderlich

Public tag v2 ID returned for a currently existing record in the selected account; signature, resource type and account ownership are checked by the native hook.

pattern
"^tag_[a-f0-9]{12}_-?[0-9]+$"
type string erforderlich
Erlaubte Werte
"normal""include""exclude"

Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.

Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-contractSource": [
    {
      "file": "application/models/v2/Offerfunc.php",
      "line": 2534,
      "reason": "Callback consumes an array of {tag,type} records instead of the aP get placeholder.",
      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d"
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 605,
      "reason": "Response builds an array of tag/type objects, not a scalar encoded ID.",
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
    },
    {
      "file": "application/models/v2/Offerfunc.php",
      "line": 2557,
      "lineEnd": 2578,
      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
      "reason": "All supplied tag IDs/types and the complete same-account tag existence set are validated before offer tag relation writes; unknown modes are rejected."
    }
  ]
}
internal_code Typ nicht eingeschränkt

aP(...,true,40) trims, flattens line breaks, escapes and truncates strings; nonstrings become empty. Longer input is not rejected. String normalized to at most 40 characters after escaping. Category propagates to descendants; both disable firmaConnect. Runtime preconditions / rejection: Nonempty code requires subscription internal_function; absence emits ED40240. Missing/wrong-kind resource: category callback false -> ED90100; offer throws offer_not_found.

Kanonischer Typ nach Normalisierung: string. Dies ist keine zusätzliche Einschränkung des Eingabetyps.

2 Schema-Beispiele
"INTERNAL-SAMPLE"
""
Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-canonicalType": "string",
  "x-edoobox-schemaStatus": "source-reviewed",
  "x-edoobox-contractSource": [
    {
      "file": "application/models/v2/Offer.php",
      "line": 640,
      "lineStart": 640,
      "lineEnd": 649,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "7faaa8f4c54f5252216448518d9f957cb5a06ae067628a2e40462d6b4bec6c75",
      "reason": "Structure getter, output setter and field flags."
    },
    {
      "file": "application/models/v2/Offerfunc.php",
      "line": 115,
      "lineStart": 115,
      "lineEnd": 152,
      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
      "spanSha256": "93f7e04f0ce93ea8b69acb8e721ca2f0ad32d3aec7bd79a4025bb2a920a8078a",
      "reason": "func delegates to _change_internal_code_Offer"
    },
    {
      "file": "application/helpers/edooboxhelp_helper.php",
      "line": 11560,
      "lineStart": 11560,
      "lineEnd": 11577,
      "sha256": "090d351b5bde81813c7a829bedf2f1f9f978fce5765f246989779f996198934e",
      "spanSha256": "47b45db25b5ed86673fe43c17c7d716427b0d86011b1ba918d19eebc39907fd1",
      "reason": "Actual aP normalization; no rejecting maxLength. Reviewed aP update preserves legacy encoded storage and aQ read semantics. Truncation removes a dangling final escape backslash rather than creating a broken SQL literal; it remains normalization, not a rejecting raw input maxLength."
    },
    {
      "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
      "line": 45,
      "lineStart": 45,
      "lineEnd": 71,
      "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
      "spanSha256": "c9425ad19c85e68c6bc57eacc00cebd71d4e624b76013e116afd1cadcd87b7e8",
      "reason": "Runtime subscription feature rejection."
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 681,
      "lineStart": 681,
      "lineEnd": 705,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 734,
      "lineStart": 734,
      "lineEnd": 735,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
    },
    {
      "file": "application/models/v2/Offer.php",
      "line": 805,
      "lineStart": 805,
      "lineEnd": 843,
      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
      "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
    },
    {
      "file": "docs/openapi/reviews/domain-fields.json",
      "line": 1,
      "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
      "sha256": "6b38123b776600a328c8e844b0ecd6e0a579144081a345e335400dad52a9a5db"
    }
  ]
}

Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.

Feld-Metadaten aus der Spezifikation
{
  "x-edoobox-readOnlyFields": [
    "name",
    "row_lft",
    "row_rgt",
    "order",
    "date_start",
    "date_end",
    "image",
    "category",
    "type",
    "archive",
    "trash",
    "multi_offer",
    "multi_offer_child",
    "shortdescription"
  ],
  "x-edoobox-clientRestriction": "Read-only fields are forbidden by this client contract to prevent silently ignored writes; the legacy API itself skips them. Explicit source-marked update context fields remain accepted for hook validation without changing their immutable database columns."
}
id string

Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.

pattern
"^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$"
Schema-Beispiel
"offer_012345abcdef_123456"

Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.

Vollständiges Schema als JSON
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": false,
        "name": false,
        "number": {
          "x-edoobox-canonicalType": "string",
          "x-edoobox-maxStoredLength": 120,
          "x-edoobox-normalization": "The aP getter trims text, replaces newlines and limits the legacy escaped storage representation to maxStoredLength UTF-8 characters without splitting escape pairs; aQ decodes the stored representation. Non-string input becomes empty text. This getter limit is normalization, not a rejecting input maxLength or proof of a custom action hook or database column capacity.",
          "examples": [
            "Example"
          ],
          "x-edoobox-sourceLine": 59
        },
        "row_lft": false,
        "row_rgt": false,
        "user_maximum": {
          "x-edoobox-canonicalType": "integer",
          "description": "PHP int cast then clamp to 0..99999. Original out-of-range values are normalized, not rejected.\n\nNormalize/clamp, then verify against runtime subscription maximum.\n\nRuntime preconditions / rejection: Normalized capacity above active subscription maximum emits ED40240.",
          "x-edoobox-schemaStatus": "source-reviewed",
          "examples": [
            25
          ],
          "x-edoobox-contractSource": [
            {
              "file": "application/models/v2/Offer.php",
              "line": 88,
              "lineStart": 88,
              "lineEnd": 103,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "ef67ec9958d0589d12df524ed964d96f3647cf8176d2f107424bbb6d2715621d",
              "reason": "Structure getter, output setter and field flags."
            },
            {
              "file": "application/models/v2/Offerfunc.php",
              "line": 72,
              "lineStart": 72,
              "lineEnd": 85,
              "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
              "spanSha256": "b4cc2c675e48a2ddfd8b73a207e8b793140887e1a00f7f3dd8dc5e05ddabbe0e",
              "reason": "func delegates to _change_user_maximum_Offer"
            },
            {
              "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
              "line": 21,
              "lineStart": 21,
              "lineEnd": 71,
              "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
              "spanSha256": "0a04bfb4c037dc7bd950da50fcbd419c47001d5879a737dff29c10afc183c998",
              "reason": "Account-specific maximum checked after clamp."
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 681,
              "lineStart": 681,
              "lineEnd": 705,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
              "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 734,
              "lineStart": 734,
              "lineEnd": 735,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
              "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 805,
              "lineStart": 805,
              "lineEnd": 843,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
              "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
            },
            {
              "file": "docs/openapi/reviews/domain-fields.json",
              "line": 1,
              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
              "sha256": "6b38123b776600a328c8e844b0ecd6e0a579144081a345e335400dad52a9a5db"
            }
          ]
        },
        "order": false,
        "user_minimal": {
          "x-edoobox-schemaStatus": "source-inferred",
          "x-edoobox-sourceLine": 122,
          "x-edoobox-canonicalType": "integer",
          "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
          "examples": [
            1
          ]
        },
        "date_start": false,
        "date_end": false,
        "date_close": {
          "x-edoobox-canonicalType": "string",
          "description": "dP uses PHP strtotime(); unparseable/falsy results normalize to zero. ISO 8601 text is the canonical client input; no rejecting JSON date-time format assertion is established here. Account/action hooks may add preconditions.",
          "examples": [
            "2026-10-15T10:00:00+02:00"
          ],
          "x-edoobox-sourceLine": 157
        },
        "date_displayend_reference": {
          "x-edoobox-knownInputs": [
            "date_start",
            "date_end",
            "date_close"
          ],
          "x-edoobox-normalization": "Switch default normalizes other input values; case labels are not an exhaustive accepted-input enum.",
          "examples": [
            "date_start"
          ],
          "x-edoobox-sourceLine": 176,
          "description": "'date_open' => array(\n'db' => $this->tableS.'anmeldeschluss',\n'get' => function ($a, $fid, $insert = false) {\nreturn dP($a);\n},\n'set' => function ($a) {\nreturn dQ($a);\n},\n),"
        },
        "date_displayend": {
          "x-edoobox-schemaStatus": "source-inferred",
          "x-edoobox-sourceLine": 203,
          "x-edoobox-canonicalType": "integer",
          "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
          "examples": [
            1
          ]
        },
        "date_displaystart": {
          "x-edoobox-canonicalType": "string",
          "description": "dP uses PHP strtotime(); unparseable/falsy results normalize to zero. ISO 8601 text is the canonical client input; no rejecting JSON date-time format assertion is established here. Account/action hooks may add preconditions.",
          "examples": [
            "2026-10-15T10:00:00+02:00"
          ],
          "x-edoobox-sourceLine": 218
        },
        "date_signupstart": {
          "x-edoobox-canonicalType": "string",
          "description": "ISO date-time text is canonical. PHP strtotime accepts broader text; invalid/empty strings normalize to timestamp 0 rather than reject.\n\ndP returns parsed timestamp or 0. Positive timestamp requires offer_signup_start subscription capability.\n\nRuntime preconditions / rejection: Positive timestamp with unavailable feature emits ED40240.",
          "x-edoobox-schemaStatus": "source-reviewed",
          "examples": [
            "2030-06-01T09:00:00+02:00"
          ],
          "x-edoobox-contractSource": [
            {
              "file": "application/models/v2/Offer.php",
              "line": 227,
              "lineStart": 227,
              "lineEnd": 236,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "a2dbd62e363a822b38cdbc9058263e13bd7e92f70f6fd200e7e4d7435d24b610",
              "reason": "Structure getter, output setter and field flags."
            },
            {
              "file": "application/models/v2/Offerfunc.php",
              "line": 99,
              "lineStart": 99,
              "lineEnd": 113,
              "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
              "spanSha256": "19794aa7b608b508b4b2987afbce43721e8217056649de45174b7bc3a900507c",
              "reason": "func delegates to _change_date_signupstart_Offer"
            },
            {
              "file": "application/helpers/edooboxhelp_helper.php",
              "line": 11613,
              "lineStart": 11613,
              "lineEnd": 11639,
              "sha256": "090d351b5bde81813c7a829bedf2f1f9f978fce5765f246989779f996198934e",
              "spanSha256": "29d94d04d092603b477c949772b36e49a438b1550130b4ba4194c882983d8eed",
              "reason": "dP parse/fallback and dQ date-or-false output."
            },
            {
              "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
              "line": 45,
              "lineStart": 45,
              "lineEnd": 71,
              "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
              "spanSha256": "c9425ad19c85e68c6bc57eacc00cebd71d4e624b76013e116afd1cadcd87b7e8",
              "reason": "Feature gating after successful positive parse."
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 681,
              "lineStart": 681,
              "lineEnd": 705,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
              "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 734,
              "lineStart": 734,
              "lineEnd": 735,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
              "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 805,
              "lineStart": 805,
              "lineEnd": 843,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
              "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
            },
            {
              "file": "docs/openapi/reviews/domain-fields.json",
              "line": 1,
              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
              "sha256": "6b38123b776600a328c8e844b0ecd6e0a579144081a345e335400dad52a9a5db"
            }
          ]
        },
        "image": false,
        "place": {
          "type": "string",
          "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
          "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
          "examples": [
            "place_012345abcdef_123456"
          ],
          "x-edoobox-schemaStatus": "source-inferred",
          "x-edoobox-sourceLine": 256
        },
        "category": false,
        "offerdef": {
          "type": "string",
          "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
          "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
          "examples": [
            "offerdef_012345abcdef_123456"
          ],
          "x-edoobox-schemaStatus": "source-inferred",
          "x-edoobox-sourceLine": 293
        },
        "type": false,
        "mode": {
          "enum": [
            "Online",
            "Onsite",
            "Blended"
          ],
          "x-edoobox-sourceLine": 347
        },
        "status": {
          "x-edoobox-canonicalType": "integer",
          "description": "Cast result must be 0..5. Numeric strings and other PHP int-coercible values can also pass. This is not a strict integer wire validator.\n\nCallback casts itself and rejects out-of-range cast results; unlike getter it does not remap out-of-range to 0.\n\nRuntime preconditions / rejection: Cast result outside 0..5 -> callback false -> ED90100. Missing offer or absent positive capacity/start/close dates -> ED90100. Statuses 1/2 require future registration close date; otherwise date_close_must_be_in_the_future.",
          "x-edoobox-recognizedValues": [
            0,
            1,
            2,
            3,
            4,
            5
          ],
          "x-edoobox-schemaStatus": "source-reviewed",
          "examples": [
            1
          ],
          "x-edoobox-contractSource": [
            {
              "file": "application/models/v2/Offer.php",
              "line": 365,
              "lineStart": 365,
              "lineEnd": 379,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "d763fc061eef55129445d0ce78b398e566748b018764270c35d41f4bac19281b",
              "reason": "Structure getter, output setter and field flags."
            },
            {
              "file": "application/models/v2/Offerfunc.php",
              "line": 981,
              "lineStart": 981,
              "lineEnd": 1094,
              "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
              "spanSha256": "b1caf7273b4abd50f432241a4d6ce8f321c70d7eb6a035aa17c88f6ce8e4ab01",
              "reason": "func delegates to statusOffer"
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 681,
              "lineStart": 681,
              "lineEnd": 705,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
              "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 734,
              "lineStart": 734,
              "lineEnd": 735,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
              "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 805,
              "lineStart": 805,
              "lineEnd": 843,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
              "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
            },
            {
              "file": "docs/openapi/reviews/domain-fields.json",
              "line": 1,
              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
              "sha256": "6b38123b776600a328c8e844b0ecd6e0a579144081a345e335400dad52a9a5db"
            }
          ]
        },
        "archive": false,
        "trash": false,
        "waiting_list": {
          "x-edoobox-schemaStatus": "source-inferred",
          "x-edoobox-sourceLine": 404,
          "x-edoobox-canonicalType": "boolean",
          "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
          "examples": [
            false
          ]
        },
        "mustpay": {
          "x-edoobox-schemaStatus": "source-inferred",
          "x-edoobox-sourceLine": 413,
          "x-edoobox-canonicalType": "boolean",
          "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
          "examples": [
            false
          ]
        },
        "countdown": {
          "x-edoobox-schemaStatus": "source-inferred",
          "x-edoobox-sourceLine": 422,
          "x-edoobox-canonicalType": "integer",
          "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
          "examples": [
            1
          ]
        },
        "lesson_booking": {
          "x-edoobox-canonicalType": "boolean",
          "description": "Canonical JSON booleans supported; PHP loose truth comparison also coerces other JSON values. No strict wire boolean validator.\n\nHook bypasses getter but uses equivalent ==true conversion to y/n.\n\nRuntime preconditions / rejection: Existing bookings cause callback false -> ED90100, including redundant assignments. Enable requires lesson_booking subscription capability (ED40240). Enable with existing offerlist throws offerlist_not_allowed.",
          "x-edoobox-schemaStatus": "source-reviewed",
          "examples": [
            false,
            true
          ],
          "x-edoobox-contractSource": [
            {
              "file": "application/models/v2/Offer.php",
              "line": 437,
              "lineStart": 437,
              "lineEnd": 448,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "eda0ddf56bc7ae84e33f342f55baa52a6b54e1bd0241bbc4b19927e8d7db3a42",
              "reason": "Structure getter, output setter and field flags."
            },
            {
              "file": "application/models/v2/Offerfunc.php",
              "line": 11,
              "lineStart": 11,
              "lineEnd": 58,
              "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
              "spanSha256": "2982272dd02cad7bd8dddc88f941f504b13f74048f866a69ceb2e309ef376c67",
              "reason": "func delegates to change_lessenbooking_Offer"
            },
            {
              "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
              "line": 45,
              "lineStart": 45,
              "lineEnd": 71,
              "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
              "spanSha256": "c9425ad19c85e68c6bc57eacc00cebd71d4e624b76013e116afd1cadcd87b7e8",
              "reason": "Feature gating on enabling."
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 681,
              "lineStart": 681,
              "lineEnd": 705,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
              "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 734,
              "lineStart": 734,
              "lineEnd": 735,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
              "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 805,
              "lineStart": 805,
              "lineEnd": 843,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
              "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
            },
            {
              "file": "docs/openapi/reviews/domain-fields.json",
              "line": 1,
              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
              "sha256": "6b38123b776600a328c8e844b0ecd6e0a579144081a345e335400dad52a9a5db"
            }
          ]
        },
        "multiple_registration": {
          "x-edoobox-schemaStatus": "source-inferred",
          "x-edoobox-sourceLine": 449,
          "x-edoobox-canonicalType": "boolean",
          "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
          "examples": [
            false
          ]
        },
        "multiple_registration_type": {
          "x-edoobox-knownInputs": [
            "named_users",
            "participant_count",
            "named_users_contact"
          ],
          "x-edoobox-normalization": "Switch default normalizes other input values; case labels are not an exhaustive accepted-input enum.",
          "examples": [
            "named_users"
          ],
          "x-edoobox-sourceLine": 459
        },
        "barcode_ticket": {
          "x-edoobox-schemaStatus": "source-inferred",
          "x-edoobox-sourceLine": 486,
          "x-edoobox-canonicalType": "boolean",
          "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
          "examples": [
            false
          ]
        },
        "design": {
          "type": "string",
          "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
          "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
          "examples": [
            "design_012345abcdef_123456"
          ],
          "x-edoobox-schemaStatus": "source-inferred",
          "x-edoobox-sourceLine": 495
        },
        "multi_offer": false,
        "multi_offer_child": false,
        "vat": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
              "description": "Opaque v2 ID returned for a record in the selected account."
            },
            {
              "const": "dynamic"
            }
          ],
          "x-edoobox-contractSource": [
            {
              "file": "application/models/v2/Offer.php",
              "line": 534,
              "reason": "Input accepts the dynamic sentinel before decoding a vat ID.",
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 540,
              "reason": "Response returns false, dynamic or a public vat ID.",
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
            }
          ]
        },
        "cancellation_condition_group": {
          "type": "string",
          "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
          "description": "Opaque v2 ID returned for a record in the selected account.",
          "x-edoobox-contractSource": [
            {
              "file": "application/models/v2/Offer.php",
              "line": 552,
              "reason": "Write decodes a public cancellationconditiongroup ID and rejects nonpositive results.",
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 559,
              "reason": "Response uses integer zero when no group is assigned.",
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
            }
          ]
        },
        "country": {
          "type": "string",
          "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
          "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
          "examples": [
            "country_012345abcdef_123456"
          ],
          "x-edoobox-schemaStatus": "source-inferred",
          "x-edoobox-sourceLine": 566
        },
        "shortdescription": false,
        "tags": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "tag": {
                "type": "string",
                "pattern": "^tag_[a-f0-9]{12}_-?[0-9]+$",
                "description": "Public tag v2 ID returned for a currently existing record in the selected account; signature, resource type and account ownership are checked by the native hook."
              },
              "type": {
                "type": "string",
                "enum": [
                  "normal",
                  "include",
                  "exclude"
                ]
              }
            },
            "additionalProperties": true,
            "required": [
              "tag",
              "type"
            ]
          },
          "description": "Replaces normal/include/exclude tag associations. Every supplied tag must be a typed, existing same-account tag and every mode must be recognized before relation writes. Duplicate associations are normalized.",
          "x-edoobox-contractSource": [
            {
              "file": "application/models/v2/Offerfunc.php",
              "line": 2534,
              "reason": "Callback consumes an array of {tag,type} records instead of the aP get placeholder.",
              "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d"
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 605,
              "reason": "Response builds an array of tag/type objects, not a scalar encoded ID.",
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
            },
            {
              "file": "application/models/v2/Offerfunc.php",
              "line": 2557,
              "lineEnd": 2578,
              "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
              "reason": "All supplied tag IDs/types and the complete same-account tag existence set are validated before offer tag relation writes; unknown modes are rejected."
            }
          ]
        },
        "internal_code": {
          "x-edoobox-canonicalType": "string",
          "description": "aP(...,true,40) trims, flattens line breaks, escapes and truncates strings; nonstrings become empty. Longer input is not rejected.\n\nString normalized to at most 40 characters after escaping. Category propagates to descendants; both disable firmaConnect.\n\nRuntime preconditions / rejection: Nonempty code requires subscription internal_function; absence emits ED40240. Missing/wrong-kind resource: category callback false -> ED90100; offer throws offer_not_found.",
          "x-edoobox-schemaStatus": "source-reviewed",
          "examples": [
            "INTERNAL-SAMPLE",
            ""
          ],
          "x-edoobox-contractSource": [
            {
              "file": "application/models/v2/Offer.php",
              "line": 640,
              "lineStart": 640,
              "lineEnd": 649,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "7faaa8f4c54f5252216448518d9f957cb5a06ae067628a2e40462d6b4bec6c75",
              "reason": "Structure getter, output setter and field flags."
            },
            {
              "file": "application/models/v2/Offerfunc.php",
              "line": 115,
              "lineStart": 115,
              "lineEnd": 152,
              "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
              "spanSha256": "93f7e04f0ce93ea8b69acb8e721ca2f0ad32d3aec7bd79a4025bb2a920a8078a",
              "reason": "func delegates to _change_internal_code_Offer"
            },
            {
              "file": "application/helpers/edooboxhelp_helper.php",
              "line": 11560,
              "lineStart": 11560,
              "lineEnd": 11577,
              "sha256": "090d351b5bde81813c7a829bedf2f1f9f978fce5765f246989779f996198934e",
              "spanSha256": "47b45db25b5ed86673fe43c17c7d716427b0d86011b1ba918d19eebc39907fd1",
              "reason": "Actual aP normalization; no rejecting maxLength. Reviewed aP update preserves legacy encoded storage and aQ read semantics. Truncation removes a dangling final escape backslash rather than creating a broken SQL literal; it remains normalization, not a rejecting raw input maxLength."
            },
            {
              "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
              "line": 45,
              "lineStart": 45,
              "lineEnd": 71,
              "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
              "spanSha256": "c9425ad19c85e68c6bc57eacc00cebd71d4e624b76013e116afd1cadcd87b7e8",
              "reason": "Runtime subscription feature rejection."
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 681,
              "lineStart": 681,
              "lineEnd": 705,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
              "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 734,
              "lineStart": 734,
              "lineEnd": 735,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
              "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
            },
            {
              "file": "application/models/v2/Offer.php",
              "line": 805,
              "lineStart": 805,
              "lineEnd": 843,
              "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
              "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
              "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
            },
            {
              "file": "docs/openapi/reviews/domain-fields.json",
              "line": 1,
              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
              "sha256": "6b38123b776600a328c8e844b0ecd6e0a579144081a345e335400dad52a9a5db"
            }
          ]
        }
      },
      "additionalProperties": true,
      "description": "Source-declared fields; action-specific and account validation still apply.",
      "minProperties": 1,
      "x-edoobox-readOnlyFields": [
        "name",
        "row_lft",
        "row_rgt",
        "order",
        "date_start",
        "date_end",
        "image",
        "category",
        "type",
        "archive",
        "trash",
        "multi_offer",
        "multi_offer_child",
        "shortdescription"
      ],
      "x-edoobox-clientRestriction": "Read-only fields are forbidden by this client contract to prevent silently ignored writes; the legacy API itself skips them. Explicit source-marked update context fields remain accepted for hook validation without changing their immutable database columns."
    },
    "id": {
      "type": "string",
      "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
      "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
      "examples": [
        "offer_012345abcdef_123456"
      ]
    }
  },
  "additionalProperties": true,
  "required": [
    "data"
  ]
}
Synthetic request envelope; use fields documented by the resource.
{
  "data": {
    "number": "EXAMPLE-2026"
  }
}
05

Antworten

11

HTTP-Status und Antwortinhalt gemeinsam auswerten. In dieser API können auch Antworten mit HTTP 200 einen Fehler enthalten.

200application/json

Ergebnis in data mit den beschriebenen Feldern; error und die Ergebniskennzeichen müssen ausgewertet werden.

Response Header

X-Edoobox-Revision

Rotated account revision supplied for the next action in one reviewed sequence.

string
pattern
"^[a-f0-9]{32}$"
Vollständiges Schema als JSON
{
  "type": "string",
  "pattern": "^[a-f0-9]{32}$"
}

application/json

object
success boolean
error boolean | string
error_code string
data object
id string erforderlich

Öffentliche v2-ID im gewählten Konto; Beispiel ist synthetisch.

pattern
"^offer_[a-f0-9]{12}_-?[0-9]+$"
Schema-Beispiel
"offer_012345abcdef_123456"
update boolean erforderlich

Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.

type string

Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.

Vollständiges Schema als JSON
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "error": {
      "type": [
        "boolean",
        "string"
      ]
    },
    "error_code": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^offer_[a-f0-9]{12}_-?[0-9]+$",
          "description": "Öffentliche v2-ID im gewählten Konto; Beispiel ist synthetisch.",
          "examples": [
            "offer_012345abcdef_123456"
          ]
        },
        "update": {
          "type": "boolean"
        }
      },
      "additionalProperties": true,
      "required": [
        "id",
        "update"
      ]
    },
    "type": {
      "type": "string"
    }
  },
  "additionalProperties": true
}
Beispiel
{
  "success": true,
  "error": false,
  "data": {
    "id": "offer_012345abcdef_123456",
    "update": true
  }
}
400application/json

Invalid request.

application/json

Typ nicht eingeschränkt

Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.

Beispiel
{
  "success": false,
  "error": "ED40006"
}
401application/json

Missing/expired token, missing account context, account paused or model-specific authorization failure.

application/json

Typ nicht eingeschränkt

Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.

Beispiel
{
  "success": false,
  "error": "ED40103"
}
402application/json

Missing/invalid action data or subscription/operation restriction.

application/json

Typ nicht eingeschränkt

Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.

Beispiel
{
  "success": false,
  "error": "ED80100"
}
403application/json

Permission denied. Browser CORS rejection may have an empty body.

application/json

Typ nicht eingeschränkt

Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.

Beispiel
{
  "success": false,
  "error": "ED40340"
}
404application/json

Unknown resource/action or unsupported method.

application/json

Typ nicht eingeschränkt

Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.

Beispiel
{
  "success": false,
  "error": "ED80019"
}
409application/json

The account changed after the reviewed read. No domain operation is dispatched; obtain fresh state and review again.

application/json

object

Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.

Vollständiges Schema als JSON
{
  "type": "object",
  "additionalProperties": true
}
Beispiel
{
  "error": "ED40901",
  "error_code": "mutation_revision_conflict"
}
422application/json

Validation failed.

application/json

Typ nicht eingeschränkt

Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.

Beispiel
{
  "success": false,
  "error": "ED80020"
}
429application/json

Request/login rate limit exceeded. Honor Retry-After when supplied; legacy rate-limit paths may omit it. Retry only proven reads within a bounded deadline; a mutation is never automatically replayed after an ambiguous response.

Response Header

Retry-After

Optional server delay in whole seconds or an HTTP date. Absence is not permission for an immediate retry.

string
Schema-Beispiel
"30"
Vollständiges Schema als JSON
{
  "type": "string",
  "examples": [
    "30"
  ]
}

application/json

Typ nicht eingeschränkt

Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.

Beispiel
{
  "success": false,
  "error": "ED42902"
}
502application/json

Server-side operation failed.

application/json

Typ nicht eingeschränkt

Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.

Beispiel
{
  "success": false,
  "error": "ED50201"
}
503application/json

The account mutation lock or revision store is unavailable. No unprotected fallback is executed.

Response Header

Retry-After

integer

Fester Wert: 1

Vollständiges Schema als JSON
{
  "type": "integer",
  "const": 1
}

application/json

object

Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.

Vollständiges Schema als JSON
{
  "type": "object",
  "additionalProperties": true
}
Beispiel
{
  "error": "ED50301",
  "error_code": "mutation_revision_busy"
}
06

Quelle & Metadaten

Quelle laut Spezifikationapplication/models/v2/Offer.php:805updateOffer()

Diese Angaben stammen unverändert aus der gelieferten OpenAPI-Datei. Zusätzliche Freigaben, Vorbedingungen, sensible Felder und Hinweise stehen in den Erweiterungen.

x-edoobox-mutates-state
true
x-edoobox-runtimeMutationGuard
true
x-edoobox-documentationReview
{
  "file": "docs/openapi/operation-contracts/03-offers-places.json",
  "notes": []
}
x-edoobox-source
{
  "file": "application/models/v2/Offer.php",
  "method": "updateOffer",
  "line": 805
}
x-edoobox-documentationStatus
"reviewed"
x-edoobox-readOnly
false
x-edoobox-safeForAutomation
false
x-edoobox-permission
{
  "resource": "offer",
  "short": "offe",
  "checkedByDispatcher": true,
  "levels": [
    3,
    4
  ],
  "description": "Resource permission mapping from APIPermissions(), Authfunc::_getCheckJWT. Additional model/admin/plugin checks may apply; resources absent from api_permission do not acquire a fictitious scope."
}
Vollständige Operation als JSON
{
  "operationId": "put_v2_offer_id",
  "summary": "Angebot aktualisieren",
  "description": "Ändert die übergebenen schreibbaren Felder in data für Angebot. Die Pfad-ID wählt das Ziel; ein zusätzliches id im JSON-Umschlag hat im Legacy-Handler Vorrang.",
  "tags": [
    "offer"
  ],
  "security": [
    {
      "bearerAuth": [],
      "accountContext": []
    },
    {
      "sessionCookie": [],
      "accountContext": []
    }
  ],
  "parameters": [
    {
      "name": "id",
      "in": "path",
      "required": true,
      "description": "v2 object identifier in the selected account.",
      "schema": {
        "type": "string",
        "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
        "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
        "examples": [
          "offer_012345abcdef_123456"
        ]
      }
    },
    {
      "name": "language",
      "in": "header",
      "required": false,
      "description": "Account language code, where the resource supports setLanguage().",
      "schema": {
        "type": "string",
        "examples": [
          "de"
        ]
      }
    },
    {
      "name": "X-Edoobox-If-Revision",
      "in": "header",
      "required": false,
      "schema": {
        "type": "string",
        "pattern": "^[a-f0-9]{32}$",
        "examples": [
          "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
        ]
      },
      "description": "Optional account mutation revision from a preceding authenticated auth-context snapshot. The dispatcher compares it while holding the account lock; mismatch409 requires a new review."
    }
  ],
  "responses": {
    "200": {
      "description": "Ergebnis in data mit den beschriebenen Feldern; error und die Ergebniskennzeichen müssen ausgewertet werden.",
      "content": {
        "application/json": {
          "example": {
            "success": true,
            "error": false,
            "data": {
              "id": "offer_012345abcdef_123456",
              "update": true
            }
          },
          "schema": {
            "type": "object",
            "properties": {
              "success": {
                "type": "boolean"
              },
              "error": {
                "type": [
                  "boolean",
                  "string"
                ]
              },
              "error_code": {
                "type": "string"
              },
              "data": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^offer_[a-f0-9]{12}_-?[0-9]+$",
                    "description": "Öffentliche v2-ID im gewählten Konto; Beispiel ist synthetisch.",
                    "examples": [
                      "offer_012345abcdef_123456"
                    ]
                  },
                  "update": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": true,
                "required": [
                  "id",
                  "update"
                ]
              },
              "type": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        }
      },
      "headers": {
        "X-Edoobox-Revision": {
          "schema": {
            "type": "string",
            "pattern": "^[a-f0-9]{32}$"
          },
          "description": "Rotated account revision supplied for the next action in one reviewed sequence."
        }
      }
    },
    "400": {
      "description": "Invalid request.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED40006"
          }
        }
      }
    },
    "401": {
      "description": "Missing/expired token, missing account context, account paused or model-specific authorization failure.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED40103"
          }
        }
      }
    },
    "402": {
      "description": "Missing/invalid action data or subscription/operation restriction.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED80100"
          }
        }
      }
    },
    "403": {
      "description": "Permission denied. Browser CORS rejection may have an empty body.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED40340"
          }
        }
      }
    },
    "404": {
      "description": "Unknown resource/action or unsupported method.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED80019"
          }
        }
      }
    },
    "409": {
      "description": "The account changed after the reviewed read. No domain operation is dispatched; obtain fresh state and review again.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": true
          },
          "example": {
            "error": "ED40901",
            "error_code": "mutation_revision_conflict"
          }
        }
      }
    },
    "422": {
      "description": "Validation failed.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED80020"
          }
        }
      }
    },
    "429": {
      "description": "Request/login rate limit exceeded. Honor Retry-After when supplied; legacy rate-limit paths may omit it. Retry only proven reads within a bounded deadline; a mutation is never automatically replayed after an ambiguous response.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED42902"
          }
        }
      },
      "headers": {
        "Retry-After": {
          "description": "Optional server delay in whole seconds or an HTTP date. Absence is not permission for an immediate retry.",
          "schema": {
            "type": "string",
            "examples": [
              "30"
            ]
          }
        }
      }
    },
    "502": {
      "description": "Server-side operation failed.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED50201"
          }
        }
      }
    },
    "503": {
      "description": "The account mutation lock or revision store is unavailable. No unprotected fallback is executed.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "const": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": true
          },
          "example": {
            "error": "ED50301",
            "error_code": "mutation_revision_busy"
          }
        }
      }
    }
  },
  "x-edoobox-mutates-state": true,
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "data": {
              "type": "object",
              "properties": {
                "id": false,
                "name": false,
                "number": {
                  "x-edoobox-canonicalType": "string",
                  "x-edoobox-maxStoredLength": 120,
                  "x-edoobox-normalization": "The aP getter trims text, replaces newlines and limits the legacy escaped storage representation to maxStoredLength UTF-8 characters without splitting escape pairs; aQ decodes the stored representation. Non-string input becomes empty text. This getter limit is normalization, not a rejecting input maxLength or proof of a custom action hook or database column capacity.",
                  "examples": [
                    "Example"
                  ],
                  "x-edoobox-sourceLine": 59
                },
                "row_lft": false,
                "row_rgt": false,
                "user_maximum": {
                  "x-edoobox-canonicalType": "integer",
                  "description": "PHP int cast then clamp to 0..99999. Original out-of-range values are normalized, not rejected.\n\nNormalize/clamp, then verify against runtime subscription maximum.\n\nRuntime preconditions / rejection: Normalized capacity above active subscription maximum emits ED40240.",
                  "x-edoobox-schemaStatus": "source-reviewed",
                  "examples": [
                    25
                  ],
                  "x-edoobox-contractSource": [
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 88,
                      "lineStart": 88,
                      "lineEnd": 103,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "ef67ec9958d0589d12df524ed964d96f3647cf8176d2f107424bbb6d2715621d",
                      "reason": "Structure getter, output setter and field flags."
                    },
                    {
                      "file": "application/models/v2/Offerfunc.php",
                      "line": 72,
                      "lineStart": 72,
                      "lineEnd": 85,
                      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                      "spanSha256": "b4cc2c675e48a2ddfd8b73a207e8b793140887e1a00f7f3dd8dc5e05ddabbe0e",
                      "reason": "func delegates to _change_user_maximum_Offer"
                    },
                    {
                      "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
                      "line": 21,
                      "lineStart": 21,
                      "lineEnd": 71,
                      "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
                      "spanSha256": "0a04bfb4c037dc7bd950da50fcbd419c47001d5879a737dff29c10afc183c998",
                      "reason": "Account-specific maximum checked after clamp."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 681,
                      "lineStart": 681,
                      "lineEnd": 705,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 734,
                      "lineStart": 734,
                      "lineEnd": 735,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 805,
                      "lineStart": 805,
                      "lineEnd": 843,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "docs/openapi/reviews/domain-fields.json",
                      "line": 1,
                      "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                      "sha256": "6b38123b776600a328c8e844b0ecd6e0a579144081a345e335400dad52a9a5db"
                    }
                  ]
                },
                "order": false,
                "user_minimal": {
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 122,
                  "x-edoobox-canonicalType": "integer",
                  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                  "examples": [
                    1
                  ]
                },
                "date_start": false,
                "date_end": false,
                "date_close": {
                  "x-edoobox-canonicalType": "string",
                  "description": "dP uses PHP strtotime(); unparseable/falsy results normalize to zero. ISO 8601 text is the canonical client input; no rejecting JSON date-time format assertion is established here. Account/action hooks may add preconditions.",
                  "examples": [
                    "2026-10-15T10:00:00+02:00"
                  ],
                  "x-edoobox-sourceLine": 157
                },
                "date_displayend_reference": {
                  "x-edoobox-knownInputs": [
                    "date_start",
                    "date_end",
                    "date_close"
                  ],
                  "x-edoobox-normalization": "Switch default normalizes other input values; case labels are not an exhaustive accepted-input enum.",
                  "examples": [
                    "date_start"
                  ],
                  "x-edoobox-sourceLine": 176,
                  "description": "'date_open' => array(\n'db' => $this->tableS.'anmeldeschluss',\n'get' => function ($a, $fid, $insert = false) {\nreturn dP($a);\n},\n'set' => function ($a) {\nreturn dQ($a);\n},\n),"
                },
                "date_displayend": {
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 203,
                  "x-edoobox-canonicalType": "integer",
                  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                  "examples": [
                    1
                  ]
                },
                "date_displaystart": {
                  "x-edoobox-canonicalType": "string",
                  "description": "dP uses PHP strtotime(); unparseable/falsy results normalize to zero. ISO 8601 text is the canonical client input; no rejecting JSON date-time format assertion is established here. Account/action hooks may add preconditions.",
                  "examples": [
                    "2026-10-15T10:00:00+02:00"
                  ],
                  "x-edoobox-sourceLine": 218
                },
                "date_signupstart": {
                  "x-edoobox-canonicalType": "string",
                  "description": "ISO date-time text is canonical. PHP strtotime accepts broader text; invalid/empty strings normalize to timestamp 0 rather than reject.\n\ndP returns parsed timestamp or 0. Positive timestamp requires offer_signup_start subscription capability.\n\nRuntime preconditions / rejection: Positive timestamp with unavailable feature emits ED40240.",
                  "x-edoobox-schemaStatus": "source-reviewed",
                  "examples": [
                    "2030-06-01T09:00:00+02:00"
                  ],
                  "x-edoobox-contractSource": [
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 227,
                      "lineStart": 227,
                      "lineEnd": 236,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "a2dbd62e363a822b38cdbc9058263e13bd7e92f70f6fd200e7e4d7435d24b610",
                      "reason": "Structure getter, output setter and field flags."
                    },
                    {
                      "file": "application/models/v2/Offerfunc.php",
                      "line": 99,
                      "lineStart": 99,
                      "lineEnd": 113,
                      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                      "spanSha256": "19794aa7b608b508b4b2987afbce43721e8217056649de45174b7bc3a900507c",
                      "reason": "func delegates to _change_date_signupstart_Offer"
                    },
                    {
                      "file": "application/helpers/edooboxhelp_helper.php",
                      "line": 11613,
                      "lineStart": 11613,
                      "lineEnd": 11639,
                      "sha256": "090d351b5bde81813c7a829bedf2f1f9f978fce5765f246989779f996198934e",
                      "spanSha256": "29d94d04d092603b477c949772b36e49a438b1550130b4ba4194c882983d8eed",
                      "reason": "dP parse/fallback and dQ date-or-false output."
                    },
                    {
                      "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
                      "line": 45,
                      "lineStart": 45,
                      "lineEnd": 71,
                      "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
                      "spanSha256": "c9425ad19c85e68c6bc57eacc00cebd71d4e624b76013e116afd1cadcd87b7e8",
                      "reason": "Feature gating after successful positive parse."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 681,
                      "lineStart": 681,
                      "lineEnd": 705,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 734,
                      "lineStart": 734,
                      "lineEnd": 735,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 805,
                      "lineStart": 805,
                      "lineEnd": 843,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "docs/openapi/reviews/domain-fields.json",
                      "line": 1,
                      "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                      "sha256": "6b38123b776600a328c8e844b0ecd6e0a579144081a345e335400dad52a9a5db"
                    }
                  ]
                },
                "image": false,
                "place": {
                  "type": "string",
                  "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                  "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                  "examples": [
                    "place_012345abcdef_123456"
                  ],
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 256
                },
                "category": false,
                "offerdef": {
                  "type": "string",
                  "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                  "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                  "examples": [
                    "offerdef_012345abcdef_123456"
                  ],
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 293
                },
                "type": false,
                "mode": {
                  "enum": [
                    "Online",
                    "Onsite",
                    "Blended"
                  ],
                  "x-edoobox-sourceLine": 347
                },
                "status": {
                  "x-edoobox-canonicalType": "integer",
                  "description": "Cast result must be 0..5. Numeric strings and other PHP int-coercible values can also pass. This is not a strict integer wire validator.\n\nCallback casts itself and rejects out-of-range cast results; unlike getter it does not remap out-of-range to 0.\n\nRuntime preconditions / rejection: Cast result outside 0..5 -> callback false -> ED90100. Missing offer or absent positive capacity/start/close dates -> ED90100. Statuses 1/2 require future registration close date; otherwise date_close_must_be_in_the_future.",
                  "x-edoobox-recognizedValues": [
                    0,
                    1,
                    2,
                    3,
                    4,
                    5
                  ],
                  "x-edoobox-schemaStatus": "source-reviewed",
                  "examples": [
                    1
                  ],
                  "x-edoobox-contractSource": [
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 365,
                      "lineStart": 365,
                      "lineEnd": 379,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "d763fc061eef55129445d0ce78b398e566748b018764270c35d41f4bac19281b",
                      "reason": "Structure getter, output setter and field flags."
                    },
                    {
                      "file": "application/models/v2/Offerfunc.php",
                      "line": 981,
                      "lineStart": 981,
                      "lineEnd": 1094,
                      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                      "spanSha256": "b1caf7273b4abd50f432241a4d6ce8f321c70d7eb6a035aa17c88f6ce8e4ab01",
                      "reason": "func delegates to statusOffer"
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 681,
                      "lineStart": 681,
                      "lineEnd": 705,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 734,
                      "lineStart": 734,
                      "lineEnd": 735,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 805,
                      "lineStart": 805,
                      "lineEnd": 843,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "docs/openapi/reviews/domain-fields.json",
                      "line": 1,
                      "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                      "sha256": "6b38123b776600a328c8e844b0ecd6e0a579144081a345e335400dad52a9a5db"
                    }
                  ]
                },
                "archive": false,
                "trash": false,
                "waiting_list": {
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 404,
                  "x-edoobox-canonicalType": "boolean",
                  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                  "examples": [
                    false
                  ]
                },
                "mustpay": {
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 413,
                  "x-edoobox-canonicalType": "boolean",
                  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                  "examples": [
                    false
                  ]
                },
                "countdown": {
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 422,
                  "x-edoobox-canonicalType": "integer",
                  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                  "examples": [
                    1
                  ]
                },
                "lesson_booking": {
                  "x-edoobox-canonicalType": "boolean",
                  "description": "Canonical JSON booleans supported; PHP loose truth comparison also coerces other JSON values. No strict wire boolean validator.\n\nHook bypasses getter but uses equivalent ==true conversion to y/n.\n\nRuntime preconditions / rejection: Existing bookings cause callback false -> ED90100, including redundant assignments. Enable requires lesson_booking subscription capability (ED40240). Enable with existing offerlist throws offerlist_not_allowed.",
                  "x-edoobox-schemaStatus": "source-reviewed",
                  "examples": [
                    false,
                    true
                  ],
                  "x-edoobox-contractSource": [
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 437,
                      "lineStart": 437,
                      "lineEnd": 448,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "eda0ddf56bc7ae84e33f342f55baa52a6b54e1bd0241bbc4b19927e8d7db3a42",
                      "reason": "Structure getter, output setter and field flags."
                    },
                    {
                      "file": "application/models/v2/Offerfunc.php",
                      "line": 11,
                      "lineStart": 11,
                      "lineEnd": 58,
                      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                      "spanSha256": "2982272dd02cad7bd8dddc88f941f504b13f74048f866a69ceb2e309ef376c67",
                      "reason": "func delegates to change_lessenbooking_Offer"
                    },
                    {
                      "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
                      "line": 45,
                      "lineStart": 45,
                      "lineEnd": 71,
                      "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
                      "spanSha256": "c9425ad19c85e68c6bc57eacc00cebd71d4e624b76013e116afd1cadcd87b7e8",
                      "reason": "Feature gating on enabling."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 681,
                      "lineStart": 681,
                      "lineEnd": 705,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 734,
                      "lineStart": 734,
                      "lineEnd": 735,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 805,
                      "lineStart": 805,
                      "lineEnd": 843,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "docs/openapi/reviews/domain-fields.json",
                      "line": 1,
                      "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                      "sha256": "6b38123b776600a328c8e844b0ecd6e0a579144081a345e335400dad52a9a5db"
                    }
                  ]
                },
                "multiple_registration": {
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 449,
                  "x-edoobox-canonicalType": "boolean",
                  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                  "examples": [
                    false
                  ]
                },
                "multiple_registration_type": {
                  "x-edoobox-knownInputs": [
                    "named_users",
                    "participant_count",
                    "named_users_contact"
                  ],
                  "x-edoobox-normalization": "Switch default normalizes other input values; case labels are not an exhaustive accepted-input enum.",
                  "examples": [
                    "named_users"
                  ],
                  "x-edoobox-sourceLine": 459
                },
                "barcode_ticket": {
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 486,
                  "x-edoobox-canonicalType": "boolean",
                  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                  "examples": [
                    false
                  ]
                },
                "design": {
                  "type": "string",
                  "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                  "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                  "examples": [
                    "design_012345abcdef_123456"
                  ],
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 495
                },
                "multi_offer": false,
                "multi_offer_child": false,
                "vat": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                      "description": "Opaque v2 ID returned for a record in the selected account."
                    },
                    {
                      "const": "dynamic"
                    }
                  ],
                  "x-edoobox-contractSource": [
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 534,
                      "reason": "Input accepts the dynamic sentinel before decoding a vat ID.",
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 540,
                      "reason": "Response returns false, dynamic or a public vat ID.",
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
                    }
                  ]
                },
                "cancellation_condition_group": {
                  "type": "string",
                  "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                  "description": "Opaque v2 ID returned for a record in the selected account.",
                  "x-edoobox-contractSource": [
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 552,
                      "reason": "Write decodes a public cancellationconditiongroup ID and rejects nonpositive results.",
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 559,
                      "reason": "Response uses integer zero when no group is assigned.",
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
                    }
                  ]
                },
                "country": {
                  "type": "string",
                  "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                  "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                  "examples": [
                    "country_012345abcdef_123456"
                  ],
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 566
                },
                "shortdescription": false,
                "tags": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "tag": {
                        "type": "string",
                        "pattern": "^tag_[a-f0-9]{12}_-?[0-9]+$",
                        "description": "Public tag v2 ID returned for a currently existing record in the selected account; signature, resource type and account ownership are checked by the native hook."
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "normal",
                          "include",
                          "exclude"
                        ]
                      }
                    },
                    "additionalProperties": true,
                    "required": [
                      "tag",
                      "type"
                    ]
                  },
                  "description": "Replaces normal/include/exclude tag associations. Every supplied tag must be a typed, existing same-account tag and every mode must be recognized before relation writes. Duplicate associations are normalized.",
                  "x-edoobox-contractSource": [
                    {
                      "file": "application/models/v2/Offerfunc.php",
                      "line": 2534,
                      "reason": "Callback consumes an array of {tag,type} records instead of the aP get placeholder.",
                      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d"
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 605,
                      "reason": "Response builds an array of tag/type objects, not a scalar encoded ID.",
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
                    },
                    {
                      "file": "application/models/v2/Offerfunc.php",
                      "line": 2557,
                      "lineEnd": 2578,
                      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                      "reason": "All supplied tag IDs/types and the complete same-account tag existence set are validated before offer tag relation writes; unknown modes are rejected."
                    }
                  ]
                },
                "internal_code": {
                  "x-edoobox-canonicalType": "string",
                  "description": "aP(...,true,40) trims, flattens line breaks, escapes and truncates strings; nonstrings become empty. Longer input is not rejected.\n\nString normalized to at most 40 characters after escaping. Category propagates to descendants; both disable firmaConnect.\n\nRuntime preconditions / rejection: Nonempty code requires subscription internal_function; absence emits ED40240. Missing/wrong-kind resource: category callback false -> ED90100; offer throws offer_not_found.",
                  "x-edoobox-schemaStatus": "source-reviewed",
                  "examples": [
                    "INTERNAL-SAMPLE",
                    ""
                  ],
                  "x-edoobox-contractSource": [
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 640,
                      "lineStart": 640,
                      "lineEnd": 649,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "7faaa8f4c54f5252216448518d9f957cb5a06ae067628a2e40462d6b4bec6c75",
                      "reason": "Structure getter, output setter and field flags."
                    },
                    {
                      "file": "application/models/v2/Offerfunc.php",
                      "line": 115,
                      "lineStart": 115,
                      "lineEnd": 152,
                      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                      "spanSha256": "93f7e04f0ce93ea8b69acb8e721ca2f0ad32d3aec7bd79a4025bb2a920a8078a",
                      "reason": "func delegates to _change_internal_code_Offer"
                    },
                    {
                      "file": "application/helpers/edooboxhelp_helper.php",
                      "line": 11560,
                      "lineStart": 11560,
                      "lineEnd": 11577,
                      "sha256": "090d351b5bde81813c7a829bedf2f1f9f978fce5765f246989779f996198934e",
                      "spanSha256": "47b45db25b5ed86673fe43c17c7d716427b0d86011b1ba918d19eebc39907fd1",
                      "reason": "Actual aP normalization; no rejecting maxLength. Reviewed aP update preserves legacy encoded storage and aQ read semantics. Truncation removes a dangling final escape backslash rather than creating a broken SQL literal; it remains normalization, not a rejecting raw input maxLength."
                    },
                    {
                      "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
                      "line": 45,
                      "lineStart": 45,
                      "lineEnd": 71,
                      "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
                      "spanSha256": "c9425ad19c85e68c6bc57eacc00cebd71d4e624b76013e116afd1cadcd87b7e8",
                      "reason": "Runtime subscription feature rejection."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 681,
                      "lineStart": 681,
                      "lineEnd": 705,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 734,
                      "lineStart": 734,
                      "lineEnd": 735,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 805,
                      "lineStart": 805,
                      "lineEnd": 843,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "docs/openapi/reviews/domain-fields.json",
                      "line": 1,
                      "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                      "sha256": "6b38123b776600a328c8e844b0ecd6e0a579144081a345e335400dad52a9a5db"
                    }
                  ]
                }
              },
              "additionalProperties": true,
              "description": "Source-declared fields; action-specific and account validation still apply.",
              "minProperties": 1,
              "x-edoobox-readOnlyFields": [
                "name",
                "row_lft",
                "row_rgt",
                "order",
                "date_start",
                "date_end",
                "image",
                "category",
                "type",
                "archive",
                "trash",
                "multi_offer",
                "multi_offer_child",
                "shortdescription"
              ],
              "x-edoobox-clientRestriction": "Read-only fields are forbidden by this client contract to prevent silently ignored writes; the legacy API itself skips them. Explicit source-marked update context fields remain accepted for hook validation without changing their immutable database columns."
            },
            "id": {
              "type": "string",
              "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
              "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
              "examples": [
                "offer_012345abcdef_123456"
              ]
            }
          },
          "additionalProperties": true,
          "required": [
            "data"
          ]
        },
        "examples": {
          "command": {
            "summary": "Synthetic request envelope; use fields documented by the resource.",
            "value": {
              "data": {
                "number": "EXAMPLE-2026"
              }
            }
          }
        }
      }
    }
  },
  "x-edoobox-runtimeMutationGuard": true,
  "x-edoobox-documentationReview": {
    "file": "docs/openapi/operation-contracts/03-offers-places.json",
    "notes": []
  },
  "x-edoobox-source": {
    "file": "application/models/v2/Offer.php",
    "method": "updateOffer",
    "line": 805
  },
  "x-edoobox-documentationStatus": "reviewed",
  "x-edoobox-readOnly": false,
  "x-edoobox-safeForAutomation": false,
  "x-edoobox-permission": {
    "resource": "offer",
    "short": "offe",
    "checkedByDispatcher": true,
    "levels": [
      3,
      4
    ],
    "description": "Resource permission mapping from APIPermissions(), Authfunc::_getCheckJWT. Additional model/admin/plugin checks may apply; resources absent from api_permission do not acquire a fictitious scope."
  }
}