Skip to content

PincodeServiceability

Type: schema

TypeScript Definition

typescript
PincodeServiceability: {{
            is_serviceable: boolean;
            shipping_methods: {
                id?: string;
                name?: string;
                /** @enum {unknown} */
                shipping_type?: "auto" | "manual";
                /** @description shipping amount of manual method or as per recommened courier or range of min-max shipping amount. */
                shipping_amount?: string;
                /** @description estimated delivery days of manual method or as per recommened courier or range of min-max estimated delivery days. */
                estimated_delivery_days?: string;
                courier_companies?: {
                    id?: string | number;
                    name?: string;
                    shipping_amount?: number;
                    estimated_delivery_days?: string;
                    is_recommended?: boolean;
                    is_hyperlocal?: boolean;
                    /** @enum {unknown} */
                    mode?: "air" | "surface";
                    rating?: number;
                }[];
            }[];
        };
        /** PosDevice */
}

OpenAPI Schema

json
{
  "title": "PincodeServiceability",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/PincodeServiceability",
    "description": "API reference for the PincodeServiceability schema"
  },
  "required": [
    "is_serviceable",
    "shipping_methods"
  ],
  "properties": {
    "is_serviceable": {
      "type": "boolean"
    },
    "shipping_methods": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "shipping_type": {
            "enum": [
              "auto",
              "manual"
            ]
          },
          "shipping_amount": {
            "description": "shipping amount of manual method or as per recommened courier or range of min-max shipping amount.",
            "type": "string"
          },
          "estimated_delivery_days": {
            "description": "estimated delivery days of manual method or as per recommened courier or range of min-max estimated delivery days.",
            "type": "string"
          },
          "courier_companies": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": [
                    "string",
                    "number"
                  ]
                },
                "name": {
                  "type": "string"
                },
                "shipping_amount": {
                  "type": "number"
                },
                "estimated_delivery_days": {
                  "type": "string"
                },
                "is_recommended": {
                  "type": "boolean"
                },
                "is_hyperlocal": {
                  "type": "boolean"
                },
                "mode": {
                  "enum": [
                    "air",
                    "surface"
                  ]
                },
                "rating": {
                  "type": "number"
                }
              }
            }
          }
        }
      }
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: