Skip to content

FulfillmentPreference

Type: schema

TypeScript Definition

typescript
FulfillmentPreference: components["schemas"]["CollectInStoreFulfillment"] | components["schemas"]["DeliveryFulfillment"] | components["schemas"]["PartialCollectAndDelivery"]

Component References

ReferenceResolves To
components["schemas"]["CollectInStoreFulfillment"]CollectInStoreFulfillment
components["schemas"]["DeliveryFulfillment"]DeliveryFulfillment
components["schemas"]["PartialCollectAndDelivery"]PartialCollectAndDelivery

OpenAPI Schema

json
{
  "title": "FulfillmentPreference",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/FulfillmentPreference",
    "description": "API reference for the FulfillmentPreference schema"
  },
  "discriminator": {
    "propertyName": "fulfillment_type",
    "mapping": {
      "collect-in-store": "#/components/schemas/CollectInStoreFulfillment",
      "delivery": "#/components/schemas/DeliveryFulfillment",
      "partial-collect-and-delivery": "#/components/schemas/PartialCollectAndDelivery"
    }
  },
  "oneOf": [
    {
      "$ref": "#/components/schemas/CollectInStoreFulfillment"
    },
    {
      "$ref": "#/components/schemas/DeliveryFulfillment"
    },
    {
      "$ref": "#/components/schemas/PartialCollectAndDelivery"
    }
  ],
  "x-tags": [
    "Carts"
  ]
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: