{
  "openapi": "3.0.3",
  "info": {
    "title": "AutoDS Gateway",
    "version": "1.0.11"
  },
  "components": {
    "schemas": {
      "UserViewResponse": {
        "title": "UserViewResponse",
        "type": "object",
        "required": [
          "id",
          "user_id",
          "status"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "description": "Internal auto-orders DB primary key",
            "example": 1
          },
          "user_id": {
            "type": "integer",
            "description": "AutoDS platform user ID",
            "example": 12345
          },
          "status": {
            "type": "string",
            "description": "User account status",
            "example": "active"
          },
          "email": {
            "type": "string",
            "nullable": true,
            "example": "user@example.com"
          },
          "auto_order_credits": {
            "type": "number",
            "nullable": true,
            "example": 10.0
          },
          "bonus_eligible": {
            "type": "boolean",
            "nullable": true,
            "example": true
          }
        }
      },
      "UserStateResponse": {
        "title": "UserStateResponse",
        "type": "object",
        "required": [
          "id",
          "user_profile_id",
          "order_count",
          "return_order_count",
          "eligible_for_fba_bundle_offer",
          "eligible_for_fba_bundle_offer_gbp",
          "has_products",
          "has_products_gbp",
          "fba_balance_warning"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "example": 1
          },
          "user_profile_id": {
            "type": "integer",
            "example": 100
          },
          "order_count": {
            "type": "integer",
            "example": 50
          },
          "return_order_count": {
            "type": "integer",
            "example": 3
          },
          "update_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "return_perc": {
            "type": "number",
            "nullable": true,
            "example": 6.0
          },
          "calc_end_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "eligible_for_fba_bundle_offer": {
            "type": "boolean",
            "example": false
          },
          "eligible_for_fba_bundle_offer_gbp": {
            "type": "boolean",
            "example": false
          },
          "has_products": {
            "type": "boolean",
            "example": true
          },
          "has_products_gbp": {
            "type": "boolean",
            "example": true
          },
          "fba_balance_warning": {
            "type": "boolean",
            "description": "Backend-owned. True while the seller has managed orders paused because their USD \"Fulfilled by AutoDS\" balance cannot cover them. Drives the top-up banner; set and cleared by the orders scheduler and by a top-up. Read-only for clients.",
            "example": false
          },
          "autods_user_id": {
            "type": "integer",
            "nullable": true,
            "example": 12345
          },
          "wallet_id": {
            "type": "integer",
            "nullable": true,
            "example": 1
          },
          "new_fba_user": {
            "type": "boolean",
            "nullable": true,
            "example": false
          },
          "has_orders": {
            "type": "boolean",
            "nullable": true,
            "example": true
          },
          "managed_verified": {
            "type": "boolean",
            "nullable": true,
            "description": "Whether the user passed fraud verification for managed orders",
            "example": true
          }
        }
      },
      "UpdateUserStateRequest": {
        "title": "UpdateUserStateRequest",
        "type": "object",
        "properties": {
          "eligible_for_fba_bundle_offer": {
            "type": "boolean",
            "nullable": true,
            "description": "Can only be set to false",
            "example": false
          },
          "wallet_id": {
            "type": "integer",
            "nullable": true,
            "example": 1
          }
        }
      },
      "UserSettingsResponse": {
        "title": "UserSettingsResponse",
        "type": "object",
        "required": [
          "notification_when_new_order",
          "notification_when_order_failed",
          "notification_when_tracking",
          "notification_when_ordered",
          "notification_email_address"
        ],
        "properties": {
          "notification_when_new_order": {
            "type": "boolean",
            "example": false
          },
          "notification_when_order_failed": {
            "type": "boolean",
            "example": true
          },
          "notification_when_tracking": {
            "type": "boolean",
            "example": false
          },
          "notification_when_ordered": {
            "type": "boolean",
            "example": false
          },
          "notification_email_address": {
            "type": "string",
            "description": "Empty means fall back to the account email.",
            "example": "seller@example.com"
          }
        }
      },
      "UpdateUserSettingsRequest": {
        "title": "UpdateUserSettingsRequest",
        "type": "object",
        "description": "Partial update -- only the fields present in the body are written, so sending one toggle does not reset the others. Unknown fields are ignored rather than rejected.\n",
        "properties": {
          "notification_when_new_order": {
            "type": "boolean",
            "nullable": true,
            "example": false
          },
          "notification_when_order_failed": {
            "type": "boolean",
            "nullable": true,
            "example": true
          },
          "notification_when_tracking": {
            "type": "boolean",
            "nullable": true,
            "example": false
          },
          "notification_when_ordered": {
            "type": "boolean",
            "nullable": true,
            "example": false
          },
          "notification_email_address": {
            "type": "string",
            "nullable": true,
            "example": "seller@example.com"
          }
        }
      },
      "TransactionListRequest": {
        "title": "TransactionListRequest",
        "type": "object",
        "properties": {
          "store_ids": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "nullable": true,
            "example": [
              1,
              2
            ]
          },
          "search_value": {
            "type": "string",
            "nullable": true,
            "example": "top-up"
          },
          "transaction_id": {
            "type": "string",
            "nullable": true,
            "example": "txn_abc123"
          },
          "statuses": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "approved",
                "pending",
                "refunded",
                "canceled",
                "error",
                "managed_order_debit",
                "managed_order_refund"
              ]
            },
            "nullable": true,
            "example": [
              "approved",
              "pending"
            ]
          },
          "created_date_gte": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2026-01-01T00:00:00"
          },
          "created_date_lte": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2026-02-01T00:00:00"
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 500,
            "default": 50,
            "example": 50
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "default": 0,
            "example": 0
          }
        }
      },
      "TransactionItemResponse": {
        "title": "TransactionItemResponse",
        "type": "object",
        "required": [
          "id",
          "user_id",
          "note",
          "amount",
          "previous_balance",
          "currency",
          "currency_symbol",
          "status",
          "created_date"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "example": 101
          },
          "user_id": {
            "type": "integer",
            "example": 12345
          },
          "note": {
            "type": "string",
            "example": "FBA balance top-up"
          },
          "amount": {
            "type": "number",
            "example": 50.0
          },
          "previous_balance": {
            "type": "number",
            "example": 100.0
          },
          "currency": {
            "type": "string",
            "enum": [
              "USD",
              "GBP"
            ],
            "example": "USD"
          },
          "currency_symbol": {
            "type": "string",
            "example": "$"
          },
          "status": {
            "type": "string",
            "enum": [
              "approved",
              "pending",
              "refunded",
              "canceled",
              "error",
              "managed_order_debit",
              "managed_order_refund"
            ],
            "example": "approved"
          },
          "created_date": {
            "type": "string",
            "format": "date-time",
            "example": "2026-01-15T10:30:00"
          },
          "transaction_id": {
            "type": "string",
            "nullable": true,
            "example": "txn_abc123"
          },
          "wallet_id": {
            "type": "integer",
            "nullable": true,
            "example": 1
          },
          "order_id": {
            "type": "integer",
            "nullable": true,
            "example": 5001
          },
          "sell_site_order_id": {
            "type": "string",
            "nullable": true,
            "example": "SELL-12345"
          },
          "buy_site_order_id": {
            "type": "string",
            "nullable": true,
            "example": "BUY-67890"
          }
        }
      },
      "TransactionListResponse": {
        "type": "object",
        "properties": {
          "total_results": {
            "type": "integer",
            "format": "int64",
            "example": 2
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransactionModel"
            }
          }
        }
      },
      "FBAWalletResponse": {
        "title": "FBAWalletResponse",
        "type": "object",
        "required": [
          "id",
          "currency",
          "balance",
          "created_at",
          "user_id"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "example": 1
          },
          "currency": {
            "type": "string",
            "enum": [
              "USD",
              "GBP"
            ],
            "example": "USD"
          },
          "balance": {
            "type": "number",
            "example": 150.0
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "example": "2026-01-15T10:30:00"
          },
          "user_id": {
            "type": "integer",
            "example": 12345
          }
        }
      },
      "SampleOrderCreateRequest": {
        "description": "Sample-order create payload. Field names are the browser client's (address_1 / address_2 map to the address1 / address2 columns). Unknown properties are ignored.",
        "properties": {
          "sell_site_order_id": {
            "description": "Sample-order identifier, minted by the client as `SAMPLE_<uuid4>`. Also stored as the order name. Any other shape is rejected: this endpoint creates sample orders only.",
            "pattern": "^SAMPLE_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
            "type": "string"
          },
          "store_id": {
            "description": "AutoDS Store ID the sample order is placed for.",
            "maximum": 9223372036854775807,
            "type": "integer",
            "minimum": 0,
            "exclusiveMinimum": true
          },
          "store_name": {
            "description": "AutoDS store name, stored on the order and used in gift-message text.",
            "type": "string"
          },
          "first_name": {
            "description": "Recipient first name.",
            "type": "string"
          },
          "last_name": {
            "description": "Recipient last name.",
            "type": "string"
          },
          "address_1": {
            "description": "Recipient street address, first line. Stored as the `address1` column.",
            "type": "string"
          },
          "address_2": {
            "type": "string",
            "default": null,
            "description": "Recipient street address, second line. Stored as the `address2` column.",
            "nullable": true
          },
          "city": {
            "description": "Recipient city.",
            "type": "string"
          },
          "state": {
            "type": "string",
            "default": null,
            "description": "Recipient state or province.",
            "nullable": true
          },
          "zip_code": {
            "description": "Recipient postal code.",
            "type": "string"
          },
          "country": {
            "description": "Recipient country, as a name or a 2/3-letter code. Expanded to its full name before storage.",
            "type": "string"
          },
          "phone_number": {
            "type": "string",
            "default": null,
            "description": "Recipient phone number.",
            "nullable": true
          },
          "quantity_to_buy": {
            "description": "Units to buy from the supplier. Multiplies the unit prices below.",
            "type": "integer",
            "minimum": 0,
            "exclusiveMinimum": true
          },
          "buy_item_real_id": {
            "description": "Supplier's item ID. Surrounding whitespace is stripped.",
            "type": "string"
          },
          "buy_item_variant": {
            "description": "Supplier's variant ID. Surrounding whitespace is stripped.",
            "type": "string"
          },
          "product_title": {
            "description": "Product title, stored on the order and used in gift-message text.",
            "type": "string"
          },
          "buy_item_url": {
            "description": "Supplier product URL.",
            "type": "string"
          },
          "autods_product_id": {
            "description": "AutoDS product ID the sample order was started from.",
            "type": "string"
          },
          "product_picture_url": {
            "description": "Product image URL.",
            "type": "string"
          },
          "supplier": {
            "description": "Supplier ID (`BuySites`). With `region`, resolves the order's buy site.",
            "type": "integer"
          },
          "region": {
            "description": "Supplier region ID (`Region`). With `supplier`, resolves the order's buy site.",
            "type": "integer"
          },
          "buy_item_attributes": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object",
            "default": null,
            "description": "Chosen variation attributes, e.g. `{\"Color\": \"Black\"}`. Stored as JSON.",
            "nullable": true
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "default": null,
            "description": "Order tags. Stored as a comma-separated string.",
            "nullable": true
          },
          "buy_price": {
            "maximum": 99999.99,
            "minimum": 0,
            "type": "number",
            "default": null,
            "description": "Total buy price. Ignored when `product_price` is sent, which is multiplied by quantity instead. `buy_shipping_price` is added on top.",
            "nullable": true
          },
          "buy_shipping_price": {
            "maximum": 99999.99,
            "minimum": 0,
            "type": "number",
            "default": null,
            "description": "Supplier shipping cost, added to the buy price.",
            "nullable": true
          },
          "suggested_buy_price": {
            "maximum": 99999.99,
            "minimum": 0,
            "type": "number",
            "default": null,
            "description": "Expected total buy price. Ignored when `product_price` is sent.",
            "nullable": true
          },
          "product_price": {
            "maximum": 99999.99,
            "minimum": 0,
            "type": "number",
            "default": null,
            "description": "Unit price. When sent, it is multiplied by `quantity_to_buy` and wins over `buy_price` and `suggested_buy_price`.",
            "nullable": true
          },
          "maximum_item_price": {
            "maximum": 99999.99,
            "minimum": 0,
            "type": "number",
            "default": null,
            "description": "Per-unit ceiling. When sent, the order's maximum buy price is this times quantity plus the store's accepted loss.",
            "nullable": true
          },
          "maximum_buy_price": {
            "maximum": 99999.99,
            "minimum": 0,
            "type": "number",
            "default": null,
            "description": "Accepted for contract compatibility and ignored: the stored ceiling is always derived from the store settings.",
            "nullable": true
          },
          "listing_fee": {
            "maximum": 99999.99,
            "minimum": 0,
            "type": "number",
            "default": null,
            "description": "Selling-channel listing fee. Defaults to 0.",
            "nullable": true
          },
          "include_shipping_fee": {
            "type": "boolean",
            "default": null,
            "description": "Whether `buy_shipping_price` is added to the order's maximum buy price.",
            "nullable": true
          },
          "buy_currency": {
            "description": "Currency the prices above are in. USD is always accepted; any other currency must match the store's own buy currency or the order is refused.",
            "enum": [
              "USD",
              "GBP"
            ],
            "type": "string",
            "default": "USD"
          },
          "prime_only": {
            "type": "boolean",
            "default": null,
            "description": "Accepted for contract compatibility and ignored: the stored value always comes from the store's marketplace-seller setting.",
            "nullable": true
          },
          "maximum_ship_days": {
            "minimum": 0,
            "type": "integer",
            "default": null,
            "description": "Maximum acceptable shipping days. Falls back to the store's setting.",
            "nullable": true
          },
          "bce_conversion": {
            "description": "Tracking-conversion option, as the option integer (1-7) or the member name. Falls back to the store's setting.",
            "nullable": true,
            "oneOf": [
              {
                "type": "integer",
                "minimum": 1,
                "maximum": 7
              },
              {
                "type": "string",
                "enum": [
                  "no_bce",
                  "all_carriers",
                  "amazon_carrier",
                  "aquiline_all_carriers",
                  "qtrack_all_carriers",
                  "qtrack_amazon_carrier",
                  "tracktaco_amazon_carrier"
                ]
              }
            ]
          }
        },
        "required": [
          "sell_site_order_id",
          "store_id",
          "store_name",
          "first_name",
          "last_name",
          "address_1",
          "city",
          "zip_code",
          "country",
          "quantity_to_buy",
          "buy_item_real_id",
          "buy_item_variant",
          "product_title",
          "buy_item_url",
          "autods_product_id",
          "product_picture_url",
          "supplier",
          "region"
        ],
        "type": "object"
      },
      "OrderSearchResult": {
        "title": "OrderSearchResult",
        "type": "object",
        "required": [
          "id",
          "store_id",
          "user_profile_id",
          "sell_site_order_id"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "example": 12345
          },
          "store_id": {
            "type": "integer",
            "example": 10
          },
          "user_profile_id": {
            "type": "integer",
            "example": 999
          },
          "sell_site_order_id": {
            "type": "string",
            "example": "ORDER-123456"
          },
          "buyer_username": {
            "type": "string",
            "nullable": true,
            "example": "john_doe"
          },
          "sell_site_order_name": {
            "type": "string",
            "nullable": true,
            "example": "Order #123456"
          },
          "sell_item_id": {
            "type": "string",
            "nullable": true,
            "example": "ITEM-789"
          },
          "buy_item_real_id": {
            "type": "string",
            "nullable": true,
            "example": "SUPPLIER-ID-456"
          },
          "buy_site_order_id": {
            "type": "string",
            "nullable": true,
            "example": "SUPP-ORDER-789"
          },
          "first_name": {
            "type": "string",
            "nullable": true,
            "example": "John"
          },
          "last_name": {
            "type": "string",
            "nullable": true,
            "example": "Doe"
          },
          "product_title": {
            "type": "string",
            "nullable": true,
            "example": "Widget Pro 3000"
          },
          "product_picture_url": {
            "type": "string",
            "nullable": true,
            "example": "https://example.com/pic.jpg"
          }
        }
      },
      "StripeCreateSessionResponse": {
        "title": "StripeCreateSessionResponse",
        "type": "object",
        "required": [
          "stripe_session_url"
        ],
        "properties": {
          "stripe_session_url": {
            "type": "string",
            "title": "Stripe Session Url",
            "example": "https://checkout.stripe.com/c/session/test_123"
          }
        }
      },
      "StripePMCreateRequest": {
        "title": "StripePMCreateRequest",
        "type": "object",
        "required": [
          "session_id"
        ],
        "properties": {
          "session_id": {
            "type": "string",
            "minLength": 5,
            "title": "Session Id",
            "example": "cs_test_123456"
          }
        }
      },
      "StripePMCreateResponse": {
        "title": "StripePMCreateResponse",
        "type": "object",
        "required": [
          "status",
          "message",
          "autods_user_id"
        ],
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "SUCCESS",
              "FAILED"
            ],
            "title": "Status"
          },
          "message": {
            "type": "string",
            "title": "Message",
            "example": "Stripe payment method created successfully"
          },
          "autods_user_id": {
            "type": "integer",
            "title": "Autods User Id",
            "example": 12345
          }
        }
      },
      "PayPalSetupTokenResponse": {
        "properties": {
          "redirect_url": {
            "type": "string",
            "title": "Redirect Url"
          }
        },
        "type": "object",
        "required": [
          "redirect_url"
        ],
        "title": "PayPalSetupTokenResponse"
      },
      "PayPalCreateBillingResponse": {
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "SUCCESS",
              "FAILED"
            ],
            "title": "Status"
          },
          "message": {
            "type": "string",
            "title": "Message"
          }
        },
        "type": "object",
        "required": [
          "status",
          "message"
        ],
        "title": "PayPalCreateBillingResponse"
      },
      "AoV3HttpError": {
        "properties": {
          "detail": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "title": "Code",
                "example": "BILLING_OWNERSHIP_MISMATCH"
              },
              "message": {
                "type": "string",
                "title": "Message",
                "example": "Billing ID does not belong to the authenticated user."
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "ErrorDetail"
          }
        },
        "type": "object",
        "required": [
          "detail"
        ],
        "title": "AoV3HttpError"
      },
      "PayoneerConfirmRequest": {
        "properties": {
          "billing_id": {
            "type": "integer",
            "title": "Billing Id",
            "description": "UserBilling ID from login-url response"
          },
          "code": {
            "type": "string",
            "minLength": 1,
            "title": "Code",
            "description": "OAuth authorization code from callback"
          }
        },
        "type": "object",
        "required": [
          "billing_id",
          "code"
        ],
        "title": "PayoneerConfirmRequest",
        "description": "Request body for confirm endpoint."
      },
      "PayoneerConfirmResponse": {
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "SUCCESS",
              "FAILED"
            ],
            "title": "Status"
          },
          "message": {
            "type": "string",
            "title": "Message"
          }
        },
        "type": "object",
        "required": [
          "status",
          "message"
        ],
        "title": "PayoneerConfirmResponse",
        "description": "Response for confirm endpoint."
      },
      "PayoneerLoginUrlRequest": {
        "properties": {
          "first_name": {
            "type": "string",
            "maxLength": 30,
            "minLength": 1,
            "title": "First Name"
          },
          "last_name": {
            "type": "string",
            "maxLength": 30,
            "minLength": 1,
            "title": "Last Name"
          },
          "email": {
            "type": "string",
            "maxLength": 50,
            "minLength": 1,
            "title": "Email"
          }
        },
        "type": "object",
        "required": [
          "first_name",
          "last_name",
          "email"
        ],
        "title": "PayoneerLoginUrlRequest",
        "description": "Request body for login-url endpoint."
      },
      "PayoneerLoginUrlResponse": {
        "properties": {
          "login_url": {
            "type": "string",
            "title": "Login Url"
          },
          "billing_id": {
            "type": "integer",
            "title": "Billing Id"
          }
        },
        "type": "object",
        "required": [
          "login_url",
          "billing_id"
        ],
        "title": "PayoneerLoginUrlResponse",
        "description": "Response for login-url endpoint."
      },
      "PayoneerRegisterResponse": {
        "title": "PayoneerRegisterResponse",
        "type": "object",
        "required": [
          "registration_link",
          "billing_id"
        ],
        "properties": {
          "registration_link": {
            "type": "string",
            "title": "Registration Link",
            "example": "https://payouts.sandbox.payoneer.com/partners/lp.aspx?token=abc123"
          },
          "billing_id": {
            "type": "integer",
            "title": "Billing Id",
            "example": 12
          }
        }
      },
      "PayoneerBankAccount": {
        "title": "PayoneerBankAccount",
        "type": "object",
        "description": "Normalized Payoneer bank account details.",
        "properties": {
          "bank_name": {
            "type": "string",
            "nullable": true,
            "title": "Bank Name",
            "example": "HSBC"
          },
          "account_number": {
            "type": "string",
            "nullable": true,
            "title": "Account Number",
            "example": "****1234"
          },
          "routing_number": {
            "type": "string",
            "nullable": true,
            "title": "Routing Number",
            "example": "026009593"
          },
          "account_type": {
            "type": "string",
            "nullable": true,
            "title": "Account Type",
            "example": "CHECKING"
          },
          "account_holder": {
            "type": "string",
            "nullable": true,
            "title": "Account Holder",
            "example": "John Doe"
          },
          "currency": {
            "type": "string",
            "title": "Currency",
            "example": "USD"
          }
        }
      },
      "PayoneerBankAccountsResponse": {
        "title": "PayoneerBankAccountsResponse",
        "type": "object",
        "description": "Response containing Payoneer bank accounts.",
        "required": [
          "bank_accounts"
        ],
        "properties": {
          "bank_accounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PayoneerBankAccount"
            }
          }
        }
      },
      "PayoneerTransaction": {
        "title": "PayoneerTransaction",
        "type": "object",
        "description": "Single Payoneer wallet transaction.",
        "required": [
          "currency",
          "amount",
          "date"
        ],
        "properties": {
          "currency": {
            "type": "string",
            "title": "Currency",
            "example": "USD"
          },
          "amount": {
            "type": "number",
            "format": "float",
            "title": "Amount",
            "example": 120.55
          },
          "note": {
            "type": "string",
            "nullable": true,
            "title": "Note",
            "example": "Payout to bank"
          },
          "date": {
            "type": "string",
            "title": "Date",
            "description": "ISO8601 date string returned by Payoneer.",
            "example": "2025-11-05T12:30:45Z"
          }
        }
      },
      "PayoneerBalance": {
        "title": "PayoneerBalance",
        "type": "object",
        "description": "Normalized Payoneer wallet balance.",
        "required": [
          "balance_id",
          "currency"
        ],
        "properties": {
          "balance_id": {
            "type": "string",
            "title": "Balance Id",
            "example": "123456789"
          },
          "currency": {
            "type": "string",
            "title": "Currency",
            "example": "USD"
          },
          "amount": {
            "type": "number",
            "format": "float",
            "nullable": true,
            "title": "Amount",
            "description": "Available balance in the specified currency.",
            "example": 250.75
          }
        }
      },
      "PayoneerTransactionsResponse": {
        "title": "PayoneerTransactionsResponse",
        "type": "object",
        "description": "Response containing Payoneer wallet transactions.",
        "required": [
          "transactions",
          "total"
        ],
        "properties": {
          "transactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PayoneerTransaction"
            }
          },
          "total": {
            "type": "integer",
            "title": "Total",
            "description": "Total number of transactions available.",
            "example": 42
          },
          "next_link": {
            "type": "string",
            "nullable": true,
            "title": "Next Link",
            "description": "Cursor to fetch the next page of transactions.",
            "example": "https://payoneer.example.com/transactions?cursor=abc"
          }
        }
      },
      "PayoneerBalancesResponse": {
        "title": "PayoneerBalancesResponse",
        "type": "object",
        "description": "Response containing Payoneer wallet balances.",
        "required": [
          "foreign_currency_accounts"
        ],
        "properties": {
          "foreign_currency_accounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PayoneerBalance"
            }
          }
        }
      },
      "PayoneerTransactionsQuery": {
        "title": "PayoneerTransactionsQuery",
        "type": "object",
        "description": "Query parameters for Payoneer wallet transactions.",
        "required": [
          "limit"
        ],
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "default": 20,
            "title": "Limit",
            "description": "Number of transactions to fetch (1-100)."
          },
          "next_link": {
            "type": "string",
            "nullable": true,
            "title": "Next Link",
            "description": "Cursor provided by the previous page for pagination."
          }
        }
      },
      "AddFBABalanceRequest": {
        "title": "AddFBABalanceRequest",
        "type": "object",
        "required": [
          "billing_id",
          "fba_plan_id"
        ],
        "properties": {
          "billing_id": {
            "type": "integer",
            "description": "User billing account ID",
            "example": 1409
          },
          "fba_plan_id": {
            "type": "integer",
            "description": "FBA plan ID (GBP or USD plan)",
            "example": 9
          },
          "balance_id": {
            "type": "integer",
            "nullable": true,
            "description": "Required only for Payoneer balances",
            "example": 12345
          }
        }
      },
      "AddFBABalanceResponse": {
        "title": "AddFBABalanceResponse",
        "type": "object",
        "properties": {
          "wallet_id": {
            "type": "integer",
            "description": "The wallet that was credited",
            "example": 15202
          },
          "wallet_balance": {
            "type": "number",
            "format": "float",
            "description": "Updated wallet balance after top-up",
            "example": 50.0
          },
          "currency": {
            "type": "string",
            "enum": [
              "USD",
              "GBP"
            ],
            "description": "Currency of the wallet",
            "example": "GBP"
          },
          "auto_order_credits": {
            "type": "number",
            "format": "float",
            "description": "Updated auto-order credits",
            "example": 49.02
          }
        }
      },
      "PaymentErrorResponse": {
        "title": "PaymentErrorResponse",
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "example": "PAYMENT_GATEWAY_ERROR"
          },
          "message": {
            "type": "string",
            "example": "Payment failed"
          }
        }
      },
      "UserBillingResponse": {
        "title": "UserBillingResponse",
        "type": "object",
        "required": [
          "id",
          "user_id",
          "status",
          "account_type",
          "created_date"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "example": 10
          },
          "user_id": {
            "type": "integer",
            "example": 1
          },
          "account_name": {
            "type": "string",
            "nullable": true,
            "example": "visa-4242"
          },
          "subscription_id": {
            "type": "string",
            "nullable": true,
            "example": "sub_123"
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "disabled",
              "error",
              "deleted"
            ],
            "example": "active"
          },
          "account_type": {
            "type": "string",
            "enum": [
              "paypal",
              "paypal_masspayment",
              "payoneer",
              "payoneer_manual",
              "wire_transfer",
              "credit_card",
              "stripe"
            ],
            "example": "stripe"
          },
          "first_name": {
            "type": "string",
            "nullable": true,
            "example": "John"
          },
          "last_name": {
            "type": "string",
            "nullable": true,
            "example": "Doe"
          },
          "full_name": {
            "type": "string",
            "nullable": true,
            "example": "John Doe"
          },
          "cc_last_4": {
            "type": "string",
            "nullable": true,
            "example": "4242"
          },
          "cc_type": {
            "type": "string",
            "nullable": true,
            "example": "visa"
          },
          "cc_exp": {
            "type": "string",
            "nullable": true,
            "example": "12/26"
          },
          "created_date": {
            "type": "string",
            "format": "date-time",
            "example": "2025-01-01T10:00:00Z"
          },
          "updated_date": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2025-01-10T10:00:00Z"
          }
        }
      },
      "AutoOrderBuyAccountBulkDeleteSchema": {
        "properties": {
          "condition": {
            "enum": [
              "and",
              "or"
            ],
            "example": "and",
            "type": "string"
          },
          "filters": {
            "items": {
              "$ref": "#/components/schemas/AutoOrderBuyAccountFilterSchema"
            },
            "type": "array"
          },
          "user_system": {
            "example": "AUTODSV2",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AutoOrderBuyAccountBulkUpdateSchema": {
        "properties": {
          "bulk_update_data": {
            "properties": {
              "daily_limit_amount": {
                "example": 23,
                "format": "int64",
                "type": "integer"
              },
              "pending_orders_limit": {
                "example": 100,
                "format": "int64",
                "type": "integer"
              },
              "status": {
                "example": "Active",
                "type": "string"
              },
              "validate_prime": {
                "example": false,
                "type": "boolean"
              }
            },
            "type": "object"
          },
          "condition": {
            "enum": [
              "and",
              "or"
            ],
            "example": "and",
            "type": "string"
          },
          "filters": {
            "items": {
              "$ref": "#/components/schemas/AutoOrderBuyAccountFilterSchema"
            },
            "type": "array"
          },
          "user_system": {
            "example": "AUTODSV2",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AutoOrderBuyAccountCreate": {
        "properties": {
          "account_address": {
            "example": "address line 1, New York, NY, 3323, US",
            "type": "string"
          },
          "ao_payment_method": {
            "example": "CREDIT_CARD",
            "type": "string"
          },
          "buy_site_id": {
            "example": "Amazon",
            "type": "string"
          },
          "daily_limit_amount": {
            "example": 100,
            "type": "integer"
          },
          "daily_orders_limit": {
            "example": 99,
            "type": "integer"
          },
          "email": {
            "example": "hello@example.com",
            "type": "string"
          },
          "full_name": {
            "example": "Albert Einstein",
            "type": "string"
          },
          "gmail_credentials": {
            "example": "efer_ertser_test",
            "type": "string"
          },
          "is_managed": {
            "example": true,
            "type": "boolean"
          },
          "order_max_price": {
            "example": 50,
            "type": "integer"
          },
          "order_min_price": {
            "example": 30,
            "type": "integer"
          },
          "orders_scan": {
            "example": true,
            "type": "boolean"
          },
          "password": {
            "example": "pass123",
            "type": "string"
          },
          "pending_orders_limit": {
            "example": 25,
            "type": "integer"
          },
          "phone_number": {
            "example": "99999111222",
            "type": "string"
          },
          "region": {
            "example": 4,
            "type": "integer"
          },
          "status": {
            "example": "Active",
            "type": "string"
          },
          "supplier": {
            "example": 23,
            "type": "integer"
          },
          "use_for_ao": {
            "example": true,
            "type": "boolean"
          },
          "use_for_tracking": {
            "example": true,
            "type": "boolean"
          },
          "user_id": {
            "example": 4323,
            "type": "integer"
          },
          "user_system": {
            "example": "AUTODSV2",
            "type": "string"
          },
          "validate_prime": {
            "example": true,
            "type": "boolean"
          },
          "verefication_code": {
            "example": "XNPE L4AI RYMI P6WR PAD2 CMQD 5MKT OEFK 4JWA IKWY X2OJ 7OG2 W2DD",
            "type": "string"
          },
          "zip_code": {
            "example": "43209",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AutoOrderBuyAccountFilterSchema": {
        "properties": {
          "name": {
            "enum": [
              "status",
              "supplier",
              "region",
              "email",
              "gift_card_balance",
              "pending_orders_limit",
              "daily_limit_amount",
              "remaining_daily_limit",
              "remaining_orders_to_send",
              "id",
              "use_for_ao",
              "use_for_tracking",
              "locked",
              "use_for_both",
              "is_managed",
              "buy_site_id"
            ],
            "example": "status",
            "type": "string"
          },
          "op": {
            "enum": [
              "<",
              ">",
              "gt",
              "lt",
              "=",
              "gte",
              "ge",
              ">=",
              "geq",
              "lte",
              "leq",
              "le",
              "<=",
              "in",
              "not_in",
              null,
              "is_not_null",
              "like",
              "has",
              "any",
              "starts_with",
              "ends_with",
              "not_like",
              "exists",
              "between"
            ],
            "example": "<",
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "value_list": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "value_type": {
            "enum": [
              "string",
              "datetime",
              "integer",
              "float",
              "list",
              "list_int"
            ],
            "example": "string",
            "type": "string"
          }
        },
        "required": [
          "name",
          "op",
          "value_type"
        ],
        "type": "object"
      },
      "AutoOrderBuyAccountListSchema": {
        "properties": {
          "condition": {
            "enum": [
              "and",
              "or"
            ],
            "example": "and",
            "type": "string"
          },
          "filters": {
            "items": {
              "$ref": "#/components/schemas/AutoOrderBuyAccountFilterSchema"
            },
            "type": "array"
          },
          "limit": {
            "type": "integer"
          },
          "offset": {
            "type": "integer"
          },
          "order_by": {
            "$ref": "#/components/schemas/AutoOrderBuyAccountOrderBySchema"
          }
        },
        "type": "object"
      },
      "AutoOrderBuyAccountOrderBySchema": {
        "properties": {
          "direction": {
            "enum": [
              "asc",
              "desc"
            ],
            "example": "asc",
            "type": "string"
          },
          "name": {
            "enum": [
              "status",
              "gift_card_balance",
              "pending_orders_limit",
              "daily_limit_amount",
              "remaining_daily_limit",
              "remaining_orders_to_send"
            ],
            "example": "status",
            "type": "string"
          }
        },
        "required": [
          "direction",
          "name"
        ],
        "type": "object"
      },
      "AutoOrderBuyAccountView": {
        "properties": {
          "account_address": {
            "example": "address line 1, New York, NY, 3323, US",
            "type": "string"
          },
          "account_error_reason": {
            "example": "locked for login",
            "type": "string"
          },
          "ao_payment_method": {
            "example": "CREDIT_CARD",
            "type": "string"
          },
          "buy_site_id": {
            "example": "Amazon",
            "type": "string"
          },
          "created_date": {
            "example": "2023-09-22 06:21:51",
            "type": "string"
          },
          "daily_limit_amount": {
            "example": 100,
            "type": "integer"
          },
          "daily_orders_limit": {
            "example": 99,
            "type": "integer"
          },
          "email": {
            "example": "hello@example.com",
            "type": "string"
          },
          "full_name": {
            "example": "Albert Einstein",
            "type": "string"
          },
          "gift_card_balance": {
            "example": 23.33,
            "type": "number"
          },
          "gmail_credentials": {
            "example": "efer_ertser_test",
            "type": "string"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "is_managed": {
            "example": true,
            "type": "boolean"
          },
          "is_order_process": {
            "example": false,
            "type": "boolean"
          },
          "last_date_used": {
            "example": "2023-09-22 06:21:51",
            "type": "string"
          },
          "last_gift_balance_check": {
            "example": "2023-09-22 06:21:51",
            "type": "string"
          },
          "last_lock_date": {
            "example": "2023-09-22 06:21:51",
            "type": "string"
          },
          "last_payment_revise_time": {
            "example": "2023-09-22 06:21:51",
            "type": "string"
          },
          "last_scan_order_id": {
            "example": "123-23232",
            "type": "string"
          },
          "last_tracking_number_check": {
            "example": "2023-09-22 06:21:51",
            "type": "string"
          },
          "locked": {
            "example": false,
            "type": "boolean"
          },
          "multilogin_profile_id": {
            "example": "xdfewer",
            "type": "string"
          },
          "order_max_price": {
            "example": 50,
            "type": "integer"
          },
          "order_min_price": {
            "example": 30,
            "type": "integer"
          },
          "orders_scan": {
            "example": true,
            "type": "boolean"
          },
          "otp_code": {
            "example": "223412",
            "type": "string"
          },
          "password": {
            "example": "pass123",
            "type": "string"
          },
          "pending_orders_limit": {
            "example": 25,
            "type": "integer"
          },
          "phone_number": {
            "example": "99999111222",
            "type": "string"
          },
          "proxy_id": {
            "example": 129,
            "type": "integer"
          },
          "region": {
            "example": 4,
            "type": "integer"
          },
          "remaining_daily_limit": {
            "example": 99,
            "type": "integer"
          },
          "remaining_orders_to_send": {
            "example": 99,
            "type": "integer"
          },
          "selenium_last_tracking_number_check": {
            "example": "2023-09-22 06:21:51",
            "type": "string"
          },
          "status": {
            "example": "Active",
            "type": "string"
          },
          "supplier": {
            "example": 23,
            "type": "integer"
          },
          "task_id": {
            "example": "ufsdr-erw-were",
            "type": "string"
          },
          "updated_date": {
            "example": "2023-09-22 06:21:51",
            "type": "string"
          },
          "use_for_ao": {
            "example": true,
            "type": "boolean"
          },
          "use_for_tracking": {
            "example": true,
            "type": "boolean"
          },
          "user_id": {
            "example": 4323,
            "type": "integer"
          },
          "user_system": {
            "example": "AUTODSV2",
            "type": "string"
          },
          "validate_prime": {
            "example": true,
            "type": "boolean"
          },
          "verefication_code": {
            "example": "XNPE L4AI RYMI P6WR PAD2 CMQD 5MKT OEFK 4JWA IKWY X2OJ 7OG2 W2DD",
            "type": "string"
          },
          "zip_code": {
            "example": "43209",
            "type": "string"
          }
        },
        "type": "object"
      },
      "FBAPlan": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "example": 1
          },
          "name": {
            "type": "string",
            "example": "$50"
          },
          "amount_paid": {
            "type": "number",
            "format": "float",
            "example": 50.0
          },
          "amount_fba": {
            "type": "number",
            "format": "float",
            "example": 50.0
          },
          "ao_credits": {
            "type": "number",
            "format": "float",
            "example": 0.0
          },
          "one_time_offer": {
            "type": "boolean",
            "example": false
          },
          "status": {
            "type": "boolean",
            "example": true
          },
          "show_order_idx": {
            "type": "integer",
            "example": 2
          },
          "created_date": {
            "type": "string",
            "format": "date-time",
            "example": "2025-08-28T23:27:27+00:00"
          },
          "updated_date": {
            "type": "string",
            "format": "date-time",
            "example": "2025-08-28T23:27:27+00:00"
          }
        }
      },
      "TransactionModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "example": 9213
          },
          "user_id": {
            "type": "integer",
            "format": "int64",
            "example": 127
          },
          "note": {
            "type": "string",
            "nullable": true,
            "example": "Manual adjustment"
          },
          "amount": {
            "type": "number",
            "format": "float",
            "nullable": true,
            "example": 15.75
          },
          "status": {
            "type": "string",
            "description": "TransactionStatus enum value (serialized as string).",
            "example": "success"
          },
          "created_date": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2025-11-05T12:30:45Z"
          },
          "previous_balance": {
            "type": "number",
            "format": "float",
            "nullable": true,
            "example": 120.0
          },
          "transaction_id": {
            "type": "string",
            "nullable": true,
            "example": "TXN-3F92A1"
          },
          "order_id": {
            "type": "integer",
            "format": "int64",
            "nullable": true,
            "example": 558201
          },
          "sell_site_order_id": {
            "type": "string",
            "nullable": true,
            "example": "EB-123-999"
          },
          "buy_site_order_id": {
            "type": "string",
            "nullable": true,
            "example": "AMZ-PO-77"
          }
        }
      },
      "TransactionFilterArgs": {
        "type": "object",
        "properties": {
          "search_value": {
            "type": "string",
            "nullable": true,
            "example": "TXN-3F9"
          },
          "sell_site_order_id": {
            "type": "string",
            "nullable": true,
            "example": "EB-123-999"
          },
          "buy_site_order_id": {
            "type": "string",
            "nullable": true,
            "example": "AMZ-PO-77"
          },
          "transaction_id": {
            "type": "string",
            "nullable": true,
            "example": "TXN-3F92A1"
          },
          "status": {
            "type": "string",
            "nullable": true,
            "description": "Single TransactionStatus enum value.",
            "example": "success"
          },
          "statuses": {
            "type": "array",
            "nullable": true,
            "description": "Multiple TransactionStatus enum values.",
            "items": {
              "type": "string"
            },
            "example": [
              "success",
              "pending"
            ]
          },
          "created_date_lte": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2025-11-06T23:59:59Z"
          },
          "created_date_gte": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2025-11-01T00:00:00Z"
          },
          "limit": {
            "type": "integer",
            "format": "int64",
            "nullable": true,
            "example": 50
          },
          "offset": {
            "type": "integer",
            "format": "int64",
            "nullable": true,
            "example": 0
          }
        }
      },
      "ManagedInvoiceRequestModel": {
        "type": "object",
        "required": [
          "order_created_date_gte",
          "order_created_date_lte"
        ],
        "properties": {
          "order_created_date_gte": {
            "type": "string",
            "format": "date-time",
            "example": "2025-11-01T00:00:00Z"
          },
          "order_created_date_lte": {
            "type": "string",
            "format": "date-time",
            "example": "2025-11-06T23:59:59Z"
          },
          "user_name": {
            "type": "string",
            "nullable": true,
            "example": "Test Test"
          },
          "street": {
            "type": "string",
            "nullable": true,
            "example": "123 MG Road"
          },
          "city": {
            "type": "string",
            "nullable": true,
            "example": "Hyderabad"
          },
          "zipcode": {
            "type": "string",
            "nullable": true,
            "example": "500001"
          },
          "extra_info": {
            "type": "string",
            "nullable": true,
            "example": "Please include GST details"
          }
        }
      },
      "ManagedInvoiceRequestV3": {
        "type": "object",
        "required": [
          "order_created_date_gte",
          "order_created_date_lte"
        ],
        "properties": {
          "order_created_date_gte": {
            "type": "string",
            "format": "date-time",
            "example": "2025-11-01T00:00:00Z"
          },
          "order_created_date_lte": {
            "type": "string",
            "format": "date-time",
            "example": "2025-11-06T23:59:59Z"
          },
          "store_ids": {
            "nullable": true,
            "description": "Store IDs as an array, a comma-separated string, or \"ALL\" for all stores.",
            "anyOf": [
              {
                "type": "string",
                "example": "10,20"
              },
              {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "example": [
                  10,
                  20
                ]
              }
            ]
          },
          "user_name": {
            "type": "string",
            "nullable": true,
            "example": "Test Test"
          },
          "street": {
            "type": "string",
            "nullable": true,
            "example": "123 MG Road"
          },
          "city": {
            "type": "string",
            "nullable": true,
            "example": "Hyderabad"
          },
          "zipcode": {
            "type": "string",
            "nullable": true,
            "example": "500001"
          },
          "extra_info": {
            "type": "string",
            "nullable": true,
            "example": "Please include GST details"
          }
        }
      },
      "ManagedInvoiceResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "example": "success"
          },
          "download_link": {
            "type": "string",
            "example": "https://signed-s3-link.example.com/invoice.pdf"
          }
        }
      },
      "BillingAccountTypeEnum": {
        "type": "string",
        "enum": [
          "paypal",
          "paypal_masspayment",
          "payoneer",
          "payoneer_manual",
          "wire_transfer",
          "credit_card",
          "stripe"
        ],
        "example": "credit_card"
      },
      "BillingStatusName": {
        "type": "string",
        "enum": [
          "active",
          "disabled",
          "error",
          "deleted"
        ],
        "example": "active"
      },
      "UserBillingModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "example": 4102
          },
          "account_name": {
            "type": "string",
            "nullable": true,
            "example": "Primary Visa"
          },
          "subscription_id": {
            "type": "string",
            "nullable": true,
            "example": "sub_1Q23abc"
          },
          "status": {
            "$ref": "#/components/schemas/BillingStatusName"
          },
          "created_date": {
            "type": "string",
            "format": "date-time",
            "example": "2025-08-28T23:27:27+00:00"
          },
          "updated_date": {
            "type": "string",
            "format": "date-time",
            "example": "2025-11-06T10:14:03+00:00"
          },
          "first_name": {
            "type": "string",
            "nullable": true,
            "example": "Test"
          },
          "last_name": {
            "type": "string",
            "nullable": true,
            "example": "Test"
          },
          "full_name": {
            "type": "string",
            "nullable": true,
            "example": "Test Test"
          },
          "user_id": {
            "type": "integer",
            "format": "int64",
            "example": 127
          },
          "account_type": {
            "$ref": "#/components/schemas/BillingAccountTypeEnum"
          },
          "cc_last_4": {
            "type": "string",
            "nullable": true,
            "example": "4242"
          },
          "cc_type": {
            "type": "string",
            "nullable": true,
            "example": "Credit Card"
          },
          "cc_exp": {
            "type": "string",
            "nullable": true,
            "example": "12/27"
          }
        }
      },
      "UserBillingsListResponse": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/UserBillingModel"
        }
      },
      "UserBillingRequestModel": {
        "type": "object",
        "required": [
          "first_name",
          "last_name",
          "email",
          "account_type"
        ],
        "properties": {
          "first_name": {
            "type": "string",
            "example": "Test"
          },
          "last_name": {
            "type": "string",
            "example": "Test"
          },
          "email": {
            "type": "string",
            "format": "email",
            "example": "Test@example.com"
          },
          "account_type": {
            "$ref": "#/components/schemas/BillingAccountTypeEnum"
          },
          "account_name": {
            "type": "string",
            "nullable": true,
            "example": "Primary Visa"
          },
          "phone_number": {
            "type": "string",
            "nullable": true,
            "example": "+91-90000-00000"
          },
          "cc_last_4": {
            "type": "string",
            "nullable": true,
            "example": "4242"
          },
          "cc_exp": {
            "type": "string",
            "nullable": true,
            "example": "12/27"
          },
          "cc_type": {
            "type": "string",
            "nullable": true,
            "example": "Credit Card"
          },
          "cc_name": {
            "type": "string",
            "nullable": true,
            "example": "Primary Visa"
          },
          "bluesnap_token": {
            "type": "string",
            "nullable": true,
            "example": "BT-xyz"
          }
        }
      },
      "UpdateUserBillingModel": {
        "type": "object",
        "required": [
          "billing_id"
        ],
        "properties": {
          "billing_id": {
            "type": "integer",
            "format": "int64",
            "example": 4102
          },
          "invoice_id": {
            "type": "string",
            "nullable": true,
            "example": "INV-20251106-001"
          },
          "paypal_transaction_id": {
            "type": "string",
            "nullable": true,
            "example": "PAYID-MYTRX123"
          },
          "code": {
            "type": "string",
            "nullable": true,
            "example": "123456"
          }
        }
      },
      "OrderSearchResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "example": 232
          },
          "store_id": {
            "type": "integer",
            "example": 6120
          },
          "user_profile_id": {
            "type": "integer",
            "example": 285033
          },
          "sell_site_order_id": {
            "type": "string",
            "example": "6744644157750_16776874000694"
          },
          "buyer_username": {
            "type": "string",
            "nullable": true,
            "example": null
          },
          "sell_site_order_name": {
            "type": "string",
            "example": "#1001-52487919239478"
          },
          "sell_item_id": {
            "type": "string",
            "example": "10293622505782"
          },
          "buy_item_real_id": {
            "type": "string",
            "example": "BAXWE342VD"
          },
          "buy_site_order_id": {
            "type": "string",
            "nullable": true,
            "example": "112-3232142-323212"
          },
          "first_name": {
            "type": "string",
            "example": "Abc"
          },
          "last_name": {
            "type": "string",
            "example": "Xyz"
          },
          "product_title": {
            "type": "string",
            "example": "Casio Vintage A-158WA-1Q Digital Watch"
          }
        }
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "example": "error"
          },
          "message": {
            "type": "string",
            "example": "Invalid sort order provided"
          }
        }
      },
      "AutoOrderCardCreate": {
        "properties": {
          "address1": {
            "example": "HN. Nvd YY",
            "type": "string"
          },
          "address2": {
            "example": "this is address2",
            "type": "string"
          },
          "card_num": {
            "example": "4561456145614561",
            "type": "string"
          },
          "cc_source": {
            "example": "master card",
            "type": "string"
          },
          "city": {
            "example": "New York",
            "type": "string"
          },
          "country": {
            "example": "United States",
            "type": "string"
          },
          "cvv": {
            "example": "543",
            "type": "string"
          },
          "exp_month": {
            "example": 1,
            "type": "integer"
          },
          "exp_year": {
            "example": 2030,
            "type": "integer"
          },
          "first_name": {
            "description": "Test",
            "type": "string"
          },
          "last_name": {
            "example": "TestLast",
            "type": "string"
          },
          "phone_number": {
            "example": "99999999",
            "type": "string"
          },
          "state": {
            "example": "co",
            "type": "string"
          },
          "use_for_ao": {
            "example": true,
            "type": "boolean"
          },
          "zip_code": {
            "example": "44332",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AutoOrderCardView": {
        "properties": {
          "address1": {
            "example": "HN. Nvd YY",
            "type": "string"
          },
          "address2": {
            "example": "this is address2",
            "type": "string"
          },
          "buy_account_id": {
            "example": 123,
            "type": "integer"
          },
          "card_num_enc": {
            "example": "ZaHv7ErjM6maz3vUwGgYuyPaW5h6BXVzdUYvg",
            "type": "string"
          },
          "cc_source": {
            "example": "master card",
            "type": "string"
          },
          "city": {
            "example": "New York",
            "type": "string"
          },
          "country": {
            "example": "United States",
            "type": "string"
          },
          "cvv": {
            "example": "543",
            "type": "string"
          },
          "exp_month": {
            "example": 1,
            "type": "integer"
          },
          "exp_year": {
            "example": 2030,
            "type": "integer"
          },
          "first_name": {
            "description": "Test",
            "type": "string"
          },
          "id": {
            "example": 10,
            "format": "int64",
            "type": "integer"
          },
          "last_four_numbers": {
            "example": "4561",
            "type": "string"
          },
          "last_name": {
            "example": "TestLast",
            "type": "string"
          },
          "phone_number": {
            "example": "99999999",
            "type": "string"
          },
          "state": {
            "example": "co",
            "type": "string"
          },
          "use_for_ao": {
            "example": true,
            "type": "boolean"
          },
          "zip_code": {
            "example": "44332",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AutoOrderUserSchema": {
        "properties": {
          "auto_order_credits": {
            "example": 110,
            "type": "number"
          },
          "created_date": {
            "example": "2023-09-22 06:21:51",
            "type": "string"
          },
          "email": {
            "example": "test@example.com",
            "type": "string"
          },
          "full_name": {
            "example": "my name",
            "type": "string"
          },
          "id": {
            "example": 11,
            "type": "number"
          },
          "last_time_orders_manager_run": {
            "example": "2023-09-22 06:21:51",
            "type": "string"
          },
          "managed_orders_balance": {
            "example": 304.44,
            "type": "number"
          },
          "status": {
            "example": "Active",
            "type": "string"
          },
          "user_id": {
            "example": 34,
            "type": "number"
          },
          "user_system_id": {
            "example": 2,
            "type": "number"
          }
        },
        "type": "object"
      },
      "AutoOrderUserSettingsUpdateSchema": {
        "properties": {
          "managed_auto_add_amount": {
            "example": 100,
            "type": "number"
          },
          "managed_auto_payment": {
            "example": true,
            "type": "boolean"
          },
          "managed_limit_amount": {
            "example": 22.0,
            "type": "number"
          },
          "notification_email_address": {
            "example": "hello@example.com",
            "type": "string"
          },
          "notification_when_new_order": {
            "example": true,
            "type": "boolean"
          },
          "notification_when_order_failed": {
            "example": true,
            "type": "boolean"
          },
          "notification_when_ordered": {
            "example": true,
            "type": "boolean"
          },
          "notification_when_tracking": {
            "example": true,
            "type": "boolean"
          },
          "user_billing_id": {
            "example": 123,
            "type": "number"
          },
          "user_system": {
            "example": "AUTODSV2",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AutoOrderUserSettingsView": {
        "properties": {
          "allow_credit_card": {
            "example": true,
            "type": "boolean"
          },
          "id": {
            "example": 6,
            "type": "integer"
          },
          "managed_auto_add_amount": {
            "example": 100,
            "type": "number"
          },
          "managed_auto_payment": {
            "example": true,
            "type": "boolean"
          },
          "managed_limit_amount": {
            "example": 22.0,
            "type": "number"
          },
          "notification_email_address": {
            "example": "hello@example.com",
            "type": "string"
          },
          "notification_when_new_order": {
            "example": true,
            "type": "boolean"
          },
          "notification_when_order_failed": {
            "example": true,
            "type": "boolean"
          },
          "notification_when_ordered": {
            "example": true,
            "type": "boolean"
          },
          "notification_when_tracking": {
            "example": true,
            "type": "boolean"
          },
          "user_billing_id": {
            "example": "test@autds",
            "type": "string"
          },
          "user_json": {
            "$ref": "#/components/schemas/AutoOrderUserSchema"
          },
          "user_profile_id": {
            "example": 62,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "AutoOrderUserStateModel": {
        "type": "object",
        "properties": {
          "eligible_for_fba_bundle_offer": {
            "type": "boolean",
            "description": "Must be false if provided."
          }
        },
        "required": []
      },
      "AutoOrderUserStateView": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "example": 273762
          },
          "user_profile_id": {
            "type": "integer",
            "example": 286650
          },
          "order_count": {
            "type": "integer",
            "example": 0
          },
          "return_order_count": {
            "type": "integer",
            "example": 0
          },
          "update_time": {
            "type": "string",
            "format": "date-time",
            "example": "2025-08-03T10:03:55"
          },
          "return_perc": {
            "type": "number",
            "format": "float",
            "example": 5.0
          },
          "calc_end_time": {
            "type": "string",
            "format": "date-time",
            "example": "2025-06-24T10:03:55"
          },
          "first_order_ui_loaded": {
            "type": "boolean",
            "example": false
          },
          "eligible_for_fba_bundle_offer": {
            "type": "boolean",
            "example": false
          },
          "new_fba_user": {
            "type": "boolean",
            "example": true
          }
        }
      },
      "AutoOrderSchema": {
        "properties": {
          "id": {
            "type": "integer"
          },
          "buy_site_order_id": {
            "type": "string"
          },
          "sell_site_order_id": {
            "type": "string"
          },
          "buy_account_id": {
            "type": "integer"
          },
          "sold_date": {
            "type": "string",
            "format": "date-time"
          },
          "sell_site": {
            "type": "integer"
          },
          "profit": {
            "type": "number",
            "format": "float"
          },
          "task_id": {
            "type": "string"
          },
          "order_sent_date": {
            "type": "string",
            "format": "date-time"
          },
          "updated_time": {
            "type": "string",
            "format": "date-time"
          },
          "request_id": {
            "type": "string"
          },
          "first_prime": {
            "type": "boolean"
          },
          "first_cheapest": {
            "type": "boolean"
          },
          "gift_message": {
            "type": "string"
          },
          "gift_message_subject": {
            "type": "string"
          },
          "suggested_buy_price": {
            "type": "number",
            "format": "float"
          },
          "maximum_ship_days": {
            "type": "integer"
          },
          "is_bundle": {
            "type": "boolean"
          },
          "product_title": {
            "type": "string"
          },
          "product_picture_url": {
            "type": "string"
          },
          "store_id": {
            "type": "integer"
          },
          "sell_variant_id": {
            "type": "string"
          },
          "supplier": {
            "type": "integer"
          },
          "region": {
            "type": "integer"
          },
          "buy_item_url": {
            "type": "string",
            "format": "date-time"
          },
          "estimated_arrival": {
            "type": "string",
            "format": "date-time"
          },
          "force_order": {
            "type": "boolean"
          },
          "days_awaiting_shipment": {
            "type": "integer"
          },
          "buyer_username": {
            "type": "string"
          },
          "sale_record_id": {
            "type": "string"
          },
          "order_from_webhook": {
            "type": "boolean"
          },
          "managed_note": {
            "type": "string"
          },
          "currency": {
            "type": "integer"
          },
          "autods_product_id": {
            "type": "string"
          },
          "listing_fee": {
            "type": "number",
            "format": "float"
          }
        },
        "type": "object"
      },
      "AffiliaterUserRegisterRequest": {
        "properties": {
          "username": {
            "type": "string",
            "title": "Username"
          },
          "email": {
            "type": "string",
            "title": "Email"
          },
          "source": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Source"
              }
            ],
            "default": 1
          },
          "cognito_username": {
            "type": "string",
            "title": "Cognito Username"
          }
        },
        "type": "object",
        "title": "AffiliaterUserRegisterRequest"
      },
      "AffiliaterUpdateUserRequest": {
        "properties": {
          "email": {
            "type": "string",
            "title": "Email"
          },
          "phone_number": {
            "type": "string",
            "title": "Phone Number"
          }
        },
        "type": "object",
        "title": "AffiliaterUpdateUserRequest"
      },
      "AffiliaterUserResponse": {
        "properties": {
          "id": {
            "type": "integer",
            "title": "Id"
          },
          "email": {
            "type": "string",
            "title": "Email"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "status": {
            "$ref": "#/components/schemas/UserStatus"
          },
          "type": {
            "$ref": "#/components/schemas/UserType"
          },
          "language": {
            "$ref": "#/components/schemas/autods_models__autodsapi__user__enum__Language"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "created_date": {
            "type": "string",
            "format": "date-time",
            "title": "Created Date"
          },
          "cognito_username": {
            "type": "string",
            "title": "Cognito Username"
          }
        },
        "type": "object",
        "required": [
          "id",
          "email",
          "name",
          "status",
          "type",
          "language",
          "source",
          "created_date"
        ],
        "title": "AffiliaterUserResponse"
      },
      "CheckEmailRequest": {
        "properties": {
          "email": {
            "type": "string",
            "title": "Email"
          }
        },
        "type": "object",
        "required": [
          "email"
        ],
        "title": "CheckEmailRequest"
      },
      "CreateVirtualAssistantRequest": {
        "properties": {
          "name": {
            "type": "string",
            "title": "Name"
          },
          "email": {
            "type": "string",
            "title": "Email"
          },
          "password": {
            "type": "string",
            "title": "Password"
          },
          "all_stores_access": {
            "type": "boolean",
            "title": "All Stores Access"
          },
          "privileges": {
            "items": {},
            "type": "array",
            "title": "Privileges"
          },
          "parent_id": {
            "type": "integer",
            "title": "Parent Id"
          }
        },
        "type": "object",
        "required": [
          "name",
          "email",
          "password",
          "all_stores_access",
          "privileges"
        ],
        "title": "CreateVirtualAssistantRequest"
      },
      "DropshipperConfirmUserRequest": {
        "properties": {
          "email": {
            "type": "string",
            "title": "Email"
          }
        },
        "type": "object",
        "required": [
          "email"
        ],
        "title": "DropshipperConfirmUserRequest"
      },
      "DropshipperUpdateUserRequest": {
        "properties": {
          "email": {
            "type": "string",
            "title": "Email"
          },
          "phone_number": {
            "type": "string",
            "title": "Phone Number"
          }
        },
        "type": "object",
        "title": "DropshipperUpdateUserRequest"
      },
      "DropshipperUserRegisterRequest": {
        "properties": {
          "username": {
            "type": "string",
            "title": "Username"
          },
          "email": {
            "type": "string",
            "title": "Email"
          },
          "source": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Source"
              }
            ],
            "default": 1
          },
          "cognito_username": {
            "type": "string",
            "title": "Cognito Username"
          }
        },
        "type": "object",
        "title": "DropshipperUserRegisterRequest"
      },
      "DropshipperVerifyCognitoUserRequest": {
        "properties": {
          "code": {
            "type": "string",
            "title": "Code"
          }
        },
        "type": "object",
        "required": [
          "code"
        ],
        "title": "DropshipperVerifyCognitoUserRequest"
      },
      "EmailScheduling": {
        "type": "integer",
        "enum": [
          1,
          2,
          3,
          4
        ],
        "title": "EmailScheduling",
        "description": "An enumeration."
      },
      "DetailMessage": {
        "type": "object",
        "title": "DetailMessage",
        "description": "A refusal the service raised itself, rather than a field fault found while reading the body. The message is one sentence, written for the caller to show.\n",
        "required": [
          "detail"
        ],
        "properties": {
          "detail": {
            "type": "string",
            "example": "The filter matches more than 20 accounts. Narrow it, or select fewer accounts, and try again."
          }
        }
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "HealthCheckResponse": {
        "properties": {
          "time": {
            "type": "string",
            "format": "date-time",
            "title": "Time"
          }
        },
        "type": "object",
        "required": [
          "time"
        ],
        "title": "HealthCheckResponse"
      },
      "PaginatedResponseSchema_VirtualAssistantResponse_": {
        "properties": {
          "count": {
            "type": "integer",
            "title": "Count"
          },
          "page": {
            "type": "integer",
            "title": "Page"
          },
          "per_page": {
            "type": "integer",
            "title": "Per Page"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/VirtualAssistantResponse"
            },
            "type": "array",
            "title": "Results"
          }
        },
        "type": "object",
        "required": [
          "count",
          "page",
          "per_page",
          "results"
        ],
        "title": "PaginatedResponseSchema[VirtualAssistantResponse]",
        "description": "Response schema for any paged API."
      },
      "Source": {
        "type": "integer",
        "enum": [
          1,
          2,
          3,
          4
        ],
        "title": "Source",
        "description": "An enumeration."
      },
      "UpdateVirtualAssistantRequest": {
        "properties": {
          "email": {
            "type": "string",
            "format": "email",
            "title": "Email"
          },
          "name": {
            "type": "string",
            "maxLength": 250,
            "title": "Name"
          },
          "country": {
            "type": "string",
            "maxLength": 80,
            "title": "Country"
          },
          "hubspot_contact_id": {
            "type": "string",
            "maxLength": 250,
            "title": "Hubspot Contact Id"
          },
          "language": {
            "$ref": "#/components/schemas/autods_models__autodsapi__enums__common__Language"
          },
          "status": {
            "$ref": "#/components/schemas/UserStatus"
          },
          "parent_user_id": {
            "type": "integer",
            "title": "Parent User Id"
          },
          "all_stores_access": {
            "type": "boolean",
            "title": "All Stores Access",
            "default": false
          },
          "privileges": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Privileges"
          }
        },
        "type": "object",
        "title": "UpdateVirtualAssistantRequest"
      },
      "UserNotificationSettingsRequest": {
        "properties": {
          "email_scheduling": {
            "$ref": "#/components/schemas/EmailScheduling"
          },
          "email_notification": {
            "type": "string",
            "title": "Email Notification"
          },
          "price_monitoring_notification": {
            "type": "boolean",
            "title": "Price Monitoring Notification"
          },
          "stock_monitoring_notification": {
            "type": "boolean",
            "title": "Stock Monitoring Notification"
          },
          "mobile_firebase_token": {
            "type": "string",
            "title": "Mobile Firebase Token"
          },
          "email_notification_enabled": {
            "type": "boolean",
            "title": "Email Notification Enabled"
          },
          "mobile_push_enabled": {
            "type": "boolean",
            "title": "Mobile Push Enabled"
          }
        },
        "type": "object",
        "required": [
          "email_scheduling",
          "email_notification",
          "price_monitoring_notification",
          "stock_monitoring_notification",
          "email_notification_enabled",
          "mobile_push_enabled"
        ],
        "title": "UserNotificationSettingsRequest"
      },
      "UserStatus": {
        "type": "integer",
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "title": "UserStatus",
        "description": "An enumeration."
      },
      "UserType": {
        "type": "integer",
        "enum": [
          1,
          2,
          3,
          4
        ],
        "title": "UserType",
        "description": "An enumeration."
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "VirtualAssistantResponse": {
        "properties": {
          "id": {
            "type": "integer",
            "title": "Id"
          },
          "email": {
            "type": "string",
            "title": "Email"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "cognito_username": {
            "type": "string",
            "title": "Cognito Username"
          },
          "phone_number": {
            "type": "string",
            "title": "Phone Number"
          },
          "address": {
            "type": "string",
            "maxLength": 1500,
            "title": "Address"
          },
          "country": {
            "type": "string",
            "title": "Country"
          },
          "hubspot_contact_id": {
            "type": "string",
            "title": "Hubspot Contact Id"
          },
          "language": {
            "$ref": "#/components/schemas/autods_models__autodsapi__enums__common__Language"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "$ref": "#/components/schemas/UserStatus"
          },
          "type": {
            "$ref": "#/components/schemas/UserType"
          },
          "created_date": {
            "type": "string",
            "format": "date-time",
            "title": "Created Date"
          },
          "last_login_date": {
            "type": "string",
            "format": "date-time",
            "title": "Last Login Date"
          },
          "status_change_date": {
            "type": "string",
            "format": "date-time",
            "title": "Status Change Date"
          },
          "parent_user_id": {
            "type": "integer",
            "title": "Parent User Id"
          },
          "all_stores_access": {
            "type": "boolean",
            "title": "All Stores Access"
          },
          "privileges": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Privileges"
          }
        },
        "type": "object",
        "required": [
          "id",
          "email",
          "name",
          "language",
          "source",
          "status",
          "type",
          "created_date",
          "all_stores_access"
        ],
        "title": "VirtualAssistantResponse"
      },
      "autods_models__autodsapi__enums__common__Language": {
        "type": "integer",
        "enum": [
          1,
          2,
          3
        ],
        "title": "Language",
        "description": "An enumeration."
      },
      "autods_models__autodsapi__user__enum__Language": {
        "type": "integer",
        "enum": [
          1,
          2,
          3
        ],
        "title": "Language",
        "description": "An enumeration."
      },
      "MPDesignType": {
        "title": "DesignType",
        "enum": [
          "auto",
          "corel"
        ],
        "type": "string",
        "description": "An enumeration."
      },
      "MPRegionCodes": {
        "title": "RegionCodes",
        "enum": [
          "US",
          "AU",
          "CA",
          "DE",
          "ES",
          "FR",
          "IT",
          "UK",
          "BR",
          "ALL"
        ],
        "description": "Ship to"
      },
      "MPValidationError": {
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "type": "object",
        "properties": {
          "loc": {
            "title": "Location",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            }
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        }
      },
      "MPReview": {
        "title": "Review",
        "required": [
          "region",
          "id_on_site",
          "username",
          "body",
          "rating",
          "date"
        ],
        "type": "object",
        "properties": {
          "region": {
            "$ref": "#/components/schemas/MPRegionCodes"
          },
          "id_on_site": {
            "title": "Id On Site",
            "type": "string"
          },
          "username": {
            "title": "Username",
            "type": "string"
          },
          "body": {
            "title": "Body",
            "type": "string"
          },
          "rating": {
            "title": "Rating",
            "maximum": 5,
            "minimum": 1,
            "type": "number"
          },
          "date": {
            "title": "Date",
            "type": "string",
            "format": "date-time"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "tag": {
            "title": "Tag",
            "type": "string"
          }
        }
      },
      "MPHTTPValidationError": {
        "title": "HTTPValidationError",
        "type": "object",
        "properties": {
          "detail": {
            "title": "Detail",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MPValidationError"
            }
          }
        }
      },
      "MPProductReviewListResultsSchema": {
        "title": "ProductReviewListResultsSchema",
        "required": [
          "totalResults"
        ],
        "type": "object",
        "properties": {
          "totalResults": {
            "title": "Totalresults",
            "type": "integer"
          },
          "results": {
            "title": "Results",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MPReview"
            }
          }
        },
        "description": "Base model to auto create a camelCase alias.\nAlso allows population of Pydantic model via alias"
      },
      "MPPrintOnDemandTemplateCategoryResponse": {
        "title": "PrintOnDemandTemplateCategoryResponse",
        "required": [
          "id",
          "title"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "description": "Base model to auto create a camelCase alias.\nAlso allows population of Pydantic model via alias"
      },
      "MPPrintOnDemandTemplateAvailableSizeSchema": {
        "title": "PrintOnDemandTemplateAvailableSizeSchema",
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "description": "Base model to auto create a camelCase alias.\nAlso allows population of Pydantic model via alias"
      },
      "MPPrintOnDemandTemplateAvailableColorSchema": {
        "title": "PrintOnDemandTemplateAvailableColorSchema",
        "required": [
          "id",
          "name",
          "hexCode"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "hexCode": {
            "title": "Hexcode",
            "type": "string"
          }
        },
        "description": "Base model to auto create a camelCase alias.\nAlso allows population of Pydantic model via alias"
      },
      "MPPrintOnDemandTemplateResponse": {
        "title": "PrintOnDemandTemplateResponse",
        "required": [
          "id",
          "burgerPrintId",
          "categoryId",
          "categoryTitle",
          "description",
          "image",
          "maxPrice",
          "minPrice",
          "maxShippingPrice",
          "minShippingPrice",
          "maxShippingDays",
          "minShippingDays",
          "title",
          "availableColors",
          "availableSizes",
          "designType"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "burgerPrintId": {
            "title": "Burgerprintid",
            "type": "string"
          },
          "categoryId": {
            "title": "Categoryid",
            "type": "string"
          },
          "categoryTitle": {
            "title": "Categorytitle",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "image": {
            "title": "Image",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          },
          "maxPrice": {
            "title": "Maxprice",
            "type": "number"
          },
          "minPrice": {
            "title": "Minprice",
            "type": "number"
          },
          "maxShippingPrice": {
            "title": "Maxshippingprice",
            "type": "number"
          },
          "minShippingPrice": {
            "title": "Minshippingprice",
            "type": "number"
          },
          "maxShippingDays": {
            "title": "Maxshippingdays",
            "type": "integer"
          },
          "minShippingDays": {
            "title": "Minshippingdays",
            "type": "integer"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "availableColors": {
            "title": "Availablecolors",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MPPrintOnDemandTemplateAvailableColorSchema"
            }
          },
          "availableSizes": {
            "title": "Availablesizes",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MPPrintOnDemandTemplateAvailableSizeSchema"
            }
          },
          "designType": {
            "$ref": "#/components/schemas/MPDesignType"
          },
          "designUrl": {
            "title": "Designurl",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          }
        },
        "description": "Base model to auto create a camelCase alias.\nAlso allows population of Pydantic model via alias"
      },
      "MPPrintOnDemandTemplateShortResponse": {
        "title": "PrintOnDemandTemplateShortResponse",
        "required": [
          "_id",
          "burgerPrintId",
          "title",
          "image",
          "maxPrice",
          "minPrice",
          "designType"
        ],
        "type": "object",
        "properties": {
          "_id": {
            "title": " Id",
            "type": "string"
          },
          "burgerPrintId": {
            "title": "Burgerprintid",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "image": {
            "title": "Image",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          },
          "maxPrice": {
            "title": "Maxprice",
            "type": "number"
          },
          "minPrice": {
            "title": "Minprice",
            "type": "number"
          },
          "designType": {
            "$ref": "#/components/schemas/MPDesignType"
          },
          "designUrl": {
            "title": "Designurl",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          }
        },
        "description": "Base model to auto create a camelCase alias.\nAlso allows population of Pydantic model via alias"
      },
      "MPPrintOnDemandRegion": {
        "title": "PrintOnDemandRegion",
        "enum": [
          "AW",
          "AF",
          "AO",
          "AI",
          "AX",
          "AL",
          "AD",
          "AE",
          "AR",
          "AM",
          "AS",
          "AQ",
          "TF",
          "AG",
          "AU",
          "AT",
          "AZ",
          "BI",
          "BE",
          "BJ",
          "BQ",
          "BF",
          "BD",
          "BG",
          "BH",
          "BS",
          "BA",
          "BL",
          "BY",
          "BZ",
          "BM",
          "BO",
          "BR",
          "BB",
          "BN",
          "BT",
          "BV",
          "BW",
          "CF",
          "CA",
          "CC",
          "CH",
          "CL",
          "CN",
          "CI",
          "CM",
          "CD",
          "CG",
          "CK",
          "CO",
          "KM",
          "CV",
          "CR",
          "CU",
          "CW",
          "CX",
          "KY",
          "CY",
          "CZ",
          "DE",
          "DJ",
          "DM",
          "DK",
          "DO",
          "DZ",
          "EC",
          "EG",
          "ER",
          "EH",
          "ES",
          "EE",
          "ET",
          "FI",
          "FJ",
          "FK",
          "FR",
          "FO",
          "FM",
          "GA",
          "GB",
          "GE",
          "GG",
          "GH",
          "GI",
          "GN",
          "GP",
          "GM",
          "GW",
          "GQ",
          "GR",
          "GD",
          "GL",
          "GT",
          "GF",
          "GU",
          "GY",
          "HK",
          "HM",
          "HN",
          "HR",
          "HT",
          "HU",
          "ID",
          "IM",
          "IN",
          "IO",
          "IE",
          "IR",
          "IQ",
          "IS",
          "IL",
          "IT",
          "JM",
          "JE",
          "JO",
          "JP",
          "KZ",
          "KE",
          "KG",
          "KH",
          "KI",
          "KN",
          "KR",
          "KW",
          "LA",
          "LB",
          "LR",
          "LY",
          "LC",
          "LI",
          "LK",
          "LS",
          "LT",
          "LU",
          "LV",
          "MO",
          "MF",
          "MA",
          "MC",
          "MD",
          "MG",
          "MV",
          "MX",
          "MH",
          "MK",
          "ML",
          "MT",
          "MM",
          "ME",
          "MN",
          "MP",
          "MZ",
          "MR",
          "MS",
          "MQ",
          "MU",
          "MW",
          "MY",
          "YT",
          "NA",
          "NC",
          "NE",
          "NF",
          "NG",
          "NI",
          "NU",
          "NL",
          "NO",
          "NP",
          "NR",
          "NZ",
          "OM",
          "PK",
          "PA",
          "PN",
          "PE",
          "PH",
          "PW",
          "PG",
          "PL",
          "PR",
          "KP",
          "PT",
          "PY",
          "PS",
          "PF",
          "QA",
          "RE",
          "RO",
          "RU",
          "RW",
          "SA",
          "SD",
          "SN",
          "SG",
          "GS",
          "SH",
          "SJ",
          "SB",
          "SL",
          "SV",
          "SM",
          "SO",
          "PM",
          "RS",
          "SS",
          "ST",
          "SR",
          "SK",
          "SI",
          "SE",
          "SZ",
          "SX",
          "SC",
          "SY",
          "TC",
          "TD",
          "TG",
          "TH",
          "TJ",
          "TK",
          "TM",
          "TL",
          "TO",
          "TT",
          "TN",
          "TR",
          "TV",
          "TW",
          "TZ",
          "UG",
          "UA",
          "UM",
          "UY",
          "US",
          "UZ",
          "VA",
          "VC",
          "VE",
          "VG",
          "VI",
          "VN",
          "VU",
          "WF",
          "WS",
          "YE",
          "ZA",
          "ZM",
          "ZW"
        ],
        "description": "An enumeration."
      },
      "MPShippingOption": {
        "title": "ShippingOption",
        "required": [
          "minPrice",
          "maxPrice",
          "minDays",
          "maxDays",
          "shippingServiceId",
          "country"
        ],
        "type": "object",
        "properties": {
          "minPrice": {
            "title": "Minprice",
            "type": "number"
          },
          "maxPrice": {
            "title": "Maxprice",
            "type": "number"
          },
          "minDays": {
            "title": "Mindays",
            "type": "integer"
          },
          "maxDays": {
            "title": "Maxdays",
            "type": "integer"
          },
          "shippingServiceId": {
            "title": "Shippingserviceid",
            "type": "string"
          },
          "country": {
            "$ref": "#/components/schemas/MPPrintOnDemandRegion"
          }
        },
        "description": "Base model to auto create a camelCase alias.\nAlso allows population of Pydantic model via alias"
      },
      "MPWarehouseCodes": {
        "title": "WarehouseCodes",
        "enum": [
          "ALL",
          "US",
          "CN",
          "AU",
          "CA",
          "DE",
          "ES",
          "FR",
          "IT",
          "UK",
          "PL",
          "RU",
          "BE",
          "NL",
          "CZ",
          "TH"
        ],
        "description": "Ship from"
      },
      "MPSiteNames": {
        "title": "SiteNames",
        "enum": [
          "amazon",
          "shopify",
          "dhgate",
          "kmart",
          "aliexpress",
          "wish",
          "redbubble",
          "pureformulas",
          "alibaba",
          "walmart",
          "the home depot",
          "banggood",
          "shein",
          "costco",
          "costway",
          "macy's",
          "kohl's",
          "catch",
          "ebay",
          "temu",
          "cdiscount",
          "wayfair",
          "lowe's",
          "cjdropshipping"
        ],
        "description": "An enumeration."
      },
      "MPRecommendedProductSchema": {
        "title": "RecommendedProductSchema",
        "required": [
          "region",
          "idOnSite",
          "siteName",
          "url",
          "title",
          "imgUrl",
          "parentId",
          "autodsProductId"
        ],
        "type": "object",
        "properties": {
          "region": {
            "$ref": "#/components/schemas/MPRegionCodes"
          },
          "idOnSite": {
            "title": "Idonsite",
            "type": "string"
          },
          "siteName": {
            "$ref": "#/components/schemas/MPSiteNames"
          },
          "supplierName": {
            "title": "Suppliername",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "imgUrl": {
            "title": "Imgurl",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          },
          "price": {
            "title": "Price",
            "exclusiveMinimum": 0,
            "type": "number"
          },
          "msrpPrice": {
            "title": "Msrpprice",
            "exclusiveMinimum": 0,
            "type": "number"
          },
          "priceWarehouse": {
            "$ref": "#/components/schemas/MPWarehouseCodes"
          },
          "shippingTime": {
            "title": "Shippingtime",
            "minimum": 0,
            "type": "integer"
          },
          "createdAt": {
            "title": "Createdat",
            "type": "string",
            "format": "date-time",
            "default": "2024-01-26T11:52:50.292667"
          },
          "updatedAt": {
            "title": "Updatedat",
            "type": "string",
            "format": "date-time",
            "default": "2024-01-26T11:52:50.292670"
          },
          "parentId": {
            "title": "Parentid",
            "type": "string"
          },
          "autodsProductId": {
            "title": "Autodsproductid",
            "type": "string"
          },
          "_id": {
            "title": " Id",
            "type": "string"
          },
          "revisionId": {
            "title": "Revisionid",
            "type": "string",
            "format": "uuid"
          }
        },
        "description": "Document Mapping class.\n\nFields:\n\n- `id` - MongoDB document ObjectID \"_id\" field.\nMapped to the PydanticObjectId class\n\nInherited from:\n\n- Pydantic BaseModel\n- [UpdateMethods](https://roman-right.github.io/beanie/api/interfaces/#aggregatemethods)"
      },
      "MPRecommendedProductsListResultSchema": {
        "title": "RecommendedProductsListResultSchema",
        "required": [
          "totalResults"
        ],
        "type": "object",
        "properties": {
          "totalResults": {
            "title": "Totalresults",
            "type": "integer"
          },
          "results": {
            "title": "Results",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MPRecommendedProductSchema"
            }
          }
        },
        "description": "Base model to auto create a camelCase alias.\nAlso allows population of Pydantic model via alias"
      },
      "MPOrderFilter": {
        "title": "OrderFilter",
        "type": "object",
        "properties": {
          "name": {
            "title": "Name",
            "type": "string",
            "default": "created_at"
          },
          "direction": {
            "title": "Direction",
            "type": "string",
            "default": "desc"
          }
        }
      },
      "MPCustomFilter": {
        "title": "CustomFilter",
        "required": [
          "name",
          "value",
          "value_type",
          "op"
        ],
        "type": "object",
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          },
          "value": {
            "title": "Value",
            "type": "string"
          },
          "value_type": {
            "title": "Value Type",
            "type": "string"
          },
          "op": {
            "title": "Op",
            "type": "string"
          }
        }
      },
      "MPProductListFilter": {
        "title": "ProductListFilter",
        "required": [
          "projection",
          "order_by"
        ],
        "type": "object",
        "properties": {
          "limit": {
            "title": "Limit",
            "type": "integer",
            "default": 10
          },
          "offset": {
            "title": "Offset",
            "type": "integer",
            "default": 0
          },
          "condition": {
            "title": "Condition",
            "type": "string",
            "default": "and"
          },
          "region": {
            "title": "Region",
            "type": "string",
            "default": "US"
          },
          "available_regions": {
            "title": "Available Regions",
            "type": "string"
          },
          "projection": {
            "title": "Projection",
            "type": "object",
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                },
                {
                  "type": "object"
                }
              ]
            }
          },
          "order_by": {
            "$ref": "#/components/schemas/MPOrderFilter"
          },
          "filters": {
            "title": "Filters",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MPCustomFilter"
            }
          },
          "lookup": {
            "title": "Lookup"
          }
        }
      },
      "MarketplaceCategory": {
        "title": "MarketplaceCategory",
        "required": [
          "index",
          "name",
          "autods_category_id"
        ],
        "type": "object",
        "properties": {
          "index": {
            "title": "Index",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "autods_category_id": {
            "title": "Autods Category Id",
            "type": "string"
          }
        }
      },
      "PFVariationDetails": {
        "title": "PFVariationDetails",
        "required": [
          "warehouse",
          "in_stock",
          "in_stock_qty"
        ],
        "type": "object",
        "properties": {
          "warehouse": {
            "$ref": "#/components/schemas/MPWarehouseCodes"
          },
          "in_stock": {
            "title": "In Stock",
            "type": "boolean"
          },
          "in_stock_qty": {
            "title": "In Stock Qty",
            "minimum": 0,
            "type": "integer"
          },
          "price": {
            "title": "Price",
            "exclusiveMinimum": 0,
            "type": "number"
          },
          "msrp_price": {
            "title": "Msrp Price",
            "exclusiveMinimum": 0,
            "type": "number"
          },
          "min_shipping_time": {
            "title": "Min Shipping Time",
            "minimum": 0,
            "type": "integer"
          },
          "max_shipping_time": {
            "title": "Max Shipping Time",
            "minimum": 0,
            "type": "integer"
          },
          "min_shipping_cost": {
            "title": "Min Shipping Cost",
            "minimum": 0,
            "type": "number"
          },
          "max_shipping_cost": {
            "title": "Max Shipping Cost",
            "minimum": 0,
            "type": "number"
          }
        }
      },
      "TemporaryModifiedPFShippingItem": {
        "title": "TemporaryModifiedPFShippingItem",
        "type": "object",
        "properties": {
          "price": {
            "title": "Price",
            "minimum": 0,
            "type": "number"
          },
          "time": {
            "title": "Time",
            "minimum": 0,
            "type": "integer"
          },
          "tracking_number": {
            "title": "Tracking Number",
            "maximum": 1,
            "minimum": 0,
            "type": "integer",
            "default": 0
          },
          "tag": {
            "title": "Tag",
            "type": "string",
            "default": ""
          }
        }
      },
      "TemporaryModifiedPFShippingArray": {
        "title": "TemporaryModifiedPFShippingArray",
        "required": [
          "warehouse",
          "value"
        ],
        "type": "object",
        "properties": {
          "warehouse": {
            "$ref": "#/components/schemas/MPWarehouseCodes"
          },
          "value": {
            "title": "Value",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemporaryModifiedPFShippingItem"
            }
          }
        }
      },
      "TemporaryModifiedPFVariation": {
        "title": "TemporaryModifiedPFVariation",
        "required": [
          "id",
          "attributes"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "variation_details": {
            "title": "Variation Details",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PFVariationDetails"
            }
          },
          "shipping_array": {
            "title": "Shipping Array",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemporaryModifiedPFShippingArray"
            }
          },
          "attributes": {
            "title": "Attributes",
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "img_url": {
            "title": "Img Url",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          }
        }
      },
      "PFProductDetails": {
        "title": "PFProductDetails",
        "required": [
          "min_price",
          "max_price",
          "min_msrp_price",
          "max_msrp_price",
          "min_price_warehouse"
        ],
        "type": "object",
        "properties": {
          "min_price": {
            "title": "Min Price",
            "exclusiveMinimum": 0,
            "type": "number"
          },
          "max_price": {
            "title": "Max Price",
            "exclusiveMinimum": 0,
            "type": "number"
          },
          "min_msrp_price": {
            "title": "Min Msrp Price",
            "exclusiveMinimum": 0,
            "type": "number"
          },
          "max_msrp_price": {
            "title": "Max Msrp Price",
            "exclusiveMinimum": 0,
            "type": "number"
          },
          "min_price_warehouse": {
            "$ref": "#/components/schemas/MPWarehouseCodes"
          },
          "min_shipping_time": {
            "title": "Min Shipping Time",
            "minimum": 0,
            "type": "integer"
          },
          "max_shipping_time": {
            "title": "Max Shipping Time",
            "minimum": 0,
            "type": "integer"
          },
          "min_shipping_cost": {
            "title": "Min Shipping Cost",
            "minimum": 0,
            "type": "number"
          },
          "max_shipping_cost": {
            "title": "Max Shipping Cost",
            "minimum": 0,
            "type": "number"
          }
        }
      },
      "MPProductIdentifiers": {
        "title": "ProductIdentifiers",
        "type": "object",
        "properties": {
          "UPC": {
            "title": "Upc",
            "type": "string"
          },
          "EAN": {
            "title": "Ean",
            "type": "string"
          },
          "ISBN": {
            "title": "Isbn",
            "type": "string"
          }
        }
      },
      "MPReturnPolicyPaidBy": {
        "title": "ReturnPolicyPaidBy",
        "enum": [
          0,
          1
        ],
        "description": "An enumeration."
      },
      "ReturnPolicy": {
        "title": "ReturnPolicy",
        "required": [
          "paid_by",
          "return_window"
        ],
        "type": "object",
        "properties": {
          "paid_by": {
            "$ref": "#/components/schemas/MPReturnPolicyPaidBy"
          },
          "return_window": {
            "title": "Return Window",
            "exclusiveMinimum": 0,
            "type": "integer"
          }
        }
      },
      "PrivateSupplierStoreType": {
        "title": "PrivateSupplierStoreType",
        "enum": [
          "shopify"
        ],
        "description": "An enumeration."
      },
      "MPProductCondition": {
        "title": "ProductCondition",
        "enum": [
          "new",
          "used"
        ],
        "description": "An enumeration."
      },
      "PrivateSupplier": {
        "title": "PrivateSupplier",
        "required": [
          "id",
          "store_type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "store_type": {
            "$ref": "#/components/schemas/PrivateSupplierStoreType"
          },
          "autods_user_id": {
            "title": "Autods User Id",
            "type": "string"
          },
          "is_logo_invoice_allowed": {
            "title": "Is Logo Invoice Allowed",
            "type": "boolean"
          },
          "policy_return_approve": {
            "title": "Policy Return Approve",
            "type": "boolean"
          },
          "product_condition": {
            "$ref": "#/components/schemas/MPProductCondition"
          },
          "policy_description": {
            "title": "Policy Description",
            "type": "string"
          },
          "shipping_details": {
            "title": "Shipping Details",
            "type": "string"
          },
          "restricted_marketplace_names": {
            "title": "Restricted Marketplace Names",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "map_percent": {
            "title": "Map Percent",
            "type": "integer"
          }
        }
      },
      "WinningProductAgeInfo": {
        "title": "WinningProductAgeInfo",
        "required": [
          "min_age",
          "max_age"
        ],
        "type": "object",
        "properties": {
          "min_age": {
            "title": "Min Age",
            "type": "integer"
          },
          "max_age": {
            "title": "Max Age",
            "type": "integer"
          }
        }
      },
      "WinningProductAd": {
        "title": "WinningProductAd",
        "required": [
          "platform",
          "image_url",
          "video_url",
          "link"
        ],
        "type": "object",
        "properties": {
          "platform": {
            "title": "Platform",
            "type": "string"
          },
          "image_url": {
            "title": "Image Url",
            "type": "string"
          },
          "video_url": {
            "title": "Video Url",
            "type": "string"
          },
          "link": {
            "title": "Link",
            "type": "string"
          }
        }
      },
      "WinningProductCompetitor": {
        "title": "WinningProductCompetitor",
        "required": [
          "platform",
          "image_url",
          "title",
          "price",
          "link"
        ],
        "type": "object",
        "properties": {
          "platform": {
            "title": "Platform",
            "type": "string"
          },
          "image_url": {
            "title": "Image Url",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "price": {
            "title": "Price",
            "type": "number"
          },
          "link": {
            "title": "Link",
            "type": "string"
          }
        }
      },
      "WinningProductInfo": {
        "title": "WinningProductInfo",
        "required": [
          "ads",
          "competitors",
          "saturation",
          "occupation",
          "marital_status",
          "interests",
          "gender",
          "insight_text",
          "engagement",
          "age",
          "sell_price",
          "profit"
        ],
        "type": "object",
        "properties": {
          "ads": {
            "title": "Ads",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WinningProductAd"
            }
          },
          "competitors": {
            "title": "Competitors",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WinningProductCompetitor"
            }
          },
          "saturation": {
            "title": "Saturation",
            "type": "integer"
          },
          "occupation": {
            "title": "Occupation",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "marital_status": {
            "title": "Marital Status",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "interests": {
            "title": "Interests",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "gender": {
            "title": "Gender",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "insight_text": {
            "title": "Insight Text",
            "type": "string"
          },
          "engagement": {
            "title": "Engagement",
            "type": "integer"
          },
          "age": {
            "$ref": "#/components/schemas/WinningProductAgeInfo"
          },
          "sell_price": {
            "title": "Sell Price",
            "type": "number"
          },
          "profit": {
            "title": "Profit",
            "type": "number"
          }
        }
      },
      "MPProductsSchema": {
        "title": "ProductsSchema",
        "required": [
          "region",
          "idOnSite",
          "title",
          "description",
          "categories",
          "imgUrl",
          "images",
          "availableWarehouses",
          "variations"
        ],
        "type": "object",
        "properties": {
          "region": {
            "$ref": "#/components/schemas/MPRegionCodes"
          },
          "idOnSite": {
            "title": "Idonsite",
            "type": "string"
          },
          "siteName": {
            "$ref": "#/components/schemas/MPSiteNames"
          },
          "supplierName": {
            "title": "Suppliername",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MarketplaceCategory"
            }
          },
          "imgUrl": {
            "title": "Imgurl",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          },
          "images": {
            "title": "Images",
            "type": "array",
            "items": {
              "maxLength": 2083,
              "minLength": 1,
              "type": "string",
              "format": "uri"
            }
          },
          "brand": {
            "title": "Brand",
            "type": "string"
          },
          "availableWarehouses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MPWarehouseCodes"
            }
          },
          "variations": {
            "title": "Variations",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemporaryModifiedPFVariation"
            }
          },
          "productDetails": {
            "$ref": "#/components/schemas/PFProductDetails"
          },
          "rating": {
            "title": "Rating",
            "maximum": 5,
            "minimum": 1,
            "type": "number",
            "description": "Stars 1 -5"
          },
          "ratingCount": {
            "title": "Ratingcount",
            "type": "integer",
            "description": "How many people left a rating"
          },
          "ordersCount": {
            "title": "Orderscount",
            "type": "integer"
          },
          "itemSpecific": {
            "title": "Itemspecific",
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "productIdentifiers": {
            "$ref": "#/components/schemas/MPProductIdentifiers"
          },
          "returnPolicy": {
            "title": "Returnpolicy",
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/ReturnPolicy"
            }
          },
          "tags": {
            "title": "Tags",
            "type": "string",
            "default": ""
          },
          "createdAtReal": {
            "title": "Createdatreal",
            "type": "string",
            "format": "date-time",
            "default": "2024-01-26T11:52:50.300991"
          },
          "createdAt": {
            "title": "Createdat",
            "type": "string",
            "format": "date-time",
            "default": "2024-01-26T11:52:50.300994"
          },
          "updatedAt": {
            "title": "Updatedat",
            "type": "string",
            "format": "date-time",
            "default": "2024-01-26T11:52:50.300995"
          },
          "rankCoefficient": {
            "title": "Rankcoefficient",
            "type": "integer"
          },
          "privateSupplier": {
            "$ref": "#/components/schemas/PrivateSupplier"
          },
          "productAnalyzeText": {
            "title": "Productanalyzetext",
            "type": "string",
            "default": ""
          },
          "isDeleted": {
            "title": "Isdeleted",
            "type": "boolean"
          },
          "isWinningProduct": {
            "title": "Iswinningproduct",
            "type": "boolean"
          },
          "isFreeWinningProduct": {
            "title": "Isfreewinningproduct",
            "type": "boolean"
          },
          "healthParam": {
            "title": "Healthparam",
            "minimum": 0,
            "type": "number",
            "default": 1
          },
          "viewCount": {
            "title": "Viewcount",
            "minimum": 0,
            "type": "integer"
          },
          "importCount": {
            "title": "Importcount",
            "minimum": 0,
            "type": "integer"
          },
          "spvParam": {
            "title": "Spvparam",
            "minimum": 0,
            "type": "number",
            "default": 0
          },
          "winningProductInfo": {
            "$ref": "#/components/schemas/WinningProductInfo"
          },
          "_id": {
            "title": " Id",
            "type": "string"
          },
          "revisionId": {
            "title": "Revisionid",
            "type": "string",
            "format": "uuid"
          }
        },
        "description": "Document Mapping class.\n\nFields:\n\n- `id` - MongoDB document ObjectID \"_id\" field.\nMapped to the PydanticObjectId class\n\nInherited from:\n\n- Pydantic BaseModel\n- [UpdateMethods](https://roman-right.github.io/beanie/api/interfaces/#aggregatemethods)"
      },
      "MPBaseModel": {
        "title": "BaseModel",
        "type": "object",
        "properties": {}
      },
      "MPProductListResultsSchema": {
        "title": "ProductListResultsSchema",
        "type": "object",
        "properties": {
          "results": {
            "title": "Results",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MPProductsSchema"
                },
                {
                  "$ref": "#/components/schemas/MPBaseModel"
                }
              ]
            }
          },
          "projection": {
            "title": "Projection",
            "type": "object",
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                },
                {
                  "type": "object"
                }
              ]
            }
          }
        },
        "description": "Base model to auto create a camelCase alias.\nAlso allows population of Pydantic model via alias"
      },
      "MPRetailProductsEventType": {
        "title": "RetailProductsEventType",
        "enum": [
          "import",
          "view"
        ],
        "description": "An enumeration."
      },
      "MPRetailProductsEventData": {
        "title": "RetailProductsEventData",
        "required": [
          "eventType",
          "productIds"
        ],
        "type": "object",
        "properties": {
          "eventType": {
            "$ref": "#/components/schemas/MPRetailProductsEventType"
          },
          "productIds": {
            "title": "Productids",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "description": "Base model to auto create a camelCase alias.\nAlso allows population of Pydantic model via alias"
      },
      "MPProductListFilterParams": {
        "title": "ProductListFilterParams",
        "type": "object",
        "properties": {
          "offset": {
            "title": "Offset",
            "type": "integer",
            "default": 0
          },
          "limit": {
            "title": "Limit",
            "type": "integer",
            "default": 10
          },
          "order_by": {
            "title": "Order By",
            "type": "string",
            "default": "-created_at"
          },
          "shfm": {
            "title": "Shfm",
            "type": "string"
          },
          "prcrng": {
            "title": "Prcrng",
            "type": "string"
          },
          "rtlsplr": {
            "title": "Rtlsplr",
            "type": "string"
          },
          "rtng": {
            "title": "Rtng",
            "type": "string"
          },
          "mfrvws": {
            "title": "Mfrvws",
            "type": "string"
          },
          "shpngds": {
            "title": "Shpngds",
            "type": "string"
          },
          "src": {
            "title": "Src",
            "type": "string"
          },
          "ctgr": {
            "title": "Ctgr",
            "type": "string"
          }
        }
      },
      "WinningProductResponse": {
        "title": "WinningProductResponse",
        "required": [
          "_id",
          "region",
          "title",
          "created_at",
          "images",
          "id_on_site"
        ],
        "type": "object",
        "properties": {
          "_id": {
            "title": " Id",
            "type": "string"
          },
          "region": {
            "$ref": "#/components/schemas/MPRegionCodes"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "created_at": {
            "title": "Created At",
            "type": "string",
            "format": "date-time"
          },
          "images": {
            "title": "Images",
            "type": "array",
            "items": {
              "maxLength": 2083,
              "minLength": 1,
              "type": "string",
              "format": "uri"
            }
          },
          "id_on_site": {
            "title": "Id On Site",
            "type": "string"
          },
          "site_name": {
            "$ref": "#/components/schemas/MPSiteNames"
          },
          "supplier_name": {
            "title": "Supplier Name",
            "type": "string"
          },
          "product_details": {
            "$ref": "#/components/schemas/PFProductDetails"
          },
          "private_supplier": {
            "$ref": "#/components/schemas/PrivateSupplier"
          },
          "is_winning_product": {
            "title": "Is Winning Product",
            "type": "boolean"
          },
          "is_free_winning_product": {
            "title": "Is Free Winning Product",
            "type": "boolean"
          },
          "rank_coefficient": {
            "title": "Rank Coefficient",
            "type": "integer"
          }
        }
      },
      "WinningProductResultsResponse": {
        "title": "WinningProductResultsResponse",
        "required": [
          "results"
        ],
        "type": "object",
        "properties": {
          "results": {
            "title": "Results",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WinningProductResponse"
            }
          }
        }
      },
      "MPSingleProductMetaResponseSchema": {
        "title": "SingleProductMetaResponseSchema",
        "required": [
          "views",
          "rankPointsForLettersInTitle",
          "rankPointsForLettersInDescription",
          "rankPointsForAmountOfPhotos",
          "rankPointsForRefundsAvailability",
          "rankPointsForIsPrivateSupplier",
          "rankPointsForShippingTime",
          "rankPointsForActivateDate",
          "rankPointsForProductViews"
        ],
        "type": "object",
        "properties": {
          "views": {
            "title": "Views",
            "type": "integer"
          },
          "rankPointsForLettersInTitle": {
            "title": "Rankpointsforlettersintitle",
            "type": "integer"
          },
          "rankPointsForLettersInDescription": {
            "title": "Rankpointsforlettersindescription",
            "type": "integer"
          },
          "rankPointsForAmountOfPhotos": {
            "title": "Rankpointsforamountofphotos",
            "type": "integer"
          },
          "rankPointsForRefundsAvailability": {
            "title": "Rankpointsforrefundsavailability",
            "type": "integer"
          },
          "rankPointsForIsPrivateSupplier": {
            "title": "Rankpointsforisprivatesupplier",
            "type": "integer"
          },
          "rankPointsForShippingTime": {
            "title": "Rankpointsforshippingtime",
            "type": "integer"
          },
          "rankPointsForActivateDate": {
            "title": "Rankpointsforactivatedate",
            "type": "integer"
          },
          "rankPointsForProductViews": {
            "title": "Rankpointsforproductviews",
            "type": "integer"
          }
        },
        "description": "Base model to auto create a camelCase alias.\nAlso allows population of Pydantic model via alias"
      },
      "MPProductRegionPrice": {
        "title": "ProductRegionPrice",
        "required": [
          "min",
          "max"
        ],
        "type": "object",
        "properties": {
          "min": {
            "title": "Min",
            "type": "number",
            "nullable": true,
            "description": "Lowest item price over the in-stock variations (over all variations when none is in stock), in the user's currency."
          },
          "max": {
            "title": "Max",
            "type": "number",
            "nullable": true,
            "description": "Highest item price over the in-stock variations (over all variations when none is in stock), in the user's currency."
          }
        }
      },
      "MPProductRegionShipping": {
        "title": "ProductRegionShipping",
        "required": [
          "warehouse",
          "price",
          "days",
          "method",
          "tracking",
          "free_shipping"
        ],
        "type": "object",
        "properties": {
          "warehouse": {
            "$ref": "#/components/schemas/MPWarehouseCodes"
          },
          "price": {
            "title": "Price",
            "type": "number",
            "nullable": true,
            "description": "Shipping price in the user's currency."
          },
          "days": {
            "title": "Days",
            "type": "integer",
            "nullable": true,
            "description": "Shipping time in days."
          },
          "method": {
            "title": "Method",
            "type": "string",
            "nullable": true,
            "description": "Shipping method name. Null when the supplier site does not give one (always null for Amazon)."
          },
          "tracking": {
            "title": "Tracking",
            "type": "boolean",
            "nullable": true,
            "description": "Whether the method has a tracking number. Null when unknown (always null for private suppliers)."
          },
          "free_shipping": {
            "title": "Free Shipping",
            "type": "boolean",
            "nullable": true,
            "description": "True when the shipping price is 0. Null when the price is unknown."
          }
        }
      },
      "MPProductRegion": {
        "title": "ProductRegion",
        "required": [
          "region",
          "product_id",
          "updated_at",
          "price",
          "shipping"
        ],
        "type": "object",
        "properties": {
          "region": {
            "$ref": "#/components/schemas/MPRegionCodes"
          },
          "product_id": {
            "title": "Product Id",
            "type": "string",
            "description": "Id of the product in this region. Each region has its own product id. Open it with GET /api/products/{product_id}."
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string",
            "format": "date-time",
            "description": "When the product in this region was last scraped. Each region is scraped separately, so the data of one region can be weeks or months older than another."
          },
          "price": {
            "$ref": "#/components/schemas/MPProductRegionPrice"
          },
          "shipping": {
            "title": "Shipping",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MPProductRegionShipping"
            },
            "description": "Shipping methods of the default (cheapest in-stock) variation to this region."
          }
        }
      },
      "MPProductRegionsResponse": {
        "title": "ProductRegionsResponse",
        "required": [
          "product_id",
          "currency",
          "regions",
          "locked_regions",
          "regions_without_data"
        ],
        "type": "object",
        "properties": {
          "product_id": {
            "title": "Product Id",
            "type": "string",
            "description": "Id of the requested product."
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "example": "USD",
            "description": "Currency code of all prices in the response, including shipping prices."
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MPProductRegion"
            },
            "description": "One entry per region where we have the product."
          },
          "locked_regions": {
            "title": "Locked Regions",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MPRegionCodes"
            },
            "description": "Regions where we have the product, but it is a paid winning product there and the user has no Product Finding Hub add-on. Their data is not returned."
          },
          "regions_without_data": {
            "title": "Regions Without Data",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MPRegionCodes"
            },
            "description": "Regions where we do not have this product. This means we have no data for the region, NOT that the supplier does not ship there."
          }
        }
      },
      "MPSingleProductResponseSchema": {
        "title": "SingleProductResponseSchema",
        "required": [
          "region",
          "idOnSite",
          "title",
          "description",
          "categories",
          "imgUrl",
          "images",
          "availableWarehouses",
          "variations"
        ],
        "type": "object",
        "properties": {
          "region": {
            "$ref": "#/components/schemas/MPRegionCodes"
          },
          "idOnSite": {
            "title": "Idonsite",
            "type": "string"
          },
          "siteName": {
            "$ref": "#/components/schemas/MPSiteNames"
          },
          "supplierName": {
            "title": "Suppliername",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MarketplaceCategory"
            }
          },
          "imgUrl": {
            "title": "Imgurl",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          },
          "images": {
            "title": "Images",
            "type": "array",
            "items": {
              "maxLength": 2083,
              "minLength": 1,
              "type": "string",
              "format": "uri"
            }
          },
          "brand": {
            "title": "Brand",
            "type": "string"
          },
          "availableWarehouses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MPWarehouseCodes"
            }
          },
          "variations": {
            "title": "Variations",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TemporaryModifiedPFVariation"
            }
          },
          "productDetails": {
            "$ref": "#/components/schemas/PFProductDetails"
          },
          "rating": {
            "title": "Rating",
            "maximum": 5,
            "minimum": 1,
            "type": "number",
            "description": "Stars 1 -5"
          },
          "ratingCount": {
            "title": "Ratingcount",
            "type": "integer",
            "description": "How many people left a rating"
          },
          "ordersCount": {
            "title": "Orderscount",
            "type": "integer"
          },
          "itemSpecific": {
            "title": "Itemspecific",
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "productIdentifiers": {
            "$ref": "#/components/schemas/MPProductIdentifiers"
          },
          "returnPolicy": {
            "title": "Returnpolicy",
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/ReturnPolicy"
            }
          },
          "tags": {
            "title": "Tags",
            "type": "string",
            "default": ""
          },
          "createdAtReal": {
            "title": "Createdatreal",
            "type": "string",
            "format": "date-time",
            "default": "2024-01-26T11:52:50.300991"
          },
          "createdAt": {
            "title": "Createdat",
            "type": "string",
            "format": "date-time",
            "default": "2024-01-26T11:52:50.300994"
          },
          "updatedAt": {
            "title": "Updatedat",
            "type": "string",
            "format": "date-time",
            "default": "2024-01-26T11:52:50.300995"
          },
          "rankCoefficient": {
            "title": "Rankcoefficient",
            "type": "integer"
          },
          "privateSupplier": {
            "$ref": "#/components/schemas/PrivateSupplier"
          },
          "productAnalyzeText": {
            "title": "Productanalyzetext",
            "type": "string",
            "default": ""
          },
          "isDeleted": {
            "title": "Isdeleted",
            "type": "boolean"
          },
          "isWinningProduct": {
            "title": "Iswinningproduct",
            "type": "boolean"
          },
          "isFreeWinningProduct": {
            "title": "Isfreewinningproduct",
            "type": "boolean"
          },
          "healthParam": {
            "title": "Healthparam",
            "minimum": 0,
            "type": "number",
            "default": 1
          },
          "viewCount": {
            "title": "Viewcount",
            "minimum": 0,
            "type": "integer"
          },
          "importCount": {
            "title": "Importcount",
            "minimum": 0,
            "type": "integer"
          },
          "spvParam": {
            "title": "Spvparam",
            "minimum": 0,
            "type": "number",
            "default": 0
          },
          "winningProductInfo": {
            "$ref": "#/components/schemas/WinningProductInfo"
          },
          "_id": {
            "title": " Id",
            "type": "string"
          },
          "revisionId": {
            "title": "Revisionid",
            "type": "string",
            "format": "uuid"
          },
          "meta": {
            "$ref": "#/components/schemas/MPSingleProductMetaResponseSchema"
          }
        },
        "description": "Document Mapping class.\n\nFields:\n\n- `id` - MongoDB document ObjectID \"_id\" field.\nMapped to the PydanticObjectId class\n\nInherited from:\n\n- Pydantic BaseModel\n- [UpdateMethods](https://roman-right.github.io/beanie/api/interfaces/#aggregatemethods)"
      },
      "MPAuthorStats": {
        "title": "AuthorStats",
        "required": [
          "diggCount",
          "followerCount",
          "followingCount",
          "heart",
          "heartCount",
          "videoCount"
        ],
        "type": "object",
        "properties": {
          "diggCount": {
            "title": "Diggcount",
            "type": "integer"
          },
          "followerCount": {
            "title": "Followercount",
            "type": "integer"
          },
          "followingCount": {
            "title": "Followingcount",
            "type": "integer"
          },
          "heart": {
            "title": "Heart",
            "type": "integer"
          },
          "heartCount": {
            "title": "Heartcount",
            "type": "integer"
          },
          "videoCount": {
            "title": "Videocount",
            "type": "integer"
          }
        }
      },
      "MPAuthor": {
        "title": "Author",
        "required": [
          "uid",
          "isADVirtual",
          "uniqueId",
          "secUid",
          "nickname",
          "verified",
          "signature",
          "avatarLarger"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "title": "Uid",
            "type": "integer"
          },
          "isADVirtual": {
            "title": "Isadvirtual",
            "type": "boolean"
          },
          "uniqueId": {
            "title": "Uniqueid",
            "type": "string"
          },
          "secUid": {
            "title": "Secuid",
            "type": "string"
          },
          "nickname": {
            "title": "Nickname",
            "type": "string"
          },
          "verified": {
            "title": "Verified",
            "type": "boolean"
          },
          "ttSeller": {
            "title": "Ttseller",
            "type": "boolean",
            "description": "Only in Web version"
          },
          "signature": {
            "title": "Signature",
            "type": "string"
          },
          "authorStats": {
            "title": "Authorstats",
            "allOf": [
              {
                "$ref": "#/components/schemas/MPAuthorStats"
              }
            ],
            "description": "May be None if `is_ad_virtual` is True (virtual account does not exists)"
          },
          "bioLink": {
            "title": "Biolink",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          },
          "scanned": {
            "title": "Scanned",
            "type": "boolean",
            "default": false
          },
          "avatarLarger": {
            "title": "Avatarlarger",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          }
        }
      },
      "TikTokProductsRegions": {
        "title": "TikTokProductsRegions",
        "enum": [
          "US",
          "AU",
          "UK",
          "DE"
        ],
        "description": "An enumeration."
      },
      "TikTokProductsSort": {
        "title": "TikTokProductsSort",
        "enum": [
          "recently_seen",
          "impressions",
          "likes"
        ],
        "description": "An enumeration."
      },
      "TikTokSource": {
        "title": "TikTokSource",
        "enum": [
          "organic",
          "advertising"
        ],
        "description": "An enumeration."
      },
      "MPPostSta": {
        "title": "PostStats",
        "required": [
          "commentCount",
          "diggCount",
          "playCount",
          "shareCount"
        ],
        "type": "object",
        "properties": {
          "commentCount": {
            "title": "Commentcount",
            "type": "integer"
          },
          "diggCount": {
            "title": "Diggcount",
            "type": "integer"
          },
          "playCount": {
            "title": "Playcount",
            "type": "integer"
          },
          "shareCount": {
            "title": "Sharecount",
            "type": "integer"
          }
        }
      },
      "MPTextExtraItem": {
        "title": "TextExtraItem",
        "required": [
          "start",
          "end",
          "type"
        ],
        "type": "object",
        "properties": {
          "start": {
            "title": "Start",
            "type": "integer"
          },
          "end": {
            "title": "End",
            "type": "integer"
          },
          "type": {
            "title": "Type",
            "type": "integer"
          },
          "hashtagId": {
            "title": "Hashtagid",
            "type": "integer"
          },
          "hashtagName": {
            "title": "Hashtagname",
            "type": "string"
          },
          "isCommerce": {
            "title": "Iscommerce",
            "type": "boolean"
          },
          "secUid": {
            "title": "Secuid",
            "type": "string"
          },
          "subType": {
            "title": "Subtype",
            "type": "integer"
          },
          "userId": {
            "title": "Userid",
            "type": "integer"
          },
          "userUniqueId": {
            "title": "Useruniqueid",
            "type": "string",
            "description": "Only present in Web version"
          }
        }
      },
      "MPSubtitleInfo": {
        "title": "SubtitleInfo",
        "required": [
          "Url",
          "UrlExpire",
          "Format",
          "LanguageCodeName",
          "LanguageID",
          "Version",
          "VideoSubtitleID"
        ],
        "type": "object",
        "properties": {
          "Url": {
            "title": "Url",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          },
          "UrlExpire": {
            "title": "Urlexpire",
            "type": "integer"
          },
          "Format": {
            "title": "Format",
            "type": "string"
          },
          "LanguageCodeName": {
            "title": "Languagecodename",
            "type": "string"
          },
          "LanguageID": {
            "title": "Languageid",
            "type": "string"
          },
          "Version": {
            "title": "Version",
            "type": "string"
          },
          "VideoSubtitleID": {
            "title": "Videosubtitleid",
            "type": "integer"
          }
        }
      },
      "MPVideo": {
        "title": "Video",
        "required": [
          "downloadAddr",
          "duration",
          "width",
          "height",
          "cover",
          "ratio"
        ],
        "type": "object",
        "properties": {
          "downloadAddr": {
            "title": "Downloadaddr",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          },
          "permUrl": {
            "title": "Permurl",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          },
          "duration": {
            "title": "Duration",
            "type": "integer"
          },
          "width": {
            "title": "Width",
            "type": "integer"
          },
          "height": {
            "title": "Height",
            "type": "integer"
          },
          "cover": {
            "title": "Cover",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          },
          "ratio": {
            "title": "Ratio",
            "type": "string"
          },
          "subtitleInfos": {
            "title": "Subtitleinfos",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MPSubtitleInfo"
            }
          }
        }
      },
      "MPMusic": {
        "title": "Music",
        "required": [
          "id",
          "title",
          "album",
          "authorName",
          "coverLarge",
          "duration",
          "original",
          "playUrl"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "album": {
            "title": "Album",
            "type": "string"
          },
          "authorName": {
            "title": "Authorname",
            "type": "string"
          },
          "coverLarge": {
            "title": "Coverlarge",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          },
          "duration": {
            "title": "Duration",
            "type": "integer"
          },
          "original": {
            "title": "Original",
            "type": "boolean"
          },
          "playUrl": {
            "title": "Playurl",
            "anyOf": [
              {
                "maxLength": 2083,
                "minLength": 1,
                "type": "string",
                "format": "uri"
              },
              {
                "enum": [
                  ""
                ],
                "type": "string"
              }
            ]
          }
        }
      },
      "TTProduct": {
        "title": "TTProduct",
        "type": "object",
        "properties": {
          "product_id": {
            "title": "Product Id",
            "type": "integer",
            "description": "TikTok internal product id"
          },
          "product_title": {
            "title": "Product Title",
            "type": "string"
          },
          "product_url": {
            "title": "Product Url",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          },
          "product_btn": {
            "title": "Product Btn",
            "type": "string",
            "description": "Text on button for product url"
          },
          "product_imgs": {
            "title": "Product Imgs",
            "type": "array",
            "items": {
              "maxLength": 2083,
              "minLength": 1,
              "type": "string",
              "format": "uri"
            },
            "description": "Product images"
          },
          "product_price": {
            "title": "Product Price",
            "type": "number",
            "default": 0
          },
          "product_currency": {
            "title": "Product Currency",
            "type": "string"
          },
          "source": {
            "title": "Source",
            "type": "string",
            "default": ""
          }
        }
      },
      "TikTokHashtag": {
        "title": "TikTokHashtag",
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        }
      },
      "MPScanSource": {
        "title": "ScanSource",
        "required": [
          "type",
          "region"
        ],
        "type": "object",
        "properties": {
          "type": {
            "title": "Type",
            "enum": [
              "hashtag",
              "search",
              "feed",
              "related",
              "android_feed",
              "products_feed",
              "recommended_products",
              "products_categories"
            ],
            "type": "string"
          },
          "hashtag": {
            "$ref": "#/components/schemas/TikTokHashtag"
          },
          "keyword": {
            "title": "Keyword",
            "type": "string"
          },
          "parent_id": {
            "title": "Parent Id",
            "type": "integer"
          },
          "region": {
            "$ref": "#/components/schemas/MPRegionCodes"
          }
        }
      },
      "TikTokPost": {
        "title": "TikTokPost",
        "required": [
          "id",
          "url",
          "isAd",
          "adLabelVersion",
          "desc",
          "createTime",
          "author",
          "commentsEnabled",
          "statistics",
          "textExtra",
          "video",
          "scanSource"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string",
            "format": "uri"
          },
          "isAd": {
            "title": "Isad",
            "type": "boolean"
          },
          "adAuthorization": {
            "title": "Adauthorization",
            "type": "boolean",
            "description": "Allow to use this video for other advertisers (only in Web version)"
          },
          "adLabelVersion": {
            "title": "Adlabelversion",
            "type": "integer",
            "description": "Can be 0, 1, 2.2 - stands for 'Paid partnership' label"
          },
          "desc": {
            "title": "Desc",
            "type": "string"
          },
          "createTime": {
            "title": "Createtime",
            "type": "integer",
            "description": "Unix timestamp"
          },
          "author": {
            "$ref": "#/components/schemas/MPAuthor"
          },
          "commentsEnabled": {
            "title": "Commentsenabled",
            "type": "boolean"
          },
          "statistics": {
            "$ref": "#/components/schemas/MPPostSta"
          },
          "interactionRate": {
            "title": "Interactionrate",
            "type": "number",
            "description": "Interaction rate. Calculated by `calc_interaction_rate`"
          },
          "textExtra": {
            "title": "Textextra",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MPTextExtraItem"
            }
          },
          "video": {
            "$ref": "#/components/schemas/MPVideo"
          },
          "music": {
            "$ref": "#/components/schemas/MPMusic"
          },
          "region": {
            "title": "Region",
            "type": "string",
            "description": "Only present in Android API. E.x: 'US', 'VN', 'CN', 'BO'"
          },
          "descLanguage": {
            "title": "Desclanguage",
            "type": "string",
            "description": "Only present in Android API. E.x: 'en', 'de', 'cn', 'un' - unknown"
          },
          "buttonText": {
            "title": "Buttontext",
            "type": "string",
            "description": "Text on ad 'Buy Button'"
          },
          "homepageBottomTextual": {
            "title": "Homepagebottomtextual",
            "type": "string"
          },
          "webTitle": {
            "title": "Webtitle",
            "type": "string",
            "description": "Title of Ad URL"
          },
          "webUrl": {
            "title": "Weburl",
            "type": "string",
            "description": "Ad URL"
          },
          "label": {
            "title": "Label",
            "type": "string",
            "description": "Sponsored label"
          },
          "products": {
            "title": "Products",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TTProduct"
            },
            "description": "TikTok products"
          },
          "scanSource": {
            "$ref": "#/components/schemas/MPScanSource"
          },
          "createdAt": {
            "title": "Createdat",
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "title": "Updatedat",
            "type": "string",
            "format": "date-time"
          },
          "installId": {
            "title": "Installid",
            "type": "string",
            "description": "ID of the account that first detected the post"
          }
        }
      },
      "TikTokProductListResultsSchema": {
        "title": "TikTokProductListResultsSchema",
        "required": [
          "results",
          "totalResults"
        ],
        "type": "object",
        "properties": {
          "results": {
            "title": "Results",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TikTokPost"
            }
          },
          "totalResults": {
            "title": "Totalresults",
            "type": "integer"
          }
        },
        "description": "Base model to auto create a camelCase alias.\nAlso allows population of Pydantic model via alias"
      },
      "TikTokProductsImpressions": {
        "title": "TikTokProductsImpressions",
        "enum": [
          500000,
          200000,
          50000,
          20000
        ],
        "type": "integer",
        "description": "An enumeration."
      },
      "TikTokProductsLikes": {
        "title": "TikTokProductsLikes",
        "enum": [
          500000,
          200000,
          50000,
          20000
        ],
        "type": "integer",
        "description": "An enumeration."
      },
      "TikTokProductsFirstSeenDays": {
        "title": "TikTokProductsFirstSeenDays",
        "enum": [
          30,
          90,
          120
        ],
        "type": "integer",
        "description": "An enumeration."
      },
      "TikTokProductsInteractionsRatePercent": {
        "title": "TikTokProductsInteractionsRatePercent",
        "enum": [
          1,
          2,
          5
        ],
        "type": "integer",
        "description": "An enumeration."
      },
      "TikTokCTA": {
        "title": "TikTokCTA",
        "enum": [
          "Book now",
          "Buy here",
          "Buy it now",
          "Check it out",
          "Download",
          "Learn more",
          "Order now",
          "Order today",
          "Other",
          "Read more",
          "Send Message",
          "Shop here",
          "Shop now",
          "Show now",
          "View now",
          "Visit store",
          "Watch now"
        ],
        "description": "An enumeration."
      },
      "TikTokAdProductSort": {
        "title": "TikTokAdProductSort",
        "enum": [
          "created_at",
          "details_updated_at",
          "analytics_updated_at",
          "last_seen_at",
          "price",
          "product_score",
          "sales_perf",
          "interaction_rate",
          "sold_growth_7d",
          "sold_growth_24h",
          "pop_growth_7d",
          "pop_growth_24h"
        ],
        "description": "An enumeration."
      },
      "AdProductsLikesChoices": {
        "title": "AdProductsLikesChoices",
        "enum": [
          "500000",
          "200000",
          "50000",
          "20000"
        ],
        "type": "integer",
        "description": "An enumeration."
      },
      "AdProductsViewsChoices": {
        "title": "AdProductsViewsChoices",
        "enum": [
          "500000",
          "200000",
          "50000",
          "20000"
        ],
        "type": "integer",
        "description": "An enumeration."
      },
      "InteractionRateChoices": {
        "title": "InteractionRateChoices",
        "enum": [
          "5",
          "2",
          "1"
        ],
        "type": "integer",
        "description": "An enumeration."
      },
      "AdProductsPriceRange": {
        "title": "AdProductsPriceRange",
        "enum": [
          "-5",
          "5-15",
          "15-30",
          "30-100",
          "100-"
        ],
        "description": "An enumeration."
      },
      "DaysAgoChoices": {
        "title": "DaysAgoChoices",
        "enum": [
          "0",
          "1",
          "7",
          "14",
          "30"
        ],
        "type": "integer",
        "description": "An enumeration."
      },
      "AdProductsProfitRange": {
        "title": "AdProductsProfitRange",
        "enum": [
          "-5",
          "5-10",
          "10-20",
          "20-50",
          "50-"
        ],
        "description": "An enumeration."
      },
      "AdProductsSoldRange": {
        "title": "AdProductsSoldRange",
        "enum": [
          "0-50",
          "50-500",
          "500-1000",
          "1000-5000",
          "5000-10000",
          "10000-"
        ],
        "description": "An enumeration."
      },
      "CategoryChoices": {
        "title": "CategoryChoices",
        "enum": [
          "All Categories",
          "Clothing, Shoes & Jewelry",
          "Electronics & Gadgets",
          "Home & Garden",
          "Home Improvements & Tools",
          "Other Category",
          "Pets",
          "Sports & Fitness",
          "Toys & Hobbies"
        ],
        "description": "An enumeration."
      },
      "autods_models__scraper_items__models__CurrencyCodes": {
        "title": "CurrencyCodes",
        "enum": [
          "USD",
          "EUR",
          "GBP",
          "CAD",
          "AUD"
        ],
        "description": "An enumeration."
      },
      "RegionCodes": {
        "title": "RegionCodes",
        "enum": [
          "US",
          "AU",
          "CA",
          "DE",
          "ES",
          "FR",
          "IT",
          "UK",
          "ALL"
        ],
        "description": "Ship to"
      },
      "AnalyticsShort": {
        "title": "AnalyticsShort",
        "required": [
          "ali_price",
          "profit"
        ],
        "type": "object",
        "properties": {
          "ali_price": {
            "title": "Ali Price",
            "type": "number"
          },
          "profit": {
            "title": "Profit",
            "type": "number"
          }
        }
      },
      "AdsStats": {
        "title": "AdsStats",
        "required": [
          "views",
          "likes",
          "shares",
          "comments",
          "ads_count",
          "interaction_rate"
        ],
        "type": "object",
        "properties": {
          "views": {
            "title": "Views",
            "type": "integer"
          },
          "likes": {
            "title": "Likes",
            "type": "integer"
          },
          "shares": {
            "title": "Shares",
            "type": "integer"
          },
          "comments": {
            "title": "Comments",
            "type": "integer"
          },
          "ads_count": {
            "title": "Ads Count",
            "type": "integer"
          },
          "interaction_rate": {
            "title": "Interaction Rate",
            "type": "number"
          }
        }
      },
      "AdProductShort": {
        "title": "AdProductShort",
        "required": [
          "id",
          "internal_id",
          "title",
          "img_url",
          "all_images",
          "price",
          "sold_qty",
          "created_at",
          "last_seen_at"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "internal_id": {
            "title": "Internal Id",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "img_url": {
            "title": "Img Url",
            "maxLength": "2083",
            "minLength": "1",
            "type": "string",
            "format": "uri"
          },
          "all_images": {
            "title": "All Images",
            "type": "array",
            "items": {
              "maxLength": "2083",
              "minLength": "1",
              "type": "string",
              "format": "uri"
            }
          },
          "price": {
            "title": "Price",
            "type": "number"
          },
          "currency": {
            "allOf": [
              {
                "$ref": "#/components/schemas/autods_models__scraper_items__models__CurrencyCodes"
              }
            ],
            "default": "USD"
          },
          "region": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RegionCodes"
              }
            ],
            "default": "US"
          },
          "selling_platform": {
            "title": "Selling Platform",
            "enum": [
              "tiktok",
              "shopify",
              "unknown"
            ],
            "type": "string",
            "default": "unknown"
          },
          "category_name": {
            "title": "Category Name",
            "type": "string"
          },
          "sold_qty": {
            "title": "Sold Qty",
            "type": "integer"
          },
          "reviews_qty": {
            "title": "Reviews Qty",
            "type": "integer",
            "default": "0"
          },
          "analytics": {
            "$ref": "#/components/schemas/AnalyticsShort"
          },
          "ads_stats": {
            "$ref": "#/components/schemas/AdsStats"
          },
          "product_score": {
            "title": "Product Score",
            "type": "number",
            "default": "0"
          },
          "sales_perf": {
            "title": "Sales Perf",
            "type": "number",
            "default": "0"
          },
          "created_at": {
            "title": "Created At",
            "type": "string",
            "format": "date-time"
          },
          "last_seen_at": {
            "title": "Last Seen At",
            "type": "string",
            "format": "date-time"
          },
          "analytics_updated_at": {
            "title": "Analytics Updated At",
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "AdProductsListResponse": {
        "title": "AdProductsListResponse",
        "required": [
          "total_results",
          "scroll_id",
          "has_more",
          "results"
        ],
        "type": "object",
        "properties": {
          "total_results": {
            "title": "Total Results",
            "type": "integer"
          },
          "scroll_id": {
            "title": "Scroll Id",
            "type": "string"
          },
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "results": {
            "title": "Results",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdProductShort"
            }
          }
        }
      },
      "TikTokSortOrder": {
        "title": "TikTokSortOrder",
        "enum": [
          "asc",
          "desc"
        ],
        "description": "An enumeration."
      },
      "AdSeller": {
        "title": "AdSeller",
        "required": [
          "id",
          "name",
          "seller_location"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "seller_location": {
            "title": "Seller Location",
            "type": "string"
          },
          "sec_uid": {
            "title": "Sec Uid",
            "type": "string"
          },
          "avatar_url": {
            "title": "Avatar Url",
            "maxLength": "2083",
            "minLength": "1",
            "type": "string",
            "format": "uri"
          },
          "rating": {
            "title": "Rating",
            "type": "number"
          },
          "products_qty": {
            "title": "Products Qty",
            "type": "integer"
          },
          "sales_qty": {
            "title": "Sales Qty",
            "type": "integer"
          },
          "reviews_qty": {
            "title": "Reviews Qty",
            "type": "integer"
          }
        }
      },
      "SpecItem": {
        "title": "SpecItem",
        "required": [
          "name",
          "value"
        ],
        "type": "object",
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          },
          "value": {
            "title": "Value",
            "type": "string"
          }
        }
      },
      "AdVariation": {
        "title": "AdVariation",
        "required": [
          "id",
          "price",
          "original_price",
          "in_stock",
          "in_stock_qty"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "price": {
            "title": "Price",
            "type": "number"
          },
          "original_price": {
            "title": "Original Price",
            "type": "number"
          },
          "in_stock": {
            "title": "In Stock",
            "type": "boolean"
          },
          "in_stock_qty": {
            "title": "In Stock Qty",
            "type": "integer"
          },
          "attributes": {
            "title": "Attributes",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SpecItem"
            }
          }
        }
      },
      "AdShippingOption": {
        "title": "AdShippingOption",
        "required": [
          "tag",
          "price",
          "min_time",
          "max_time"
        ],
        "type": "object",
        "properties": {
          "tag": {
            "title": "Tag",
            "type": "string"
          },
          "price": {
            "title": "Price",
            "type": "number"
          },
          "min_time": {
            "title": "Min Time",
            "type": "integer"
          },
          "max_time": {
            "title": "Max Time",
            "type": "integer"
          }
        }
      },
      "ScanSource": {
        "title": "ScanSource",
        "required": [
          "type",
          "region"
        ],
        "type": "object",
        "properties": {
          "type": {
            "title": "Type",
            "enum": [
              "hashtag",
              "search",
              "feed",
              "related",
              "android_feed",
              "products_feed",
              "recommended_products",
              "products_categories",
              "products_feed_bomb",
              "search_products_videos",
              "video_details",
              "user_videos"
            ],
            "type": "string"
          },
          "family": {
            "title": "Family",
            "enum": [
              "web",
              "android"
            ],
            "type": "string",
            "default": "android"
          },
          "hashtag": {
            "$ref": "#/components/schemas/TikTokHashtag"
          },
          "keyword": {
            "title": "Keyword",
            "type": "string"
          },
          "parent_id": {
            "title": "Parent Id",
            "type": "string"
          },
          "region": {
            "$ref": "#/components/schemas/RegionCodes"
          }
        }
      },
      "FeedItemType": {
        "title": "FeedItemType",
        "enum": [
          "1",
          "2",
          "3",
          "4"
        ],
        "description": "An enumeration."
      },
      "AnalyticsData": {
        "title": "AnalyticsData",
        "required": [
          "ali_id",
          "reviews",
          "sold",
          "ali_price",
          "profit"
        ],
        "type": "object",
        "properties": {
          "ali_id": {
            "title": "Ali Id",
            "type": "string"
          },
          "reviews": {
            "title": "Reviews",
            "type": "integer"
          },
          "sold": {
            "title": "Sold",
            "type": "integer"
          },
          "ali_price": {
            "title": "Ali Price",
            "type": "number"
          },
          "profit": {
            "title": "Profit",
            "type": "number"
          },
          "ali_url": {
            "title": "Ali Url",
            "type": "string"
          }
        }
      },
      "AdProduct": {
        "title": "AdProduct",
        "required": [
          "id",
          "internal_id",
          "title",
          "img_url",
          "all_images",
          "scan_source"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "internal_id": {
            "title": "Internal Id",
            "type": "string"
          },
          "post_id": {
            "title": "Post Id",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "maxLength": "2083",
            "minLength": "1",
            "type": "string",
            "format": "uri"
          },
          "selling_site": {
            "title": "Selling Site",
            "maxLength": "2083",
            "minLength": "1",
            "type": "string",
            "format": "uri"
          },
          "img_url": {
            "title": "Img Url",
            "maxLength": "2083",
            "minLength": "1",
            "type": "string",
            "format": "uri"
          },
          "all_images": {
            "title": "All Images",
            "type": "array",
            "items": {
              "maxLength": "2083",
              "minLength": "1",
              "type": "string",
              "format": "uri"
            }
          },
          "price": {
            "title": "Price",
            "type": "number"
          },
          "currency": {
            "allOf": [
              {
                "$ref": "#/components/schemas/autods_models__scraper_items__models__CurrencyCodes"
              }
            ],
            "default": "USD"
          },
          "region": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RegionCodes"
              }
            ],
            "default": "US"
          },
          "selling_platform": {
            "title": "Selling Platform",
            "enum": [
              "tiktok",
              "shopify",
              "unknown"
            ],
            "type": "string",
            "default": "unknown"
          },
          "seller": {
            "$ref": "#/components/schemas/AdSeller"
          },
          "specifications": {
            "title": "Specifications",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SpecItem"
            }
          },
          "sold_qty": {
            "title": "Sold Qty",
            "type": "integer"
          },
          "original_price": {
            "title": "Original Price",
            "type": "number"
          },
          "variations": {
            "title": "Variations",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdVariation"
            }
          },
          "in_stock": {
            "title": "In Stock",
            "type": "boolean"
          },
          "rating": {
            "title": "Rating",
            "type": "number"
          },
          "reviews_qty": {
            "title": "Reviews Qty",
            "type": "integer"
          },
          "shipping": {
            "title": "Shipping",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdShippingOption"
            }
          },
          "category_name": {
            "title": "Category Name",
            "type": "string"
          },
          "tiktok_iid": {
            "title": "Tiktok Iid",
            "type": "string"
          },
          "scan_source": {
            "$ref": "#/components/schemas/ScanSource"
          },
          "has_product_details": {
            "title": "Has Product Details",
            "type": "boolean",
            "default": "false"
          },
          "has_product_analytics": {
            "title": "Has Product Analytics",
            "type": "boolean",
            "default": "false"
          },
          "parent_type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FeedItemType"
              }
            ],
            "default": "3"
          },
          "deleted": {
            "title": "Deleted",
            "type": "boolean",
            "default": "false"
          },
          "created_at": {
            "title": "Created At",
            "type": "string",
            "format": "date-time"
          },
          "details_updated_at": {
            "title": "Details Updated At",
            "type": "string",
            "format": "date-time"
          },
          "analytics": {
            "$ref": "#/components/schemas/AnalyticsData"
          },
          "ads_stats": {
            "$ref": "#/components/schemas/AdsStats"
          },
          "analytics_updated_at": {
            "title": "Analytics Updated At",
            "type": "string",
            "format": "date-time"
          },
          "last_seen_at": {
            "title": "Last Seen At",
            "type": "string",
            "format": "date-time"
          },
          "last_search_at": {
            "title": "Last Search At",
            "type": "string",
            "format": "date-time"
          },
          "retry_count": {
            "title": "Retry Count",
            "type": "integer",
            "default": "0"
          },
          "product_score": {
            "title": "Product Score",
            "type": "number",
            "default": "0"
          },
          "sales_perf": {
            "title": "Sales Perf",
            "type": "number",
            "default": "0"
          },
          "sold_growth_7d": {
            "title": "Sold Growth 7D",
            "type": "number",
            "default": "0"
          },
          "sold_growth_24h": {
            "title": "Sold Growth 24H",
            "type": "number",
            "default": "0"
          },
          "pop_growth_7d": {
            "title": "Pop Growth 7D",
            "type": "number",
            "default": "0"
          },
          "pop_growth_24h": {
            "title": "Pop Growth 24H",
            "type": "number",
            "default": "0"
          }
        }
      },
      "GrapthItem": {
        "title": "GrapthItem",
        "required": [
          "x",
          "y",
          "legend"
        ],
        "type": "object",
        "properties": {
          "x": {
            "title": "X",
            "type": "string"
          },
          "y": {
            "title": "Y",
            "type": "number"
          },
          "legend": {
            "title": "Legend",
            "type": "string"
          }
        },
        "description": "Product sal"
      },
      "SalesData": {
        "title": "SalesData",
        "required": [
          "region",
          "histogram",
          "chart"
        ],
        "type": "object",
        "properties": {
          "region": {
            "title": "Region",
            "type": "string"
          },
          "histogram": {
            "title": "Histogram",
            "type": "number"
          },
          "chart": {
            "title": "Chart",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GrapthItem"
            }
          },
          "flag": {
            "title": "Flag",
            "type": "string"
          }
        }
      },
      "SalesByPeriod": {
        "title": "SalesByPeriod",
        "required": [
          "period",
          "data"
        ],
        "type": "object",
        "properties": {
          "period": {
            "title": "Period",
            "type": "string"
          },
          "data": {
            "title": "Data",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesData"
            }
          }
        }
      },
      "PostStats": {
        "title": "PostStats",
        "required": [
          "commentCount",
          "diggCount",
          "playCount",
          "shareCount"
        ],
        "type": "object",
        "properties": {
          "commentCount": {
            "title": "Commentcount",
            "type": "integer"
          },
          "diggCount": {
            "title": "Diggcount",
            "type": "integer"
          },
          "playCount": {
            "title": "Playcount",
            "type": "integer"
          },
          "shareCount": {
            "title": "Sharecount",
            "type": "integer"
          }
        }
      },
      "TTPostResponseItem": {
        "title": "TTPostResponseItem",
        "required": [
          "id",
          "url",
          "play_url",
          "nickname",
          "stats"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "maxLength": "2083",
            "minLength": "1",
            "type": "string",
            "format": "uri"
          },
          "play_url": {
            "title": "Play Url",
            "maxLength": "2083",
            "minLength": "1",
            "type": "string",
            "format": "uri"
          },
          "nickname": {
            "title": "Nickname",
            "type": "string"
          },
          "stats": {
            "$ref": "#/components/schemas/PostStats"
          },
          "interaction_rate": {
            "title": "Interaction Rate",
            "type": "number",
            "description": "Interaction rate. Calculated by `calc_interaction_rate`"
          },
          "region": {
            "title": "Region",
            "type": "string",
            "description": "Only present in Android API. E.x: 'US', 'VN', 'CN', 'BO'"
          },
          "button_text": {
            "title": "Button Text",
            "type": "string",
            "description": "Text on ad 'Buy Button'"
          },
          "homepage_bottom_textual": {
            "title": "Homepage Bottom Textual",
            "type": "string"
          },
          "web_title": {
            "title": "Web Title",
            "type": "string",
            "description": "Title of Ad URL"
          },
          "web_url": {
            "title": "Web Url",
            "type": "string",
            "description": "Ad URL"
          },
          "label": {
            "title": "Label",
            "type": "string",
            "description": "Sponsored label"
          },
          "created_at": {
            "title": "Created At",
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "AdProductFullResponse": {
        "title": "AdProductFullResponse",
        "required": [
          "id",
          "internal_id",
          "title",
          "img_url",
          "all_images",
          "sales_history"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "internal_id": {
            "title": "Internal Id",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "maxLength": "2083",
            "minLength": "1",
            "type": "string",
            "format": "uri"
          },
          "selling_site": {
            "title": "Selling Site",
            "maxLength": "2083",
            "minLength": "1",
            "type": "string",
            "format": "uri"
          },
          "img_url": {
            "title": "Img Url",
            "maxLength": "2083",
            "minLength": "1",
            "type": "string",
            "format": "uri"
          },
          "all_images": {
            "title": "All Images",
            "type": "array",
            "items": {
              "maxLength": "2083",
              "minLength": "1",
              "type": "string",
              "format": "uri"
            }
          },
          "price": {
            "title": "Price",
            "type": "number"
          },
          "currency": {
            "allOf": [
              {
                "$ref": "#/components/schemas/autods_models__scraper_items__models__CurrencyCodes"
              }
            ],
            "default": "USD"
          },
          "region": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RegionCodes"
              }
            ],
            "default": "US"
          },
          "selling_platform": {
            "title": "Selling Platform",
            "enum": [
              "tiktok",
              "shopify",
              "unknown"
            ],
            "type": "string",
            "default": "unknown"
          },
          "seller": {
            "$ref": "#/components/schemas/AdSeller"
          },
          "specifications": {
            "title": "Specifications",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SpecItem"
            }
          },
          "sold_qty": {
            "title": "Sold Qty",
            "type": "integer"
          },
          "original_price": {
            "title": "Original Price",
            "type": "number"
          },
          "variations": {
            "title": "Variations",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdVariation"
            }
          },
          "in_stock": {
            "title": "In Stock",
            "type": "boolean"
          },
          "rating": {
            "title": "Rating",
            "type": "number"
          },
          "reviews_qty": {
            "title": "Reviews Qty",
            "type": "integer"
          },
          "shipping": {
            "title": "Shipping",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdShippingOption"
            }
          },
          "category_name": {
            "title": "Category Name",
            "type": "string"
          },
          "product_score": {
            "title": "Product Score",
            "type": "number",
            "default": "0"
          },
          "analytics": {
            "$ref": "#/components/schemas/AnalyticsData"
          },
          "ads_stats": {
            "$ref": "#/components/schemas/AdsStats"
          },
          "sales_history": {
            "title": "Sales History",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesByPeriod"
            }
          },
          "ads": {
            "title": "Ads",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TTPostResponseItem"
            }
          },
          "created_at": {
            "title": "Created At",
            "type": "string",
            "format": "date-time"
          },
          "analytics_updated_at": {
            "title": "Analytics Updated At",
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "TikTokAdProductAnalyticsResponse": {
        "title": "TikTokAdProductAnalyticsResponse",
        "required": [
          "total_results",
          "scroll_id",
          "has_more",
          "results"
        ],
        "type": "object",
        "properties": {
          "total_results": {
            "title": "Total Results",
            "type": "integer"
          },
          "scroll_id": {
            "title": "Scroll Id",
            "type": "string"
          },
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "results": {
            "title": "Results",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdProductAnalytics"
            }
          }
        }
      },
      "TikTokAdProductAnalyticsSort": {
        "title": "TikTokAdProductAnalyticsSort",
        "enum": [
          "created_at",
          "total_sales_qty",
          "updated_at",
          "total_reviews",
          "price"
        ],
        "description": "An enumeration."
      },
      "SaleHistoryItem": {
        "title": "SaleHistoryItem",
        "required": [
          "sales_qty",
          "reviews_qty",
          "date",
          "region"
        ],
        "type": "object",
        "properties": {
          "sales_qty": {
            "title": "Sales Qty",
            "type": "integer"
          },
          "reviews_qty": {
            "title": "Reviews Qty",
            "type": "integer"
          },
          "date": {
            "title": "Date",
            "type": "string",
            "format": "date-time"
          },
          "region": {
            "title": "Region",
            "type": "string"
          }
        },
        "description": "Product stats for 1 day"
      },
      "AdProductAnalytics": {
        "title": "AdProductAnalytics",
        "required": [
          "id",
          "product_id",
          "aliexpress_id",
          "price",
          "total_sales_qty",
          "total_reviews",
          "sales_history"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "product_id": {
            "title": "Product Id",
            "type": "string"
          },
          "aliexpress_id": {
            "title": "Aliexpress Id",
            "type": "string"
          },
          "price": {
            "title": "Price",
            "type": "number"
          },
          "shipping_price": {
            "title": "Shipping Price",
            "type": "number",
            "default": "0"
          },
          "score": {
            "title": "Score",
            "type": "number",
            "default": "0"
          },
          "total_sales_qty": {
            "title": "Total Sales Qty",
            "type": "integer"
          },
          "total_reviews": {
            "title": "Total Reviews",
            "type": "integer"
          },
          "sales_history": {
            "title": "Sales History",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SaleHistoryItem"
            }
          },
          "type": {
            "title": "Type",
            "enum": [
              "api",
              "same"
            ],
            "type": "string",
            "default": "same"
          },
          "meta": {
            "title": "Meta",
            "type": "object"
          },
          "created_at": {
            "title": "Created At",
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "NotificationNewMessageSchema": {
        "title": "NotificationNewMessageSchema",
        "required": [
          "autodsUserId",
          "dropshipperName",
          "messageUrl"
        ],
        "type": "object",
        "properties": {
          "autodsUserId": {
            "title": "Autodsuserid",
            "type": "integer"
          },
          "dropshipperName": {
            "title": "Dropshippername",
            "type": "string"
          },
          "messageUrl": {
            "title": "Messageurl",
            "type": "string"
          }
        },
        "description": "Base model to auto create a camelCase alias."
      },
      "OrderCreateExternalSchema": {
        "type": "object",
        "required": [
          "sell_site_order_id",
          "store_name",
          "first_name",
          "last_name",
          "city",
          "zip_code",
          "country",
          "buy_site_id",
          "quantity_to_buy",
          "buy_item_real_id",
          "buy_item_variant",
          "product_title",
          "suggested_buy_price",
          "store_id",
          "buy_item_url",
          "supplier",
          "region",
          "autods_product_id",
          "address1"
        ],
        "properties": {
          "sell_site_order_id": {
            "type": "string",
            "example": "ORDER12345"
          },
          "store_name": {
            "type": "string",
            "example": "My Store"
          },
          "first_name": {
            "type": "string",
            "example": "John"
          },
          "last_name": {
            "type": "string",
            "example": "Doe"
          },
          "city": {
            "type": "string",
            "example": "New York"
          },
          "zip_code": {
            "type": "string",
            "example": "10001"
          },
          "country": {
            "type": "string",
            "example": "US"
          },
          "buy_site_id": {
            "type": "string",
            "example": "Amazon"
          },
          "quantity_to_buy": {
            "type": "integer",
            "example": 2
          },
          "buy_item_real_id": {
            "type": "string",
            "example": "B08K2JZTKZ"
          },
          "buy_item_variant": {
            "type": "string",
            "example": "Color: Red, Size: M"
          },
          "product_title": {
            "type": "string",
            "example": "Wireless Mouse"
          },
          "suggested_buy_price": {
            "type": "number",
            "format": "float",
            "example": 29.99
          },
          "store_id": {
            "type": "integer",
            "example": 101
          },
          "buy_item_url": {
            "type": "string",
            "example": "https://example.com/item/B08K2JZTKZ"
          },
          "supplier": {
            "type": "integer",
            "example": 23
          },
          "region": {
            "type": "integer",
            "example": 4
          },
          "autods_product_id": {
            "type": "string",
            "example": "PROD123456"
          },
          "address1": {
            "type": "string",
            "example": "123 Main Street"
          },
          "address2": {
            "type": "string",
            "nullable": true,
            "example": "Apt 4B"
          },
          "state": {
            "type": "string",
            "nullable": true,
            "example": "NY"
          },
          "phone_number": {
            "type": "string",
            "nullable": true,
            "example": "+11234567890"
          },
          "buy_price": {
            "type": "number",
            "format": "float",
            "nullable": true,
            "example": 25.5
          },
          "buy_shipping_price": {
            "type": "number",
            "format": "float",
            "nullable": true,
            "example": 5.99
          },
          "buy_discount": {
            "type": "number",
            "format": "float",
            "nullable": true,
            "example": 2.0
          },
          "maximum_buy_price": {
            "type": "number",
            "format": "float",
            "nullable": true,
            "example": 30.0
          },
          "buy_item_attributes": {
            "type": "object",
            "nullable": true,
            "example": {
              "color": "red",
              "size": "M"
            }
          },
          "prime_only": {
            "type": "boolean",
            "nullable": true,
            "example": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "example": [
              "urgent",
              "priority"
            ]
          },
          "sell_price": {
            "type": "number",
            "format": "float",
            "nullable": true,
            "example": 35.99
          },
          "profit": {
            "type": "number",
            "format": "float",
            "nullable": true,
            "example": 10.0
          },
          "sell_site_order_name": {
            "type": "string",
            "nullable": true,
            "example": "External Order 12345"
          },
          "buy_currency": {
            "type": "string",
            "nullable": true,
            "example": "USD"
          },
          "listing_fee": {
            "type": "number",
            "format": "float",
            "nullable": true,
            "example": 1.5
          },
          "include_shipping_fee": {
            "type": "boolean",
            "nullable": true,
            "example": true
          },
          "maximum_ship_days": {
            "type": "integer",
            "nullable": true,
            "example": 7
          },
          "bce_conversion": {
            "type": "integer",
            "nullable": true,
            "example": 1
          }
        }
      },
      "TikTokAnalyticsProductDetails": {
        "title": "TikTokAnalyticsProductDetails",
        "type": "object",
        "required": [
          "id",
          "internal_id",
          "title",
          "product_image",
          "category",
          "commission_rate",
          "sold_units_during_7d",
          "sold_units_during_30d",
          "sold_units_during_60d",
          "sold_units_during_90d",
          "gmv",
          "gmv_7d",
          "gmv_30d",
          "gmv_60d",
          "gmv_90d",
          "sold_growth_7d",
          "sold_growth_30d",
          "sold_growth_60d",
          "sold_growth_90d",
          "created_at",
          "all_images",
          "category_first",
          "category_path",
          "viral_index",
          "product_score_norm"
        ],
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "internal_id": {
            "title": "Internal Id",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "product_image": {
            "title": "Product Image",
            "type": "string",
            "format": "uri",
            "minLength": 1,
            "maxLength": 2083
          },
          "seller_image": {
            "title": "Seller Image",
            "type": "string",
            "format": "uri",
            "minLength": 1,
            "maxLength": 2083
          },
          "seller_name": {
            "title": "Seller Name",
            "type": "string"
          },
          "seller_location": {
            "title": "Seller Location",
            "type": "string"
          },
          "seller_units_sold": {
            "title": "Seller Units Sold",
            "type": "integer"
          },
          "category": {
            "title": "Category",
            "type": "string"
          },
          "commission_rate": {
            "title": "Commission Rate",
            "type": "number"
          },
          "sold_units_during_7d": {
            "title": "Sold Units During 7D",
            "type": "integer"
          },
          "sold_units_during_30d": {
            "title": "Sold Units During 30D",
            "type": "integer"
          },
          "sold_units_during_60d": {
            "title": "Sold Units During 60D",
            "type": "integer"
          },
          "sold_units_during_90d": {
            "title": "Sold Units During 90D",
            "type": "integer"
          },
          "gmv": {
            "title": "Gmv",
            "type": "number"
          },
          "gmv_7d": {
            "title": "Gmv 7D",
            "type": "number"
          },
          "gmv_30d": {
            "title": "Gmv 30D",
            "type": "number"
          },
          "gmv_60d": {
            "title": "Gmv 60D",
            "type": "number"
          },
          "gmv_90d": {
            "title": "Gmv 90D",
            "type": "number"
          },
          "sold_growth_7d": {
            "title": "Sold Growth 7D",
            "type": "number"
          },
          "sold_growth_30d": {
            "title": "Sold Growth 30D",
            "type": "number"
          },
          "sold_growth_60d": {
            "title": "Sold Growth 60D",
            "type": "number"
          },
          "sold_growth_90d": {
            "title": "Sold Growth 90D",
            "type": "number"
          },
          "price": {
            "title": "Price",
            "type": "number"
          },
          "sold_qty": {
            "title": "Sold Qty",
            "type": "integer"
          },
          "gained_units_sold": {
            "title": "Gained Units Sold",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TikTokAnalyticsGraphicItem"
            }
          },
          "created_at": {
            "title": "Created At",
            "type": "string",
            "format": "date-time"
          },
          "all_images": {
            "title": "All Images",
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri",
              "minLength": 1,
              "maxLength": 2083
            }
          },
          "rating": {
            "title": "Rating",
            "type": "number"
          },
          "reviews_qty": {
            "title": "Reviews Qty",
            "type": "integer"
          },
          "category_first": {
            "title": "Category First",
            "type": "string"
          },
          "category_path": {
            "title": "Category Path",
            "type": "string"
          },
          "top_sales": {
            "title": "Top Sales",
            "type": "integer"
          },
          "top_sales_in_category": {
            "title": "Top Sales In Category",
            "type": "integer"
          },
          "viral_index": {
            "title": "Viral Index",
            "type": "integer"
          },
          "product_score_norm": {
            "title": "Product Score Norm",
            "type": "number"
          },
          "related_videos_qty": {
            "title": "Related Videos Qty",
            "type": "integer",
            "description": "Number of related videos",
            "default": 0
          },
          "affiliates_qty": {
            "title": "Affiliates Qty",
            "type": "integer",
            "description": "Number of unique authors of the related videos",
            "default": 0
          },
          "in_stock_qty": {
            "title": "In Stock Qty",
            "type": "integer",
            "description": "Units in stock",
            "default": 0
          }
        }
      },
      "TikTokAnalyticsProductOverview": {
        "title": "TikTokAnalyticsProductOverview",
        "type": "object",
        "properties": {
          "gained_units_sold": {
            "title": "Gained Units Sold",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TikTokAnalyticsGraphicItem"
            }
          },
          "gained_gmv": {
            "title": "Gained Gmv",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TikTokAnalyticsGraphicItem"
            }
          },
          "cumulative_units_sold": {
            "title": "Cumulative Units Sold",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TikTokAnalyticsGraphicItem"
            }
          },
          "cumulative_gmv": {
            "title": "Cumulative Gmv",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TikTokAnalyticsGraphicItem"
            }
          },
          "affiliates_qty": {
            "title": "Affiliates Qty",
            "type": "integer",
            "description": "Number of unique authors of the related videos",
            "default": 0
          },
          "related_videos_qty": {
            "title": "Related Videos Qty",
            "type": "integer",
            "description": "Number of related videos",
            "default": 0
          },
          "units_sold_avg": {
            "title": "Units Sold Avg",
            "type": "integer",
            "description": "Average units sold",
            "default": 0
          },
          "gmv_avg": {
            "title": "Gmv Avg",
            "type": "number",
            "description": "Average gmv",
            "default": 0
          }
        }
      },
      "TikTokAnalyticsProductSort": {
        "title": "TikTokAnalyticsProductSort",
        "description": "An enumeration.",
        "type": "string",
        "enum": [
          "price",
          "product_score_norm",
          "commission_rate",
          "sold_units_during_7d",
          "sold_units_during_30d",
          "sold_units_during_60d",
          "sold_units_during_90d",
          "sold_qty",
          "gmv_7d",
          "gmv_30d",
          "gmv_60d",
          "gmv_90d",
          "gmv",
          "sold_growth_7d",
          "sold_growth_30d",
          "sold_growth_60d",
          "sold_growth_90d"
        ]
      },
      "TikTokAnalyticsVideoSort": {
        "title": "TikTokAnalyticsVideoSort",
        "description": "An enumeration.",
        "type": "string",
        "enum": [
          "created_at",
          "stats.play_count",
          "stats.digg_count",
          "stats.comment_count"
        ]
      },
      "TikTokAnalyticsSortOrder": {
        "title": "SortOrder",
        "description": "Sort order.",
        "type": "string",
        "enum": [
          "asc",
          "desc"
        ]
      },
      "ProductSatus": {
        "title": "ProductSatus",
        "description": "Product status filter.",
        "type": "string",
        "enum": [
          "available",
          "deleted",
          "all"
        ]
      },
      "TikTokAnalyticsRelatedVideo": {
        "title": "TikTokAnalyticsRelatedVideo",
        "type": "object",
        "required": [
          "published_date",
          "desc"
        ],
        "properties": {
          "url": {
            "title": "Url",
            "type": "string",
            "format": "uri",
            "description": "TikTok Post URL",
            "minLength": 1,
            "maxLength": 2083
          },
          "views": {
            "title": "Views",
            "type": "integer",
            "description": "Number of related videos",
            "default": 0
          },
          "likes": {
            "title": "Likes",
            "type": "integer",
            "description": "Number of related likes",
            "default": 0
          },
          "comments": {
            "title": "Comments",
            "type": "integer",
            "description": "Number of related comments",
            "default": 0
          },
          "engagement_rate": {
            "title": "Engagement Rate",
            "type": "number",
            "description": "Engagement rate",
            "default": 0
          },
          "published_date": {
            "title": "Published Date",
            "type": "string",
            "format": "date-time"
          },
          "desc": {
            "title": "Desc",
            "type": "string"
          },
          "nickname": {
            "title": "Nickname",
            "type": "string",
            "description": "Author Nickname"
          },
          "avatar": {
            "title": "Avatar",
            "type": "string",
            "format": "uri",
            "description": "Author Avatar",
            "minLength": 1,
            "maxLength": 2083
          },
          "video_url": {
            "title": "Video Url",
            "type": "string",
            "format": "uri",
            "description": "AdPost Video URL",
            "minLength": 1,
            "maxLength": 2083
          },
          "video_duration": {
            "title": "Video Duration",
            "type": "integer",
            "description": "Video Duration"
          }
        }
      },
      "TikTokAnalyticsRelatedVideosResponse": {
        "title": "TikTokAnalyticsRelatedVideosResponse",
        "type": "object",
        "required": [
          "quantity",
          "videos"
        ],
        "properties": {
          "quantity": {
            "title": "Quantity",
            "type": "integer"
          },
          "videos": {
            "title": "Videos",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TikTokAnalyticsRelatedVideo"
            }
          }
        }
      },
      "TikTokAnalyticsTableResponse": {
        "title": "TikTokAnalyticsTableResponse",
        "type": "object",
        "required": [
          "quantity",
          "products"
        ],
        "properties": {
          "quantity": {
            "title": "Quantity",
            "type": "integer"
          },
          "products": {
            "title": "Products",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TikTokAnalyticsProductBase"
            }
          }
        }
      },
      "TikTokAnalyticsGraphicItem": {
        "title": "GraphicItem",
        "description": "Time series point.",
        "type": "object",
        "properties": {
          "x": {
            "title": "X",
            "description": "Date (ISO) or label",
            "type": "string"
          },
          "y": {
            "title": "Y",
            "description": "Value",
            "type": "number"
          }
        }
      },
      "TikTokAnalyticsProductBase": {
        "title": "TikTokAnalyticsProductBase",
        "description": "Summary row used in products table.",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "internal_id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "product_image": {
            "type": "string",
            "format": "uri"
          },
          "commission_rate": {
            "type": "number"
          },
          "price": {
            "type": "number"
          },
          "sold_units_during_7d": {
            "type": "integer"
          },
          "gmv": {
            "type": "number"
          },
          "product_score_norm": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "AliexpressAuthorizationResponse": {
        "type": "object",
        "properties": {
          "redirect_url": {
            "type": "string",
            "description": "AliExpress sign-in URL, carrying the callback to return to"
          }
        },
        "required": [
          "redirect_url"
        ]
      },
      "BuyAccountExternalRead": {
        "title": "BuyAccountExternalRead",
        "type": "object",
        "required": [
          "id",
          "user_profile_id",
          "email",
          "buy_site_id",
          "status",
          "use_for_ao",
          "use_for_tracking",
          "validate_prime",
          "orders_scan",
          "ao_payment_method",
          "created_date",
          "updated_date"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "example": 1024
          },
          "user_profile_id": {
            "type": "integer",
            "nullable": true,
            "example": 13756,
            "description": "Auto-Orders user id of the owner"
          },
          "email": {
            "type": "string",
            "nullable": true,
            "example": "buyer@example.com"
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "verefication_code": {
            "type": "string",
            "nullable": true,
            "description": "Two-factor seed used to sign in"
          },
          "otp_code": {
            "type": "string",
            "nullable": true,
            "example": "515427",
            "description": "Current code derived from the seed"
          },
          "buy_site_id": {
            "type": "string",
            "nullable": true,
            "example": "Amazon"
          },
          "status": {
            "type": "string",
            "enum": [
              "Active",
              "Disabled",
              "Deleted"
            ],
            "example": "Active"
          },
          "supplier": {
            "type": "integer",
            "nullable": true,
            "example": 1
          },
          "region": {
            "type": "integer",
            "nullable": true,
            "example": 1
          },
          "phone_number": {
            "type": "string",
            "nullable": true
          },
          "zip_code": {
            "type": "string",
            "nullable": true
          },
          "full_name": {
            "type": "string",
            "nullable": true
          },
          "account_address": {
            "type": "string",
            "nullable": true
          },
          "daily_limit_amount": {
            "type": "number",
            "nullable": true,
            "example": 500
          },
          "remaining_daily_limit": {
            "type": "number",
            "nullable": true,
            "example": 9999
          },
          "pending_orders_limit": {
            "type": "integer",
            "nullable": true
          },
          "remaining_orders_to_send": {
            "type": "integer",
            "nullable": true
          },
          "daily_orders_limit": {
            "type": "integer",
            "nullable": true
          },
          "order_min_price": {
            "type": "number",
            "nullable": true
          },
          "order_max_price": {
            "type": "number",
            "nullable": true
          },
          "locked": {
            "type": "boolean",
            "nullable": true,
            "example": false
          },
          "account_error_reason": {
            "type": "string",
            "nullable": true
          },
          "last_account_error": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "gift_card_balance": {
            "type": "number",
            "nullable": true
          },
          "last_gift_balance_check": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "use_for_ao": {
            "type": "boolean",
            "example": true
          },
          "use_for_tracking": {
            "type": "boolean",
            "example": true
          },
          "validate_prime": {
            "type": "boolean",
            "example": false
          },
          "orders_scan": {
            "type": "boolean",
            "example": false
          },
          "ao_payment_method": {
            "type": "string",
            "enum": [
              "GIFT_CARD",
              "CREDIT_CARD",
              "MIXED_GC_CC"
            ],
            "example": "GIFT_CARD"
          },
          "account_type": {
            "type": "string",
            "enum": [
              "Personal",
              "Business"
            ],
            "nullable": true
          },
          "buy_currency": {
            "type": "string",
            "enum": [
              "USD",
              "GBP"
            ],
            "nullable": true
          },
          "created_date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updated_date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "last_date_used": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "UsedCardCreate": {
        "title": "UsedCardCreate",
        "type": "object",
        "required": [
          "card_num",
          "exp_month",
          "exp_year"
        ],
        "properties": {
          "card_num": {
            "type": "string",
            "pattern": "^[0-9]{12,19}$",
            "example": "4111111111110042",
            "description": "Plaintext number, digits only. Encrypted server-side and never stored raw; the last four are taken from it"
          },
          "exp_month": {
            "type": "integer",
            "minimum": 1,
            "maximum": 12,
            "example": 6
          },
          "exp_year": {
            "type": "integer",
            "example": 2031,
            "description": "Two-digit (0-99) or a year from 2000 to 2099; stored four-digit"
          },
          "cvv": {
            "type": "string",
            "nullable": true,
            "pattern": "^[0-9]{3,4}$",
            "description": "Three digits, or four on Amex"
          },
          "cc_source": {
            "type": "string",
            "enum": [
              "Privacy",
              "Visa",
              "MasterCard",
              "Emburse",
              "Divvy",
              "Bento"
            ],
            "nullable": true
          },
          "use_for_ao": {
            "type": "boolean",
            "default": false,
            "description": "At most one card per account may carry it"
          },
          "first_name": {
            "type": "string",
            "maxLength": 30,
            "nullable": true
          },
          "last_name": {
            "type": "string",
            "maxLength": 30,
            "nullable": true
          },
          "address1": {
            "type": "string",
            "maxLength": 300,
            "nullable": true
          },
          "address2": {
            "type": "string",
            "maxLength": 300,
            "nullable": true
          },
          "city": {
            "type": "string",
            "maxLength": 50,
            "nullable": true
          },
          "state": {
            "type": "string",
            "maxLength": 50,
            "nullable": true
          },
          "zip_code": {
            "type": "string",
            "maxLength": 20,
            "nullable": true
          },
          "country": {
            "type": "string",
            "maxLength": 50,
            "nullable": true
          },
          "phone_number": {
            "type": "string",
            "maxLength": 50,
            "nullable": true
          }
        }
      },
      "UsedCardRead": {
        "title": "UsedCardRead",
        "type": "object",
        "required": [
          "id",
          "buy_account_id",
          "last_four_numbers",
          "use_for_ao"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "example": 3
          },
          "buy_account_id": {
            "type": "integer",
            "nullable": true,
            "example": 1024
          },
          "last_four_numbers": {
            "type": "string",
            "nullable": true,
            "example": "0042"
          },
          "exp_month": {
            "type": "integer",
            "nullable": true,
            "example": 6
          },
          "exp_year": {
            "type": "integer",
            "nullable": true,
            "example": 2031
          },
          "cc_source": {
            "type": "string",
            "enum": [
              "Privacy",
              "Visa",
              "MasterCard",
              "Emburse",
              "Divvy",
              "Bento"
            ],
            "nullable": true
          },
          "use_for_ao": {
            "type": "boolean",
            "nullable": true,
            "example": true
          },
          "first_name": {
            "type": "string",
            "nullable": true
          },
          "last_name": {
            "type": "string",
            "nullable": true
          },
          "address1": {
            "type": "string",
            "nullable": true
          },
          "address2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip_code": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "phone_number": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "UsedCardList": {
        "title": "UsedCardList",
        "type": "object",
        "properties": {
          "cards": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UsedCardRead"
            }
          }
        }
      },
      "BuyAccountCreateRequest": {
        "title": "BuyAccountCreateRequest",
        "type": "object",
        "required": [
          "email",
          "password"
        ],
        "properties": {
          "email": {
            "type": "string",
            "maxLength": 100,
            "format": "email",
            "example": "buyer@example.com"
          },
          "password": {
            "type": "string",
            "maxLength": 55,
            "example": "hunter2"
          },
          "status": {
            "type": "string",
            "enum": [
              "Active"
            ],
            "default": "Active",
            "description": "A new account starts Active; any other status is refused"
          },
          "buy_site_id": {
            "type": "string",
            "nullable": true,
            "example": "Amazon",
            "description": "Derived from supplier + region when absent"
          },
          "supplier": {
            "type": "integer",
            "nullable": true,
            "example": 1
          },
          "region": {
            "type": "integer",
            "nullable": true,
            "example": 1
          },
          "phone_number": {
            "type": "string",
            "maxLength": 25,
            "nullable": true
          },
          "zip_code": {
            "type": "string",
            "maxLength": 15,
            "nullable": true
          },
          "full_name": {
            "type": "string",
            "maxLength": 25,
            "nullable": true
          },
          "account_address": {
            "type": "string",
            "maxLength": 1000,
            "nullable": true
          },
          "daily_limit_amount": {
            "type": "number",
            "nullable": true,
            "description": "Zero or less means no cap"
          },
          "pending_orders_limit": {
            "type": "integer",
            "nullable": true,
            "description": "Zero or less allows none"
          },
          "daily_orders_limit": {
            "type": "integer",
            "nullable": true
          },
          "order_min_price": {
            "type": "number",
            "nullable": true
          },
          "order_max_price": {
            "type": "number",
            "nullable": true
          },
          "ao_payment_method": {
            "type": "string",
            "enum": [
              "GIFT_CARD",
              "CREDIT_CARD",
              "MIXED_GC_CC"
            ],
            "default": "GIFT_CARD"
          },
          "buy_currency": {
            "type": "string",
            "enum": [
              "USD",
              "GBP"
            ],
            "nullable": true
          },
          "gift_card_balance": {
            "type": "number",
            "nullable": true
          },
          "use_for_ao": {
            "type": "boolean",
            "nullable": true,
            "default": true
          },
          "use_for_tracking": {
            "type": "boolean",
            "nullable": true,
            "default": true
          },
          "validate_prime": {
            "type": "boolean",
            "nullable": true
          },
          "orders_scan": {
            "type": "boolean",
            "default": false
          },
          "verefication_code": {
            "type": "string",
            "maxLength": 100,
            "nullable": true
          },
          "buyer_account_group": {
            "type": "string",
            "maxLength": 300,
            "nullable": true,
            "example": "ops.team"
          },
          "usedcards": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UsedCardCreate"
            }
          }
        }
      },
      "BuyAccountUpdateRequest": {
        "title": "BuyAccountUpdateRequest",
        "type": "object",
        "description": "Partial update; every field is optional. Ownership and lock state are not settable here.",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "Active",
              "Disabled"
            ],
            "description": "Deleted is refused with 400 \u2014 remove an account with DELETE"
          },
          "email": {
            "type": "string",
            "maxLength": 100,
            "format": "email"
          },
          "password": {
            "type": "string",
            "maxLength": 55
          },
          "buy_site_id": {
            "type": "string",
            "example": "Amazon"
          },
          "supplier": {
            "type": "integer",
            "nullable": true
          },
          "region": {
            "type": "integer",
            "nullable": true
          },
          "phone_number": {
            "type": "string",
            "maxLength": 25,
            "nullable": true
          },
          "zip_code": {
            "type": "string",
            "maxLength": 15,
            "nullable": true
          },
          "full_name": {
            "type": "string",
            "maxLength": 25,
            "nullable": true
          },
          "account_address": {
            "type": "string",
            "maxLength": 1000,
            "nullable": true
          },
          "daily_limit_amount": {
            "type": "number",
            "nullable": true
          },
          "pending_orders_limit": {
            "type": "integer",
            "nullable": true
          },
          "daily_orders_limit": {
            "type": "integer",
            "nullable": true
          },
          "order_min_price": {
            "type": "number",
            "nullable": true
          },
          "order_max_price": {
            "type": "number",
            "nullable": true
          },
          "ao_payment_method": {
            "type": "string",
            "enum": [
              "GIFT_CARD",
              "CREDIT_CARD",
              "MIXED_GC_CC"
            ]
          },
          "account_type": {
            "type": "string",
            "enum": [
              "Personal",
              "Business"
            ],
            "nullable": true
          },
          "buy_currency": {
            "type": "string",
            "enum": [
              "USD",
              "GBP"
            ],
            "nullable": true
          },
          "gift_card_balance": {
            "type": "number",
            "nullable": true
          },
          "use_for_ao": {
            "type": "boolean"
          },
          "use_for_tracking": {
            "type": "boolean"
          },
          "validate_prime": {
            "type": "boolean"
          },
          "orders_scan": {
            "type": "boolean"
          },
          "verefication_code": {
            "type": "string",
            "maxLength": 100,
            "nullable": true
          }
        }
      },
      "BuyAccountFilterItem": {
        "title": "BuyAccountFilterItem",
        "type": "object",
        "additionalProperties": false,
        "required": [
          "name",
          "op"
        ],
        "description": "One filter clause. The field decides its type and the operators it admits; a list operator carries its values in value_list, every other operator in value.\n",
        "properties": {
          "name": {
            "type": "string",
            "enum": [
              "buy_currency",
              "buy_site_id",
              "daily_limit_amount",
              "email",
              "gift_card_balance",
              "id",
              "last_payment_revise_time",
              "locked",
              "pending_orders_limit",
              "region",
              "remaining_daily_limit",
              "remaining_orders_to_send",
              "supplier",
              "use_for_ao",
              "use_for_both",
              "use_for_tracking"
            ]
          },
          "op": {
            "type": "string",
            "enum": [
              "!=",
              "<",
              "<=",
              "=",
              ">",
              ">=",
              "any",
              "between",
              "ends_with",
              "exact_date",
              "exists",
              "ge",
              "geq",
              "gt",
              "gte",
              "has",
              "in",
              "is_not_null",
              "le",
              "leq",
              "like",
              "lt",
              "lte",
              "not_gt",
              "not_in",
              "not_like",
              "not_lt",
              "null",
              "starts_with"
            ]
          },
          "value": {
            "type": "string",
            "nullable": true,
            "description": "Scalar value; `between` takes two, comma-separated"
          },
          "value_list": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            },
            "description": "Values for `in` / `not_in`, at least one"
          },
          "value_type": {
            "type": "string",
            "nullable": true,
            "enum": [
              "bool",
              "datetime",
              "float",
              "integer",
              "list",
              "list_int",
              "string"
            ],
            "description": "Optional; when sent it must match the field's type. integer/float and list/list_int interchange"
          }
        }
      },
      "BuyAccountSortBy": {
        "title": "BuyAccountSortBy",
        "type": "object",
        "additionalProperties": false,
        "required": [
          "name",
          "direction"
        ],
        "description": "Both halves are required; a name without a direction sorts nothing.",
        "properties": {
          "name": {
            "type": "string",
            "enum": [
              "daily_limit_amount",
              "gift_card_balance",
              "id",
              "pending_orders_limit",
              "remaining_daily_limit",
              "remaining_orders_to_send"
            ]
          },
          "direction": {
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ]
          }
        }
      },
      "BuyAccountExternalFilterRequest": {
        "title": "BuyAccountExternalFilterRequest",
        "type": "object",
        "additionalProperties": false,
        "description": "Names no owner; the gateway supplies the seller.",
        "properties": {
          "filters": {
            "type": "array",
            "default": [],
            "items": {
              "$ref": "#/components/schemas/BuyAccountFilterItem"
            }
          },
          "condition": {
            "type": "string",
            "enum": [
              "and",
              "or"
            ],
            "default": "and"
          },
          "limit": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000,
            "default": 100,
            "description": "Rows to return; 0 answers the total alone"
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "default": 0
          },
          "order_by": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/BuyAccountSortBy"
              }
            ],
            "description": "Sort; id descending by default"
          }
        }
      },
      "BuyAccountExternalFilterResponse": {
        "title": "BuyAccountExternalFilterResponse",
        "type": "object",
        "required": [
          "total_results"
        ],
        "properties": {
          "total_results": {
            "type": "integer",
            "description": "Rows matching the filter",
            "ignoring paging": ""
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BuyAccountExternalRead"
            }
          }
        }
      },
      "BuyAccountBulkChanges": {
        "title": "BuyAccountBulkChanges",
        "type": "object",
        "additionalProperties": false,
        "description": "The settings a bulk edit may change; a null leaves that setting alone. At least one must carry a value. A status and a gift-card balance belong to one account, so they are changed through the single-account update; sending either here is refused, not ignored.\n",
        "properties": {
          "pending_orders_limit": {
            "type": "integer",
            "nullable": true
          },
          "daily_limit_amount": {
            "type": "number",
            "nullable": true
          },
          "daily_orders_limit": {
            "type": "integer",
            "nullable": true,
            "description": "Cap on the count of orders placed in 24 hours; empty means unlimited"
          },
          "order_min_price": {
            "type": "number",
            "nullable": true,
            "description": "Lowest order total these accounts may buy"
          },
          "order_max_price": {
            "type": "number",
            "nullable": true,
            "description": "Highest order total these accounts may buy"
          },
          "validate_prime": {
            "type": "boolean",
            "nullable": true
          },
          "use_for_ao": {
            "type": "boolean",
            "nullable": true
          },
          "use_for_tracking": {
            "type": "boolean",
            "nullable": true
          },
          "orders_scan": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "BuyAccountBulkUpdateRequest": {
        "title": "BuyAccountBulkUpdateRequest",
        "type": "object",
        "additionalProperties": false,
        "required": [
          "bulk_changes"
        ],
        "description": "Which accounts the edit touches, and the settings written to every one of them.",
        "properties": {
          "filters": {
            "type": "array",
            "default": [],
            "items": {
              "$ref": "#/components/schemas/BuyAccountFilterItem"
            }
          },
          "condition": {
            "type": "string",
            "enum": [
              "and",
              "or"
            ],
            "default": "and"
          },
          "bulk_changes": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BuyAccountBulkChanges"
              }
            ]
          }
        }
      },
      "BuyAccountBulkDeleteRequest": {
        "title": "BuyAccountBulkDeleteRequest",
        "type": "object",
        "additionalProperties": false,
        "description": "Which accounts the delete touches; no clauses means every account the seller can see.",
        "properties": {
          "filters": {
            "type": "array",
            "default": [],
            "items": {
              "$ref": "#/components/schemas/BuyAccountFilterItem"
            }
          },
          "condition": {
            "type": "string",
            "enum": [
              "and",
              "or"
            ],
            "default": "and"
          }
        }
      },
      "UsedCardUpdateRequest": {
        "title": "UsedCardUpdateRequest",
        "type": "object",
        "description": "Partial update of one stored card; every field is optional.",
        "properties": {
          "card_num": {
            "type": "string",
            "nullable": true,
            "pattern": "^[0-9]{12,19}$",
            "description": "Send to replace the number, digits only; the ciphertext and last four are re-derived from it"
          },
          "exp_month": {
            "type": "integer",
            "minimum": 1,
            "maximum": 12,
            "nullable": true
          },
          "exp_year": {
            "type": "integer",
            "nullable": true,
            "description": "Two-digit (0-99) or a year from 2000 to 2099; stored four-digit"
          },
          "cvv": {
            "type": "string",
            "nullable": true,
            "pattern": "^[0-9]{3,4}$",
            "description": "Three digits, or four on Amex"
          },
          "cc_source": {
            "type": "string",
            "enum": [
              "Privacy",
              "Visa",
              "MasterCard",
              "Emburse",
              "Divvy",
              "Bento"
            ],
            "nullable": true
          },
          "use_for_ao": {
            "type": "boolean",
            "nullable": true
          },
          "first_name": {
            "type": "string",
            "maxLength": 30,
            "nullable": true
          },
          "last_name": {
            "type": "string",
            "maxLength": 30,
            "nullable": true
          },
          "address1": {
            "type": "string",
            "maxLength": 300,
            "nullable": true
          },
          "address2": {
            "type": "string",
            "maxLength": 300,
            "nullable": true
          },
          "city": {
            "type": "string",
            "maxLength": 50,
            "nullable": true
          },
          "state": {
            "type": "string",
            "maxLength": 50,
            "nullable": true
          },
          "zip_code": {
            "type": "string",
            "maxLength": 20,
            "nullable": true
          },
          "country": {
            "type": "string",
            "maxLength": 50,
            "nullable": true
          },
          "phone_number": {
            "type": "string",
            "maxLength": 50,
            "nullable": true
          }
        }
      }
    },
    "securitySchemes": {
      "autods_auth": {
        "bearerFormat": "JWT",
        "scheme": "bearer",
        "type": "http"
      },
      "werewolf": {
        "in": "header",
        "name": "x-admin-id",
        "type": "apiKey"
      }
    }
  },
  "paths": {
    "/auto-order/buy_accounts/{account_id}/card/list": {
      "post": {
        "operationId": "get a list of all cards for buy account",
        "parameters": [
          {
            "description": "ID of buy_account",
            "in": "path",
            "name": "account_id",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoOrderCardView"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/buy_accounts/{account_id}/usedcard/create": {
      "post": {
        "operationId": "Create new credit card",
        "parameters": [
          {
            "description": "ID of buy_account",
            "in": "path",
            "name": "account_id",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AutoOrderCardCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoOrderCardView"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/buy_accounts/{account_id}/usedcard/{card_id}": {
      "delete": {
        "operationId": "delete credit card details",
        "parameters": [
          {
            "description": "ID of buy_account",
            "in": "path",
            "name": "account_id",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          },
          {
            "description": "ID of credit card",
            "in": "path",
            "name": "card_id",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "example": "Used Card deleted successfully",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      },
      "get": {
        "operationId": "get credit card details",
        "parameters": [
          {
            "description": "ID of buy_account",
            "in": "path",
            "name": "account_id",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          },
          {
            "description": "ID of credit card",
            "in": "path",
            "name": "card_id",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoOrderCardView"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      },
      "put": {
        "operationId": "update credit card details",
        "parameters": [
          {
            "description": "ID of buy_account",
            "in": "path",
            "name": "account_id",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          },
          {
            "description": "ID of credit card",
            "in": "path",
            "name": "card_id",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AutoOrderCardCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoOrderCardView"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/buyaccount/aliexpress/token-account": {
      "post": {
        "operationId": "Step1 creating aliexpress Buy Account",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "host_name": {
                    "example": "platform host name ex: https://platform.autods.com",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "redirect_url": {
                      "example": "https://oauth.aliexpress.com/authorize?response_type=code&client_id=34107445&view=web&sp=ae&redirect_uri=https://31f0-49-206-47-20.ngrok.io/aliexpress_success/35",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/buyaccount/aliexpress/token-account?code={ali_code}": {
      "get": {
        "operationId": "Step2 creating aliexpress Buy Account",
        "parameters": [
          {
            "description": "code from aliexpress",
            "in": "path",
            "name": "ali_code",
            "required": true,
            "schema": {
              "format": "dfewwder-werfts-ss",
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoOrderBuyAccountView"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/buyaccount/buy_account_bulk": {
      "delete": {
        "operationId": "Bulk delete Buy Accounts",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AutoOrderBuyAccountBulkDeleteSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "message": {
                      "example": "Buy Accounts Deleted",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      },
      "put": {
        "operationId": "Bulk update Buy Accounts",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AutoOrderBuyAccountBulkUpdateSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "message": {
                      "example": "Buy Accounts Updated",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/buyaccount/create": {
      "post": {
        "operationId": "Create New Buy Account",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AutoOrderBuyAccountCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoOrderBuyAccountView"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/buyaccount/filter": {
      "post": {
        "operationId": "get a list of all buy account for the specific user",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AutoOrderBuyAccountListSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {},
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/buyaccount/{account_id}": {
      "delete": {
        "operationId": "delete single account with ID",
        "parameters": [
          {
            "description": "ID of buy_account",
            "in": "path",
            "name": "account_id",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "message": {
                      "example": "Buy Account Deleted",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      },
      "get": {
        "operationId": "get single account with ID",
        "parameters": [
          {
            "description": "ID of buy_account",
            "in": "path",
            "name": "account_id",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoOrderBuyAccountView"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      },
      "put": {
        "operationId": "update single account with ID",
        "parameters": [
          {
            "description": "ID of buy_account",
            "in": "path",
            "name": "account_id",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AutoOrderBuyAccountCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoOrderBuyAccountView"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/payments/stripe/create-session": {
      "post": {
        "operationId": "createStripeSetupSession",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "stripe_session_url": {
                      "type": "string",
                      "example": "https://checkout.stripe.com/c/pay/cs_test_123"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/payments/stripe/pm-create": {
      "post": {
        "operationId": "finalizeStripePaymentMethod",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "session_id"
                ],
                "properties": {
                  "session_id": {
                    "type": "string",
                    "example": "cs_test_123"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "SUCCESS"
                    },
                    "message": {
                      "type": "string",
                      "example": "Stripe payment method created"
                    },
                    "autods_user_id": {
                      "type": "integer",
                      "example": 123
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Not Authorized"
          },
          "403": {
            "description": "Session does not belong to user"
          },
          "502": {
            "description": "Stripe error"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/payments/paypal/setup-token": {
      "get": {
        "operationId": "to get paypal redirect URL",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "redirect_url": {
                      "example": "https://sandbox.paypal.com/agreements/approve?approval_session_id=2DT74104VM620453",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/payments/paypal/create-billing": {
      "get": {
        "operationId": "create paypal payment",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "approval_token_id": {
                    "example": "8M253509CB3889213",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "example": "SUCCESS",
                      "type": "string"
                    },
                    "message": {
                      "example": "paypal payment method created",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/payments/add-fba-balance": {
      "get": {
        "operationId": "add fba balance",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "amount": {
                    "example": 100,
                    "type": "number",
                    "format": "float"
                  },
                  "billing_id": {
                    "example": 2312,
                    "type": "number",
                    "format": "integer"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "managed_orders_balance": {
                      "example": 320,
                      "type": "number",
                      "format": "float"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "example": "error",
                      "type": "string"
                    },
                    "message": {
                      "example": "Your payment method was canceled by Payoneer",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Error loading balance"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/payments/fba-plans": {
      "get": {
        "operationId": "getFBAPlans",
        "summary": "Get available FBA balance plans",
        "tags": [
          "auto-order"
        ],
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "in": "query",
            "name": "include_one_time",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            },
            "description": "Include one-time offers if true."
          },
          {
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "asc"
            },
            "description": "Sort by show_order_idx."
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FBAPlan"
                  }
                },
                "examples": {
                  "success": {
                    "value": [
                      {
                        "id": 1,
                        "name": "$15 + 50 AO credits",
                        "amount_paid": 15.0,
                        "amount_fba": 15.0,
                        "ao_credits": 50.0,
                        "one_time_offer": true,
                        "status": true,
                        "show_order_idx": 1,
                        "created_date": "2025-08-28T23:27:27+00:00",
                        "updated_date": "2025-08-28T23:27:27+00:00"
                      },
                      {
                        "id": 2,
                        "name": "$50",
                        "amount_paid": 50.0,
                        "amount_fba": 50.0,
                        "ao_credits": 0.0,
                        "one_time_offer": false,
                        "status": true,
                        "show_order_idx": 2,
                        "created_date": "2025-08-28T23:27:27+00:00",
                        "updated_date": "2025-08-28T23:27:27+00:00"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Not Authorized",
            "content": {}
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "invalid_order": {
                    "value": {
                      "status": "error",
                      "message": "Invalid sort order provided"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/auto-order/payments/user-billing/refresh": {
      "post": {
        "operationId": "refreshUserBilling",
        "summary": "Refresh Payment Method (e.g., complete authorization/verification)",
        "tags": [
          "payments"
        ],
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserBillingModel"
              },
              "examples": {
                "payoneer": {
                  "value": {
                    "billing_id": 4102
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                },
                "examples": {
                  "ok": {
                    "value": {
                      "status": "success",
                      "redirect_url": "https://login.sandbox.payoneer.com",
                      "billing_id": 4102
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error refreshing billing method",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order/payments/user-billing": {
      "get": {
        "operationId": "getUserBillings",
        "summary": "Get Payment methods list",
        "tags": [
          "payments"
        ],
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserBillingsListResponse"
                },
                "examples": {
                  "success": {
                    "value": [
                      {
                        "id": 4102,
                        "account_name": "Primary Visa",
                        "subscription_id": "sub_1Q23abc",
                        "status": "active",
                        "created_date": "2025-08-28T23:27:27+00:00",
                        "updated_date": "2025-11-06T10:14:03+00:00",
                        "first_name": "Test",
                        "last_name": "Test",
                        "full_name": "Test Test",
                        "user_id": 127,
                        "account_type": "credit_card",
                        "cc_last_4": "4242",
                        "cc_type": "Credit Card",
                        "cc_exp": "12/27"
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "createUserBilling",
        "summary": "Create a new User Billing",
        "tags": [
          "payments"
        ],
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserBillingRequestModel"
              },
              "examples": {
                "payoneer": {
                  "value": {
                    "first_name": "Test",
                    "last_name": "Test",
                    "email": "Test@example.com",
                    "account_type": "payoneer"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                },
                "examples": {
                  "created": {
                    "value": {
                      "status": "success",
                      "redirect_url": "https://login.sandbox.payoneer.com",
                      "billing_id": 4102
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error creating billing method",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "operationId": "updateUserBilling",
        "summary": "Update User Billing (confirm/approve)",
        "tags": [
          "payments"
        ],
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserBillingModel"
              },
              "examples": {
                "confirm_subscription": {
                  "value": {
                    "billing_id": 4102,
                    "code": "123456"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                },
                "examples": {
                  "ok": {
                    "value": {
                      "status": "success"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Couldn't approve Managed Payment Method",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "failure": {
                    "value": {
                      "status": "error",
                      "message": "Couldn't approve Managed Payment Method 4102. Response: Something went wrong"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "deleteUserBilling",
        "summary": "Delete User Billing",
        "tags": [
          "payments"
        ],
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserBillingModel"
              },
              "examples": {
                "delete_example": {
                  "value": {
                    "billing_id": 4102
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Deleted",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "Payment method was successfully deleted."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error deleting billing method",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order/transaction/{store_ids}/list": {
      "post": {
        "operationId": "getManagedTransactionHistory",
        "summary": "Get Managed Transaction History",
        "tags": [
          "payments"
        ],
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "store_ids",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Comma-separated store IDs (e.g., \"1234,5678\") or the keyword \"ALL\".\n",
            "examples": {
              "single": {
                "value": "1234"
              },
              "multiple": {
                "value": "3968,1234"
              },
              "all": {
                "value": "ALL"
              }
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransactionFilterArgs"
              },
              "examples": {
                "basic": {
                  "value": {
                    "created_date_gte": "2025-11-01T00:00:00Z",
                    "created_date_lte": "2025-11-06T23:59:59Z",
                    "limit": 50,
                    "offset": 0
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransactionListResponse"
                },
                "examples": {
                  "success": {
                    "value": {
                      "total_results": 2,
                      "results": [
                        {
                          "id": 9213,
                          "user_id": 127,
                          "amount": 15.75,
                          "status": "success",
                          "created_date": "2025-11-05T12:30:45Z",
                          "transaction_id": "TXN-3F92A1",
                          "order_id": 558201,
                          "sell_site_order_id": "EB-123-999",
                          "buy_site_order_id": "AMZ-PO-77"
                        },
                        {
                          "id": 9214,
                          "user_id": 127,
                          "amount": -5.0,
                          "status": "refunded",
                          "created_date": "2025-11-05T13:00:12Z",
                          "transaction_id": "TXN-3F92B2",
                          "order_id": 558202
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order/user/list": {
      "get": {
        "operationId": "get user list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoOrderUserSchema"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/user/settings": {
      "get": {
        "operationId": "get user settings",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoOrderUserSettingsView"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/user/settings/update": {
      "post": {
        "operationId": "update user settings",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AutoOrderUserSettingsUpdateSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoOrderUserSettingsView"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/user/kyc-status": {
      "get": {
        "operationId": "get user kyc status",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "kyc_status": {
                      "example": "approved",
                      "type": "string"
                    },
                    "request_kyc": {
                      "example": false,
                      "type": "boolean"
                    },
                    "message": {
                      "example": "Your kyc documents are approved.",
                      "type": "string"
                    },
                    "allow_load_balance": {
                      "example": true,
                      "type": "boolean"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/user/user-state": {
      "get": {
        "operationId": "getUserState",
        "summary": "Get user state data",
        "description": "Returns the current state for a user.",
        "tags": [
          "auto-order"
        ],
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoOrderUserStateView"
                }
              }
            }
          },
          "401": {
            "description": "Not Authorized"
          }
        }
      },
      "post": {
        "operationId": "updateUserState",
        "summary": "Update user state data",
        "description": "Updates the user state (only specific fields like `eligible_for_fba_bundle_offer`).",
        "tags": [
          "auto-order"
        ],
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AutoOrderUserStateModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoOrderUserStateView"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Not Authorized"
          }
        }
      }
    },
    "/auto-order/order/events/{order_id}": {
      "get": {
        "operationId": "get order events",
        "parameters": [
          {
            "description": "ID of order",
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "id": {
                      "example": 123,
                      "type": "integer"
                    },
                    "order_id": {
                      "example": 1,
                      "type": "integer"
                    },
                    "description": {
                      "example": "Your kyc documents are approved.",
                      "type": "string"
                    },
                    "event_type": {
                      "example": "update",
                      "type": "string"
                    },
                    "event_time": {
                      "example": "2023-09-22 06:21:51",
                      "type": "string"
                    },
                    "fields_modified": {
                      "example": "json data of modified fields",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success. list of events."
          },
          "401": {
            "content": {},
            "description": "Not Authorized"
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/order/create-external": {
      "post": {
        "operationId": "addExternalOrder",
        "description": "Add a new external order to the system. If the order with the given `sell_site_order_id` already exists, it returns the existing order details; otherwise, it creates a new order.",
        "requestBody": {
          "description": "External order creation data.",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderCreateExternalSchema"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Order already exists.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "order": {
                      "type": "object",
                      "description": "Existing order details.",
                      "example": {
                        "id": 12345,
                        "sell_site_order_id": "ORDER12345",
                        "store_name": "My Store",
                        "buy_site_id": "Amazon",
                        "quantity_to_buy": 2
                      }
                    }
                  }
                }
              }
            }
          },
          "201": {
            "description": "New order created successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderCreateExternalSchema"
                }
              }
            }
          },
          "422": {
            "description": "Error processing the request as required fields are missing.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "type": "object",
                      "example": {
                        "buy_site_id": [
                          "Missing data for required field."
                        ],
                        "sell_site_order_id": [
                          "Missing data for required field."
                        ],
                        "suggested_buy_price": [
                          "Missing data for required field."
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error saving the order due to an issue in input data or processing.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Error saving order: Database connection failed"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized access.",
            "content": {}
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/handle-reorder/{id}": {
      "get": {
        "summary": "Get Order Data",
        "description": "Retrieve details of a specific order by ID.",
        "operationId": "getOrderById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoOrderSchema"
                }
              }
            }
          },
          "404": {
            "description": "Order not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Order with ID 123 does not exist in DB"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      },
      "post": {
        "summary": "Re-Order Refunded Order",
        "description": "Reorders a previously refunded or failed order.",
        "operationId": "reOrderById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoOrderSchema"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Order 123 cannot be Re-Ordered. Reason: Order status is FAILED"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Order not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Order with ID 123 does not exist in DB"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          },
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/order/search": {
      "get": {
        "operationId": "order_main_search",
        "description": "search orders with given word",
        "parameters": [
          {
            "name": "store_ids",
            "in": "query",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "integer"
              },
              "example": [
                4512,
                1993
              ]
            }
          },
          {
            "name": "search_word",
            "in": "query",
            "required": true,
            "description": "Word to search across order fields",
            "schema": {
              "type": "string",
              "example": "search term"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "list of orders from elastic search",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderSearchResponse"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized access.",
            "content": {}
          }
        },
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          }
        ],
        "tags": [
          "auto-order"
        ]
      }
    },
    "/auto-order/order/{store_ids}/managed-invoice": {
      "post": {
        "operationId": "getManagedInvoice",
        "summary": "Generate Managed Invoice PDF and return a download link",
        "tags": [
          "payments"
        ],
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "store_ids",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Comma-separated store IDs (e.g., \"3968,1234\") or the keyword \"ALL\".\n",
            "examples": {
              "multiple": {
                "value": "3968,1234"
              },
              "all": {
                "value": "ALL"
              }
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ManagedInvoiceRequestModel"
              },
              "examples": {
                "example1": {
                  "value": {
                    "order_created_date_gte": "2025-11-01T00:00:00Z",
                    "order_created_date_lte": "2025-11-06T23:59:59Z",
                    "user_name": "Test Test",
                    "street": "123 MG Road",
                    "city": "Hyderabad",
                    "zipcode": "500001",
                    "extra_info": "Please include GST details"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success (link valid for a short time)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedInvoiceResponse"
                }
              }
            }
          },
          "400": {
            "description": "Orders not found / validation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "not_found": {
                    "value": {
                      "status": "error",
                      "message": "Orders not found with given date"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/reviews/{obj_id}": {
      "get": {
        "tags": [
          "Reviews"
        ],
        "summary": "Get All",
        "operationId": "get_all_api_reviews__obj_id__get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Obj Id",
              "type": "string"
            },
            "name": "obj_id",
            "in": "path"
          },
          {
            "required": false,
            "schema": {
              "title": "Offset",
              "type": "integer",
              "default": 0
            },
            "name": "offset",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Limit",
              "type": "integer",
              "default": 10
            },
            "name": "limit",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPProductReviewListResultsSchema"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPHTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/print-on-demand/categories/": {
      "get": {
        "tags": [
          "Print on demand"
        ],
        "summary": "Get Categories",
        "operationId": "get_categories_api_print_on_demand_categories__get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Get Categories Api Print On Demand Categories  Get",
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MPPrintOnDemandTemplateCategoryResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/print-on-demand/templates/": {
      "get": {
        "tags": [
          "Print on demand"
        ],
        "summary": "Get Templates",
        "operationId": "get_templates_api_print_on_demand_templates__get",
        "parameters": [
          {
            "required": false,
            "schema": {
              "title": "Category",
              "type": "string"
            },
            "name": "category",
            "in": "query"
          },
          {
            "required": true,
            "schema": {
              "title": "Limit",
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            },
            "name": "limit",
            "in": "query"
          },
          {
            "required": true,
            "schema": {
              "title": "Offset",
              "minimum": 0,
              "type": "integer"
            },
            "name": "offset",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Get Templates Api Print On Demand Templates  Get",
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MPPrintOnDemandTemplateShortResponse"
                  }
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPHTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/print-on-demand/templates/{template_id}": {
      "get": {
        "tags": [
          "Print on demand"
        ],
        "summary": "Get Template",
        "operationId": "get_template_api_print_on_demand_templates__template_id__get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Template Id",
              "type": "string"
            },
            "name": "template_id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPPrintOnDemandTemplateResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPHTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/print-on-demand/shipping-options/{template_id}/{region}": {
      "get": {
        "tags": [
          "Print on demand"
        ],
        "summary": "Get Shipping Options",
        "operationId": "get_shipping_options_api_print_on_demand_shipping_options__template_id___region__get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Template Id",
              "type": "string"
            },
            "name": "template_id",
            "in": "path"
          },
          {
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/MPPrintOnDemandRegion"
            },
            "name": "region",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Get Shipping Options Api Print On Demand Shipping Options  Template Id   Region  Get",
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MPShippingOption"
                  }
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPHTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/products/event": {
      "post": {
        "tags": [
          "Products"
        ],
        "summary": "Retail Products Event Register",
        "operationId": "retail_products_event_register_api_products_event_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MPRetailProductsEventData"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPHTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/products/": {
      "post": {
        "tags": [
          "Products"
        ],
        "summary": "Get All",
        "operationId": "get_all_api_products__post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MPProductListFilter"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPProductListResultsSchema"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPHTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/products/guest_products": {
      "post": {
        "tags": [
          "Products"
        ],
        "summary": "Get demo products without Authorization. Limited to 40 first products",
        "operationId": "get_all_api_products_guest__post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MPProductListFilter"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPProductListResultsSchema"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPHTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/products/params/": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Get All Params",
        "operationId": "get_all_params_api_products_params__get",
        "parameters": [
          {
            "required": false,
            "schema": {
              "title": "Offset",
              "type": "integer",
              "default": 0
            },
            "name": "offset",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Limit",
              "type": "integer",
              "default": 10
            },
            "name": "limit",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Order By",
              "type": "string",
              "default": "-created_at"
            },
            "name": "order_by",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Shfm",
              "type": "string"
            },
            "name": "shfm",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Prcrng",
              "type": "string"
            },
            "name": "prcrng",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Rtlsplr",
              "type": "string"
            },
            "name": "rtlsplr",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Rtng",
              "type": "string"
            },
            "name": "rtng",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Mfrvws",
              "type": "string"
            },
            "name": "mfrvws",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Shpngds",
              "type": "string"
            },
            "name": "shpngds",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Src",
              "type": "string"
            },
            "name": "src",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Ctgr",
              "type": "string"
            },
            "name": "ctgr",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPHTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/products/bulk-import/{store_ids}": {
      "post": {
        "tags": [
          "Products"
        ],
        "summary": "Bulk Import",
        "operationId": "bulk_import_api_products_bulk_import__store_ids__post",
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Store Ids",
              "type": "string"
            },
            "name": "store_ids",
            "in": "path"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MPProductListFilterParams"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPHTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/products/winning": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Get Winning Products List",
        "operationId": "get_winning_products_list_api_products_winning_get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Offset",
              "minimum": 0,
              "type": "integer"
            },
            "name": "offset",
            "in": "query"
          },
          {
            "required": true,
            "schema": {
              "title": "Limit",
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            },
            "name": "limit",
            "in": "query"
          },
          {
            "required": true,
            "schema": {
              "title": "Sort",
              "type": "string"
            },
            "name": "sort",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WinningProductResultsResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPHTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/products/{product_id}": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Get By Id",
        "operationId": "get_by_id_api_products__product_id__get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Product Id",
              "type": "string"
            },
            "name": "product_id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPSingleProductResponseSchema"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPHTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/products/{product_id}/similar": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Get Similar By Id",
        "operationId": "get_similar_by_id_api_products__product_id__similar_get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Product Id",
              "type": "string"
            },
            "name": "product_id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPProductListResultsSchema"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPHTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/products/{product_id}/regions": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Get Product Regions",
        "description": "The product's listings in all \"Ships To\" regions, with price and shipping per region.",
        "operationId": "get_product_regions_api_products__product_id__regions_get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Product Id",
              "type": "string"
            },
            "name": "product_id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPProductRegionsResponse"
                }
              }
            }
          },
          "307": {
            "description": "The requested product is a paid winning product and the user has no Product Finding Hub add-on.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPHTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/products/schema/": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Get Schema",
        "operationId": "get_schema_api_products_schema__get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/products/recommended/{product_id}": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Get Recommended Products",
        "operationId": "get_recommended_products_api_products_recommended__product_id__get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Product Id",
              "type": "string"
            },
            "name": "product_id",
            "in": "path"
          },
          {
            "required": false,
            "schema": {
              "title": "Offset",
              "type": "integer",
              "default": 0
            },
            "name": "offset",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Limit",
              "type": "integer",
              "default": 10
            },
            "name": "limit",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPRecommendedProductsListResultSchema"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPHTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/tik-tok/ads": {
      "get": {
        "tags": [
          "TikTok Spy"
        ],
        "summary": "Get Tik Tok Products",
        "operationId": "get_tik_tok_products_api_tik_tok__get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/TikTokProductsSort"
            },
            "name": "order_by",
            "in": "query"
          },
          {
            "required": true,
            "schema": {
              "title": "Offset",
              "minimum": 0,
              "type": "integer"
            },
            "name": "offset",
            "in": "query"
          },
          {
            "required": true,
            "schema": {
              "title": "Limit",
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            },
            "name": "limit",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/TikTokProductsRegions"
            },
            "name": "region",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/TikTokProductsImpressions"
            },
            "name": "impressions",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/TikTokProductsLikes"
            },
            "name": "likes",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/TikTokProductsInteractionsRatePercent"
            },
            "name": "interactions_rate_percent",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/TikTokProductsFirstSeenDays"
            },
            "name": "first_seen_days",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/TikTokCTA"
            },
            "name": "cta",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Query",
              "type": "string"
            },
            "name": "query",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/TikTokSource"
            },
            "name": "source",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TikTokProductListResultsSchema"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPHTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/tik-tok/ads/{tt_ad_id}": {
      "get": {
        "tags": [
          "TikTok Spy"
        ],
        "summary": "Get Tik Tok Product",
        "operationId": "get_tik_tok_product_api_tik_tok__tik_tok_product_id__get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Tik Tok Product Id",
              "type": "integer"
            },
            "name": "tik_tok_product_id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TikTokPost"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MPHTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/tik-tok/products": {
      "get": {
        "tags": [
          "TikTok Spy"
        ],
        "summary": "Get TikTok Products listing",
        "description": "Get TikTok Products listing with pagination support with Point In Time",
        "operationId": "get_tt_products_api_tik_tok_products_get",
        "parameters": [
          {
            "required": false,
            "schema": {
              "title": "Scroll Id",
              "type": "string",
              "default": ""
            },
            "name": "scroll_id",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Limit",
              "maximum": 100,
              "minimum": 1,
              "type": "integer",
              "default": "20"
            },
            "name": "limit",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Has Product Details",
              "type": "boolean",
              "default": "true"
            },
            "name": "has_product_details",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Has Product Analytics",
              "type": "boolean",
              "default": "true"
            },
            "name": "has_product_analytics",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/AdProductsLikesChoices"
            },
            "name": "likes",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/AdProductsViewsChoices"
            },
            "name": "views",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/InteractionRateChoices"
            },
            "name": "interaction_rate",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/AdProductsPriceRange"
            },
            "name": "price",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/DaysAgoChoices"
            },
            "name": "created",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/AdProductsSoldRange"
            },
            "name": "sold",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/AdProductsProfitRange"
            },
            "name": "profit",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/CategoryChoices"
            },
            "name": "category",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Query",
              "maxLength": "200",
              "type": "string"
            },
            "name": "query",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/TikTokAdProductSort"
                }
              ],
              "default": "product_score"
            },
            "name": "sort_field",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/TikTokSortOrder"
                }
              ],
              "default": "desc"
            },
            "name": "sort_order",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdProductsListResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/tik-tok/products/{product_id}": {
      "get": {
        "tags": [
          "TikTok Spy"
        ],
        "summary": "Get Tt Product",
        "description": "Get TikTok Product by id",
        "operationId": "get_tt_product_api_tik_tok_products__product_id__get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Product Id",
              "type": "string"
            },
            "name": "product_id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdProduct"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/tik-tok/analytics/{product_id}": {
      "get": {
        "tags": [
          "TikTok Spy"
        ],
        "summary": "Get Tt Analytic",
        "description": "Get TikTok Analytics for Product by product_id",
        "operationId": "get_tt_analytic_api_tik_tok_analytics__product_id__get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Product Id",
              "type": "string"
            },
            "name": "product_id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdProductAnalytics"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/tik-tok/analytics": {
      "get": {
        "tags": [
          "TikTok Spy"
        ],
        "summary": "Get Tt Analytics",
        "description": "Get TikTok Analytics List",
        "operationId": "get_tt_analytics_api_tik_tok_analytics_get",
        "parameters": [
          {
            "required": false,
            "schema": {
              "title": "Scroll Id",
              "type": "string",
              "default": ""
            },
            "name": "scroll_id",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Limit",
              "maximum": 100,
              "minimum": 1,
              "type": "integer",
              "default": "20"
            },
            "name": "limit",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Total Sales Qty Gte",
              "type": "integer"
            },
            "name": "total_sales_qty_gte",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Total Sales Qty Lte",
              "type": "integer"
            },
            "name": "total_sales_qty_lte",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Total Reviews Gte",
              "type": "integer"
            },
            "name": "total_reviews_gte",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Total Reviews Lte",
              "type": "integer"
            },
            "name": "total_reviews_lte",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Price Gte",
              "type": "number"
            },
            "name": "price_gte",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Price Lte",
              "type": "number"
            },
            "name": "price_lte",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Score Gte",
              "type": "number"
            },
            "name": "score_gte",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Score Lte",
              "type": "number"
            },
            "name": "score_lte",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/TikTokAdProductAnalyticsSort"
                }
              ],
              "default": "updated_at"
            },
            "name": "sort_field",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/TikTokSortOrder"
                }
              ],
              "default": "desc"
            },
            "name": "sort_order",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TikTokAdProductAnalyticsResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/tik-tok/product_details/{product_id}": {
      "get": {
        "tags": [
          "TikTok Spy"
        ],
        "summary": "Get Tt Product With Details",
        "description": "Get TikTok Product with all details - analytics, video, etc.",
        "operationId": "get_tt_product_with_details_api_tik_tok_product_details__product_id__get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Product Id",
              "type": "string"
            },
            "name": "product_id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdProductFullResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/currency/constant": {
      "get": {
        "tags": [
          "Currency"
        ],
        "summary": "Get Currencies And Countries",
        "operationId": "get_currencies_and_countries_api_currency_constant_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": null
              }
            }
          }
        }
      }
    },
    "/api/categories/": {
      "get": {
        "tags": [
          "Categories"
        ],
        "summary": "Get Categories",
        "operationId": "get_categories_api_categories__get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": null
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/user_settings/": {
      "get": {
        "tags": [
          "User settings"
        ],
        "summary": "Get",
        "operationId": "get_api_user_settings__get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": null
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/notifications/new-message": {
      "post": {
        "tags": [
          "Notifications"
        ],
        "summary": "On New Message",
        "operationId": "on_new_message_api_notifications_new_message_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationNewMessageSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": null
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/tiktok-analytics/product": {
      "get": {
        "tags": [
          "TikTok Analytics"
        ],
        "summary": "Get Product Details",
        "operationId": "get_product_details_api_tiktok_analytics_product_get",
        "parameters": [
          {
            "name": "product_id",
            "in": "query",
            "required": true,
            "schema": {
              "title": "Product Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TikTokAnalyticsProductDetails"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/tiktok-analytics/products": {
      "get": {
        "tags": [
          "TikTok Analytics"
        ],
        "summary": "Get Products",
        "operationId": "get_products_api_tiktok_analytics_products_get",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Limit",
              "type": "integer",
              "minimum": 1,
              "default": 20
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Offset",
              "type": "integer",
              "minimum": 0,
              "default": 0
            }
          },
          {
            "name": "sort_field",
            "in": "query",
            "required": false,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/TikTokAnalyticsProductSort"
                }
              ],
              "default": "sold_units_during_7d"
            }
          },
          {
            "name": "sort_order",
            "in": "query",
            "required": false,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/TikTokAnalyticsSortOrder"
                }
              ],
              "default": "desc"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "categories.category_path.autods_category_id in tt-products doc",
            "schema": {
              "title": "Category",
              "type": "string",
              "description": "categories.category_path.autods_category_id in tt-products doc"
            }
          },
          {
            "name": "product_status",
            "in": "query",
            "required": false,
            "description": "Show products by status. By default \u2014 available only.",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/ProductSatus"
                }
              ],
              "default": "available"
            }
          },
          {
            "name": "price",
            "in": "query",
            "required": false,
            "description": "Float range \"min-max\": \"10-20\", \"-50.5\", \"60-\".",
            "schema": {
              "title": "Price",
              "type": "string",
              "pattern": "^(\\\\d+(\\\\.\\\\d+)?)?-(\\\\d+(\\\\.\\\\d+)?)?$"
            }
          },
          {
            "name": "product_score",
            "in": "query",
            "required": false,
            "description": "Float range \"min-max\": \"83.3-90.8\", \"-90.5\", \"75.2-\".",
            "schema": {
              "title": "Product Score",
              "type": "string",
              "pattern": "^(\\\\d+(\\\\.\\\\d+)?)?-(\\\\d+(\\\\.\\\\d+)?)?$"
            }
          },
          {
            "name": "commission_rate",
            "in": "query",
            "required": false,
            "description": "Float range \"min-max\": \"0.05-0.2\", \"-0.15\", \"0.2-\".",
            "schema": {
              "title": "Commission Rate",
              "type": "string",
              "pattern": "^(\\\\d+(\\\\.\\\\d+)?)?-(\\\\d+(\\\\.\\\\d+)?)?$"
            }
          },
          {
            "name": "sold_units_during_7d",
            "in": "query",
            "required": false,
            "description": "Int range \"min-max\": \"10-50\", \"-100\", \"200-\".",
            "schema": {
              "title": "Sold Units During 7D",
              "type": "string",
              "pattern": "^(\\\\d+)?-(\\\\d+)?$"
            }
          },
          {
            "name": "sold_units_during_30d",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Sold Units During 30D",
              "type": "string",
              "pattern": "^(\\\\d+)?-(\\\\d+)?$"
            }
          },
          {
            "name": "sold_units_during_60d",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Sold Units During 60D",
              "type": "string",
              "pattern": "^(\\\\d+)?-(\\\\d+)?$"
            }
          },
          {
            "name": "sold_units_during_90d",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Sold Units During 90D",
              "type": "string",
              "pattern": "^(\\\\d+)?-(\\\\d+)?$"
            }
          },
          {
            "name": "sold_qty",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Sold Qty",
              "type": "string",
              "pattern": "^(\\\\d+)?-(\\\\d+)?$"
            }
          },
          {
            "name": "gmv_7d",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Gmv 7D",
              "type": "string",
              "pattern": "^(\\\\d+(\\\\.\\\\d+)?)?-(\\\\d+(\\\\.\\\\d+)?)?$"
            }
          },
          {
            "name": "gmv_30d",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Gmv 30D",
              "type": "string",
              "pattern": "^(\\\\d+(\\\\.\\\\d+)?)?-(\\\\d+(\\\\.\\\\d+)?)?$"
            }
          },
          {
            "name": "gmv_60d",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Gmv 60D",
              "type": "string",
              "pattern": "^(\\\\d+(\\\\.\\\\d+)?)?-(\\\\d+(\\\\.\\\\d+)?)?$"
            }
          },
          {
            "name": "gmv_90d",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Gmv 90D",
              "type": "string",
              "pattern": "^(\\\\d+(\\\\.\\\\d+)?)?-(\\\\d+(\\\\.\\\\d+)?)?$"
            }
          },
          {
            "name": "gmv",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Gmv",
              "type": "string",
              "pattern": "^(\\\\d+(\\\\.\\\\d+)?)?-(\\\\d+(\\\\.\\\\d+)?)?$"
            }
          },
          {
            "name": "sold_growth_7d",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Sold Growth 7D",
              "type": "string",
              "pattern": "^(\\\\d+(\\\\.\\\\d+)?)?-(\\\\d+(\\\\.\\\\d+)?)?$"
            }
          },
          {
            "name": "sold_growth_30d",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Sold Growth 30D",
              "type": "string",
              "pattern": "^(\\\\d+(\\\\.\\\\d+)?)?-(\\\\d+(\\\\.\\\\d+)?)?$"
            }
          },
          {
            "name": "sold_growth_60d",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Sold Growth 60D",
              "type": "string",
              "pattern": "^(\\\\d+(\\\\.\\\\d+)?)?-(\\\\d+(\\\\.\\\\d+)?)?$"
            }
          },
          {
            "name": "sold_growth_90d",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Sold Growth 90D",
              "type": "string",
              "pattern": "^(\\\\d+(\\\\.\\\\d+)?)?-(\\\\d+(\\\\.\\\\d+)?)?$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TikTokAnalyticsTableResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/tiktok-analytics/overview": {
      "get": {
        "tags": [
          "TikTok Analytics"
        ],
        "summary": "Get Product Overview",
        "operationId": "get_product_overview_api_tiktok_analytics_overview_get",
        "parameters": [
          {
            "name": "product_id",
            "in": "query",
            "required": true,
            "schema": {
              "title": "Product Id",
              "type": "string"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "required": false,
            "description": "Start date, included: 2020-12-17",
            "schema": {
              "title": "Start Date",
              "type": "string",
              "format": "date",
              "description": "Start date, included: 2020-12-17"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "required": false,
            "description": "End date, included: 2025-10-20",
            "schema": {
              "title": "End Date",
              "type": "string",
              "format": "date",
              "description": "End date, included: 2025-10-20"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TikTokAnalyticsProductOverview"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/api/tiktok-analytics/videos": {
      "get": {
        "tags": [
          "TikTok Analytics"
        ],
        "summary": "Get Product Videos",
        "description": "Returns related videos for a product (paged).",
        "operationId": "get_product_videos_api_tiktok_analytics_videos_get",
        "parameters": [
          {
            "name": "internal_id",
            "in": "query",
            "required": true,
            "schema": {
              "title": "Internal Id",
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Limit",
              "type": "integer",
              "minimum": 1,
              "default": 20
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "title": "Offset",
              "type": "integer",
              "minimum": 0,
              "default": 0
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "required": false,
            "description": "Start date, included: 2020-12-17",
            "schema": {
              "title": "Start Date",
              "type": "string",
              "format": "date",
              "description": "Start date, included: 2020-12-17"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "required": false,
            "description": "End date, included: 2025-10-20",
            "schema": {
              "title": "End Date",
              "type": "string",
              "format": "date",
              "description": "End date, included: 2025-10-20"
            }
          },
          {
            "name": "sort_field",
            "in": "query",
            "required": false,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/TikTokAnalyticsVideoSort"
                }
              ],
              "default": "created_at"
            }
          },
          {
            "name": "sort_order",
            "in": "query",
            "required": false,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/TikTokAnalyticsSortOrder"
                }
              ],
              "default": "desc"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TikTokAnalyticsRelatedVideosResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearer": []
          }
        ]
      }
    },
    "/v1/va-users/": {
      "get": {
        "summary": "List Virtual Assistant Users",
        "operationId": "list_virtual_assistant_users_v1_va_users__get",
        "parameters": [
          {
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "title": "Page",
              "default": 1
            },
            "name": "page",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "title": "Per Page",
              "default": 50
            },
            "name": "per_page",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedResponseSchema_VirtualAssistantResponse_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/va-users/registration": {
      "post": {
        "summary": "Create Virtual Assistant User",
        "operationId": "create_virtual_assistant_user_v1_va_users__post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateVirtualAssistantRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VirtualAssistantResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/va-users/{virtual_assistant_id}": {
      "get": {
        "summary": "Get Virtual Assistant User",
        "operationId": "get_virtual_assistant_user_v1_va_users__virtual_assistant_id__get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Virtual Assistant Id"
            },
            "name": "virtual_assistant_id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VirtualAssistantResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "put": {
        "summary": "Update Virtual Assistant User",
        "operationId": "update_virtual_assistant_user_v1_va_users__virtual_assistant_id__put",
        "parameters": [
          {
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Virtual Assistant Id"
            },
            "name": "virtual_assistant_id",
            "in": "path"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateVirtualAssistantRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VirtualAssistantResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "delete": {
        "summary": "Delete Virtual Assistant User",
        "operationId": "delete_virtual_assistant_user_v1_va_users__virtual_assistant_id__delete",
        "parameters": [
          {
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Virtual Assistant Id"
            },
            "name": "virtual_assistant_id",
            "in": "path"
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/dropshippers/registration": {
      "post": {
        "summary": "Registration",
        "operationId": "registration_v1_dropshippers_registration_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DropshipperUserRegisterRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/dropshippers/notification-settings": {
      "get": {
        "summary": "Get User Notification Settings",
        "operationId": "get_user_notification_settings_v1_dropshippers_notification_settings_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      },
      "put": {
        "summary": "Update User Notification Settings",
        "operationId": "update_user_notification_settings_v1_dropshippers_notification_settings_put",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserNotificationSettingsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/dropshippers/current": {
      "put": {
        "summary": "Update User",
        "operationId": "update_user_v1_dropshippers__user_id__put",
        "parameters": [
          {
            "required": true,
            "schema": {
              "type": "integer",
              "title": "User Id"
            },
            "name": "user_id",
            "in": "path"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DropshipperUpdateUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/dropshippers/email-confirmation": {
      "post": {
        "summary": "Send Confirmation To Email",
        "operationId": "send_confirmation_to_email_v1_dropshippers_email_confirmation_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DropshipperConfirmUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/dropshippers/verify-email": {
      "post": {
        "summary": "Verify Cognito User",
        "operationId": "verify_cognito_user_v1_dropshippers_verify_email_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DropshipperVerifyCognitoUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/users/current": {
      "get": {
        "summary": "Get Current User",
        "operationId": "get_current_user_v1_users_current_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      },
      "delete": {
        "summary": "Delete User",
        "operationId": "delete_user_v1_users_current_delete",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/v1/users/check-email": {
      "post": {
        "summary": "Check Email",
        "operationId": "check_email_v1_users_check_email_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckEmailRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/affiliaters/registration": {
      "post": {
        "summary": "Create Affiliater User",
        "operationId": "create_affiliater_user_v1_affiliaters_registration_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AffiliaterUserRegisterRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AffiliaterUserResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/affiliaters/current": {
      "put": {
        "summary": "Update Affiliater User",
        "operationId": "update_user_v1_affiliaters__user_id__put",
        "parameters": [
          {
            "required": true,
            "schema": {
              "type": "integer",
              "title": "User Id"
            },
            "name": "user_id",
            "in": "path"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AffiliaterUpdateUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/payments/paypal/external/setup-token": {
      "get": {
        "tags": [
          "auto-order-v3",
          "payments",
          "paypal",
          "external"
        ],
        "summary": "Setup Token",
        "description": "Create a PayPal setup token and return redirect URL.",
        "operationId": "setup_token_payments_paypal_setup_token_get",
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayPalSetupTokenResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/orders/external/managed-invoice": {
      "post": {
        "tags": [
          "auto-order-v3",
          "orders",
          "external"
        ],
        "summary": "Generate Managed Invoice PDF",
        "description": "Generate a managed invoice PDF and return a presigned download link.",
        "operationId": "get_managed_invoice_orders_external_managed_invoice_post",
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ManagedInvoiceRequestV3"
              },
              "examples": {
                "example1": {
                  "value": {
                    "order_created_date_gte": "2025-11-01T00:00:00Z",
                    "order_created_date_lte": "2025-11-06T23:59:59Z",
                    "store_ids": "10,20",
                    "user_name": "Test Test",
                    "street": "123 MG Road",
                    "city": "Hyderabad",
                    "zipcode": "500001",
                    "extra_info": "Please include GST details"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success (link valid for a short time)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedInvoiceResponse"
                }
              }
            }
          },
          "400": {
            "description": "Orders not found / validation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "not_found": {
                    "value": {
                      "status": "error",
                      "message": "Orders not found with given date"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/payments/paypal/external/create-billing": {
      "get": {
        "tags": [
          "auto-order-v3",
          "payments",
          "paypal",
          "external"
        ],
        "summary": "Create Billing",
        "description": "Activate PayPal billing using approval token.",
        "operationId": "create_billing_payments_paypal_create_billing_get",
        "parameters": [
          {
            "name": "approval_token_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 5,
              "title": "Approval Token Id"
            }
          }
        ],
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayPalCreateBillingResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/payments/stripe/external/create-session": {
      "post": {
        "tags": [
          "auto-order-v3",
          "payments",
          "stripe",
          "external"
        ],
        "summary": "Create Stripe Setup Session",
        "description": "Creates a Stripe Checkout Setup Session and returns a redirect URL to collect a payment method for the authenticated user.\n",
        "operationId": "create_session_payments_stripe_create_session_post",
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StripeCreateSessionResponse"
                }
              }
            }
          },
          "502": {
            "description": "Stripe Gateway Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentErrorResponse"
                }
              }
            }
          },
          "400": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AoV3HttpError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/payments/stripe/external/pm-create": {
      "post": {
        "tags": [
          "auto-order-v3",
          "payments",
          "stripe",
          "external"
        ],
        "summary": "Create Stripe Payment Method",
        "description": "Finalizes a Stripe Checkout session and stores the payment method for the authenticated user.\n",
        "operationId": "pm_create_payments_stripe_pm_create_post",
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StripePMCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StripePMCreateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Stripe Gateway Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/payments/payoneer/external/login-url": {
      "post": {
        "tags": [
          "auto-order-v3",
          "payments",
          "payoneer",
          "external"
        ],
        "summary": "Get Login Url",
        "description": "Get Payoneer OAuth authorization URL.",
        "operationId": "get_login_url_payments_payoneer_login_url_post",
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PayoneerLoginUrlRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoneerLoginUrlResponse"
                }
              }
            }
          },
          "400": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AoV3HttpError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/payments/payoneer/external/approve": {
      "put": {
        "tags": [
          "auto-order-v3",
          "payments",
          "payoneer",
          "external"
        ],
        "summary": "Confirm Billing",
        "description": "Confirm Payoneer billing after OAuth authorization.",
        "operationId": "confirm_billing_payments_payoneer_approve_put",
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PayoneerConfirmRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoneerConfirmResponse"
                }
              }
            }
          },
          "400": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AoV3HttpError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/payments/payoneer/external/refresh/{billing_id}": {
      "get": {
        "tags": [
          "auto-order-v3",
          "payments",
          "payoneer",
          "external"
        ],
        "summary": "Refresh Billing",
        "description": "refresh Payoneer billing",
        "operationId": "refresh_billing_payments_payoneer",
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "description": "ID of billing",
            "in": "path",
            "name": "billing_id",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoneerLoginUrlResponse"
                }
              }
            }
          },
          "400": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AoV3HttpError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/payments/payoneer/external/bank-accounts/{billing_id}": {
      "get": {
        "tags": [
          "auto-order-v3",
          "payments",
          "payoneer",
          "external"
        ],
        "summary": "Get Payoneer Bank Accounts",
        "description": "Get Payoneer receiving bank accounts for a billing ID.",
        "operationId": "get_payoneer_bank_accounts_payments_payoneer_bank_accounts_get",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          },
          {
            "werewolf": [
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "name": "billing_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "description": "User billing ID"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoneerBankAccountsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden (billing does not belong to user)"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/payments/payoneer/external/wallet/transactions/{billing_id}": {
      "get": {
        "tags": [
          "auto-order-v3",
          "payments",
          "payoneer",
          "external"
        ],
        "summary": "Get Payoneer Wallet Transactions",
        "description": "Get Payoneer wallet transactions for a billing ID.",
        "operationId": "get_payoneer_transactions_payments_payoneer_transactions_get",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          },
          {
            "werewolf": [
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "name": "billing_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "description": "User billing ID"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "description": "Number of transactions to fetch (1-100)"
          },
          {
            "name": "next_link",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Cursor provided by the previous page for pagination"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoneerTransactionsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Payoneer service error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AoV3HttpError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden (billing does not belong to user)"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/payments/payoneer/external/wallet/balances/{billing_id}": {
      "get": {
        "tags": [
          "auto-order-v3",
          "payments",
          "payoneer",
          "external"
        ],
        "summary": "Get Payoneer Wallet Balances",
        "description": "Get Payoneer wallet balances for a billing ID.",
        "operationId": "get_payoneer_balances_payments_payoneer_wallet_balances_get",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          },
          {
            "werewolf": [
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "name": "billing_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "description": "User billing ID"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoneerBalancesResponse"
                }
              }
            }
          },
          "400": {
            "description": "Payoneer service error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AoV3HttpError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden (billing does not belong to user)"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/payments/payoneer/external/register": {
      "post": {
        "tags": [
          "auto-order-v3",
          "payments",
          "payoneer",
          "external"
        ],
        "summary": "Register Payoneer Account",
        "description": "Create a Payoneer registration link for users who do not yet have a Payoneer account. This endpoint generates a Payoneer-hosted signup form and creates a pending billing record.\n",
        "operationId": "register_payoneer_payments_payoneer_register_post",
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoneerRegisterResponse"
                }
              }
            }
          },
          "400": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AoV3HttpError"
                }
              }
            }
          },
          "409": {
            "description": "Payoneer account already exists",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AoV3HttpError"
                }
              }
            }
          },
          "502": {
            "description": "Payoneer service error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AoV3HttpError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/payments/external/add-fba-balance": {
      "post": {
        "tags": [
          "auto-order-v3",
          "payments",
          "external"
        ],
        "summary": "Add FBA Balance",
        "description": "Add FBA balance using a saved billing method and an active FBA plan. Charges the user and credits the corresponding currency wallet, updating the wallet balance and auto-order credits.\n",
        "operationId": "add_fba_balance_payments_add_fba_balance_post",
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddFBABalanceRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddFBABalanceResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid FBA Plan",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Payment Failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/payments/external/user-billing": {
      "get": {
        "tags": [
          "auto-order-v3",
          "payments",
          "external"
        ],
        "summary": "Get User Billing Methods",
        "description": "Returns a list of billing/payment methods associated with the authenticated user. Only billing accounts owned by the user are returned.\n",
        "operationId": "get_user_billings_payments_user_billing_get",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          },
          {
            "werewolf": [
              "read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserBillingResponse"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/payments/external/user-billing/{billing_id}": {
      "delete": {
        "tags": [
          "auto-order-v3",
          "payments",
          "external"
        ],
        "summary": "Delete User Billing Method",
        "description": "Soft deletes a billing method by marking its status as deleted. The billing method must belong to the authenticated user.\n",
        "operationId": "delete_user_billing_payments_user_billing_delete",
        "parameters": [
          {
            "name": "billing_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "example": 10
            }
          }
        ],
        "security": [
          {
            "autods_auth": [
              "write"
            ]
          },
          {
            "werewolf": [
              "write"
            ]
          }
        ],
        "responses": {
          "204": {
            "description": "Billing method successfully deleted"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden (billing does not belong to user)"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/buy-accounts/external/create": {
      "post": {
        "tags": [
          "auto-order-v3",
          "buy-accounts",
          "external"
        ],
        "summary": "Create Buy Account",
        "description": "Creates a buying account owned by the authenticated seller. A dormant account with the same email and supplier site is revived instead, and answers 200.\n",
        "operationId": "create_own_buy_account_buy_accounts_external_create_post",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BuyAccountCreateRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuyAccountExternalRead"
                }
              }
            }
          },
          "200": {
            "description": "A dormant account with the same email and site was revived",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuyAccountExternalRead"
                }
              }
            }
          },
          "400": {
            "description": "An active account with the same email and site already exists"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "The account belongs to another seller"
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/buy-accounts/external/filter": {
      "post": {
        "tags": [
          "auto-order-v3",
          "buy-accounts",
          "external"
        ],
        "summary": "Filter Buy Accounts",
        "description": "Filters the authenticated seller's own buying accounts. Deleted and Disabled accounts are never returned and no request field can include them. `limit: 0` answers the total alone.\n",
        "operationId": "filter_own_buy_accounts_buy_accounts_external_filter_post",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BuyAccountExternalFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuyAccountExternalFilterResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/buy-accounts/external/bulk": {
      "put": {
        "tags": [
          "auto-order-v3",
          "buy-accounts",
          "external"
        ],
        "summary": "Bulk Update Buy Accounts",
        "description": "Writes the same settings to every one of the seller's accounts the filter matches. No clauses means every account the seller can see. The whole set is written in one transaction, so either every matched account changes or none does. A match of more than 20 accounts is refused rather than truncated.\n",
        "operationId": "bulk_update_own_buy_accounts_buy_accounts_external_bulk_put",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BuyAccountBulkUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Done. The action reports nothing back, the way the single delete does."
          },
          "401": {
            "description": "Unauthorized"
          },
          "422": {
            "description": "The body failed validation, or the filter matches more than 20 accounts. A field fault answers a list of faults; the cap answers a single message.\n",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/HTTPValidationError"
                    },
                    {
                      "$ref": "#/components/schemas/DetailMessage"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "auto-order-v3",
          "buy-accounts",
          "external"
        ],
        "summary": "Bulk Delete Buy Accounts",
        "description": "Removes every one of the seller's accounts the filter matches, the way the single delete does: each is marked deleted, its proxy returned to the pool and its stored cards removed. The clauses travel in the request body.\n",
        "operationId": "bulk_delete_own_buy_accounts_buy_accounts_external_bulk_delete",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BuyAccountBulkDeleteRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Done. The action reports nothing back, the way the single delete does."
          },
          "401": {
            "description": "Unauthorized"
          },
          "422": {
            "description": "The body failed validation, or the filter matches more than 20 accounts. A field fault answers a list of faults; the cap answers a single message.\n",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/HTTPValidationError"
                    },
                    {
                      "$ref": "#/components/schemas/DetailMessage"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/buy-accounts/external/{buy_account_id}": {
      "get": {
        "tags": [
          "auto-order-v3",
          "buy-accounts",
          "external"
        ],
        "summary": "Get Buy Account",
        "operationId": "get_own_buy_account_buy_accounts_external_get",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "name": "buy_account_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "example": 1024
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuyAccountExternalRead"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "The account belongs to another seller"
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "auto-order-v3",
          "buy-accounts",
          "external"
        ],
        "summary": "Update Buy Account",
        "description": "Partial update. Setting the status to Active also frees a sign-in lock, and changing a limit recalculates what is left of it.\n",
        "operationId": "update_own_buy_account_buy_accounts_external_put",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "name": "buy_account_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "example": 1024
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BuyAccountUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuyAccountExternalRead"
                }
              }
            }
          },
          "400": {
            "description": "Another account already uses this email on this site"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "The account belongs to another seller"
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "auto-order-v3",
          "buy-accounts",
          "external"
        ],
        "summary": "Delete Buy Account",
        "description": "Marks the account deleted, returns its proxy to the pool and removes its stored cards.\n",
        "operationId": "delete_own_buy_account_buy_accounts_external_delete",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "name": "buy_account_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "example": 1024
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "The account belongs to another seller"
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/buy-accounts/external/{buy_account_id}/cards": {
      "get": {
        "tags": [
          "auto-order-v3",
          "buy-accounts",
          "external"
        ],
        "summary": "List Buy Account Cards",
        "operationId": "list_own_buy_account_cards_buy_accounts_external_cards_get",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "name": "buy_account_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "example": 1024
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsedCardList"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "The account belongs to another seller"
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/buy-accounts/external/{buy_account_id}/cards/create": {
      "post": {
        "tags": [
          "auto-order-v3",
          "buy-accounts",
          "external"
        ],
        "summary": "Create Buy Account Card",
        "description": "Stores a card against the account. The number is encrypted server-side, its last four are taken from the number itself, and a two-digit expiry year is expanded to four.\n",
        "operationId": "create_own_buy_account_card_buy_accounts_external_cards_post",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "name": "buy_account_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "example": 1024
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsedCardCreate"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsedCardRead"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "The account belongs to another seller"
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/buy-accounts/external/aliexpress/authorization": {
      "post": {
        "tags": [
          "auto-order-v3",
          "buy-accounts",
          "external"
        ],
        "summary": "Start Connecting An AliExpress Account",
        "description": "Answers the AliExpress sign-in link to send the seller to. The link already carries the page AliExpress returns them to, so nothing in the request names it. An AliExpress account is only ever created this way - it cannot be typed into the create form.\n",
        "operationId": "aliexpress_authorization_buy_accounts_external_aliexpress_authorization_post",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AliexpressAuthorizationResponse"
                }
              }
            }
          },
          "400": {
            "description": "The AliExpress application is not configured for this environment"
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    },
    "/auto-order-v3/buy-accounts/external/aliexpress/callback": {
      "get": {
        "tags": [
          "auto-order-v3",
          "buy-accounts",
          "external"
        ],
        "summary": "Finish Connecting An AliExpress Account",
        "description": "Exchanges the code the seller returned with for an access token, then creates the buying account. If an account for that AliExpress login already exists it is re-tokened, reactivated and unlocked in place, and answers 200 - no second account appears and the orders already on it stay there.\n",
        "operationId": "aliexpress_callback_buy_accounts_external_aliexpress_callback_get",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "required": true,
            "description": "The authorization code AliExpress returned the seller with",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "The value the authorization leg issued, returned unchanged by AliExpress. It binds the callback to the session that started the sign-in. Optional in the schema so a sign-in begun before this shipped is refused with a readable message rather than a schema error.\n",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuyAccountExternalRead"
                }
              }
            }
          },
          "200": {
            "description": "An account for this AliExpress login already existed and was re-tokened",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuyAccountExternalRead"
                }
              }
            }
          },
          "400": {
            "description": "AliExpress refused the code, or could not be reached"
          },
          "401": {
            "description": "Unauthorized"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/buy-accounts/external/{buy_account_id}/cards/{card_id}": {
      "get": {
        "tags": [
          "auto-order-v3",
          "buy-accounts",
          "external"
        ],
        "summary": "Get Buy Account Card",
        "operationId": "get_own_buy_account_card_buy_accounts_external_card_get",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "name": "buy_account_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "example": 1024
          },
          {
            "name": "card_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "example": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsedCardRead"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "The account belongs to another seller"
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "auto-order-v3",
          "buy-accounts",
          "external"
        ],
        "summary": "Update Buy Account Card",
        "description": "Turning off the last card orders are paid with puts the account back on gift card.\n",
        "operationId": "update_own_buy_account_card_buy_accounts_external_card_put",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "name": "buy_account_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "example": 1024
          },
          {
            "name": "card_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "example": 3
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsedCardUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsedCardRead"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "The account belongs to another seller"
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "auto-order-v3",
          "buy-accounts",
          "external"
        ],
        "summary": "Delete Buy Account Card",
        "operationId": "delete_own_buy_account_card_buy_accounts_external_card_delete",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "name": "buy_account_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "example": 1024
          },
          {
            "name": "card_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "example": 3
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "The account belongs to another seller"
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/suppliers/external/supported": {
      "get": {
        "tags": [
          "auto-order-v3",
          "suppliers",
          "external"
        ],
        "summary": "Get Supported Suppliers",
        "description": "Returns all currencies and their supported suppliers with available regions. Useful for determining which buy sites and regions are supported per currency for FBA ordering.\n",
        "operationId": "get_supported_suppliers_suppliers_external_supported_get",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          },
          {
            "werewolf": [
              "read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "currency": {
                            "type": "string",
                            "example": "USD"
                          },
                          "suppliers": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "site_id": {
                                  "type": "integer",
                                  "example": 23
                                },
                                "site_name": {
                                  "type": "string",
                                  "example": "Amazon"
                                },
                                "regions": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "region_id": {
                                        "type": "integer",
                                        "example": 1
                                      },
                                      "region_name": {
                                        "type": "string",
                                        "example": "US"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "success": {
                    "value": {
                      "data": [
                        {
                          "currency": "USD",
                          "suppliers": [
                            {
                              "site_id": 23,
                              "site_name": "Amazon",
                              "regions": [
                                {
                                  "region_id": 1,
                                  "region_name": "US"
                                },
                                {
                                  "region_id": 2,
                                  "region_name": "UK"
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "currency": "GBP",
                          "suppliers": [
                            {
                              "site_id": 23,
                              "site_name": "Amazon",
                              "regions": [
                                {
                                  "region_id": 2,
                                  "region_name": "UK"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/users/external/user-details": {
      "get": {
        "tags": [
          "auto-order-v3",
          "users",
          "external"
        ],
        "summary": "Get User Details",
        "description": "Returns authenticated user details.\n",
        "operationId": "get_user_details_with_auth_users_external_user_details_get",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          },
          {
            "werewolf": [
              "read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserViewResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    },
    "/auto-order-v3/users/external/user-state": {
      "get": {
        "tags": [
          "auto-order-v3",
          "users",
          "external"
        ],
        "summary": "Get User State",
        "description": "Returns user state with computed new_fba_user, has_orders, and managed_verified fields.\n",
        "operationId": "get_user_state_users_external_user_state_get",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          },
          {
            "werewolf": [
              "read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserStateResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      },
      "post": {
        "tags": [
          "auto-order-v3",
          "users",
          "external"
        ],
        "summary": "Update User State",
        "description": "Updates user state fields (eligible_for_fba_bundle_offer, wallet_id).\n",
        "operationId": "update_user_state_users_external_user_state_post",
        "security": [
          {
            "autods_auth": [
              "write"
            ]
          },
          {
            "werewolf": [
              "write"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserStateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserStateResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/users/external/settings": {
      "get": {
        "tags": [
          "auto-order-v3",
          "users",
          "external"
        ],
        "summary": "Get User Settings",
        "description": "Returns the authenticated seller's order-email notification settings, creating the row with default values on the first read.\n",
        "operationId": "get_user_settings_users_external_settings_get",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          },
          {
            "werewolf": [
              "read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserSettingsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      },
      "put": {
        "tags": [
          "auto-order-v3",
          "users",
          "external"
        ],
        "summary": "Update User Settings",
        "description": "Partially updates the authenticated seller's order-email notification settings.\n",
        "operationId": "update_user_settings_users_external_settings_put",
        "security": [
          {
            "autods_auth": [
              "write"
            ]
          },
          {
            "werewolf": [
              "write"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserSettingsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserSettingsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/wallet/external/list": {
      "get": {
        "tags": [
          "auto-order-v3",
          "wallet",
          "external"
        ],
        "summary": "Get User Wallets",
        "description": "Returns all FBA wallets for the authenticated user. Each wallet represents a currency-specific balance used for order fulfillment.\n",
        "operationId": "get_user_wallets_wallet_external_list_get",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          },
          {
            "werewolf": [
              "read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FBAWalletResponse"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    },
    "/auto-order-v3/transaction/external/list": {
      "post": {
        "tags": [
          "auto-order-v3",
          "transactions",
          "external"
        ],
        "summary": "List Transactions",
        "description": "Returns a paginated list of transactions for the authenticated user. Supports filtering by store IDs, search value, transaction ID, statuses, and date range.\n",
        "operationId": "list_transactions_transaction_external_list_post",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          },
          {
            "werewolf": [
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransactionListRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransactionListResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/orders/external/search": {
      "get": {
        "tags": [
          "auto-order-v3",
          "orders",
          "external"
        ],
        "summary": "Search Orders",
        "description": "Full-text search the authenticated user's orders via Elasticsearch. Results are scoped to the calling user. Pass store_ids as repeated query parameters (e.g. ?store_ids=10&store_ids=20).\n",
        "operationId": "search_orders_orders_external_search_get",
        "security": [
          {
            "autods_auth": [
              "read"
            ]
          },
          {
            "werewolf": [
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "name": "search_word",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            },
            "example": "widget"
          },
          {
            "name": "store_ids",
            "in": "query",
            "required": true,
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            },
            "example": [
              10,
              20
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderSearchResult"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/auto-order-v3/orders/external/create-sample": {
      "post": {
        "tags": [
          "auto-order-v3",
          "orders",
          "external"
        ],
        "summary": "Create Sample Order",
        "description": "Create a sample order for the authenticated user. A sample order is the user's own test purchase of their product: no selling channel, no buyer and no revenue. If the user already has an order under this sell_site_order_id, that order is returned with 200 instead of a duplicate being created. The identifier is minted by the client as SAMPLE_<uuid4>.\n",
        "operationId": "create_sample_order_orders_external_create_sample_post",
        "security": [
          {
            "autods_auth": [
              "write"
            ]
          },
          {
            "werewolf": [
              "write"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SampleOrderCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "An order already exists for this user and sell_site_order_id; it is returned unchanged.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "201": {
            "description": "Created.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Inactive user, missing user context, or the product currency does not match the store's. The message is carried in `detail` as a string.\n"
          },
          "401": {
            "description": "Unauthorized"
          },
          "422": {
            "description": "Validation Error. `detail` is an array of per-field errors.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "502": {
            "description": "Store settings could not be read; the order was not created."
          }
        }
      }
    },
    "/auto-order-v3/orders/external/events/{order_id}": {
      "get": {
        "tags": [
          "auto-order-v3",
          "orders",
          "external"
        ],
        "summary": "Get Order Events",
        "description": "Returns the list of events for the given order.\n",
        "operationId": "get_order_events_orders_external_events_order_id_get",
        "parameters": [
          {
            "description": "ID of order",
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Success. list of events.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "id": {
                      "example": 123,
                      "type": "integer"
                    },
                    "order_id": {
                      "example": 1,
                      "type": "integer"
                    },
                    "description": {
                      "example": "Your kyc documents are approved.",
                      "type": "string"
                    },
                    "event_type": {
                      "example": "update",
                      "type": "string"
                    },
                    "event_time": {
                      "example": "2023-09-22 06:21:51",
                      "type": "string"
                    },
                    "fields_modified": {
                      "example": "json data of modified fields",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    },
    "/auto-order-v3/orders/external/{store_ids}/filter": {
      "post": {
        "tags": [
          "auto-order-v3",
          "orders",
          "external"
        ],
        "summary": "Filter Orders",
        "description": "Dynamic order filter (migrated from AutoOrderApiV2). Returns the full order payload for orders matching the filter clauses, scoped to the authenticated user's stores.\n",
        "operationId": "filter_orders_orders_external_store_ids_filter_post",
        "parameters": [
          {
            "description": "Comma-separated AutoDS store IDs, or \"ALL\" for every store of the user",
            "in": "path",
            "name": "store_ids",
            "required": true,
            "schema": {
              "type": "string",
              "example": "10,20"
            }
          }
        ],
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "filters": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "condition": {
                    "type": "string",
                    "enum": [
                      "and",
                      "or"
                    ]
                  },
                  "limit": {
                    "type": "integer"
                  },
                  "offset": {
                    "type": "integer"
                  },
                  "order_by": {
                    "type": "object"
                  }
                }
              },
              "examples": {
                "example1": {
                  "value": {
                    "filters": [
                      {
                        "name": "status",
                        "op": "=",
                        "value": "SHIPPED",
                        "value_type": "string"
                      }
                    ],
                    "condition": "and",
                    "limit": 100,
                    "offset": 0,
                    "order_by": {
                      "name": "created_date",
                      "direction": "desc"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success. List of matching orders.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    },
    "/auto-order-v3/orders/external/{store_ids}/filter-count": {
      "post": {
        "tags": [
          "auto-order-v3",
          "orders",
          "external"
        ],
        "summary": "Filter Orders Count",
        "description": "Total number of orders matching the filter clauses, scoped to the user's stores.",
        "operationId": "filter_orders_count_orders_external_store_ids_filter_count_post",
        "parameters": [
          {
            "description": "Comma-separated AutoDS store IDs, or \"ALL\" for every store of the user",
            "in": "path",
            "name": "store_ids",
            "required": true,
            "schema": {
              "type": "string",
              "example": "10,20"
            }
          }
        ],
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "filters": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "condition": {
                    "type": "string",
                    "enum": [
                      "and",
                      "or"
                    ]
                  }
                }
              },
              "examples": {
                "example1": {
                  "value": {
                    "filters": [
                      {
                        "name": "managed_order",
                        "op": "=",
                        "value": "true",
                        "value_type": "bool"
                      }
                    ],
                    "condition": "and"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success. Total result count.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "total_results": {
                      "type": "integer",
                      "example": 42
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    },
    "/auto-order-v3/orders/external/{store_ids}/export": {
      "post": {
        "tags": [
          "auto-order-v3",
          "orders",
          "external"
        ],
        "summary": "Export Orders",
        "description": "Enqueue an asynchronous CSV export of the orders matching the filter clauses. The download link is emailed to the supplied address.\n",
        "operationId": "export_orders_orders_external_store_ids_export_post",
        "parameters": [
          {
            "description": "Comma-separated AutoDS store IDs, or \"ALL\" for every store of the user",
            "in": "path",
            "name": "store_ids",
            "required": true,
            "schema": {
              "type": "string",
              "example": "10,20"
            }
          }
        ],
        "security": [
          {
            "autods_auth": [
              "write",
              "read"
            ]
          },
          {
            "werewolf": [
              "write",
              "read"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "filters": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "condition": {
                    "type": "string",
                    "enum": [
                      "and",
                      "or"
                    ]
                  },
                  "email": {
                    "type": "string",
                    "format": "email"
                  }
                }
              },
              "examples": {
                "example1": {
                  "value": {
                    "filters": [
                      {
                        "name": "status",
                        "op": "=",
                        "value": "SHIPPED",
                        "value_type": "string"
                      }
                    ],
                    "condition": "and",
                    "email": "me@example.com"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Export enqueued; the download link will be emailed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "Export file will be sent to your email me@example.com shortly"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://gw.autods.com"
    }
  ]
}