← back to Shopify Sample Shipping

verification/merchant-schema.json

101 lines

{
  "method": {
    "fields": [
      {
        "name": "active",
        "type": {
          "kind": "NON_NULL",
          "name": null,
          "ofType": {
            "kind": "SCALAR",
            "name": "Boolean"
          }
        }
      },
      {
        "name": "description",
        "type": {
          "kind": "SCALAR",
          "name": "String",
          "ofType": null
        }
      },
      {
        "name": "id",
        "type": {
          "kind": "NON_NULL",
          "name": null,
          "ofType": {
            "kind": "SCALAR",
            "name": "ID"
          }
        }
      },
      {
        "name": "methodConditions",
        "type": {
          "kind": "NON_NULL",
          "name": null,
          "ofType": {
            "kind": "LIST",
            "name": null
          }
        }
      },
      {
        "name": "name",
        "type": {
          "kind": "NON_NULL",
          "name": null,
          "ofType": {
            "kind": "SCALAR",
            "name": "String"
          }
        }
      },
      {
        "name": "rateProvider",
        "type": {
          "kind": "NON_NULL",
          "name": null,
          "ofType": {
            "kind": "UNION",
            "name": "DeliveryRateProvider"
          }
        }
      }
    ]
  },
  "location": {
    "fields": [
      {
        "name": "id"
      },
      {
        "name": "locations"
      },
      {
        "name": "locationsCount"
      }
    ]
  },
  "lg": {
    "fields": [
      {
        "name": "countriesInAnyZone"
      },
      {
        "name": "locationGroup"
      },
      {
        "name": "locationGroupZones"
      }
    ]
  },
  "install": {
    "app": {
      "title": "Full Access"
    }
  }
}