Skip to content

DeliveryFulfillment

Type: schema

TypeScript Definition

typescript
DeliveryFulfillment: {{
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            fulfillment_type: "delivery";
            /** @enum {string} */
            readonly preference_type?: "user" | "auto";
            shipping_provider_id: string | null;
            readonly shipping_provider_name?: string | null;
            courier_company_id?: string | null;
            readonly courier_company_name?: string | null;
        };
        /** DiscountBasedPromotion */
}

OpenAPI Schema

json
{
  "title": "DeliveryFulfillment",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/DeliveryFulfillment",
    "description": "API reference for the DeliveryFulfillment schema"
  },
  "required": [
    "fulfillment_type",
    "shipping_provider_id"
  ],
  "properties": {
    "fulfillment_type": {
      "type": "string",
      "const": "delivery"
    },
    "preference_type": {
      "type": "string",
      "enum": [
        "user",
        "auto"
      ],
      "readOnly": true
    },
    "shipping_provider_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "shipping_provider_name": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    },
    "courier_company_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "courier_company_name": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: