Post Exchange icon

Post Exchange

Post AM.exchange – Tageszeitungs-Microservice API

Beilage (pro Liefertag) → Anlegen / aktualisieren

AI-generated

Summary

Create or update a supplement (Beilage) configuration for a specific delivery date in the Post Exchange system.

Inputs

  • Lieferdatum (required) — The delivery date of the supplement in YYYY-MM-DD format; one supplement configuration per day.
  • Supplement-Typ — Type code of the supplement, e.g., 'IT' according to the Post code table.
  • Stückzahl pro Sendung — Quantity of the supplement per shipment.
  • Gewicht (g) — Individual weight of the supplement in grams.
  • Dicke (mm) — Thickness of the supplement in millimeters.
  • ProductNumber (Beilage) — Product number code of the supplement from the code table.

Output shape

A single JSON object representing the created or updated supplement details as returned by the API.

The operation uses an HTTP PUT request to the endpoint /api/supplements/day/{date}, sending the supplement parameters in the request body. The response is parsed as JSON and returned.

Examples

Example 1: Upsert supplement for delivery date

Set 'Lieferdatum' to the target date, specify 'Supplement-Typ', 'Stückzahl pro Sendung', 'Gewicht (g)', 'Dicke (mm)', and 'ProductNumber'. On execution, the node creates or updates the supplement for that date in the Post Exchange system and outputs the API response.

Links

Discussion