{
  "openapi": "3.1.0",
  "info": {
    "title": "Orders APIs",
    "description": "Service order management: lock and unlock orders, suspend and unsuspend orders,\nand retrieve order details.\n",
    "version": "2.0.0"
  },
  "servers": [
    {
      "url": "https://api.sandbox.resellerclub.com/v2",
      "description": "Sandbox"
    },
    {
      "url": "https://api.resellerclub.com/v2",
      "description": "Live"
    }
  ],
  "security": [
    {
      "apiKeyAuth": [],
      "userIdHeader": []
    }
  ],
  "paths": {
    "/orders/{orderId}/suspension": {
      "put": {
        "tags": [
          "APIs"
        ],
        "summary": "Suspend or unsuspend an order",
        "description": "Suspends or unsuspends an order.",
        "operationId": "updateOrderSuspension",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrderSuspensionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateOrderSuspensionResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/orders/bulk/suspension": {
      "put": {
        "tags": [
          "APIs"
        ],
        "summary": "Suspend or unsuspend multiple orders",
        "description": "Suspends or unsuspends multiple orders in bulk.",
        "operationId": "updateBulkOrderSuspension",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBulkOrderSuspensionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateBulkOrderSuspensionResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/orders": {
      "get": {
        "tags": [
          "APIs"
        ],
        "summary": "Search orders",
        "description": "Returns orders matching the search criteria, with pagination.",
        "operationId": "searchOrders",
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "description": "Status.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "customerId",
            "in": "query",
            "description": "Customer Id.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "size",
            "in": "query",
            "description": "Size.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Page.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "domainName",
            "in": "query",
            "description": "Domain Name.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "creationTimeStart",
            "in": "query",
            "description": "Creation Time Start.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "creationTimeEnd",
            "in": "query",
            "description": "Creation Time End.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endTimeStart",
            "in": "query",
            "description": "End Time Start.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endTimeEnd",
            "in": "query",
            "description": "End Time End.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Sort.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "onlyRecurring",
            "in": "query",
            "description": "Only Recurring.",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "listChildOrders",
            "in": "query",
            "description": "List Child Orders.",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SearchOrdersResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        },
        "x-v2-response-schema": "SearchOrdersResponse"
      }
    },
    "/orders/{orderId}": {
      "get": {
        "tags": [
          "APIs"
        ],
        "summary": "Get order details",
        "description": "Returns order details for the requested order.",
        "operationId": "getOrder",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "description": "Order Id (required).",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GetOrderResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        },
        "x-v2-response-schema": "GetOrderResponse"
      }
    },
    "/orders/{orderId}/domain-forward/status": {
      "get": {
        "tags": [
          "APIs"
        ],
        "summary": "Get domain forwarding status for an order",
        "description": "Returns whether domain forwarding is active for the order.",
        "operationId": "getOrderDomainForwardStatus",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "description": "Order Id (required).",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDomainForwardStatusResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        },
        "x-v2-response-schema": "OrderDomainForwardStatusResponse"
      }
    },
    "/orders/{orderId}/dns-service/status": {
      "get": {
        "tags": [
          "APIs"
        ],
        "summary": "Get DNS service status for an order",
        "description": "Returns whether the DNS service is active for the order.",
        "operationId": "getOrderDnsServiceStatus",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "description": "Order Id (required).",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDnsServiceStatusResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        },
        "x-v2-response-schema": "OrderDnsServiceStatusResponse"
      }
    }
  },
  "components": {
    "schemas": {
      "GenericResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "status": {
            "type": "integer",
            "format": "int32"
          },
          "customLogMessage": {}
        }
      },
      "UpdateOrderSuspensionRequest": {
        "type": "object",
        "description": "Suspends or unsuspends an order.",
        "properties": {
          "suspended": {
            "type": "boolean",
            "description": "When true, suspends the order; when false, unsuspends."
          },
          "reason": {
            "type": "string",
            "description": "Suspension reason (required when suspended is true)."
          }
        },
        "required": [
          "suspended"
        ]
      },
      "UpdateBulkOrderSuspensionRequest": {
        "type": "object",
        "description": "Suspends or unsuspends multiple orders in bulk.",
        "properties": {
          "suspended": {
            "type": "boolean",
            "description": "When true, suspends the orders; when false, unsuspends."
          },
          "orderIds": {
            "type": "array",
            "description": "Order identifiers to update.",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "minItems": 1
          },
          "reason": {
            "type": "string",
            "description": "Suspension reason (required when suspended is true)."
          },
          "removeChildLocks": {
            "type": "boolean",
            "description": "Whether to remove child locks when unsuspending."
          }
        },
        "required": [
          "orderIds",
          "suspended"
        ]
      },
      "OrderSummaryDto": {
        "type": "object",
        "description": "Summary fields for an order in search results.",
        "properties": {
          "orderId": {
            "type": "string",
            "description": "Order identifier"
          },
          "customerId": {
            "type": "string",
            "description": "Customer identifier"
          },
          "domainName": {
            "type": "string",
            "description": "Domain or primary product name"
          },
          "description": {
            "type": "string",
            "description": "Order description"
          },
          "currentStatus": {
            "type": "string",
            "description": "Current order status"
          },
          "productKey": {
            "type": "string",
            "description": "Product key"
          },
          "productCategory": {
            "type": "string",
            "description": "Product category"
          },
          "productName": {
            "type": "string",
            "description": "Product display name"
          },
          "creationTime": {
            "type": "string",
            "description": "Order creation timestamp"
          },
          "endTime": {
            "type": "string",
            "description": "Order expiry timestamp"
          },
          "deletionTime": {
            "type": "string",
            "description": "Scheduled deletion timestamp when applicable"
          },
          "entityTypeId": {
            "type": "string",
            "description": "Entity type identifier"
          },
          "resellerId": {
            "type": "string",
            "description": "Reseller identifier"
          },
          "parentKey": {
            "type": "string",
            "description": "Parent reseller chain key"
          },
          "domainNameUnicode": {
            "type": "string",
            "description": "Unicode domain name when applicable"
          },
          "recurring": {
            "type": "boolean",
            "description": "Whether the order is recurring"
          },
          "daysToExpiry": {
            "type": "string",
            "description": "Days until expiry"
          },
          "daysToDeletion": {
            "type": "string",
            "description": "Days until deletion"
          },
          "tenureOfLastActionPerformed": {
            "type": "string",
            "description": "Tenure of the last action performed on the order"
          },
          "entityTypeKey": {
            "type": "string"
          },
          "entityTypeName": {
            "type": "string"
          }
        }
      },
      "OrderDetailsDto": {
        "type": "object",
        "description": "Order detail fields for the requested order.",
        "properties": {
          "orderId": {
            "type": "string",
            "description": "Order identifier"
          },
          "customerId": {
            "type": "string",
            "description": "Customer identifier"
          },
          "parentKey": {
            "type": "string",
            "description": "Parent key hierarchy"
          },
          "domainName": {
            "type": "string",
            "description": "Domain or product description"
          },
          "description": {
            "type": "string",
            "description": "Order description"
          },
          "currentStatus": {
            "type": "string",
            "description": "Current order status"
          },
          "productKey": {
            "type": "string",
            "description": "Product key"
          },
          "productCategory": {
            "type": "string",
            "description": "Product category"
          },
          "creationTime": {
            "type": "string",
            "description": "Order creation timestamp"
          },
          "endTime": {
            "type": "string",
            "description": "Order expiry timestamp"
          },
          "recurring": {
            "type": "boolean",
            "description": "Whether the order is recurring"
          },
          "entityTypeId": {
            "type": "string",
            "description": "Entity type identifier"
          },
          "serviceProviderId": {
            "type": "string",
            "description": "DNS/service provider identifier"
          },
          "orderSuspendedByParent": {
            "type": "boolean",
            "description": "Whether the order is suspended by a parent reseller"
          },
          "allowDeletion": {
            "type": "boolean",
            "description": "Whether deletion is allowed for this order"
          },
          "moneybackPeriod": {
            "type": "string",
            "description": "Money-back guarantee period in days"
          },
          "isImmediateReseller": {
            "type": "boolean",
            "description": "Whether the caller is the immediate reseller for this order"
          },
          "isOrderSuspendedUponExpiry": {
            "type": "boolean",
            "description": "Whether the order is suspended upon expiry"
          },
          "autoRenewTermType": {
            "type": "string",
            "description": "Auto-renew term classification when applicable"
          },
          "autoRenewAttemptDuration": {
            "type": "string",
            "description": "Auto-renew attempt duration when applicable"
          },
          "currentOrderTenure": {
            "type": "string",
            "description": "Current order tenure when applicable"
          },
          "paused": {
            "type": "boolean"
          },
          "orderStatus": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "creationDt": {
            "type": "string"
          },
          "productCategoryLabel": {
            "type": "string"
          },
          "customerCost": {
            "type": "string"
          },
          "resellerCost": {
            "type": "string"
          },
          "actionCompleted": {
            "type": "string"
          },
          "jumpConditions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "executionInfoParams": {
            "$ref": "#/components/schemas/OrderExecutionInfoParamsDto"
          },
          "additionalFields": {
            "type": "object",
            "additionalProperties": {},
            "description": "Additional product-specific overview fields for this order."
          }
        }
      },
      "OrderExecutionInfoParamsDto": {
        "type": "object",
        "description": "Execution metadata returned with order detail responses.",
        "properties": {
          "rpInfoRpDomainId": {
            "type": "string",
            "description": "Registry provider domain identifier for the in-flight action."
          },
          "invoiceId": {
            "type": "string",
            "description": "Invoice identifier associated with the order action."
          },
          "isBulk": {
            "type": "boolean",
            "description": "Whether the action was submitted as a bulk operation."
          },
          "currentExpDate": {
            "type": "string",
            "description": "Current domain expiry timestamp at action time."
          },
          "addActionUserDetails": {
            "type": "string",
            "description": "User and role details recorded when the action was created."
          },
          "actionInvoiceMap": {
            "type": "string",
            "description": "Invoice mapping for the action."
          },
          "role": {
            "type": "string",
            "description": "Role of the user who initiated the action."
          },
          "paymentType": {
            "type": "string",
            "description": "Payment type used for the action."
          },
          "rpInfoRpActionStatus": {
            "type": "string",
            "description": "Registry provider action status."
          },
          "autoRenewal": {
            "type": "boolean",
            "description": "Whether auto-renewal was enabled for the action."
          },
          "rpInfoRpActionId": {
            "type": "string",
            "description": "Registry provider action identifier."
          },
          "addActionIpAddress": {
            "type": "string",
            "description": "IP address recorded when the action was created."
          },
          "discount": {
            "type": "string",
            "description": "Discount amount applied to the action."
          },
          "customerCost": {
            "type": "string",
            "description": "Customer cost for the action from execution metadata."
          },
          "userId": {
            "type": "string",
            "description": "User identifier that initiated the action."
          },
          "noOfYears": {
            "type": "string",
            "description": "Number of years requested for renewal or registration."
          }
        }
      },
      "GetOrderResponse": {
        "type": "object",
        "description": "Returns order details for the requested order.",
        "properties": {
          "order": {
            "$ref": "#/components/schemas/OrderDetailsDto",
            "description": "Order details"
          }
        }
      },
      "OrderDnsServiceStatusResponse": {
        "type": "object",
        "description": "Returns whether the DNS service is active for the order.",
        "properties": {
          "active": {
            "type": "boolean",
            "description": "Whether the service is active"
          },
          "parentKey": {
            "type": "string"
          },
          "customerId": {
            "type": "string"
          },
          "resellerId": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "description": "Operation status"
          },
          "message": {
            "type": "string",
            "description": "Status message"
          }
        }
      },
      "OrderDomainForwardStatusResponse": {
        "type": "object",
        "description": "Returns whether domain forwarding is active for the order.",
        "properties": {
          "active": {
            "type": "boolean",
            "description": "Whether domain forwarding is active"
          },
          "parentKey": {
            "type": "string",
            "description": "Parent reseller chain key"
          },
          "customerId": {
            "type": "string",
            "description": "Customer identifier"
          },
          "resellerId": {
            "type": "string",
            "description": "Reseller identifier"
          },
          "status": {
            "type": "string",
            "description": "Operation status when present"
          },
          "message": {
            "type": "string",
            "description": "Error or status message when the order cannot be evaluated"
          }
        }
      },
      "SearchOrdersResponse": {
        "type": "object",
        "description": "Returns orders matching the search criteria, with pagination.",
        "properties": {
          "totalItems": {
            "type": "integer",
            "format": "int32",
            "description": "Total matching orders in the result set"
          },
          "itemsOnPage": {
            "type": "integer",
            "format": "int32",
            "description": "Orders returned on this page"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "description": "Total number of pages for the search"
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "orders": {
            "type": "array",
            "description": "Order summaries",
            "items": {
              "$ref": "#/components/schemas/OrderSummaryDto"
            }
          },
          "productName": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "description": "Operation status when present"
          },
          "message": {
            "type": "string",
            "description": "Status message when present"
          }
        }
      },
      "UpdateBulkOrderSuspensionResponse": {
        "type": "object",
        "description": "Result of a bulk order suspend or unsuspend operation.",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether the bulk operation succeeded."
          }
        }
      },
      "UpdateOrderSuspensionResponse": {
        "type": "object",
        "description": "Result of suspending or unsuspending an order.",
        "properties": {
          "actionStatus": {
            "type": "string",
            "description": "Action status"
          },
          "actionStatusDesc": {
            "type": "string",
            "description": "Action status description"
          },
          "actionTypeDesc": {
            "type": "string",
            "description": "Action type description"
          },
          "entityId": {
            "type": "string",
            "description": "Entity identifier"
          },
          "eaqId": {
            "type": "string",
            "description": "Action queue identifier"
          },
          "actionType": {
            "type": "string",
            "description": "Action type"
          },
          "description": {
            "type": "string",
            "description": "Additional description when provided."
          },
          "status": {
            "type": "string",
            "description": "Status text"
          },
          "message": {
            "type": "string",
            "description": "Result message"
          }
        }
      }
    },
    "securitySchemes": {
      "apiKeyAuth": {
        "type": "apiKey",
        "description": "Reseller API key. In your own requests, send the full header value: Authorization: ApiKey YOUR_API_KEY",
        "name": "Authorization",
        "in": "header"
      },
      "userIdHeader": {
        "type": "apiKey",
        "description": "Reseller user ID",
        "name": "X-User-Id",
        "in": "header"
      }
    }
  },
  "tags": [
    {
      "name": "APIs"
    }
  ]
}