Vendure Admin API

The Vendure Admin API API from Vendure — 1 operation(s) for vendure admin api.

Operations 1

POST / Execute Admin API GraphQL Operation #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/vendure-vendure-admin-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

vendure-vendure-admin-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vendure Admin API
  version: '3.6'
  description: 'The Vendure Admin API is the privileged GraphQL endpoint used by the

    Vendure Dashboard and back-office tooling.'
  contact:
    name: Vendure
    url: https://docs.vendure.io/reference/graphql-api/admin/queries/
  license:
    name: GPL-3.0
    url: https://github.com/vendurehq/vendure/blob/master/LICENSE
servers:
- url: http://localhost:3000/admin-api
  description: Default development server
- url: https://{host}/admin-api
  description: Self-hosted production server
  variables:
    host:
      default: admin.example.com
security:
- BearerAuth: []
  ChannelToken: []
- CookieAuth: []
  ChannelToken: []
tags:
- name: Vendure Admin API
paths:
  /:
    post:
      summary: Execute Admin API GraphQL Operation
      operationId: executeAdminGraphQL
      description: 'Executes a GraphQL query, mutation, or named operation against the

        Admin API. The caller must be authenticated as an administrator

        whose role grants the relevant permission(s).


        Permissions checked include: `CreateCatalog`, `ReadCatalog`,

        `UpdateCatalog`, `DeleteCatalog`, `CreateOrder`, `ReadOrder`,

        `UpdateOrder`, `DeleteOrder`, `CreateCustomer`, `ReadCustomer`,

        `UpdateCustomer`, `DeleteCustomer`, `CreatePromotion`,

        `ReadPromotion`, `UpdatePromotion`, `DeletePromotion`,

        `CreateAdministrator`, `ReadAdministrator`, `UpdateAdministrator`,

        `DeleteAdministrator`, `CreateSettings`, `ReadSettings`,

        `UpdateSettings`, `DeleteSettings`.


        Common operations:

        - Queries: `products`, `product`, `productVariants`,

        `productVariant`, `collections`, `collection`, `orders`,

        `order`, `customers`, `customer`, `customerGroups`, `channels`,

        `promotions`, `promotionConditions`, `promotionActions`,

        `taxCategories`, `taxRates`, `zones`, `countries`,

        `administrators`, `roles`, `paymentMethods`, `shippingMethods`,

        `jobs`, `scheduledTasks`, `globalSettings`, `apiKeys`,

        `stockLocations`, `assets`, `facets`, `sellers`.

        - Mutations: `createProduct`, `updateProduct`, `deleteProduct`,

        `addOptionGroupToProduct`, `createProductVariants`,

        `updateProductVariants`, `assignProductsToChannel`,

        `setOrderShippingAddress`, `addManualPaymentToOrder`,

        `transitionOrderToState`, `cancelOrder`, `refundOrder`,

        `createCustomer`, `createPromotion`, `updatePromotion`,

        `createChannel`, `createTaxRate`, `createZone`,

        `createPaymentMethod`, `createShippingMethod`,

        `createAdministrator`, `createRole`, `cancelJob`,

        `updateGlobalSettings`, `createApiKey`.'
      parameters:
      - $ref: '#/components/parameters/AuthTokenHeader'
      - $ref: '#/components/parameters/ChannelTokenHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GraphQLRequest'
            examples:
              listOrders:
                summary: List recent orders
                value:
                  query: "query Orders($options: OrderListOptions) {\n  orders(options: $options) {\n    items { id code state totalWithTax customer { emailAddress } }\n    totalItems\n  }\n}\n"
                  variables:
                    options:
                      take: 25
                      sort:
                        createdAt: DESC
              createProduct:
                summary: Create a product
                value:
                  query: "mutation CreateProduct($input: CreateProductInput!) {\n  createProduct(input: $input) { id name slug }\n}\n"
                  variables:
                    input:
                      translations:
                      - languageCode: en
                        name: Demo
                        slug: demo
                        description: Demo product
      responses:
        '200':
          description: GraphQL response (may contain `data` and/or `errors`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphQLResponse'
        '401':
          description: Unauthorized — missing or invalid credentials.
        '403':
          description: Forbidden — administrator lacks required permission.
      tags:
      - Vendure Admin API
components:
  parameters:
    ChannelTokenHeader:
      name: vendure-token
      in: header
      required: false
      description: Channel token selecting the active Channel for the request.
      schema:
        type: string
    AuthTokenHeader:
      name: Authorization
      in: header
      required: true
      description: 'Bearer token issued by the Admin `login` mutation, or session cookie

        equivalent. Header name and scheme are configurable via

        `authOptions.tokenMethod`.

        '
      schema:
        type: string
        example: Bearer eyJhbGciOi...
  schemas:
    GraphQLResponse:
      type: object
      properties:
        data:
          type: object
          additionalProperties: true
          nullable: true
        errors:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
              path:
                type: array
                items:
                  oneOf:
                  - type: string
                  - type: integer
              extensions:
                type: object
                additionalProperties: true
    GraphQLRequest:
      type: object
      required:
      - query
      properties:
        query:
          type: string
        variables:
          type: object
          additionalProperties: true
        operationName:
          type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    CookieAuth:
      type: apiKey
      in: cookie
      name: session
    ChannelToken:
      type: apiKey
      in: header
      name: vendure-token