{
    "openapi": "3.1.0",
    "info": {
        "title": "Qeersh Admin REST API",
        "version": "v1",
        "description": "Money is an integer in minor units with its currency; times are UTC."
    },
    "servers": [
        {
            "url": "https://{store}.qeersh.com/api/v1",
            "variables": {
                "store": {
                    "default": "your-store"
                }
            }
        }
    ],
    "components": {
        "securitySchemes": {
            "apiKey": {
                "type": "http",
                "scheme": "bearer",
                "description": "A store API key (qsk_\u2026)."
            }
        }
    },
    "paths": {
        "/app/data": {
            "get": {
                "summary": "\u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0644\u0647\u0630\u0627 \u0627\u0644\u0645\u062a\u062c\u0631 (\u0644\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0641\u0642\u0637)",
                "security": [
                    {
                        "apiKey": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                }
            },
            "put": {
                "summary": "\u0627\u0633\u062a\u0628\u062f\u0627\u0644 \u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0644\u0647\u0630\u0627 \u0627\u0644\u0645\u062a\u062c\u0631: \u0643\u0627\u0626\u0646 JSON \u062d\u062a\u0649 64 \u0643.\u0628 \u062a\u0642\u0631\u0624\u0647 \u0628\u0644\u0648\u0643\u0627\u062a \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0648\u0625\u0636\u0627\u0641\u0627\u062a \u0627\u0644\u062f\u0641\u0639 (\u0644\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0641\u0642\u0637)",
                "security": [
                    {
                        "apiKey": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                }
            }
        },
        "/collections": {
            "get": {
                "summary": "\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a",
                "security": [
                    {
                        "apiKey": [
                            "products:read"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "updated_since",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ]
            }
        },
        "/collections/{id}": {
            "get": {
                "summary": "\u0645\u062c\u0645\u0648\u0639\u0629 \u0648\u0627\u062d\u062f\u0629 \u0628\u0623\u0631\u0642\u0627\u0645 \u0645\u0646\u062a\u062c\u0627\u062a\u0647\u0627",
                "security": [
                    {
                        "apiKey": [
                            "products:read"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ]
            }
        },
        "/customers": {
            "get": {
                "summary": "\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0639\u0645\u0644\u0627\u0621 (\u0628\u064a\u0627\u0646\u0627\u062a \u0634\u062e\u0635\u064a\u0629)",
                "security": [
                    {
                        "apiKey": [
                            "customers:read"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "email",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "phone",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ]
            }
        },
        "/customers/{id}": {
            "get": {
                "summary": "\u0639\u0645\u064a\u0644 \u0648\u0627\u062d\u062f (\u0628\u064a\u0627\u0646\u0627\u062a \u0634\u062e\u0635\u064a\u0629)",
                "security": [
                    {
                        "apiKey": [
                            "customers:read"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ]
            }
        },
        "/discounts": {
            "get": {
                "summary": "\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u062e\u0635\u0648\u0645\u0627\u062a",
                "security": [
                    {
                        "apiKey": [
                            "discounts:read"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "updated_since",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ]
            }
        },
        "/discounts/{id}": {
            "get": {
                "summary": "\u062e\u0635\u0645 \u0648\u0627\u062d\u062f",
                "security": [
                    {
                        "apiKey": [
                            "discounts:read"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ]
            }
        },
        "/inventory_levels": {
            "get": {
                "summary": "\u0627\u0644\u0645\u062e\u0632\u0648\u0646 \u0644\u0643\u0644 \u0646\u0648\u0639 \u0648\u0645\u0648\u0642\u0639",
                "security": [
                    {
                        "apiKey": [
                            "inventory:read"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "variant_id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "location_id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ]
            }
        },
        "/inventory_levels/adjust": {
            "post": {
                "summary": "\u062a\u0639\u062f\u064a\u0644 \u0627\u0644\u0645\u062e\u0632\u0648\u0646 \u0623\u0648 \u0636\u0628\u0637\u0647 \u0641\u064a \u0645\u0648\u0642\u0639",
                "security": [
                    {
                        "apiKey": [
                            "inventory:write"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "Idempotency-Key",
                        "in": "header",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "variant_id": {
                                        "type": "integer"
                                    },
                                    "location_id": {
                                        "type": "integer"
                                    },
                                    "quantity": {
                                        "type": "integer"
                                    },
                                    "mode": {
                                        "type": "string"
                                    },
                                    "reason": {
                                        "type": "string"
                                    },
                                    "note": {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/locations": {
            "get": {
                "summary": "\u0645\u0648\u0627\u0642\u0639 \u0627\u0644\u0645\u062e\u0632\u0648\u0646",
                "security": [
                    {
                        "apiKey": [
                            "inventory:read"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ]
            }
        },
        "/orders": {
            "get": {
                "summary": "\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0637\u0644\u0628\u0627\u062a",
                "security": [
                    {
                        "apiKey": [
                            "orders:read"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "status",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "payment_status",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "created_since",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ]
            }
        },
        "/orders/{id}": {
            "get": {
                "summary": "\u0637\u0644\u0628 \u0648\u0627\u062d\u062f \u0628\u0645\u0646\u062a\u062c\u0627\u062a\u0647 \u0648\u0634\u062d\u0646\u0627\u062a\u0647",
                "security": [
                    {
                        "apiKey": [
                            "orders:read"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ]
            }
        },
        "/orders/{id}/cancel": {
            "post": {
                "summary": "\u0625\u0644\u063a\u0627\u0621 \u0637\u0644\u0628",
                "security": [
                    {
                        "apiKey": [
                            "orders:write"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "Idempotency-Key",
                        "in": "header",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "customer_refused": {
                                        "type": "boolean"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/orders/{id}/fulfillments": {
            "post": {
                "summary": "\u062a\u0633\u062c\u064a\u0644 \u0634\u062d\u0646\u0629 \u062a\u0645\u062a \u062e\u0627\u0631\u062c \u0642\u0631\u0634",
                "security": [
                    {
                        "apiKey": [
                            "orders:write"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "Idempotency-Key",
                        "in": "header",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "carrier": {
                                        "type": "string"
                                    },
                                    "tracking_number": {
                                        "type": "string"
                                    },
                                    "tracking_url": {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/products": {
            "get": {
                "summary": "\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0645\u0646\u062a\u062c\u0627\u062a \u0628\u0623\u0646\u0648\u0627\u0639\u0647\u0627",
                "security": [
                    {
                        "apiKey": [
                            "products:read"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "status",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ]
            },
            "post": {
                "summary": "\u0625\u0646\u0634\u0627\u0621 \u0645\u0646\u062a\u062c",
                "security": [
                    {
                        "apiKey": [
                            "products:write"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "Idempotency-Key",
                        "in": "header",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "type": {
                                        "type": "string"
                                    },
                                    "status": {
                                        "type": "string"
                                    },
                                    "title": {
                                        "type": "object"
                                    },
                                    "description": {
                                        "type": "object"
                                    },
                                    "handle": {
                                        "type": "string"
                                    },
                                    "vendor": {
                                        "type": "string"
                                    },
                                    "category": {
                                        "type": "string"
                                    },
                                    "tags": {
                                        "type": "array"
                                    },
                                    "options": {
                                        "type": "array"
                                    },
                                    "variants": {
                                        "type": "array"
                                    },
                                    "collection_ids": {
                                        "type": "array"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/products/{id}": {
            "get": {
                "summary": "\u0645\u0646\u062a\u062c \u0648\u0627\u062d\u062f",
                "security": [
                    {
                        "apiKey": [
                            "products:read"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ]
            },
            "patch": {
                "summary": "\u062a\u0639\u062f\u064a\u0644 \u0645\u0646\u062a\u062c (\u0627\u0644\u062d\u0642\u0648\u0644 \u063a\u064a\u0631 \u0627\u0644\u0645\u0631\u0633\u0644\u0629 \u062a\u0628\u0642\u0649 \u0643\u0645\u0627 \u0647\u064a)",
                "security": [
                    {
                        "apiKey": [
                            "products:write"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "Idempotency-Key",
                        "in": "header",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "status": {
                                        "type": "string"
                                    },
                                    "title": {
                                        "type": "object"
                                    },
                                    "description": {
                                        "type": "object"
                                    },
                                    "handle": {
                                        "type": "string"
                                    },
                                    "tags": {
                                        "type": "array"
                                    },
                                    "variants": {
                                        "type": "array"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "summary": "\u062d\u0630\u0641 \u0645\u0646\u062a\u062c (\u064a\u0645\u0643\u0646 \u0627\u0633\u062a\u0639\u0627\u062f\u062a\u0647 \u0645\u0646 \u0644\u0648\u062d\u0629 \u0627\u0644\u062a\u062d\u0643\u0645)",
                "security": [
                    {
                        "apiKey": [
                            "products:write"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "Idempotency-Key",
                        "in": "header",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    }
                ]
            }
        },
        "/shop": {
            "get": {
                "summary": "\u0627\u0644\u0645\u062a\u062c\u0631: \u0627\u0644\u0627\u0633\u0645 \u0648\u0627\u0644\u0639\u0646\u0648\u0627\u0646 \u0648\u0627\u0644\u0644\u063a\u0629 \u0648\u0627\u0644\u0639\u0645\u0644\u0629",
                "security": [
                    {
                        "apiKey": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                }
            }
        },
        "/webhooks": {
            "get": {
                "summary": "\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0640 Webhooks",
                "security": [
                    {
                        "apiKey": [
                            "webhooks:read"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ]
            },
            "post": {
                "summary": "\u0625\u0636\u0627\u0641\u0629 Webhook (\u0627\u0644\u0645\u0641\u062a\u0627\u062d \u0627\u0644\u0633\u0631\u064a \u064a\u064f\u0631\u062c\u0639 \u0645\u0631\u0629 \u0648\u0627\u062d\u062f\u0629)",
                "security": [
                    {
                        "apiKey": [
                            "webhooks:write"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "Idempotency-Key",
                        "in": "header",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "topic": {
                                        "type": "string"
                                    },
                                    "url": {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/webhooks/{id}": {
            "delete": {
                "summary": "\u062d\u0630\u0641 Webhook",
                "security": [
                    {
                        "apiKey": [
                            "webhooks:write"
                        ]
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    },
                    "401": {
                        "description": "Missing or invalid key"
                    },
                    "403": {
                        "description": "Missing scope or plan without API access"
                    },
                    "422": {
                        "description": "Validation error"
                    },
                    "429": {
                        "description": "Rate limited (see Retry-After)"
                    }
                },
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "Idempotency-Key",
                        "in": "header",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    }
                ]
            }
        }
    }
}