Skip to content

ShipmentActivity ​

Type: schema

TypeScript Definition ​

typescript
ShipmentActivity: {{
            activity_type: string | null;
            comment: string;
            /** @enum {unknown} */
            status: "success" | "failed";
            user_type: string | null;
            user_name: string | null;
            /** @description Structured activity details. */
            details: {
                key?: string;
                value?: string | number | boolean | unknown[] | {
                    [key: string]: unknown;
                } | null;
            }[] | {
                [key: string]: unknown;
            } | null;
            /** Format: date-time */
            created_at: string;
            /** Format: date-time */
            modified_at: string;
        };
        /**
         * ShipmentAmounts
         * @description Amounts and references returned for every shipment.
         */
}

OpenAPI Schema ​

json
{
  "type": "object",
  "properties": {
    "activity_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "comment": {
      "type": "string"
    },
    "status": {
      "enum": [
        "success",
        "failed"
      ]
    },
    "user_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "user_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "details": {
      "description": "Structured activity details.",
      "type": [
        "array",
        "object",
        "null"
      ],
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": [
              "string",
              "number",
              "boolean",
              "array",
              "object",
              "null"
            ],
            "additionalProperties": true
          }
        }
      },
      "additionalProperties": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "modified_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/admin-pos/schemas/ShipmentActivity"
  },
  "required": [
    "activity_type",
    "comment",
    "status",
    "user_type",
    "user_name",
    "details",
    "created_at",
    "modified_at"
  ],
  "title": "ShipmentActivity"
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: