Wayfair · Schema

GraphQLRequest

GraphQLRequest schema from Wayfair Supplier API

E-CommerceFurnitureHome GoodsRetailSuppliersGraphQL

Properties

Name Type Description
query string The GraphQL query or mutation string.
variables object Variables for the GraphQL operation.
operationName string The name of the operation to execute when the query contains multiple operations.
View JSON Schema on GitHub

JSON Schema

wayfair-graph-ql-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wayfair/refs/heads/main/json-schema/wayfair-graph-ql-request-schema.json",
  "title": "GraphQLRequest",
  "description": "GraphQLRequest schema from Wayfair Supplier API",
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "The GraphQL query or mutation string.",
      "example": "query { purchaseOrders(limit: 10) { edges { node { poNumber status } } } }"
    },
    "variables": {
      "type": "object",
      "description": "Variables for the GraphQL operation."
    },
    "operationName": {
      "type": "string",
      "description": "The name of the operation to execute when the query contains multiple operations.",
      "example": "GetPurchaseOrders"
    }
  },
  "required": [
    "query"
  ]
}