{
  "opencollection": "1.0.0",
  "info": {
    "name": "Shopware Admin Account API",
    "version": "6.7.9999999-dev"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "/api/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Account",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Log in a customer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{shopDomain}/api/account/login",
            "headers": [
              {
                "name": "sw-context-token",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Authenticates a customer and returns an updated context token."
        },
        {
          "info": {
            "name": "Log out a customer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{shopDomain}/api/account/logout",
            "headers": [
              {
                "name": "sw-context-token",
                "value": ""
              }
            ]
          },
          "docs": "Ends the customer session and invalidates the context token."
        },
        {
          "info": {
            "name": "Register a customer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{shopDomain}/api/account/register",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new customer account."
        },
        {
          "info": {
            "name": "List customer orders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{shopDomain}/api/account/order",
            "headers": [
              {
                "name": "sw-context-token",
                "value": ""
              }
            ]
          },
          "docs": "Returns order history for the currently authenticated customer."
        }
      ]
    }
  ],
  "bundled": true
}