{
  "openapi": "3.1.0",
  "info": {
    "title": "Public API v3",
    "version": "3.0.0"
  },
  "paths": {
    "/api/v3/categories": {
      "get": {
        "tags": [
          "Categories"
        ],
        "summary": "Get Categories Api",
        "description": "Get all categories",
        "operationId": "get_categories_api_categories_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "security": [
          {
            "APIKeyHeader": []
          }
        ]
      }
    },
    "/api/v3/products": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Get Products Api",
        "description": "Search products with pagination",
        "operationId": "get_products_api_products_get",
        "security": [
          {
            "APIKeyHeader": []
          }
        ],
        "parameters": [
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": "",
              "title": "Category"
            }
          },
          {
            "name": "sub_category",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": "",
              "title": "Sub Category"
            }
          },
          {
            "name": "name",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": "",
              "title": "Name"
            }
          },
          {
            "name": "product_code",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": "",
              "title": "Product Code"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1,
              "title": "Page"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPagingProductsResp"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v3/skus/{product_code}": {
      "get": {
        "tags": [
          "Skus"
        ],
        "summary": "Get Skus Api",
        "description": "Get skus",
        "operationId": "get_skus_api_skus__product_code__get",
        "security": [
          {
            "APIKeyHeader": []
          }
        ],
        "parameters": [
          {
            "name": "product_code",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Product code",
              "title": "Product Code"
            },
            "description": "Product code"
          },
          {
            "name": "print_tech",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/PrintTechs"
                },
                {
                  "type": "null"
                }
              ],
              "default": "DTG Print",
              "title": "Print Tech"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 1000,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1,
              "title": "Page"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPagingSKUResp"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v3/shipping-methods": {
      "get": {
        "tags": [
          "Shipping Methods"
        ],
        "summary": "Get Shipping Methods Api",
        "description": "Search shipping methods",
        "operationId": "get_shipping_methods_api_shipping_methods_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "security": [
          {
            "APIKeyHeader": []
          }
        ]
      }
    },
    "/api/v3/print-sizes": {
      "get": {
        "tags": [
          "Print Sizes"
        ],
        "summary": "Get Print Sizes Api",
        "description": "Search print sizes",
        "operationId": "get_print_sizes_api_print_sizes_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "security": [
          {
            "APIKeyHeader": []
          }
        ]
      }
    },
    "/api/v3/product-services": {
      "get": {
        "tags": [
          "Product Services"
        ],
        "summary": "Get Product Services Api",
        "description": "Search product services",
        "operationId": "get_product_services_api_product_services_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "security": [
          {
            "APIKeyHeader": []
          }
        ]
      }
    },
    "/api/v3/orders/single_order": {
      "post": {
        "tags": [
          "Orders"
        ],
        "summary": "Single Order",
        "description": "Create a single order",
        "operationId": "single_order_orders_single_order_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderBeta"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateSingleOrderResp"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Validation422ErrorResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "APIKeyHeader": []
          }
        ]
      }
    },
    "/api/v3/orders/create": {
      "post": {
        "tags": [
          "Orders"
        ],
        "summary": "Create Orders",
        "description": "Create a bulk orders: \n\nJSON data:\n\n    List of orders",
        "operationId": "create_orders_orders_create_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/OrderBeta"
                },
                "type": "array",
                "title": "Orders"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateOrdersResp"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListValidation422ErrorResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "APIKeyHeader": []
          }
        ]
      }
    },
    "/api/v3/orders/bulk-create": {
      "post": {
        "tags": [
          "Orders"
        ],
        "summary": "Bulk Create Orders",
        "description": "Create multiple orders at once (max 20 orders).\nAlways returns detailed result for each order, similar to /orders/place/batch.",
        "operationId": "bulk_create_orders_orders_bulk_create_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "type": "array",
                "maxItems": 20,
                "title": "Orders",
                "description": "List of orders to create (max 20)"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListValidation422ErrorResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "APIKeyHeader": []
          }
        ]
      }
    },
    "/api/v3/orders/place": {
      "post": {
        "tags": [
          "Orders"
        ],
        "summary": "Place Orders",
        "operationId": "place_orders_orders_place_post",
        "security": [
          {
            "APIKeyHeader": []
          }
        ],
        "parameters": [
          {
            "name": "order_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Order Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessDetail"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error400Detail"
                }
              }
            },
            "description": "Bad Request"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Validation422ErrorResponse"
                }
              }
            },
            "description": "Unprocessable Entity"
          }
        }
      }
    },
    "/api/v3/orders/place/batch": {
      "post": {
        "tags": [
          "Orders"
        ],
        "summary": "Place Orders Batch",
        "description": "Place multiple orders at once (max 20 orders)\nReturns detailed result for each order ID",
        "operationId": "place_orders_batch_orders_place_batch_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "type": "string"
                },
                "type": "array",
                "maxItems": 20,
                "title": "Order Ids",
                "description": "List of order IDs to place (max 20)"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchPlaceOrdersResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error400Detail"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Validation422ErrorResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "APIKeyHeader": []
          }
        ]
      }
    },
    "/api/v3/orders": {
      "get": {
        "tags": [
          "Orders"
        ],
        "summary": "Get Orders List",
        "operationId": "get_orders_list_orders_get",
        "security": [
          {
            "APIKeyHeader": []
          }
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "page number",
              "default": 1,
              "title": "Page"
            },
            "description": "page number"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "description": "limit number",
              "default": 30,
              "title": "Limit"
            },
            "description": "limit number"
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "title": "Status"
            }
          },
          {
            "name": "tracking_status",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "title": "Tracking Status"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date"
                },
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Start date (YYYY-MM-DD, YYYY-MM-DD HH:MM:SS)",
              "title": "Start Date"
            },
            "description": "Start date (YYYY-MM-DD, YYYY-MM-DD HH:MM:SS)"
          },
          {
            "name": "end_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date"
                },
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ],
              "description": "End date (YYYY-MM-DD, YYYY-MM-DD HH:MM:SS)",
              "title": "End Date"
            },
            "description": "End date (YYYY-MM-DD, YYYY-MM-DD HH:MM:SS)"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPagingOrderResp"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Validation422ErrorResponse"
                }
              }
            },
            "description": "Unprocessable Entity"
          }
        }
      }
    },
    "/api/v3/orders/{order_id}": {
      "get": {
        "tags": [
          "Orders"
        ],
        "summary": "Get Orders",
        "operationId": "get_orders_orders__order_id__get",
        "security": [
          {
            "APIKeyHeader": []
          }
        ],
        "parameters": [
          {
            "name": "order_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Your order id",
              "examples": "3153343426",
              "title": "Order Id"
            },
            "description": "Your order id"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderBetaResp"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Validation422ErrorResponse"
                }
              }
            },
            "description": "Unprocessable Entity"
          }
        }
      }
    },
    "/api/v3/orders/{order_id}/delete": {
      "delete": {
        "tags": [
          "Orders"
        ],
        "summary": "Delete Orders",
        "operationId": "delete_orders_orders__order_id__delete_delete",
        "security": [
          {
            "APIKeyHeader": []
          }
        ],
        "parameters": [
          {
            "name": "order_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Your order id",
              "examples": "315363426",
              "title": "Order Id"
            },
            "description": "Your order id"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessDetail"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error400Detail"
                }
              }
            },
            "description": "Bad Request"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Validation422ErrorResponse"
                }
              }
            },
            "description": "Unprocessable Entity"
          }
        }
      }
    },
    "/api/v3/orders/{order_id}/update": {
      "put": {
        "tags": [
          "Orders"
        ],
        "summary": "Update Orders",
        "operationId": "update_orders_orders__order_id__update_put",
        "security": [
          {
            "APIKeyHeader": []
          }
        ],
        "parameters": [
          {
            "name": "order_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Order fulfill id of order provide by mango",
              "examples": "859PKEG9I",
              "title": "Order Id"
            },
            "description": "Order fulfill id of order provide by mango"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderBeta"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessDetail"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Validation422ErrorResponse"
                }
              }
            },
            "description": "Unprocessable Entity"
          }
        }
      }
    },
    "/api/v3/payments": {
      "get": {
        "tags": [
          "Payments"
        ],
        "summary": "Get Payments",
        "operationId": "get_payments_payments_get",
        "security": [
          {
            "APIKeyHeader": []
          }
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "page number",
              "default": 1,
              "title": "Page"
            },
            "description": "page number"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentResp"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Validation422ErrorResponse"
                }
              }
            },
            "description": "Unprocessable Entity"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "BatchPlaceOrderResult": {
        "properties": {
          "order_id": {
            "type": "string",
            "title": "Order Id"
          },
          "success": {
            "type": "boolean",
            "title": "Success"
          },
          "msg": {
            "type": "string",
            "title": "Msg"
          }
        },
        "type": "object",
        "required": [
          "order_id",
          "success",
          "msg"
        ],
        "title": "BatchPlaceOrderResult"
      },
      "BatchPlaceOrdersResponse": {
        "properties": {
          "results": {
            "items": {
              "$ref": "#/components/schemas/BatchPlaceOrderResult"
            },
            "type": "array",
            "title": "Results"
          },
          "total": {
            "type": "integer",
            "title": "Total"
          },
          "success_count": {
            "type": "integer",
            "title": "Success Count"
          },
          "failed_count": {
            "type": "integer",
            "title": "Failed Count"
          }
        },
        "type": "object",
        "required": [
          "results",
          "total",
          "success_count",
          "failed_count"
        ],
        "title": "BatchPlaceOrdersResponse"
      },
      "CreateOrdersResp": {
        "properties": {
          "data": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Data"
          }
        },
        "type": "object",
        "required": [
          "data"
        ],
        "title": "CreateOrdersResp"
      },
      "CreateSingleOrderResp": {
        "properties": {
          "data": {
            "type": "string",
            "title": "Data"
          }
        },
        "type": "object",
        "required": [
          "data"
        ],
        "title": "CreateSingleOrderResp"
      },
      "Error400Detail": {
        "properties": {
          "msg": {
            "type": "string",
            "title": "Msg"
          }
        },
        "type": "object",
        "required": [
          "msg"
        ],
        "title": "Error400Detail"
      },
      "GetPagingOrderResp": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/OrderBetaResp"
            },
            "type": "array",
            "title": "Data"
          },
          "total": {
            "type": "integer",
            "title": "Total"
          }
        },
        "type": "object",
        "required": [
          "data",
          "total"
        ],
        "title": "GetPagingOrderResp"
      },
      "GetPagingProductsResp": {
        "properties": {
          "data": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ProductBaseResp"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Data",
            "default": []
          },
          "pagination": {
            "$ref": "#/components/schemas/PaginationResponse"
          }
        },
        "type": "object",
        "required": [
          "pagination"
        ],
        "title": "GetPagingProductsResp"
      },
      "GetPagingSKUResp": {
        "properties": {
          "data": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/GetSKUByProductCodeResp"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Data",
            "default": []
          },
          "pagination": {
            "$ref": "#/components/schemas/PaginationResponse"
          }
        },
        "type": "object",
        "required": [
          "pagination"
        ],
        "title": "GetPagingSKUResp"
      },
      "GetSKUByProductCodeResp": {
        "properties": {
          "sku": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sku",
            "example": "G50002XLAIG"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status",
            "example": "Active"
          },
          "category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category",
            "example": "T-Shirt"
          },
          "sub_category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sub Category",
            "example": "Unisex T-Shirt"
          },
          "size": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Size",
            "example": "2XL"
          },
          "color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Color",
            "example": "Antique Irish Green"
          },
          "price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Price",
            "example": 5.16
          },
          "print_services": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/api__resp__v2__sku__PrintService"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Print Services",
            "description": "Danh s\u00e1ch c\u00e1c d\u1ecbch v\u1ee5 in \u1ea5n \u0111i k\u00e8m v\u1edbi s\u1ea3n ph\u1ea9m"
          }
        },
        "type": "object",
        "title": "GetSKUByProductCodeResp"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ListValidation422ErrorResponse": {
        "properties": {
          "detail": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/Validation422ErrorDetail"
              },
              "type": "array"
            },
            "type": "object",
            "title": "Detail"
          }
        },
        "type": "object",
        "required": [
          "detail"
        ],
        "title": "ListValidation422ErrorResponse"
      },
      "OrderBeta": {
        "properties": {
          "label_link": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label Link",
            "description": "Label url from tiktok or drive"
          },
          "OrderId": {
            "type": "string",
            "maxLength": 50,
            "pattern": "^[a-zA-Z0-9-#]+$",
            "title": "Orderid",
            "description": "Your Order ID"
          },
          "seller": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Seller",
            "description": "Seller name"
          },
          "shipping_method": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shipping Method",
            "description": "Shipping method. Find valid name in /shipping-methods"
          },
          "order_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Order Source",
            "description": "Order source"
          },
          "FirstName": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Firstname",
            "description": "First name of the customer"
          },
          "LastName": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lastname",
            "description": "Last name of the customer"
          },
          "AddressLine1": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Addressline1",
            "description": "Address line 1"
          },
          "AddressLine2": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Addressline2",
            "description": "Address line 2"
          },
          "City": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City",
            "description": "City"
          },
          "StateOrRegion": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Stateorregion",
            "description": "State or region"
          },
          "Zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip",
            "description": "Zip code"
          },
          "CountryCode": {
            "type": "string",
            "title": "Countrycode",
            "description": "Country code"
          },
          "Phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone",
            "description": "Phone number"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/OrderItemBeta"
            },
            "type": "array",
            "minItems": 1,
            "title": "Items",
            "description": "order items"
          },
          "product_service": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Product Service",
            "description": "Product service. Find valid 'name' in /product-services"
          },
          "push_tracking": {
            "type": "boolean",
            "title": "Push Tracking",
            "description": "Push tracking",
            "default": false
          },
          "business_date": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Business Date",
            "description": "Business date"
          },
          "tracking_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "The tracking number of the item"
          },
          "seller_order_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 100
              },
              {
                "type": "null"
              }
            ],
            "title": "The seller order id of the item"
          }
        },
        "type": "object",
        "required": [
          "OrderId",
          "CountryCode",
          "items"
        ],
        "title": "OrderBeta"
      },
      "OrderBetaResp": {
        "properties": {
          "tracking_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tracking Url"
          },
          "carrier": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Carrier"
          },
          "carrier_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Carrier Code"
          },
          "ship_fee": {
            "type": "number",
            "title": "Ship Fee"
          },
          "product_fee": {
            "type": "number",
            "title": "Product Fee"
          },
          "OrderType": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ordertype"
          },
          "extend_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extend Id"
          },
          "seller": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Seller"
          },
          "surcharge_box_fee": {
            "type": "number",
            "title": "Surcharge Box Fee"
          },
          "AddressType": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Addresstype"
          },
          "feeded_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Feeded At"
          },
          "order_fulfill_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Order Fulfill Id"
          },
          "StateOrRegion": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Stateorregion"
          },
          "Status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "tracking_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tracking Date"
          },
          "PurchaseDate": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Purchasedate"
          },
          "payment_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Payment Id"
          },
          "charge": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Charge"
          },
          "label_link": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label Link"
          },
          "OrderId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Orderid"
          },
          "shipping_method": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shipping Method"
          },
          "order_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Order Source"
          },
          "FirstName": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Firstname"
          },
          "LastName": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lastname"
          },
          "AddressLine1": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Addressline1"
          },
          "AddressLine2": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Addressline2"
          },
          "City": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "Zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          },
          "CountryCode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Countrycode"
          },
          "Phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "items": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/OrderItemV2Resp"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Items"
          },
          "product_service": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Product Service"
          },
          "push_tracking": {
            "type": "boolean",
            "title": "Push Tracking",
            "default": false
          },
          "total": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total",
            "default": 0
          },
          "id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "tracking_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tracking Status"
          },
          "tracking_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tracking Number"
          },
          "processed_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Processed At"
          }
        },
        "type": "object",
        "required": [
          "tracking_url",
          "carrier",
          "carrier_code",
          "ship_fee",
          "product_fee",
          "OrderType",
          "extend_id",
          "surcharge_box_fee",
          "AddressType",
          "feeded_at",
          "order_fulfill_id",
          "Status",
          "tracking_date",
          "PurchaseDate",
          "payment_id",
          "charge"
        ],
        "title": "OrderBetaResp"
      },
      "OrderItemBeta": {
        "properties": {
          "sku": {
            "type": "string",
            "minLength": 1,
            "title": "The sku of the item. Find valid SKU in /skus"
          },
          "quantity": {
            "type": "number",
            "minimum": 1.0,
            "title": "The quantity of the item",
            "default": 1
          },
          "front_url": {
            "type": "string",
            "title": "The front URL of the item",
            "default": ""
          },
          "mockup_front_url": {
            "type": "string",
            "title": "The mockup front URL of the item. Require with printer FASTUS",
            "default": ""
          },
          "back_url": {
            "type": "string",
            "title": "The back URL of the item",
            "default": ""
          },
          "mockup_back_url": {
            "type": "string",
            "title": "The mockup back URL of the item. Working with printer FASTUS",
            "default": ""
          },
          "left_sleeve": {
            "type": "string",
            "title": "The left sleeve of the item",
            "default": ""
          },
          "right_sleeve": {
            "type": "string",
            "title": "The right sleeve URL of the item",
            "default": ""
          },
          "mockup_left_sleeve": {
            "type": "string",
            "title": "The mockup left sleeve of the item. Working with printer FASTUS",
            "default": ""
          },
          "mockup_right_sleeve": {
            "type": "string",
            "title": "The mockup right sleeve of the item. Working with printer FASTUS",
            "default": ""
          },
          "note": {
            "type": "string",
            "title": "The note of the item",
            "default": ""
          },
          "special_front_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "The special design 1 of the item"
          },
          "special_back_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "The special design 2 of the item"
          },
          "special_left_sleeve": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "The special design 3 of the item"
          },
          "special_right_sleeve": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "The special design 4 of the item"
          },
          "special_mockup_left_sleeve": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "The special mockup 3 of the item"
          },
          "special_mockup_right_sleeve": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "The special mockup 4 of the item"
          },
          "special_mockup_front_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "The special mockup 1 of the item"
          },
          "special_mockup_back_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "The special mockup 2 of the item"
          },
          "print_size_front": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "The print size of the front of the item. Find valid value in /print-sizes"
          },
          "print_size_back": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "The print size of the back of the item. Find valid value in /print-sizes"
          },
          "print_tech": {
            "type": "string",
            "title": "The print tech of the item"
          }
        },
        "type": "object",
        "required": [
          "sku",
          "print_tech"
        ],
        "title": "OrderItemBeta"
      },
      "OrderItemV2Resp": {
        "properties": {
          "catalog_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Catalog Name"
          },
          "sku": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sku"
          },
          "quantity": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quantity",
            "default": 1
          },
          "front_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Front Url",
            "default": ""
          },
          "mockup_front_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mockup Front Url"
          },
          "back_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Back Url"
          },
          "mockup_back_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mockup Back Url"
          },
          "order_item_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Order Item Id"
          },
          "left_sleeve": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Left Sleeve"
          },
          "right_sleeve": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Right Sleeve"
          },
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          },
          "special_front_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Special Front Url"
          },
          "special_back_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Special Back Url"
          },
          "special_left_sleeve": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Special Left Sleeve"
          },
          "special_right_sleeve": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Special Right Sleeve"
          },
          "special_mockup_front_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Special Mockup Front Url"
          },
          "special_mockup_back_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Special Mockup Back Url"
          },
          "special_mockup_left_sleeve": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Special Mockup Left Sleeve"
          },
          "special_mockup_right_sleeve": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Special Mockup Right Sleeve"
          },
          "size": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Size"
          },
          "color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Color"
          },
          "stock": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Stock"
          },
          "inner_neck_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Inner Neck Label",
            "default": ""
          },
          "product_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Product Name",
            "default": ""
          },
          "thumbnail_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Thumbnail Url",
            "default": ""
          }
        },
        "type": "object",
        "title": "OrderItemV2Resp"
      },
      "PaginationResponse": {
        "properties": {
          "limit": {
            "type": "integer",
            "title": "Limit"
          },
          "page": {
            "type": "integer",
            "title": "Page"
          },
          "total": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total"
          },
          "count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Count"
          }
        },
        "type": "object",
        "required": [
          "limit",
          "page"
        ],
        "title": "PaginationResponse"
      },
      "PaymentItem": {
        "properties": {
          "before": {
            "type": "number",
            "title": "Before"
          },
          "id": {
            "type": "string",
            "title": "Id"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "after": {
            "type": "number",
            "title": "After"
          },
          "amount": {
            "type": "number",
            "title": "Amount"
          },
          "content": {
            "type": "string",
            "title": "Content"
          }
        },
        "type": "object",
        "required": [
          "before",
          "id",
          "status",
          "after",
          "amount",
          "content"
        ],
        "title": "PaymentItem"
      },
      "PaymentResp": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/PaymentItem"
            },
            "type": "array",
            "title": "Data"
          },
          "total": {
            "type": "number",
            "title": "Total"
          }
        },
        "type": "object",
        "required": [
          "data",
          "total"
        ],
        "title": "PaymentResp"
      },
      "PrintTechs": {
        "type": "string",
        "enum": [
          "DTG Print",
          "DTF Print",
          "SUBLIMATION",
          "Inkjet",
          "UV Printing",
          "Screen Printing",
          "Latex",
          "UV-proof ink",
          "Digital printing",
          "Gicl\u00e9e",
          "Eco-Solvent"
        ],
        "title": "PrintTechs"
      },
      "ProductBaseResp": {
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name",
            "example": "G2000L Gildan Ultra Cotton Women\u2019s T-Shirt"
          },
          "product_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Product Code",
            "example": "G2000L"
          },
          "category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category",
            "example": "T-Shirt"
          },
          "sub_category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sub Category",
            "example": "Women T-Shirt"
          },
          "print_services": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/api__resp__v2__product__PrintService"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Print Services",
            "example": [
              {
                "name": "First Side",
                "print_tech": "DTG Print"
              }
            ]
          }
        },
        "type": "object",
        "title": "ProductBaseResp"
      },
      "SuccessDetail": {
        "properties": {
          "msg": {
            "type": "string",
            "title": "Msg"
          }
        },
        "type": "object",
        "required": [
          "msg"
        ],
        "title": "SuccessDetail"
      },
      "Validation422ErrorDetail": {
        "properties": {
          "msg": {
            "type": "string",
            "title": "Msg"
          },
          "index": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Index"
          },
          "type": {
            "type": "string",
            "title": "Type"
          }
        },
        "type": "object",
        "required": [
          "msg",
          "type"
        ],
        "title": "Validation422ErrorDetail"
      },
      "Validation422ErrorResponse": {
        "properties": {
          "detail": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/Validation422ErrorDetail"
              },
              "type": "array"
            },
            "type": "object",
            "title": "Detail"
          }
        },
        "type": "object",
        "required": [
          "detail"
        ],
        "title": "Validation422ErrorResponse"
      },
      "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"
      },
      "api__resp__v2__product__PrintService": {
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name",
            "example": "First Side"
          },
          "print_tech": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Print Tech",
            "example": "DTG Print"
          }
        },
        "type": "object",
        "title": "PrintService"
      },
      "api__resp__v2__sku__PrintService": {
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name",
            "example": "First Side"
          },
          "service_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Service Price",
            "example": 2.75
          },
          "print_tech": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Print Tech",
            "example": "DTG Print"
          },
          "price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Price",
            "example": 7.91
          }
        },
        "type": "object",
        "title": "PrintService"
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Enter your API token in the format: `Bearer <token>`"
      }
    }
  },
  "servers": [
    {
      "description": "Current server"
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ]
}