Skip to content

CollectInStoreFulfillment

Type: schema

TypeScript Definition

typescript
CollectInStoreFulfillment: {{
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            fulfillment_type: "collect-in-store";
            /** @enum {string} */
            preference_type?: $Read<"user" | "auto">;
            pickup_location_id: string;
            pickup_location_name?: $Read<string>;
        };
        /** Customer */
}

OpenAPI Schema

json
{
  "type": "object",
  "properties": {
    "fulfillment_type": {
      "type": "string",
      "const": "collect-in-store"
    },
    "preference_type": {
      "type": "string",
      "enum": [
        "user",
        "auto"
      ],
      "readOnly": true
    },
    "pickup_location_id": {
      "type": "string"
    },
    "pickup_location_name": {
      "type": "string",
      "readOnly": true
    }
  },
  "required": [
    "fulfillment_type",
    "pickup_location_id"
  ],
  "title": "CollectInStoreFulfillment"
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: