{
  "openapi": "3.0.3",
  "info": {
    "title": "Nexus Commerce API",
    "version": "3.0.0",
    "description": "Public v3 commerce contract for storefront, customer, and authenticated business\ncommerce flows.\n\nThis specification intentionally documents only the `/v3` namespace.\nStore-derived public storefront routes under `/v3/stores/{store_id}/public/*` require `X-Scalev-Storefront-Api-Key`.\nHTML Mode public page runtime routes under `/v3/pages/{page_unique_id}/*` require `X-Scalev-Page-Api-Key` and do not accept storefront public API keys.\nStorefront API requests made with `X-Scalev-Storefront-Api-Key`, page runtime requests made with `X-Scalev-Page-Api-Key`, and guest-cart requests made with `X-Scalev-Guest-Token` are browser client requests and use the direct client/IP rate limiter. Machine-authenticated business requests are rate-limited per API key or OAuth installation. Rate-limit metadata is returned in `X-Ratelimit-*` headers, and `429` responses may be plain text.\n",
    "license": {
      "name": "Proprietary"
    }
  },
  "servers": [
    {
      "url": "https://api.scalev.com",
      "description": "Production"
    }
  ],
  "security": [],
  "tags": [
    {
      "name": "Orders",
      "description": "Authenticated business order management endpoints."
    },
    {
      "name": "Storefront",
      "description": "Public storefront catalog, guest cart, and guest checkout flows. All store-derived public storefront routes require `X-Scalev-Storefront-Api-Key`."
    },
    {
      "name": "HTML Mode Pages",
      "description": "Public HTML Mode runtime endpoints. These routes require `X-Scalev-Page-Api-Key` for the path page and reject storefront public API keys."
    },
    {
      "name": "OAuth",
      "description": "Public and machine OAuth token-management endpoints. The authorization code flow accepts the standard `scope` parameter; public OAuth clients may use PKCE with `token_endpoint_auth_method=none`, and metadata document clients may use `private_key_jwt`."
    },
    {
      "name": "Identity",
      "description": "Authenticated business identity context."
    },
    {
      "name": "Business Users",
      "description": "Authenticated business-user membership self-service endpoints."
    },
    {
      "name": "Landing Pages",
      "description": "Authenticated business landing page endpoints. The documented payloads focus on HTML Mode pages.",
      "externalDocs": {
        "description": "Read the Landing Pages API guide before creating or publishing HTML Mode pages.",
        "url": "https://docs.scalev.com/en/landing-pages-api"
      }
    },
    {
      "name": "Analytics Setup",
      "description": "Authenticated business analytics provider catalogs and pixel/container endpoints used when configuring landing page displays."
    },
    {
      "name": "OAuth Billing",
      "description": "OAuth billing runtime, refund, and developer finance endpoints."
    },
    {
      "name": "Customer Auth",
      "description": "Public customer authentication and password-reset endpoints."
    },
    {
      "name": "Customer Account",
      "description": "Authenticated customer profile endpoints."
    },
    {
      "name": "Customer Cart",
      "description": "Authenticated customer cart management endpoints."
    },
    {
      "name": "Customer Checkout",
      "description": "Authenticated customer checkout preparation and confirmation endpoints."
    },
    {
      "name": "Customer Orders",
      "description": "Authenticated customer order read endpoints."
    },
    {
      "name": "Customer Subscriptions",
      "description": "Authenticated customer subscription and subscription-item endpoints."
    },
    {
      "name": "Customer Courses",
      "description": "Authenticated customer digital course access and progress endpoints."
    },
    {
      "name": "Discounts",
      "description": "Discount-code validation endpoints."
    },
    {
      "name": "Locations",
      "description": "Authenticated business location lookup endpoints."
    },
    {
      "name": "Business Stores",
      "description": "Authenticated business store lookup endpoints. These routes use direct numeric Scalev store database IDs."
    },
    {
      "name": "Storefront Setup",
      "description": "Authenticated business setup endpoints for public storefront keys and CORS origins."
    },
    {
      "name": "Shipping",
      "description": "Authenticated business shipping lookup endpoints."
    },
    {
      "name": "Business Products",
      "description": "Authenticated business product, variant, taxonomy, and course management endpoints."
    },
    {
      "name": "Business Bundles",
      "description": "Authenticated business bundle, bundle-price-option, and related bundle-management endpoints."
    },
    {
      "name": "Business Customers",
      "description": "Authenticated business customer and customer-address management endpoints."
    },
    {
      "name": "WABA",
      "description": "Authenticated WhatsApp Business Account operations and related WABA resources."
    },
    {
      "name": "WhatsApp Integrations",
      "description": "Authenticated WhatsApp integration management endpoints."
    }
  ],
  "paths": {
    "/v3/me": {
      "get": {
        "tags": [
          "Identity"
        ],
        "operationId": "getAuthenticatedIdentity",
        "summary": "Get authenticated identity",
        "description": "Returns token-level identity for the bearer token. OAuth responses include the user, OAuth application, and active connected business installations for the token. If no active connected business remains, the endpoint returns `403` without identity data. Business-scoped API requests still resolve one selected business installation per request.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/AuthenticatedIdentityResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/me/business-users": {
      "get": {
        "tags": [
          "Business Users"
        ],
        "operationId": "listBusinessUsers",
        "summary": "List authenticated user's business-user memberships",
        "description": "Returns the authenticated caller's business-user memberships. This is a user-scoped endpoint and does not use `b_uid` or selected-business context. Results use regular v3 cursor pagination ordered by membership ID descending.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PageSize"
          },
          {
            "$ref": "#/components/parameters/NextCursor"
          },
          {
            "$ref": "#/components/parameters/PreviousCursor"
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter memberships by business username or account holder."
          },
          {
            "name": "business_name",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter memberships by business account holder."
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/BusinessUserCollectionResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/business-users/me": {
      "get": {
        "tags": [
          "Business Users"
        ],
        "operationId": "getCurrentBusinessUser",
        "summary": "Get current business user",
        "description": "Returns the selected business membership for the authenticated caller. Requires a business-authenticated credential and selected business context.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/CurrentBusinessUserResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/business-users/me/leave": {
      "post": {
        "tags": [
          "Business Users"
        ],
        "operationId": "leaveBusiness",
        "summary": "Leave current business",
        "description": "Removes the authenticated caller's verified membership from the selected business. Owners and the final remaining business member cannot leave through this endpoint.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/PasswordRequestBody"
        },
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/business-users/me/accept-invitation": {
      "post": {
        "tags": [
          "Business Users"
        ],
        "operationId": "acceptBusinessInvitation",
        "summary": "Accept current business invitation",
        "description": "Accepts the selected pending business membership for the authenticated caller and returns the verified business-user record.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/AcceptBusinessInvitationRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CurrentBusinessUserResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/business-users/me/deny-invitation": {
      "post": {
        "tags": [
          "Business Users"
        ],
        "operationId": "denyBusinessInvitation",
        "summary": "Deny current business invitation",
        "description": "Deletes the authenticated caller's selected pending business membership. Already accepted memberships cannot be denied.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        }
      ],
      "get": {
        "tags": [
          "Storefront"
        ],
        "operationId": "listStorefrontItems",
        "summary": "List storefront items",
        "description": "Public storefront endpoint. Returns products and bundle price options visible in the storefront catalog.",
        "responses": {
          "200": {
            "description": "Paginated storefront item cards",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontItemListResponse"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/items/count": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        }
      ],
      "get": {
        "tags": [
          "Storefront"
        ],
        "operationId": "countStorefrontItems",
        "summary": "Count storefront items",
        "description": "Public storefront endpoint. Counts products and bundle price options visible in the storefront catalog.",
        "responses": {
          "200": {
            "description": "Storefront item count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontItemCountResponse"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/products/{slug}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        },
        {
          "$ref": "#/components/parameters/ProductSlug"
        }
      ],
      "get": {
        "tags": [
          "Storefront"
        ],
        "operationId": "getStorefrontProduct",
        "summary": "Get a storefront product by slug",
        "description": "Public storefront endpoint. Fetches a store-scoped product by slug; products hidden from storefront listing can still be fetched directly.",
        "responses": {
          "200": {
            "description": "Storefront product detail",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontProductDetail"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/bundle-price-options/{slug}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        },
        {
          "$ref": "#/components/parameters/BundlePriceOptionSlug"
        }
      ],
      "get": {
        "tags": [
          "Storefront"
        ],
        "operationId": "getStorefrontBundlePriceOption",
        "summary": "Get a storefront bundle price option by slug",
        "description": "Public storefront endpoint. Fetches a store-scoped bundle price option by slug. Use the returned bundle_price_option_id in cart and checkout payloads.",
        "responses": {
          "200": {
            "description": "Storefront bundle price option detail",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontBundlePriceOptionDetail"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/categories": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        }
      ],
      "get": {
        "tags": [
          "Storefront"
        ],
        "operationId": "listStorefrontCategories",
        "summary": "List storefront categories",
        "description": "Public storefront endpoint. Lists categories that have visible storefront products.",
        "responses": {
          "200": {
            "description": "Storefront category list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontCategoryListResponse"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/payment-methods": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        }
      ],
      "get": {
        "tags": [
          "Storefront"
        ],
        "operationId": "listStorefrontPaymentMethods",
        "summary": "List storefront payment methods",
        "description": "Public storefront endpoint. Lists enabled public checkout payment methods for the store.",
        "responses": {
          "200": {
            "description": "Enabled payment methods",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontPaymentMethodListResponse"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/locations": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        }
      ],
      "get": {
        "tags": [
          "Storefront"
        ],
        "operationId": "searchStorefrontLocations",
        "summary": "Search storefront delivery locations",
        "description": "Public storefront endpoint. Supports direct province, city, district, or subdistrict search.",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page_size",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "next_cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Cursor returned by the previous response. Use only one of `next_cursor` or `previous_cursor`."
          },
          {
            "name": "previous_cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Cursor returned by the previous response. Use only one of `next_cursor` or `previous_cursor`."
          }
        ],
        "responses": {
          "200": {
            "description": "Location search results",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontLocationListResponse"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/locations/provinces": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        }
      ],
      "get": {
        "tags": [
          "Storefront"
        ],
        "operationId": "listStorefrontLocationProvinces",
        "summary": "List storefront delivery provinces",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Optional province name search."
          }
        ],
        "responses": {
          "200": {
            "description": "Province list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontProvinceListResponse"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/locations/cities": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        }
      ],
      "get": {
        "tags": [
          "Storefront"
        ],
        "operationId": "listStorefrontLocationCities",
        "summary": "List storefront delivery cities",
        "parameters": [
          {
            "name": "province_id",
            "in": "query",
            "required": false,
            "schema": {
              "oneOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "description": "Province ID from `/public/locations/provinces`."
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Optional city name search within the selected province."
          }
        ],
        "responses": {
          "200": {
            "description": "City list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontCityListResponse"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/locations/subdistricts": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        }
      ],
      "get": {
        "tags": [
          "Storefront"
        ],
        "operationId": "listStorefrontLocationSubdistricts",
        "summary": "List storefront delivery subdistricts",
        "parameters": [
          {
            "name": "city_id",
            "in": "query",
            "required": false,
            "schema": {
              "oneOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "description": "City ID from `/public/locations/cities`."
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Optional subdistrict name search within the selected city."
          }
        ],
        "responses": {
          "200": {
            "description": "Subdistrict list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontLocationListResponse"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/locations/{location_id}/postal-codes": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        },
        {
          "$ref": "#/components/parameters/LocationId"
        }
      ],
      "get": {
        "tags": [
          "Storefront"
        ],
        "operationId": "listStorefrontLocationPostalCodes",
        "summary": "List storefront delivery postal codes",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Optional postal code search within the selected location."
          }
        ],
        "responses": {
          "200": {
            "description": "Postal code list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontPostalCodeListResponse"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/variants/pricing": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        },
        {
          "$ref": "#/components/parameters/VariantIds"
        }
      ],
      "get": {
        "tags": [
          "Storefront"
        ],
        "operationId": "getStorefrontVariantPricing",
        "summary": "Get storefront variant pricing",
        "description": "Public storefront endpoint. Returns pricing for requested store-scoped variants, including variants whose products are hidden from storefront listing.",
        "responses": {
          "200": {
            "description": "Storefront variant pricing list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontVariantPricingResponse"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/variants/{variant_id}/availability": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        },
        {
          "$ref": "#/components/parameters/VariantId"
        }
      ],
      "get": {
        "tags": [
          "Storefront"
        ],
        "operationId": "getStorefrontVariantAvailability",
        "summary": "Get storefront variant inventory availability",
        "description": "Public storefront endpoint. Returns availability for a requested store-scoped variant, including variants whose products are hidden from storefront listing.",
        "responses": {
          "200": {
            "description": "Variant availability",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VariantAvailability"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/cart": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        },
        {
          "$ref": "#/components/parameters/StorefrontScalevGuestToken"
        }
      ],
      "get": {
        "tags": [
          "Storefront"
        ],
        "operationId": "getGuestCart",
        "summary": "Get the guest storefront cart",
        "description": "Public storefront endpoint. Returns guest cart items regardless of storefront listing visibility.",
        "responses": {
          "200": {
            "description": "Guest cart",
            "headers": {
              "X-Scalev-Guest-Token": {
                "description": "Browser-safe guest cart token. Reuse this value in the `X-Scalev-Guest-Token` request header.",
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuestCart"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/cart/items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        },
        {
          "$ref": "#/components/parameters/StorefrontScalevGuestToken"
        }
      ],
      "post": {
        "tags": [
          "Storefront"
        ],
        "operationId": "addGuestCartItem",
        "summary": "Add an item to the guest storefront cart",
        "description": "Public storefront endpoint. Direct cart additions are store-scoped and not blocked by storefront listing visibility.",
        "requestBody": {
          "$ref": "#/components/requestBodies/CartItemRequestBody"
        },
        "responses": {
          "201": {
            "description": "Guest cart",
            "headers": {
              "X-Scalev-Guest-Token": {
                "description": "Browser-safe guest cart token. Reuse this value in the `X-Scalev-Guest-Token` request header.",
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuestCart"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/cart/items/{item_id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        },
        {
          "$ref": "#/components/parameters/StorefrontScalevGuestToken"
        },
        {
          "$ref": "#/components/parameters/ItemId"
        }
      ],
      "patch": {
        "tags": [
          "Storefront"
        ],
        "operationId": "updateGuestCartItem",
        "summary": "Update a guest storefront cart item",
        "description": "Public storefront endpoint.",
        "requestBody": {
          "$ref": "#/components/requestBodies/CartItemUpdateRequestBody"
        },
        "responses": {
          "200": {
            "description": "Guest cart",
            "headers": {
              "X-Scalev-Guest-Token": {
                "description": "Browser-safe guest cart token. Reuse this value in the `X-Scalev-Guest-Token` request header.",
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuestCart"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "Storefront"
        ],
        "operationId": "removeGuestCartItem",
        "summary": "Remove a guest storefront cart item",
        "description": "Public storefront endpoint.",
        "responses": {
          "200": {
            "description": "Guest cart",
            "headers": {
              "X-Scalev-Guest-Token": {
                "description": "Browser-safe guest cart token. Reuse this value in the `X-Scalev-Guest-Token` request header.",
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuestCart"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/cart/merge": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        },
        {
          "$ref": "#/components/parameters/StorefrontScalevGuestToken"
        }
      ],
      "post": {
        "tags": [
          "Storefront"
        ],
        "operationId": "mergeGuestCart",
        "summary": "Merge a guest cart into the authenticated customer cart",
        "description": "Public storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Merged authenticated customer cart",
            "headers": {
              "X-Scalev-Guest-Token": {
                "description": "Browser-safe guest cart token used for the merge.",
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontCartMergeResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/checkout": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        },
        {
          "$ref": "#/components/parameters/StorefrontScalevGuestToken"
        }
      ],
      "post": {
        "tags": [
          "Storefront"
        ],
        "operationId": "createPublicCheckout",
        "summary": "Create a public checkout order",
        "description": "Public storefront endpoint. Create an order from direct `items`, from the guest cart referenced by `X-Scalev-Guest-Token`, or from direct `items` while clearing the referenced guest cart after successful order creation. Direct checkout items are store-scoped and not blocked by storefront listing visibility.\n",
        "requestBody": {
          "$ref": "#/components/requestBodies/PublicCheckoutRequestBody"
        },
        "responses": {
          "201": {
            "description": "Public checkout order",
            "headers": {
              "X-Scalev-Guest-Token": {
                "description": "Browser-safe guest cart token when the request used a guest cart.",
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontPublicOrder"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/pages/{page_unique_id}/locations": {
      "parameters": [
        {
          "$ref": "#/components/parameters/PageUniqueId"
        },
        {
          "$ref": "#/components/parameters/PagePublicApiKey"
        }
      ],
      "get": {
        "tags": [
          "HTML Mode Pages"
        ],
        "operationId": "searchPagePublicLocations",
        "summary": "Search HTML Mode delivery locations",
        "description": "Page-scoped public endpoint for HTML Mode location lookup. Requires the page public API key for the `page_unique_id` path page and validates the browser origin against domains attached to the page, or the business domains when the page has no attached domains.\n",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page_size",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "next_cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Cursor returned by the previous response. Use only one of `next_cursor` or `previous_cursor`."
          },
          {
            "name": "previous_cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Cursor returned by the previous response. Use only one of `next_cursor` or `previous_cursor`."
          }
        ],
        "responses": {
          "200": {
            "description": "Location search results",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontLocationListResponse"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/pages/{page_unique_id}/locations/provinces": {
      "parameters": [
        {
          "$ref": "#/components/parameters/PageUniqueId"
        },
        {
          "$ref": "#/components/parameters/PagePublicApiKey"
        }
      ],
      "get": {
        "tags": [
          "HTML Mode Pages"
        ],
        "operationId": "listPagePublicLocationProvinces",
        "summary": "List HTML Mode delivery provinces",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Optional province name search."
          }
        ],
        "responses": {
          "200": {
            "description": "Province list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontProvinceListResponse"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/pages/{page_unique_id}/locations/cities": {
      "parameters": [
        {
          "$ref": "#/components/parameters/PageUniqueId"
        },
        {
          "$ref": "#/components/parameters/PagePublicApiKey"
        }
      ],
      "get": {
        "tags": [
          "HTML Mode Pages"
        ],
        "operationId": "listPagePublicLocationCities",
        "summary": "List HTML Mode delivery cities",
        "parameters": [
          {
            "name": "province_id",
            "in": "query",
            "required": false,
            "schema": {
              "oneOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "description": "Province ID from `/locations/provinces`."
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Optional city name search within the selected province."
          }
        ],
        "responses": {
          "200": {
            "description": "City list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontCityListResponse"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/pages/{page_unique_id}/locations/subdistricts": {
      "parameters": [
        {
          "$ref": "#/components/parameters/PageUniqueId"
        },
        {
          "$ref": "#/components/parameters/PagePublicApiKey"
        }
      ],
      "get": {
        "tags": [
          "HTML Mode Pages"
        ],
        "operationId": "listPagePublicLocationSubdistricts",
        "summary": "List HTML Mode delivery subdistricts",
        "parameters": [
          {
            "name": "city_id",
            "in": "query",
            "required": false,
            "schema": {
              "oneOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "description": "City ID from `/locations/cities`."
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Optional subdistrict name search within the selected city."
          }
        ],
        "responses": {
          "200": {
            "description": "Subdistrict list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontLocationListResponse"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/pages/{page_unique_id}/locations/{location_id}/postal-codes": {
      "parameters": [
        {
          "$ref": "#/components/parameters/PageUniqueId"
        },
        {
          "$ref": "#/components/parameters/PagePublicApiKey"
        },
        {
          "$ref": "#/components/parameters/LocationId"
        }
      ],
      "get": {
        "tags": [
          "HTML Mode Pages"
        ],
        "operationId": "listPagePublicLocationPostalCodes",
        "summary": "List HTML Mode delivery postal codes",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Optional postal code search within the selected location."
          }
        ],
        "responses": {
          "200": {
            "description": "Postal code list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontPostalCodeListResponse"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/pages/{page_unique_id}/discount-codes/check": {
      "parameters": [
        {
          "$ref": "#/components/parameters/PageUniqueId"
        },
        {
          "$ref": "#/components/parameters/PagePublicApiKey"
        }
      ],
      "post": {
        "tags": [
          "HTML Mode Pages"
        ],
        "operationId": "checkPagePublicDiscountCode",
        "summary": "Check an HTML Mode discount code",
        "description": "Page-scoped public endpoint for HTML Mode discount validation. The discount context is evaluated against the authenticated path page.\n",
        "requestBody": {
          "$ref": "#/components/requestBodies/PagePublicDiscountCodeCheckRequestBody"
        },
        "responses": {
          "200": {
            "description": "Discount code validation result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontDiscountCodeCheckResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/pages/{page_unique_id}/checkout/shipping-options": {
      "parameters": [
        {
          "$ref": "#/components/parameters/PageUniqueId"
        },
        {
          "$ref": "#/components/parameters/PagePublicApiKey"
        }
      ],
      "post": {
        "tags": [
          "HTML Mode Pages"
        ],
        "operationId": "listPagePublicCheckoutShippingOptions",
        "summary": "List HTML Mode checkout shipping options",
        "description": "Page-scoped public endpoint used by `Scalev.checkout.shippingOptions(payload)`. It accepts HTML Mode `items`, `destination`, and `payment_method`, then resolves the store from the authenticated page.\n",
        "requestBody": {
          "$ref": "#/components/requestBodies/PagePublicCheckoutShippingOptionsRequestBody"
        },
        "responses": {
          "200": {
            "description": "HTML Mode checkout shipping options",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontCheckoutShippingOptionsResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/pages/{page_unique_id}/checkout/summary": {
      "parameters": [
        {
          "$ref": "#/components/parameters/PageUniqueId"
        },
        {
          "$ref": "#/components/parameters/PagePublicApiKey"
        }
      ],
      "post": {
        "tags": [
          "HTML Mode Pages"
        ],
        "operationId": "getPagePublicCheckoutSummary",
        "summary": "Compute an HTML Mode checkout summary",
        "description": "Page-scoped public endpoint used by `Scalev.checkout.estimateSummary(payload)`. It accepts HTML Mode `items`, `destination`, `payment_method`, and `shipping_option`, recomputes shipping, and applies store-configured extra fees for display.\n",
        "requestBody": {
          "$ref": "#/components/requestBodies/PagePublicCheckoutSummaryRequestBody"
        },
        "responses": {
          "200": {
            "description": "HTML Mode checkout summary",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontCheckoutSummaryResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/pages/{page_unique_id}/orders": {
      "parameters": [
        {
          "$ref": "#/components/parameters/PageUniqueId"
        },
        {
          "$ref": "#/components/parameters/PagePublicApiKey"
        }
      ],
      "post": {
        "tags": [
          "HTML Mode Pages"
        ],
        "operationId": "createPagePublicOrder",
        "summary": "Create an HTML Mode public order",
        "description": "Page-scoped public endpoint for HTML Mode `Scalev.checkout.createOrder`. This route accepts HTML Mode order payloads with `customer`, `destination`, `items`, and `shipping_option`, requires `X-Scalev-Page-Api-Key`, and does not accept storefront public API keys. The page and store are resolved from the path and page API key; any `page_unique_id` or `store_unique_id` values supplied in the JSON body are ignored.\n",
        "requestBody": {
          "$ref": "#/components/requestBodies/PagePublicOrderCreateRequestBody"
        },
        "responses": {
          "201": {
            "description": "Flat HTML Mode public order object.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontPublicOrder"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/pages/{page_unique_id}/analytics/meta/events": {
      "parameters": [
        {
          "$ref": "#/components/parameters/PageUniqueId"
        },
        {
          "$ref": "#/components/parameters/PagePublicApiKey"
        }
      ],
      "post": {
        "tags": [
          "HTML Mode Pages"
        ],
        "operationId": "sendPagePublicMetaConversionEvent",
        "summary": "Send an HTML Mode Meta Conversion API event",
        "description": "Page-scoped public endpoint used by `Scalev.analytics.track(\"meta\", payload)` and `Scalev.analytics.track(\"facebook\", payload)`. The page path and API key select the page analytics configuration.\n",
        "requestBody": {
          "$ref": "#/components/requestBodies/StorefrontMetaConversionEventRequestBody"
        },
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/pages/{page_unique_id}/analytics/tiktok/events": {
      "parameters": [
        {
          "$ref": "#/components/parameters/PageUniqueId"
        },
        {
          "$ref": "#/components/parameters/PagePublicApiKey"
        }
      ],
      "post": {
        "tags": [
          "HTML Mode Pages"
        ],
        "operationId": "sendPagePublicTiktokConversionEvent",
        "summary": "Send an HTML Mode TikTok Events API event",
        "description": "Page-scoped public endpoint used by `Scalev.analytics.track(\"tiktok\", payload)`. The page path and API key select the page analytics configuration.\n",
        "requestBody": {
          "$ref": "#/components/requestBodies/StorefrontTiktokConversionEventRequestBody"
        },
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/pages/{page_unique_id}/analytics/snackvideo/events": {
      "parameters": [
        {
          "$ref": "#/components/parameters/PageUniqueId"
        },
        {
          "$ref": "#/components/parameters/PagePublicApiKey"
        }
      ],
      "post": {
        "tags": [
          "HTML Mode Pages"
        ],
        "operationId": "sendPagePublicSnackVideoConversionEvent",
        "summary": "Send an HTML Mode SnackVideo event",
        "description": "Page-scoped public endpoint used by `Scalev.analytics.track(\"snackvideo\", payload)` and `Scalev.analytics.track(\"kwai\", payload)`. The page path and API key select the page analytics configuration.\n",
        "requestBody": {
          "$ref": "#/components/requestBodies/StorefrontSnackVideoConversionEventRequestBody"
        },
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/checkout/shipping-options": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        },
        {
          "$ref": "#/components/parameters/StorefrontScalevGuestToken"
        }
      ],
      "post": {
        "tags": [
          "Storefront"
        ],
        "operationId": "listPublicCheckoutShippingOptions",
        "summary": "List guest checkout shipping options",
        "description": "Public storefront endpoint. Direct `items` use the same typed checkout item union as final public checkout. When direct `items` are omitted, the guest cart referenced by `X-Scalev-Guest-Token` is used as the item source. Digital-only carts return an empty non-paginated collection.\n",
        "requestBody": {
          "$ref": "#/components/requestBodies/StorefrontCheckoutShippingOptionsRequestBody"
        },
        "responses": {
          "200": {
            "description": "Guest checkout shipping options",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontCheckoutShippingOptionsResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/checkout/summary": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        },
        {
          "$ref": "#/components/parameters/StorefrontScalevGuestToken"
        }
      ],
      "post": {
        "tags": [
          "Storefront"
        ],
        "operationId": "getPublicCheckoutSummary",
        "summary": "Compute guest checkout summary",
        "description": "Public storefront endpoint. Recomputes the selected shipping cost from destination, courier service, warehouse, payment method, and either direct `items` or the guest cart referenced by `X-Scalev-Guest-Token`. Client-supplied `shipping_cost` is ignored. Digital-only carts return `shipping_cost: \"0\"`.\n",
        "requestBody": {
          "$ref": "#/components/requestBodies/StorefrontCheckoutSummaryRequestBody"
        },
        "responses": {
          "200": {
            "description": "Guest checkout summary",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontCheckoutSummaryResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/orders/{secret_slug}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        },
        {
          "$ref": "#/components/parameters/SecretSlug"
        }
      ],
      "get": {
        "tags": [
          "Storefront"
        ],
        "operationId": "getStorefrontPublicOrder",
        "summary": "Get a public storefront order",
        "description": "Public storefront endpoint.",
        "responses": {
          "200": {
            "description": "Public storefront order",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontPublicOrder"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "Storefront"
        ],
        "operationId": "updateStorefrontPublicOrder",
        "summary": "Update a public storefront order",
        "description": "Public storefront endpoint.",
        "requestBody": {
          "$ref": "#/components/requestBodies/StorefrontPublicOrderUpdateRequestBody"
        },
        "responses": {
          "200": {
            "description": "Updated public storefront order",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontPublicOrder"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/orders/{secret_slug}/payment": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        },
        {
          "$ref": "#/components/parameters/SecretSlug"
        }
      ],
      "post": {
        "tags": [
          "Storefront"
        ],
        "operationId": "createStorefrontPublicOrderPayment",
        "summary": "Create a payment for a public storefront order",
        "description": "Public storefront endpoint. Idempotent for orders that already have payment instructions or already expose a `payment_url`.",
        "responses": {
          "200": {
            "description": "Public storefront order with payment instructions",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontPublicOrder"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/orders/{secret_slug}/transfer-proof-upload": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        },
        {
          "$ref": "#/components/parameters/SecretSlug"
        }
      ],
      "post": {
        "tags": [
          "Storefront"
        ],
        "operationId": "createStorefrontPublicOrderTransferProofUpload",
        "summary": "Create a transfer proof upload URL",
        "description": "Public storefront endpoint for manual `bank_transfer` payment confirmation. Returns a direct-to-storage `upload_url` plus the public `file_url`. Upload the image with `PUT upload_url`, then set the order's `transferproof_url` with `PATCH /v3/stores/{store_id}/public/orders/{secret_slug}`.\n",
        "requestBody": {
          "$ref": "#/components/requestBodies/StorefrontPublicOrderTransferProofUploadRequestBody"
        },
        "responses": {
          "200": {
            "description": "Transfer proof upload metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontPublicOrderTransferProofUpload"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/discount-codes/check": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        },
        {
          "$ref": "#/components/parameters/StorefrontScalevGuestToken"
        }
      ],
      "post": {
        "tags": [
          "Discounts"
        ],
        "operationId": "checkDiscountCode",
        "summary": "Check discount code validity",
        "description": "Public storefront endpoint. Validate discount eligibility against the checkout context before order creation. If `X-Scalev-Guest-Token` resolves a non-empty guest cart, the cart is used as the item source. Otherwise the request may provide direct `items[]` with variant IDs. Unknown or ineligible codes return a validation result with `is_eligible: false`; the route itself only returns `404` when the store cannot be resolved.\n",
        "requestBody": {
          "$ref": "#/components/requestBodies/StorefrontDiscountCodeCheckRequestBody"
        },
        "responses": {
          "200": {
            "description": "Discount code validation result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontDiscountCodeCheckResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/analytics/meta/events": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        }
      ],
      "post": {
        "tags": [
          "Storefront"
        ],
        "operationId": "sendStorefrontMetaConversionEvent",
        "summary": "Send a Meta Conversion API event",
        "description": "Public storefront endpoint. Sends browser-collected conversion events through Scalev using the Meta pixels configured on the store's hosted storefront analytics setup. The store path selects the storefront; do not send a custom domain to identify the store. A `204` means the payload was accepted for asynchronous delivery.\n",
        "requestBody": {
          "$ref": "#/components/requestBodies/StorefrontMetaConversionEventRequestBody"
        },
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/analytics/tiktok/events": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        }
      ],
      "post": {
        "tags": [
          "Storefront"
        ],
        "operationId": "sendStorefrontTiktokConversionEvent",
        "summary": "Send a TikTok Events API event",
        "description": "Public storefront endpoint. Sends browser-collected conversion events through Scalev using the TikTok pixels configured on the store's hosted storefront analytics setup. The store path selects the storefront; do not send a custom domain to identify the store. A `204` means the payload was accepted for asynchronous delivery.\n",
        "requestBody": {
          "$ref": "#/components/requestBodies/StorefrontTiktokConversionEventRequestBody"
        },
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/analytics/snackvideo/events": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/StorefrontPublicApiKey"
        }
      ],
      "post": {
        "tags": [
          "Storefront"
        ],
        "operationId": "sendStorefrontSnackVideoConversionEvent",
        "summary": "Send a SnackVideo Events API event",
        "description": "Public storefront endpoint. Sends browser-collected conversion events through Scalev using the SnackVideo server pixels configured on the store's hosted storefront analytics setup. The store path selects the storefront; do not send a custom domain to identify the store. A `204` means the payload was accepted for asynchronous delivery.\n",
        "requestBody": {
          "$ref": "#/components/requestBodies/StorefrontSnackVideoConversionEventRequestBody"
        },
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/oauth/.well-known/oauth-authorization-server": {
      "get": {
        "tags": [
          "OAuth"
        ],
        "operationId": "getOAuthAuthorizationServerMetadata",
        "summary": "Get OAuth authorization server metadata",
        "description": "Public OAuth metadata endpoint. Advertises only `/v3` OAuth endpoints, dynamic client registration, Client ID Metadata Documents, PKCE, and supported global machine scopes.",
        "responses": {
          "200": {
            "$ref": "#/components/responses/OAuthAuthorizationServerMetadataResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          }
        }
      }
    },
    "/v3/oauth/application": {
      "get": {
        "tags": [
          "OAuth"
        ],
        "operationId": "getOAuthApplicationPublic",
        "summary": "Get public OAuth application metadata",
        "description": "No OAuth installation scope. OAuth flow endpoint.",
        "parameters": [
          {
            "description": "OAuth client ID.",
            "in": "query",
            "name": "client_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Redirect URI that must exactly match the application configuration.",
            "in": "query",
            "name": "redirect_uri",
            "required": true,
            "schema": {
              "format": "uri",
              "type": "string"
            }
          },
          {
            "description": "Optional resource audience. MCP clients use `https://mcp.scalev.com/mcp`. Official Scalev MCP DCR/CIMD clients default to this resource when omitted.",
            "in": "query",
            "name": "resource",
            "required": false,
            "schema": {
              "format": "uri",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/oauth/scopes": {
      "get": {
        "tags": [
          "OAuth"
        ],
        "operationId": "listOAuthScopes",
        "summary": "List OAuth scopes",
        "description": "Public OAuth helper endpoint. Returns the MCP-compatible `/v3` machine scope catalog as a map from scope name to plain-English description.",
        "responses": {
          "200": {
            "$ref": "#/components/responses/OAuthScopeCatalogResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          }
        }
      }
    },
    "/v3/oauth/applications/me": {
      "get": {
        "tags": [
          "OAuth"
        ],
        "operationId": "getCurrentOAuthApplication",
        "summary": "Get current OAuth application",
        "description": "OAuth token identity helper endpoint. Returns the OAuth application represented by the presented access token and never includes the client secret.",
        "security": [
          {
            "scalevOAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/CurrentOAuthApplicationResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/oauth/register": {
      "post": {
        "tags": [
          "OAuth"
        ],
        "operationId": "registerOAuthClient",
        "summary": "Register an OAuth client",
        "description": "Dynamic Client Registration endpoint for platform clients. Registrations are attached to Scalev's official OAuth application for supported resource audiences. Public clients should use `token_endpoint_auth_method=none` and PKCE.",
        "requestBody": {
          "$ref": "#/components/requestBodies/OAuthClientRegistrationRequestBody"
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/OAuthClientRegistrationResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          }
        }
      }
    },
    "/v3/oauth/token": {
      "post": {
        "tags": [
          "OAuth"
        ],
        "operationId": "exchangeOAuthToken",
        "summary": "Exchange or refresh OAuth tokens",
        "description": "No OAuth installation scope. OAuth flow endpoint. Confidential clients authenticate with `client_secret_post` or HTTP Basic auth. Public client registrations with `token_endpoint_auth_method=none` omit `client_secret` and must use PKCE.",
        "requestBody": {
          "$ref": "#/components/requestBodies/OAuthTokenRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          }
        }
      }
    },
    "/v3/oauth/revoke": {
      "post": {
        "tags": [
          "OAuth"
        ],
        "operationId": "revokeOAuthToken",
        "summary": "Revoke an OAuth access or refresh token",
        "description": "No OAuth installation scope. OAuth flow endpoint.",
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          }
        }
      }
    },
    "/v3/oauth/introspect": {
      "post": {
        "tags": [
          "OAuth"
        ],
        "operationId": "introspectOAuthToken",
        "summary": "Introspect an OAuth access or refresh token",
        "description": "No OAuth installation scope. OAuth flow endpoint.",
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          }
        }
      }
    },
    "/v3/oauth/installation/status": {
      "post": {
        "tags": [
          "OAuth"
        ],
        "operationId": "getOAuthInstallationStatus",
        "summary": "Get installed-app status snapshot",
        "description": "No OAuth installation scope. OAuth flow endpoint for app-backend installation status lookup.",
        "requestBody": {
          "$ref": "#/components/requestBodies/OAuthInstallationStatusRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/OAuthInstallationStatusResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          }
        }
      }
    },
    "/v3/oauth/installation/launch-token/exchange": {
      "post": {
        "tags": [
          "OAuth"
        ],
        "operationId": "exchangeOAuthInstallationLaunchToken",
        "summary": "Exchange an installed-app dashboard launch token",
        "description": "No OAuth installation scope. OAuth flow endpoint for exchanging a one-time Manage launch token for an installed-app status snapshot.",
        "requestBody": {
          "$ref": "#/components/requestBodies/OAuthInstallationLaunchTokenExchangeRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/OAuthInstallationStatusResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          }
        }
      }
    },
    "/v3/pages": {
      "get": {
        "tags": [
          "Landing Pages"
        ],
        "operationId": "listLandingPages",
        "summary": "List landing pages",
        "description": "Business-scoped landing page list. Returns Builder and HTML Mode pages visible to the authenticated business.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "page:list"
            ]
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PageSize"
          },
          {
            "$ref": "#/components/parameters/NextCursor"
          },
          {
            "$ref": "#/components/parameters/PreviousCursor"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/LandingPageCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      },
      "post": {
        "tags": [
          "Landing Pages"
        ],
        "operationId": "createLandingPage",
        "summary": "Create a landing page",
        "description": "Creates a business-scoped landing page using the same page creation behavior as Landing Page Studio. The request body below documents the HTML Mode payload. To create and publish an HTML Mode page in one call, include `is_published: true` with `page_display`. If `is_published` is omitted or false, the nested `page_display` is saved as an unpublished draft and is not returned as the page's current display; create or pick a page display, then call `PATCH /v3/pages/{id}` with `is_published: true` and `current_page_display_id` to publish it.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "page:create"
            ]
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/LandingPageCreateRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/LandingPageResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "422": {
            "$ref": "#/components/responses/ValidationFailedResponse"
          }
        }
      }
    },
    "/v3/pages/simplified": {
      "get": {
        "tags": [
          "Landing Pages"
        ],
        "operationId": "listLandingPagesSimplified",
        "summary": "List simplified landing pages",
        "description": "Business-scoped simplified landing page list using the same page filtering as Landing Page Studio.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "page:list"
            ]
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PageSize"
          },
          {
            "$ref": "#/components/parameters/NextCursor"
          },
          {
            "$ref": "#/components/parameters/PreviousCursor"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/LandingPageSimplifiedCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/pages/tags": {
      "get": {
        "tags": [
          "Landing Pages"
        ],
        "operationId": "listLandingPageTags",
        "summary": "List landing page tags",
        "description": "Lists landing page tags visible to the authenticated business.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "page:list"
            ]
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/LandingPageTagCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/pages/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/LandingPageId"
        }
      ],
      "get": {
        "tags": [
          "Landing Pages"
        ],
        "operationId": "getLandingPage",
        "summary": "Get a landing page",
        "description": "Returns a business-scoped landing page with its current published page display when one is selected.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "page:read"
            ]
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/LandingPageResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "Landing Pages"
        ],
        "operationId": "updateLandingPage",
        "summary": "Update a landing page",
        "description": "Updates business-scoped landing page metadata and publishing state using the same page update behavior as Landing Page Studio. Send `is_published: true` with `current_page_display_id` to publish a page display, or `is_published: false` with `current_page_display_id: null` to unpublish the page.\n",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "page:update"
            ]
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/LandingPageUpdateRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/LandingPageResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/ValidationFailedResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "Landing Pages"
        ],
        "operationId": "deleteLandingPage",
        "summary": "Delete a landing page",
        "description": "Soft-deletes a business-scoped landing page. Builder and HTML Mode pages are both deletable through this endpoint.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "page:delete"
            ]
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/pages/{id}/public": {
      "parameters": [
        {
          "$ref": "#/components/parameters/LandingPageId"
        }
      ],
      "get": {
        "tags": [
          "Landing Pages"
        ],
        "operationId": "getLandingPagePublicView",
        "summary": "Get landing page public view data",
        "description": "Returns the authenticated public rendering payload for a landing page.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "page:read"
            ]
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/LandingPagePublicResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/pages/{id}/update-tags": {
      "parameters": [
        {
          "$ref": "#/components/parameters/LandingPageId"
        }
      ],
      "post": {
        "tags": [
          "Landing Pages"
        ],
        "operationId": "updateLandingPageTags",
        "summary": "Update landing page tags",
        "description": "Replaces the tags assigned to a landing page.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "page:update"
            ]
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/LandingPageTagUpdateRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/LandingPageResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/pages/{page_id}/page-displays": {
      "parameters": [
        {
          "$ref": "#/components/parameters/LandingPagePageId"
        }
      ],
      "get": {
        "tags": [
          "Landing Pages"
        ],
        "operationId": "listLandingPageDisplays",
        "summary": "List landing page displays",
        "description": "Lists saved displays for a landing page.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "page:list"
            ]
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PageSize"
          },
          {
            "$ref": "#/components/parameters/NextCursor"
          },
          {
            "$ref": "#/components/parameters/PreviousCursor"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/LandingPageDisplayCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "post": {
        "tags": [
          "Landing Pages"
        ],
        "operationId": "createLandingPageDisplay",
        "summary": "Create a landing page display",
        "description": "Creates a new display for an existing landing page. The request body below documents the HTML Mode page display payload.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "page:update"
            ]
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/LandingPageDisplayRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/LandingPageDisplayResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/ValidationFailedResponse"
          }
        }
      }
    },
    "/v3/pages/{page_id}/page-displays/validate": {
      "parameters": [
        {
          "$ref": "#/components/parameters/LandingPagePageId"
        }
      ],
      "post": {
        "tags": [
          "Landing Pages"
        ],
        "operationId": "validateLandingPageDisplay",
        "summary": "Validate a landing page display",
        "description": "Validates the same landing page display payload accepted by create without persisting a page-display record.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "page:update"
            ]
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/LandingPageDisplayRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/LandingPageDisplayValidationResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/pages/{page_id}/page-displays/{display_id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/LandingPagePageId"
        },
        {
          "$ref": "#/components/parameters/LandingPageDisplayId"
        }
      ],
      "get": {
        "tags": [
          "Landing Pages"
        ],
        "operationId": "getLandingPageDisplay",
        "summary": "Get a landing page display",
        "description": "Returns one saved landing page display.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "page:read"
            ]
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/LandingPageDisplayResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "Landing Pages"
        ],
        "operationId": "deleteLandingPageDisplay",
        "summary": "Delete a landing page display",
        "description": "Deletes one saved landing page display.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "page:update"
            ]
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/fb-standard-events": {
      "get": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "listFacebookStandardEvents",
        "summary": "List Facebook standard events",
        "description": "Requires the `fb_pixel:list` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "fb_pixel:list"
            ]
          }
        ],
        "parameters": [
          {
            "description": "Number of items per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/AnalyticsStandardEventCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/tiktok-standard-events": {
      "get": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "listTiktokStandardEvents",
        "summary": "List TikTok standard events",
        "description": "Requires the `tiktok_pixel:list` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "tiktok_pixel:list"
            ]
          }
        ],
        "parameters": [
          {
            "description": "Number of items per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/AnalyticsStandardEventCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/kwai-standard-events": {
      "get": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "listKwaiStandardEvents",
        "summary": "List SnackVideo standard events",
        "description": "Requires the `kwai_pixel:list` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "kwai_pixel:list"
            ]
          }
        ],
        "parameters": [
          {
            "description": "Filter by SnackVideo event channel.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "client",
                "server"
              ]
            }
          },
          {
            "description": "Number of items per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/AnalyticsStandardEventCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/fb-pixels": {
      "get": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "listFacebookPixels",
        "summary": "List Facebook pixels",
        "description": "Requires the `fb_pixel:list` scope. The returned `id` is the Scalev record ID used in landing page display configuration; `pixel_id` is the provider ID sent to Meta.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "fb_pixel:list"
            ]
          }
        ],
        "parameters": [
          {
            "description": "Search by name or provider pixel ID.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of items per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/MetaPixelCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      },
      "post": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "createFacebookPixel",
        "summary": "Create a Facebook pixel",
        "description": "Requires the `fb_pixel:create` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "fb_pixel:create"
            ]
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/MetaPixelRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/MetaPixelResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/fb-pixels/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "getFacebookPixel",
        "summary": "Get a Facebook pixel",
        "description": "Requires the `fb_pixel:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "fb_pixel:read"
            ]
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/MetaPixelResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "updateFacebookPixel",
        "summary": "Update a Facebook pixel",
        "description": "Requires the `fb_pixel:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "fb_pixel:update"
            ]
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/MetaPixelRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/MetaPixelResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "deleteFacebookPixel",
        "summary": "Delete a Facebook pixel",
        "description": "Requires the `fb_pixel:delete` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "fb_pixel:delete"
            ]
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/tiktok-pixels": {
      "get": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "listTiktokPixels",
        "summary": "List TikTok pixels",
        "description": "Requires the `tiktok_pixel:list` scope. The returned `id` is the Scalev record ID used in landing page display configuration; `pixel_id` is the provider ID sent to TikTok.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "tiktok_pixel:list"
            ]
          }
        ],
        "parameters": [
          {
            "description": "Search by name or provider pixel ID.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of items per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/TiktokPixelCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      },
      "post": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "createTiktokPixel",
        "summary": "Create a TikTok pixel",
        "description": "Requires the `tiktok_pixel:create` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "tiktok_pixel:create"
            ]
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/TiktokPixelRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/TiktokPixelResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/tiktok-pixels/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "getTiktokPixel",
        "summary": "Get a TikTok pixel",
        "description": "Requires the `tiktok_pixel:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "tiktok_pixel:read"
            ]
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/TiktokPixelResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "updateTiktokPixel",
        "summary": "Update a TikTok pixel",
        "description": "Requires the `tiktok_pixel:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "tiktok_pixel:update"
            ]
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/TiktokPixelRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/TiktokPixelResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "deleteTiktokPixel",
        "summary": "Delete a TikTok pixel",
        "description": "Requires the `tiktok_pixel:delete` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "tiktok_pixel:delete"
            ]
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/kwai-pixels": {
      "get": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "listKwaiPixels",
        "summary": "List SnackVideo pixels",
        "description": "Requires the `kwai_pixel:list` scope. The returned `id` is the Scalev record ID used in landing page display configuration; `pixel_id` is the provider ID sent to SnackVideo.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "kwai_pixel:list"
            ]
          }
        ],
        "parameters": [
          {
            "description": "Filter by SnackVideo pixel channel.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "client",
                "server"
              ]
            }
          },
          {
            "description": "Number of items per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/KwaiPixelCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      },
      "post": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "createKwaiPixel",
        "summary": "Create a SnackVideo pixel",
        "description": "Requires the `kwai_pixel:create` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "kwai_pixel:create"
            ]
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/KwaiPixelRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/KwaiPixelResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/kwai-pixels/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "getKwaiPixel",
        "summary": "Get a SnackVideo pixel",
        "description": "Requires the `kwai_pixel:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "kwai_pixel:read"
            ]
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/KwaiPixelResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "updateKwaiPixel",
        "summary": "Update a SnackVideo pixel",
        "description": "Requires the `kwai_pixel:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "kwai_pixel:update"
            ]
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/KwaiPixelRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/KwaiPixelResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "deleteKwaiPixel",
        "summary": "Delete a SnackVideo pixel",
        "description": "Requires the `kwai_pixel:delete` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "kwai_pixel:delete"
            ]
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/gtm": {
      "get": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "listGtmContainers",
        "summary": "List Google Tag Manager containers",
        "description": "Requires the `gtm:list` scope. The returned `id` is the Scalev record ID used in landing page display configuration; `container_id` is the GTM provider ID.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "gtm:list"
            ]
          }
        ],
        "parameters": [
          {
            "description": "Search by name or container ID.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of items per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GtmContainerCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      },
      "post": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "createGtmContainer",
        "summary": "Create a Google Tag Manager container",
        "description": "Requires the `gtm:create` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "gtm:create"
            ]
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GtmContainerRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/GtmContainerResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/gtm/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "getGtmContainer",
        "summary": "Get a Google Tag Manager container",
        "description": "Requires the `gtm:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "gtm:read"
            ]
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GtmContainerResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "updateGtmContainer",
        "summary": "Update a Google Tag Manager container",
        "description": "Requires the `gtm:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "gtm:update"
            ]
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GtmContainerRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/GtmContainerResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "Analytics Setup"
        ],
        "operationId": "deleteGtmContainer",
        "summary": "Delete a Google Tag Manager container",
        "description": "Requires the `gtm:delete` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "gtm:delete"
            ]
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/oauth/billing/reservations": {
      "post": {
        "tags": [
          "OAuth Billing"
        ],
        "operationId": "createOAuthBillingReservation",
        "summary": "Create an OAuth billing reservation",
        "description": "No OAuth installation scope. OAuth flow endpoint. Requires an installed-app OAuth access token. JWT and business API key auth do not apply on this route.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/PaymentRequiredResponse"
          }
        }
      }
    },
    "/v3/oauth/billing/reservations/{id}/release": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "post": {
        "tags": [
          "OAuth Billing"
        ],
        "operationId": "releaseOAuthBillingReservation",
        "summary": "Release an OAuth billing reservation",
        "description": "No OAuth installation scope. OAuth flow endpoint. Requires an installed-app OAuth access token. JWT and business API key auth do not apply on this route.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        }
      }
    },
    "/v3/oauth/billing/refunds": {
      "post": {
        "tags": [
          "OAuth Billing"
        ],
        "operationId": "createOAuthBillingRefund",
        "summary": "Refund a captured OAuth billing charge",
        "description": "No OAuth installation scope. OAuth flow endpoint. Requires an installed-app OAuth access token that owns the original authorized-business charge. Refunds are full post-capture reversals; reservation release remains the pre-capture flow.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/OAuthBillingRefundRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/OAuthBillingRefundResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "409": {
            "$ref": "#/components/responses/ConflictResponse"
          }
        }
      }
    },
    "/v3/developer/oauth-billing/earnings": {
      "get": {
        "tags": [
          "OAuth Billing"
        ],
        "operationId": "getDeveloperOAuthBillingEarnings",
        "summary": "Get developer OAuth billing earnings balance",
        "description": "Requires business auth with `business:manage_developer_settings`.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/OAuthBillingEarningsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/developer/oauth-billing/actions": {
      "get": {
        "tags": [
          "OAuth Billing"
        ],
        "operationId": "listDeveloperOAuthBillingActions",
        "summary": "List available OAuth billing actions",
        "description": "Requires business auth with `business:manage_developer_settings`.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/OAuthBillingActionCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/developer/oauth-billing/reservations": {
      "get": {
        "tags": [
          "OAuth Billing"
        ],
        "operationId": "listDeveloperOAuthBillingReservations",
        "summary": "List developer OAuth billing reservations",
        "description": "Requires business auth with `business:manage_developer_settings`.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PageSize"
          },
          {
            "$ref": "#/components/parameters/NextCursor"
          },
          {
            "$ref": "#/components/parameters/PreviousCursor"
          },
          {
            "$ref": "#/components/parameters/OAuthApplicationIdQuery"
          },
          {
            "$ref": "#/components/parameters/OAuthAuthorizedBusinessIdQuery"
          },
          {
            "$ref": "#/components/parameters/MerchantBusinessIdQuery"
          },
          {
            "$ref": "#/components/parameters/OAuthBillingTagQuery"
          },
          {
            "$ref": "#/components/parameters/OAuthBillingActionKeyQuery"
          },
          {
            "$ref": "#/components/parameters/OAuthBillingStatusQuery"
          },
          {
            "$ref": "#/components/parameters/OAuthBillingIdempotencyKeyQuery"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/OAuthBillingReservationCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/developer/oauth-billing/reservations/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "OAuth Billing"
        ],
        "operationId": "getDeveloperOAuthBillingReservation",
        "summary": "Get a developer OAuth billing reservation",
        "description": "Requires business auth with `business:manage_developer_settings`.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/OAuthBillingReservationResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/developer/oauth-billing/charges": {
      "get": {
        "tags": [
          "OAuth Billing"
        ],
        "operationId": "listDeveloperOAuthBillingCharges",
        "summary": "List developer OAuth billing charges",
        "description": "Requires business auth with `business:manage_developer_settings`.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PageSize"
          },
          {
            "$ref": "#/components/parameters/NextCursor"
          },
          {
            "$ref": "#/components/parameters/PreviousCursor"
          },
          {
            "$ref": "#/components/parameters/OAuthApplicationIdQuery"
          },
          {
            "$ref": "#/components/parameters/OAuthAuthorizedBusinessIdQuery"
          },
          {
            "$ref": "#/components/parameters/MerchantBusinessIdQuery"
          },
          {
            "$ref": "#/components/parameters/OAuthBillingTagQuery"
          },
          {
            "$ref": "#/components/parameters/OAuthBillingActionKeyQuery"
          },
          {
            "$ref": "#/components/parameters/OAuthBillingIdempotencyKeyQuery"
          },
          {
            "$ref": "#/components/parameters/OAuthBillingRequestIdQuery"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/OAuthBillingChargeCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/developer/oauth-billing/charges/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "OAuth Billing"
        ],
        "operationId": "getDeveloperOAuthBillingCharge",
        "summary": "Get a developer OAuth billing charge",
        "description": "Requires business auth with `business:manage_developer_settings`.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/OAuthBillingChargeResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/developer/oauth-billing/ledger": {
      "get": {
        "tags": [
          "OAuth Billing"
        ],
        "operationId": "listDeveloperOAuthBillingLedger",
        "summary": "List developer OAuth billing earnings ledger entries",
        "description": "Requires business auth with `business:manage_developer_settings`.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PageSize"
          },
          {
            "$ref": "#/components/parameters/NextCursor"
          },
          {
            "$ref": "#/components/parameters/PreviousCursor"
          },
          {
            "$ref": "#/components/parameters/OAuthApplicationIdQuery"
          },
          {
            "$ref": "#/components/parameters/OAuthBillingEntryTypeQuery"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/OAuthBillingLedgerCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/developer/oauth-billing/settlements": {
      "get": {
        "tags": [
          "OAuth Billing"
        ],
        "operationId": "listDeveloperOAuthBillingSettlements",
        "summary": "List developer OAuth billing settlements",
        "description": "Requires business auth with `business:manage_developer_settings`.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PageSize"
          },
          {
            "$ref": "#/components/parameters/NextCursor"
          },
          {
            "$ref": "#/components/parameters/PreviousCursor"
          },
          {
            "$ref": "#/components/parameters/OAuthBillingSettlementStatusQuery"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/OAuthBillingSettlementCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/developer/oauth-billing/withdrawals": {
      "post": {
        "tags": [
          "OAuth Billing"
        ],
        "operationId": "createDeveloperOAuthBillingWithdrawal",
        "summary": "Withdraw developer OAuth billing earnings",
        "description": "Requires business auth with `business:manage_developer_settings`. Xendit is the only supported settlement rail.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/OAuthBillingWithdrawalRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/OAuthBillingSettlementResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "402": {
            "$ref": "#/components/responses/PaymentRequiredResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/auth/login": {
      "post": {
        "tags": [
          "Customer Auth"
        ],
        "operationId": "loginCustomer",
        "summary": "Start customer login",
        "description": "Public storefront endpoint. If the store can complete login directly, a successful credential check returns customer JWT tokens. If the store requires OTP, a successful credential check sends the one-time code and returns a message object so the frontend can show the OTP entry step.\n",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/StorefrontPublicApiKey"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CustomerLoginRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CustomerLoginResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/auth/otp/verify": {
      "post": {
        "tags": [
          "Customer Auth"
        ],
        "operationId": "verifyCustomerOtp",
        "summary": "Verify a customer login OTP",
        "description": "Public storefront endpoint. A successful OTP verification returns customer JWT tokens.",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/StorefrontPublicApiKey"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CustomerOtpVerifyRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CustomerAuthTokenResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/auth/jwt/refresh": {
      "post": {
        "tags": [
          "Customer Auth"
        ],
        "operationId": "refreshCustomerJwt",
        "summary": "Refresh a customer JWT",
        "description": "Public storefront endpoint. Refreshes a customer JWT issued by storefront customer auth. Refresh tokens are single-use and rotate on every successful refresh; store the returned `refresh` value and discard the previous one. Reusing an already-rotated refresh token revokes the refresh-token family.\n",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/StorefrontPublicApiKey"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/JwtRefreshRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CustomerAuthTokenResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/auth/jwt/blacklist": {
      "post": {
        "tags": [
          "Customer Auth"
        ],
        "operationId": "blacklistCustomerJwt",
        "summary": "Blacklist customer JWTs",
        "description": "Public storefront endpoint. Revokes the supplied customer tokens. When a tracked refresh token is supplied, the refresh-token family is revoked so later refresh attempts fail.\n",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/StorefrontPublicApiKey"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/JwtBlacklistRequestBody"
        },
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/auth/forget-password": {
      "post": {
        "tags": [
          "Customer Auth"
        ],
        "operationId": "startCustomerPasswordReset",
        "summary": "Start a customer password reset flow",
        "description": "Public storefront endpoint. When called from a browser origin that is registered in the store's Storefront API allowed origins, the reset email link uses that origin as `http(s)://<allowed-storefront-host>/reset-password?token=<reset-token>`. Calls without an `Origin` header fall back to the hosted storefront custom domain and use the same `/reset-password?token=...` path.\n",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/StorefrontPublicApiKey"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/ForgetPasswordRequestBody"
        },
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public/auth/save-password": {
      "post": {
        "tags": [
          "Customer Auth"
        ],
        "operationId": "saveCustomerPassword",
        "summary": "Save a new customer password from a reset token",
        "description": "Public storefront endpoint. Saves a new customer password with the reset token from `/reset-password?token=...`. Storefronts should read this token from the URL; customers should not be asked to copy it manually.\n",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/StorefrontPublicApiKey"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/SavePasswordRequestBody"
        },
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me": {
      "get": {
        "tags": [
          "Customer Account"
        ],
        "operationId": "getCustomerMe",
        "summary": "Get the authenticated customer profile",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          }
        ],
        "responses": {
          "200": {
            "description": "Authenticated customer profile",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerProfileResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "Customer Account"
        ],
        "operationId": "updateCustomerMe",
        "summary": "Update the authenticated customer profile",
        "description": "Customer-authenticated storefront endpoint. Customer email is read-only in public v1.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CustomerProfileUpdateRequestBody"
        },
        "responses": {
          "200": {
            "description": "Updated authenticated customer profile",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerProfileUpdateResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me/set-new-password": {
      "post": {
        "tags": [
          "Customer Account"
        ],
        "operationId": "setCustomerPassword",
        "summary": "Set a new password for the authenticated customer",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/PasswordRequestBody"
        },
        "responses": {
          "200": {
            "description": "Customer profile after password update",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerPasswordUpdateResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me/addresses": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        }
      ],
      "get": {
        "tags": [
          "Customer Account"
        ],
        "operationId": "listCustomerMeAddresses",
        "summary": "List authenticated customer addresses",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Customer address list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerAddressListResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        }
      },
      "post": {
        "tags": [
          "Customer Account"
        ],
        "operationId": "createCustomerMeAddress",
        "summary": "Create an authenticated customer address",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CustomerAddressRequestBody"
        },
        "responses": {
          "200": {
            "description": "Customer address",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerAddress"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me/addresses/{address_id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        },
        {
          "$ref": "#/components/parameters/AddressId"
        }
      ],
      "get": {
        "tags": [
          "Customer Account"
        ],
        "operationId": "getCustomerMeAddress",
        "summary": "Get an authenticated customer address",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Customer address",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerAddress"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "Customer Account"
        ],
        "operationId": "updateCustomerMeAddress",
        "summary": "Update an authenticated customer address",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CustomerAddressRequestBody"
        },
        "responses": {
          "200": {
            "description": "Customer address",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerAddress"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "Customer Account"
        ],
        "operationId": "deleteCustomerMeAddress",
        "summary": "Delete an authenticated customer address",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me/cart": {
      "get": {
        "tags": [
          "Customer Cart"
        ],
        "operationId": "getCustomerCart",
        "summary": "Get the authenticated customer cart",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          }
        ],
        "responses": {
          "200": {
            "description": "Authenticated customer cart",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCart"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me/cart/items": {
      "post": {
        "tags": [
          "Customer Cart"
        ],
        "operationId": "addCustomerCartItem",
        "summary": "Add an item to the authenticated customer cart",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CartItemRequestBody"
        },
        "responses": {
          "201": {
            "description": "Updated authenticated customer cart",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCartItemAddResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me/cart/items/{item_id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/ItemId"
        },
        {
          "$ref": "#/components/parameters/StoreId"
        }
      ],
      "patch": {
        "tags": [
          "Customer Cart"
        ],
        "operationId": "updateCustomerCartItem",
        "summary": "Update an authenticated customer cart item",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CartItemUpdateRequestBody"
        },
        "responses": {
          "200": {
            "description": "Updated authenticated customer cart",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCartItemUpdateResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "Customer Cart"
        ],
        "operationId": "removeCustomerCartItem",
        "summary": "Remove an authenticated customer cart item",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Updated authenticated customer cart",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCartItemDeleteResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me/checkout/addresses": {
      "get": {
        "tags": [
          "Customer Checkout"
        ],
        "operationId": "listCheckoutAddresses",
        "summary": "List saved checkout addresses",
        "description": "Customer-authenticated storefront endpoint. Direct `items` use the same typed checkout item union as final customer checkout. When direct `items` are omitted, `cart_id` selects the customer cart item source.\n",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          }
        ],
        "responses": {
          "200": {
            "description": "Saved checkout addresses",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCheckoutAddressListResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me/checkout/payment-methods": {
      "get": {
        "tags": [
          "Customer Checkout"
        ],
        "operationId": "listCheckoutPaymentMethods",
        "summary": "List available checkout payment methods",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          }
        ],
        "responses": {
          "200": {
            "description": "Available checkout payment methods",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCheckoutPaymentMethodsResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me/checkout/shipping-options": {
      "post": {
        "tags": [
          "Customer Checkout"
        ],
        "operationId": "listCheckoutShippingOptions",
        "summary": "Get checkout shipping options",
        "description": "Customer-authenticated storefront endpoint. Direct `items` use the same typed checkout item union as final customer checkout. When direct `items` are omitted, `cart_id` selects the customer cart item source.\n",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CustomerCheckoutShippingOptionsRequestBody"
        },
        "responses": {
          "200": {
            "description": "Checkout shipping options",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCheckoutShippingOptionsResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me/checkout/summary": {
      "post": {
        "tags": [
          "Customer Checkout"
        ],
        "operationId": "getCheckoutSummary",
        "summary": "Compute checkout summary",
        "description": "Customer-authenticated storefront endpoint. Recomputes the selected shipping cost from destination, courier service, warehouse, payment method, and either direct `items` or the cart referenced by `cart_id`.\n",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CustomerCheckoutSummaryRequestBody"
        },
        "responses": {
          "200": {
            "description": "Checkout summary",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCheckoutSummaryResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me/checkout": {
      "post": {
        "tags": [
          "Customer Checkout"
        ],
        "operationId": "createCustomerCheckout",
        "summary": "Create an authenticated customer checkout order",
        "description": "Customer-authenticated storefront endpoint. Create an order from direct `items`, from a customer cart referenced by `cart_id`, or from direct `items` while clearing the referenced cart after successful order creation. Carts must belong to the authenticated customer and current store.\n",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CustomerCheckoutRequestBody"
        },
        "responses": {
          "201": {
            "description": "Customer checkout order",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontPublicOrder"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me/orders": {
      "get": {
        "tags": [
          "Customer Orders"
        ],
        "operationId": "listCustomerOrders",
        "summary": "List authenticated customer orders",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          }
        ],
        "responses": {
          "200": {
            "description": "Authenticated customer order list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerOrderListResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me/orders/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        },
        {
          "$ref": "#/components/parameters/StoreId"
        }
      ],
      "get": {
        "tags": [
          "Customer Orders"
        ],
        "operationId": "getCustomerOrder",
        "summary": "Get an authenticated customer order",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Authenticated customer order",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontCustomerFacingOrder"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me/subscriptions": {
      "parameters": [
        {
          "$ref": "#/components/parameters/StoreId"
        }
      ],
      "get": {
        "tags": [
          "Customer Subscriptions"
        ],
        "operationId": "listCustomerSubscriptions",
        "summary": "List authenticated customer subscriptions",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "description": "Number of items per page (default: 25, max: 25)",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "example": 25,
              "maximum": 25,
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by subscription status (unactivated, active, canceled, expired)",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "unactivated",
                "active",
                "canceled",
                "expired",
                "failed"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListCustomerSubscriptionsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          }
        },
        "description": "Customer-authenticated storefront endpoint. Retrieves a paginated list of subscriptions. The data is sorted by id in descending order. Uses cursor-based pagination with default page size of 25 and maximum of 25."
      }
    },
    "/v3/stores/{store_id}/customers/me/subscriptions/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/SubscriptionId"
        },
        {
          "$ref": "#/components/parameters/StoreId"
        }
      ],
      "get": {
        "tags": [
          "Customer Subscriptions"
        ],
        "operationId": "getCustomerSubscription",
        "summary": "Get an authenticated customer subscription",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetCustomerSubscriptionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Customer-authenticated storefront endpoint. Retrieves detailed information about a specific subscription identified by its ID."
      }
    },
    "/v3/stores/{store_id}/customers/me/subscriptions/{id}/cancel": {
      "parameters": [
        {
          "$ref": "#/components/parameters/SubscriptionId"
        },
        {
          "$ref": "#/components/parameters/StoreId"
        }
      ],
      "post": {
        "tags": [
          "Customer Subscriptions"
        ],
        "operationId": "cancelCustomerSubscription",
        "summary": "Cancel a customer subscription",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/CancelCustomerSubscriptionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Customer-authenticated storefront endpoint. Cancels a subscription at period end. The subscription must be active and not already marked for cancellation. All active subscription items will be marked for cancellation as well. Any pending/scheduled actions will be canceled."
      }
    },
    "/v3/stores/{store_id}/customers/me/subscriptions/{id}/resume": {
      "parameters": [
        {
          "$ref": "#/components/parameters/SubscriptionId"
        },
        {
          "$ref": "#/components/parameters/StoreId"
        }
      ],
      "post": {
        "tags": [
          "Customer Subscriptions"
        ],
        "operationId": "resumeCustomerSubscription",
        "summary": "Resume a customer subscription",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ResumeCustomerSubscriptionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Customer-authenticated storefront endpoint. Resumes a subscription that was scheduled for cancellation at period end. The subscription must be active and have is_cancel_at_period_end = true. All subscription items scheduled for cancellation will also be resumed. If the subscription is approaching renewal, a new renewal action will be created."
      }
    },
    "/v3/stores/{store_id}/customers/me/subscription-items/{id}/upgrade": {
      "parameters": [
        {
          "$ref": "#/components/parameters/SubscriptionItemId"
        },
        {
          "$ref": "#/components/parameters/StoreId"
        }
      ],
      "get": {
        "tags": [
          "Customer Subscriptions"
        ],
        "operationId": "listSubscriptionUpgradeOptions",
        "summary": "List subscription upgrade options",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListSubscriptionUpgradeOptionsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Customer-authenticated storefront endpoint. Retrieves a list of variants with higher prices than the current variant of the subscription item. Only active subscription items that are not scheduled for cancellation are eligible."
      },
      "post": {
        "tags": [
          "Customer Subscriptions"
        ],
        "operationId": "upgradeSubscriptionItem",
        "summary": "Upgrade a subscription item",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UpgradeSubscriptionItemRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/UpgradeSubscriptionItemResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Customer-authenticated storefront endpoint. Upgrades a subscription item to a higher-priced variant. Creates a subscription action with type 'upgrade' and executes it within the same transaction. The variant_id must be present in the list of upgrade variants."
      }
    },
    "/v3/stores/{store_id}/customers/me/subscription-items/{id}/downgrade": {
      "parameters": [
        {
          "$ref": "#/components/parameters/SubscriptionItemId"
        },
        {
          "$ref": "#/components/parameters/StoreId"
        }
      ],
      "get": {
        "tags": [
          "Customer Subscriptions"
        ],
        "operationId": "listSubscriptionDowngradeOptions",
        "summary": "List subscription downgrade options",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListSubscriptionDowngradeOptionsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Customer-authenticated storefront endpoint. Retrieves a list of variants with lower prices than the current variant of the subscription item. Only active subscription items that are not scheduled for cancellation are eligible."
      },
      "post": {
        "tags": [
          "Customer Subscriptions"
        ],
        "operationId": "downgradeSubscriptionItem",
        "summary": "Downgrade a subscription item",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/DowngradeSubscriptionItemRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/DowngradeSubscriptionItemResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Customer-authenticated storefront endpoint. Downgrades a subscription item to a lower-priced variant. Creates a subscription action with type 'downgrade' and executes it within the same transaction. The variant_id must be present in the list of downgrade variants."
      }
    },
    "/v3/stores/{store_id}/customers/me/variants/{uuid}/course": {
      "parameters": [
        {
          "$ref": "#/components/parameters/Uuid"
        },
        {
          "$ref": "#/components/parameters/StoreId"
        }
      ],
      "get": {
        "tags": [
          "Customer Courses"
        ],
        "operationId": "getCustomerVariantCourse",
        "summary": "Get course access for a purchased variant",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Course access for a purchased variant",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCourseAccessResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me/course-sections/{uuid}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/Uuid"
        },
        {
          "$ref": "#/components/parameters/StoreId"
        }
      ],
      "get": {
        "tags": [
          "Customer Courses"
        ],
        "operationId": "getCustomerCourseSection",
        "summary": "Get a course section",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Course section",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCourseSection"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/customers/me/course-contents/{uuid}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/Uuid"
        },
        {
          "$ref": "#/components/parameters/StoreId"
        }
      ],
      "get": {
        "tags": [
          "Customer Courses"
        ],
        "operationId": "getCustomerCourseContent",
        "summary": "Get a course content item",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Course content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCourseContent"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "Customer Courses"
        ],
        "operationId": "updateCustomerCourseContentProgress",
        "summary": "Update course content progress",
        "description": "Customer-authenticated storefront endpoint.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CustomerCourseProgressUpdateRequestBody"
        },
        "responses": {
          "200": {
            "description": "Course content with updated progress",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCourseProgressUpdateResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores": {
      "get": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "listBusinessStores",
        "summary": "List business stores",
        "description": "Requires the `store:list` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:list"
            ]
          }
        ],
        "parameters": [
          {
            "description": "Number of items per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by store name.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter stores attached to a product ID.",
            "in": "query",
            "name": "product_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Filter by custom domain URL.",
            "in": "query",
            "name": "domain",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter stores that have or do not have a custom domain.",
            "in": "query",
            "name": "has_domain",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/BusinessStoreCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      },
      "post": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "createBusinessStore",
        "summary": "Create a business store",
        "description": "Requires the `store:create` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:create"
            ]
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/BusinessStoreCreateRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/BusinessStoreResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/stores/{id}": {
      "parameters": [
        {
          "name": "id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "integer",
            "example": 3288
          },
          "description": "Numeric Scalev store database ID."
        }
      ],
      "get": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "getBusinessStore",
        "summary": "Get a business store",
        "description": "Requires the `store:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:read"
            ]
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/BusinessStoreResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "updateBusinessStore",
        "summary": "Update a business store",
        "description": "Requires the `store:update` scope. Use `is_public` instead of legacy `visibility`.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:update"
            ]
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/BusinessStoreUpdateRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/BusinessStoreResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "deleteBusinessStore",
        "summary": "Delete a business store",
        "description": "Requires the `store:delete` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:delete"
            ]
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/simplified": {
      "get": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "listBusinessStoresSimplified",
        "summary": "List stores in simplified business format",
        "description": "Requires the `store:list` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:list"
            ]
          }
        ],
        "parameters": [
          {
            "description": "Number of items per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/PaginatedCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public-api-keys": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        }
      ],
      "get": {
        "tags": [
          "Storefront Setup"
        ],
        "operationId": "listStorefrontPublicApiKeys",
        "summary": "List storefront public API keys",
        "description": "Requires the `store:read` scope. Uses the authenticated business store ID.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Storefront public API key list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontPublicApiKeyListResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "post": {
        "tags": [
          "Storefront Setup"
        ],
        "operationId": "createStorefrontPublicApiKey",
        "summary": "Create a storefront public API key",
        "description": "Requires the `store:update` scope. Uses the authenticated business store ID.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:update"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Storefront public API key",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontPublicApiKey"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/public-api-keys/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        },
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "delete": {
        "tags": [
          "Storefront Setup"
        ],
        "operationId": "revokeStorefrontPublicApiKey",
        "summary": "Revoke a storefront public API key",
        "description": "Requires the `store:update` scope. Uses the authenticated business store ID.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:update"
            ]
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/storefront/allowed-origins": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        }
      ],
      "get": {
        "tags": [
          "Storefront Setup"
        ],
        "operationId": "listStorefrontAllowedOrigins",
        "summary": "List storefront allowed origins",
        "description": "Requires the `store:read` scope. Uses the authenticated business store ID.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:read"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Storefront allowed origin list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontAllowedOriginListResponse"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "post": {
        "tags": [
          "Storefront Setup"
        ],
        "operationId": "createStorefrontAllowedOrigin",
        "summary": "Create a storefront allowed origin",
        "description": "Requires the `store:update` scope. Uses the authenticated business store ID.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:update"
            ]
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/StorefrontAllowedOriginRequestBody"
        },
        "responses": {
          "200": {
            "description": "Storefront allowed origin",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorefrontAllowedOrigin"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/storefront/allowed-origins/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        },
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "delete": {
        "tags": [
          "Storefront Setup"
        ],
        "operationId": "revokeStorefrontAllowedOrigin",
        "summary": "Revoke a storefront allowed origin",
        "description": "Requires the `store:update` scope. Uses the authenticated business store ID.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:update"
            ]
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/products": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        }
      ],
      "get": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "listBusinessStoreProducts",
        "summary": "List products for a business store",
        "description": "Requires the `product:list` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "product:list"
            ]
          }
        ],
        "parameters": [
          {
            "description": "Number of items per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/BusinessStoreProductCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/bundles": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        }
      ],
      "get": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "listBusinessStoreBundles",
        "summary": "List bundles for a business store",
        "description": "Requires the `bundle:list` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "bundle:list"
            ]
          }
        ],
        "parameters": [
          {
            "description": "Number of items per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/BusinessStoreBundleCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/bundles/{bundle_id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        },
        {
          "$ref": "#/components/parameters/BundleId"
        }
      ],
      "get": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "getBusinessStoreBundle",
        "summary": "Get a bundle for a business store",
        "description": "Requires the `bundle:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "bundle:read"
            ]
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/BusinessStoreBundleResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/bundle-price-options": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        }
      ],
      "post": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "attachBusinessStoreBundlePriceOptions",
        "summary": "Attach bundle price options to a business store",
        "description": "Requires the `store:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:update"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "bpo_ids"
                ],
                "properties": {
                  "bpo_ids": {
                    "type": "array",
                    "items": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/bundle-price-options/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        },
        {
          "name": "id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "get": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "getBusinessStoreBundlePriceOption",
        "summary": "Get a bundle price option for a business store",
        "description": "Requires the `bundle:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "bundle:read"
            ]
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/BusinessStoreBundlePriceOptionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "detachBusinessStoreBundlePriceOption",
        "summary": "Remove a bundle price option from a business store",
        "description": "Requires the `store:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:update"
            ]
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/bundle-price-options/{id}/relations": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        },
        {
          "name": "id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "get": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "getBusinessStoreBundlePriceOptionRelations",
        "summary": "Get bundle price option relations for a business store",
        "description": "Requires the `bundle:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "bundle:read"
            ]
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/variants/{variant_id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        },
        {
          "$ref": "#/components/parameters/VariantId"
        }
      ],
      "get": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "getBusinessStoreVariant",
        "summary": "Get a variant for a business store",
        "description": "Requires the `product:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "product:read"
            ]
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/BusinessStoreVariantResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/product-knowledge": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        }
      ],
      "get": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "searchBusinessStoreProductKnowledge",
        "summary": "Search store-scoped product knowledge",
        "description": "Requires the `store:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:read"
            ]
          }
        ],
        "parameters": [
          {
            "description": "Search query.",
            "in": "query",
            "name": "search",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Optional product filter.",
            "in": "query",
            "name": "product_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Optional variant filter.",
            "in": "query",
            "name": "variant_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Optional result limit.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListLocationPostalCodesResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/payment-methods": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        }
      ],
      "get": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "listBusinessStorePaymentMethods",
        "summary": "List enabled payment methods for a business store",
        "description": "Requires the `store:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:read"
            ]
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/CollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/payment-accounts": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        }
      ],
      "get": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "listBusinessStorePaymentAccounts",
        "summary": "List payment accounts available to a business store",
        "description": "Requires the `payment_account:list` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "payment_account:list"
            ]
          }
        ],
        "parameters": [
          {
            "description": "Number of items per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/PaginatedCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/sales-people": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        }
      ],
      "get": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "listBusinessStoreSalesPeople",
        "summary": "List sales people for a business store",
        "description": "Requires the `store:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "store:read"
            ]
          }
        ],
        "parameters": [
          {
            "description": "Number of items per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/BusinessStoreSalesPersonCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/pages": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        }
      ],
      "get": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "listBusinessStorePages",
        "summary": "List pages for a business store",
        "description": "Requires the `page:list` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          },
          {
            "scalevOAuth": [
              "page:list"
            ]
          }
        ],
        "parameters": [
          {
            "description": "Number of items per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/PaginatedCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/stores/{store_id}/channels": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BusinessStoreId"
        }
      ],
      "get": {
        "tags": [
          "Business Stores"
        ],
        "operationId": "listBusinessStoreChannels",
        "summary": "List channels for a business store",
        "description": "Requires the `store:list` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "description": "Number of items per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/PaginatedCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/locations": {
      "get": {
        "tags": [
          "Locations"
        ],
        "operationId": "listLocations",
        "summary": "List locations for authenticated business flows",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListLocationsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:create` scope. Retrieve a cursor-paginated list of locations with optional search.",
        "parameters": [
          {
            "description": "Number of items per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 25,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Search term for location names",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/locations/{location_id}/postal-codes": {
      "parameters": [
        {
          "$ref": "#/components/parameters/LocationId"
        }
      ],
      "get": {
        "tags": [
          "Locations"
        ],
        "operationId": "listLocationPostalCodes",
        "summary": "List postal codes for a location for authenticated business flows",
        "description": "Requires the `order:create` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/CollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/shipping-costs": {
      "post": {
        "tags": [
          "Shipping"
        ],
        "operationId": "searchShippingCosts",
        "summary": "Search shipping costs",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/SearchShippingCostsRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SearchShippingCostsResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:create` scope. Retrieve shipping cost estimates based on origin, destination, courier services, and package weight."
      }
    },
    "/v3/shipping-costs/search-courier-service": {
      "post": {
        "tags": [
          "Shipping"
        ],
        "operationId": "searchCourierServices",
        "summary": "Search courier services",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/SearchCourierServicesRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SearchCourierServicesResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:create` scope. Retrieve available courier services based on warehouse, destination, payment method, and package weight."
      }
    },
    "/v3/shipping-costs/search-warehouse": {
      "post": {
        "tags": [
          "Shipping"
        ],
        "operationId": "searchWarehouses",
        "summary": "Search warehouses",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/SearchWarehousesRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SearchWarehousesResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:create` scope. Search for warehouses based on order details, store, destination, and product variants."
      }
    },
    "/v3/orders": {
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "listOrders",
        "summary": "List business orders",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListOrdersResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:list` scope. Retrieves a paginated list of orders with optional filtering. The data is sorted by created_at in descending order and cannot be changed. Uses cursor-based pagination with default page size of 25 and maximum of 25.",
        "parameters": [
          {
            "description": "Number of items per page (default: 25, max: 25)",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "example": 25,
              "maximum": 25,
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Search term for the selected `search_field`. Defaults to order ID search when `search_field` is omitted or unsupported.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Field used by `search`. Defaults to `order_id` when omitted or unsupported.",
            "in": "query",
            "name": "search_field",
            "required": false,
            "schema": {
              "default": "order_id",
              "enum": [
                "order_id",
                "shipment_receipt",
                "external_id",
                "pg_reference_id",
                "gross_revenue",
                "customer_name",
                "customer_email",
                "customer_phone"
              ],
              "type": "string"
            }
          },
          {
            "description": "Filter spam orders",
            "in": "query",
            "name": "is_probably_spam",
            "required": false,
            "schema": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "Filter by business role",
            "in": "query",
            "name": "business_role",
            "required": false,
            "schema": {
              "enum": [
                "retailer",
                "fulfillment_provider"
              ],
              "type": "string"
            }
          },
          {
            "description": "Filter orders by draft time until (ISO 8601 format)",
            "in": "query",
            "name": "draft_time_until",
            "required": false,
            "schema": {
              "format": "datetime",
              "type": "string"
            }
          },
          {
            "description": "Filter orders by confirmed time since (ISO 8601 format)",
            "in": "query",
            "name": "confirmed_time_since",
            "required": false,
            "schema": {
              "format": "datetime",
              "type": "string"
            }
          },
          {
            "description": "Filter orders by confirmed time until (ISO 8601 format)",
            "in": "query",
            "name": "confirmed_time_until",
            "required": false,
            "schema": {
              "format": "datetime",
              "type": "string"
            }
          },
          {
            "description": "Filter orders by shipped time since (ISO 8601 format)",
            "in": "query",
            "name": "shipped_time_since",
            "required": false,
            "schema": {
              "format": "datetime",
              "type": "string"
            }
          },
          {
            "description": "Filter orders by shipped time until (ISO 8601 format)",
            "in": "query",
            "name": "shipped_time_until",
            "required": false,
            "schema": {
              "format": "datetime",
              "type": "string"
            }
          },
          {
            "description": "Filter orders by completed time since (ISO 8601 format)",
            "in": "query",
            "name": "completed_time_since",
            "required": false,
            "schema": {
              "format": "datetime",
              "type": "string"
            }
          },
          {
            "description": "Filter orders by completed time until (ISO 8601 format)",
            "in": "query",
            "name": "completed_time_until",
            "required": false,
            "schema": {
              "format": "datetime",
              "type": "string"
            }
          },
          {
            "description": "Filter orders created from a form",
            "in": "query",
            "name": "is_from_form",
            "required": false,
            "schema": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "Filter repeat orders",
            "in": "query",
            "name": "is_repeat",
            "required": false,
            "schema": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "Comma-separated list of tags to filter orders",
            "in": "query",
            "name": "tags",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter orders containing a specific product ID",
            "in": "query",
            "name": "product_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter orders with transfer proof",
            "in": "query",
            "name": "is_transferproof_exist",
            "required": false,
            "schema": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "Filter orders by specific order ID",
            "in": "query",
            "name": "order_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter orders by AWB status",
            "in": "query",
            "name": "awb_ca_status",
            "required": false,
            "schema": {
              "enum": [
                "unavailable",
                "pending",
                "waiting",
                "failed",
                "created",
                "canceled"
              ],
              "type": "string"
            }
          },
          {
            "description": "Filter orders by status",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "draft",
                "pending",
                "confirmed",
                "in_process",
                "ready",
                "canceled",
                "shipped",
                "shipped_rts",
                "completed",
                "rts",
                "closed"
              ],
              "type": "string"
            }
          },
          {
            "description": "Filter orders by payment status",
            "in": "query",
            "name": "payment_status",
            "required": false,
            "schema": {
              "enum": [
                "paid",
                "unpaid",
                "conflict",
                "settled"
              ],
              "type": "string"
            }
          },
          {
            "description": "Filter orders by payment method",
            "in": "query",
            "name": "payment_method",
            "required": false,
            "schema": {
              "enum": [
                "va",
                "qris",
                "card",
                "invoice",
                "alfamart",
                "indomaret",
                "ovo",
                "dana",
                "shopeepay",
                "linkaja",
                "gopay",
                "no_payment",
                "bank_transfer",
                "marketplace",
                "cod"
              ],
              "type": "string"
            }
          },
          {
            "description": "Filter orders by shipment status",
            "in": "query",
            "name": "shipment_status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter orders by business ID",
            "in": "query",
            "name": "business_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter orders by store ID",
            "in": "query",
            "name": "store_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter orders by warehouse ID",
            "in": "query",
            "name": "warehouse_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter orders by courier ID",
            "in": "query",
            "name": "courier_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter orders by handler ID",
            "in": "query",
            "name": "handler_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter orders by advertiser ID",
            "in": "query",
            "name": "advertiser_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter orders by platform",
            "in": "query",
            "name": "platform",
            "required": false,
            "schema": {
              "enum": [
                "scalev",
                "tiktokshop",
                "tokopedia",
                "shopee",
                "lazada",
                "blibli",
                "bukalapak",
                "orderonline",
                "berdu"
              ],
              "type": "string"
            }
          },
          {
            "description": "Filter orders by financial entity ID",
            "in": "query",
            "name": "financial_entity_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter orders by page ID",
            "in": "query",
            "name": "page_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter orders by external ID",
            "in": "query",
            "name": "external_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter orders by affiliate business ID (for affiliates to see orders they brought)",
            "in": "query",
            "name": "affiliate_business_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Filter orders by UTM source",
            "in": "query",
            "name": "utm_source",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Comma-separated list of columns to include. Available columns: secret_slug, public_order_url, payment_url, final_variants, store, origin_address, address_location, handler_phone, order_id, destination_address, quantity, product_price, total_weight, courier_service, shipping_cost, payment_method, gross_revenue, shipment_receipt, courier_additional_info, payment_status, status, customer, draft_time, orderlines, is_dropshipping, dropshipper_name, dropshipper_phone, unique_code_discount, tags, awb_status, awb_ca_status, follow_up_chats, follow_up_chat_type, message_history, metadata, notes, courier_aggregator_code, shipment_account, payment_account, financial_entity, payment_account_holder, payment_account_number, transferproof_url, transfer_time, product_discount, shipping_discount, other_income, other_income_name, shipment_status, is_repeat, platform, external_id, is_purchase_fb, is_purchase_tiktok, is_purchase_kwai, fb_pixel_ids, tiktok_pixel_ids, kwai_pixel_ids, pending_time, confirmed_time, shipped_time, completed_time, rts_time, canceled_time, closed_time, warehouse, page, channel_name, handler, advertiser, pg_payment_info, sub_payment_method, epayment_provider, invoice_url, pg_reference_id, net_revenue, payment_fee, scalev_fee, net_payment_revenue, discount_code_discount, discount_code_code, discount_code_applied_to, utm_source",
            "in": "query",
            "name": "columns",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      },
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "createOrder",
        "summary": "Create a business order",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CreateOrderRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CreateOrderResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:create` scope. Create a new order with the provided details."
      }
    },
    "/v3/orders/statistics": {
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "getOrderStatistics",
        "summary": "Get order statistics",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetOrderStatisticsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:statistics:list` scope. Retrieves descriptive statistics about orders, such as total orders, total revenue, and other aggregated data. Can be filtered using the same parameters as the orders list endpoint.",
        "parameters": [
          {
            "description": "Type of datetime for statistics (defaults to 'created_at')",
            "in": "query",
            "name": "datetime_type",
            "required": false,
            "schema": {
              "default": "created_at",
              "enum": [
                "draft_time",
                "pending_time",
                "confirmed_time",
                "in_process_time",
                "ready_time",
                "canceled_time",
                "shipped_time",
                "shipped_rts_time",
                "completed_time",
                "rts_time",
                "closed_time"
              ],
              "type": "string"
            }
          },
          {
            "description": "Timezone for datetime adjustment (defaults to 'Asia/Jakarta')",
            "in": "query",
            "name": "tz",
            "required": false,
            "schema": {
              "default": "Asia/Jakarta",
              "type": "string"
            }
          },
          {
            "description": "Date breakdown for statistics (defaults to 'off')",
            "in": "query",
            "name": "breakdown_date",
            "required": false,
            "schema": {
              "default": "off",
              "enum": [
                "off",
                "day",
                "week",
                "month"
              ],
              "type": "string"
            }
          },
          {
            "description": "Include breakdown by order status (defaults to 'false')",
            "in": "query",
            "name": "is_breakdown_status",
            "required": false,
            "schema": {
              "default": "false",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "Custom breakdown key for statistics (defaults to 'off')",
            "in": "query",
            "name": "custom_breakdown_key",
            "required": false,
            "schema": {
              "default": "off",
              "enum": [
                "off",
                "handler_id",
                "advertiser_id",
                "page_id",
                "city",
                "province"
              ],
              "type": "string"
            }
          },
          {
            "description": "Minimum number of days for statistics (defaults to 0)",
            "in": "query",
            "name": "minimum_days",
            "required": false,
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Search term for the selected `search_field`. Defaults to order ID search when `search_field` is omitted or unsupported.",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Field used by `search`. Defaults to `order_id` when omitted or unsupported.",
            "in": "query",
            "name": "search_field",
            "required": false,
            "schema": {
              "default": "order_id",
              "enum": [
                "order_id",
                "shipment_receipt",
                "external_id",
                "pg_reference_id",
                "gross_revenue",
                "customer_name",
                "customer_email",
                "customer_phone"
              ],
              "type": "string"
            }
          },
          {
            "description": "Filter by order status",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by payment status",
            "in": "query",
            "name": "payment_status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by business ID",
            "in": "query",
            "name": "business_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by store ID",
            "in": "query",
            "name": "store_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by shipped time since (ISO 8601 format)",
            "in": "query",
            "name": "shipped_time_since",
            "required": false,
            "schema": {
              "format": "datetime",
              "type": "string"
            }
          },
          {
            "description": "Filter by shipped time until (ISO 8601 format)",
            "in": "query",
            "name": "shipped_time_until",
            "required": false,
            "schema": {
              "format": "datetime",
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/orders/change-status": {
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "changeOrderStatus",
        "summary": "Change order status in bulk",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/ChangeOrderStatusRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/ChangeOrderStatusResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:change_status` scope. Change the status of multiple orders."
      }
    },
    "/v3/orders/delete": {
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "deleteOrders",
        "summary": "Delete orders in bulk",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/DeleteOrdersRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/DeleteOrdersResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:delete` scope. Delete multiple orders by IDs."
      }
    },
    "/v3/orders/mark-not-spam": {
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "markOrdersNotSpam",
        "summary": "Mark orders as not spam",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/MarkOrdersNotSpamRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/MarkOrdersNotSpamResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:update` scope. Mark multiple orders as not spam."
      }
    },
    "/v3/orders/upload-change-status": {
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "uploadOrderStatusChanges",
        "summary": "Upload a CSV to change order status",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UploadOrderStatusChangesRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/UploadOrderStatusChangesResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:change_status` scope. Upload a CSV file to change status of multiple orders. Template file can be downloaded from the link here: https://app.scalev.id/example/update_status_template.csv. (1) Leave blank the 'shipment_receipt' field if you don't want to change the receipt/tracking number. Note: this will not change receipts/tracking numbers that are automatically generated by Scalev through the 'Request Pickup' menu. (2) Leave blank the 'day', 'month', and 'year' fields if you want to use the time of upload."
      }
    },
    "/v3/orders/upload-receipt": {
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "uploadOrderReceipt",
        "summary": "Upload order receipt data",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UploadOrderReceiptRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/UploadOrderReceiptResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:update` scope. Upload file to update shipment receipts (tracking IDs) for multiple orders. Template file can be downloaded from the link here: https://app.scalev.id/example/receipt_template.csv."
      }
    },
    "/v3/orders/upload": {
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "uploadOrders",
        "summary": "Upload orders from a file",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UploadOrdersRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/UploadOrdersResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:create` scope. Upload orders from CSV file. (1) Archive mode. Choose this mode if you want to import old data from another platform you've been using. You can directly create products that you made on your previous platform. Orders that are created will immediately have 'Completed' status. Download template for Archive mode here: https://app.scalev.id/example/template_archive.csv. (2) Regular mode. Choose this mode if you want to enter current data that you wish to input in bulk, not one by one via order input. It will take inventory into account if your products have inventory enabled. Successfully created orders will have 'Created', 'Pending', or 'Confirmed' status, depending on the completeness of the data. Download template for Regular mode here: https://app.scalev.id/example/template_regular.csv."
      }
    },
    "/v3/orders/generate-awb": {
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "generateOrderAwb",
        "summary": "Generate airway bills for orders",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenerateOrderAwbRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/GenerateOrderAwbResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:create_awb` scope. Generate Air Waybill for multiple orders."
      }
    },
    "/v3/orders/cancel-awb": {
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "cancelOrderAwb",
        "summary": "Cancel airway bills for orders",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CancelOrderAwbRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CancelOrderAwbResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:create_awb` scope. Cancel Air Waybill for multiple orders."
      }
    },
    "/v3/orders/tags": {
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "listOrderTags",
        "summary": "List order tags",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListOrderTagsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:list` scope. Retrieve a list of tags associated with orders.",
        "parameters": [
          {
            "description": "Search term to filter tags by name",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/orders/utm-sources": {
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "listOrderUtmSources",
        "summary": "List order UTM sources",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListOrderUtmSourcesResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:list` scope. Retrieve a list of unique UTM source values from orders.",
        "parameters": [
          {
            "description": "Search term to filter UTM sources",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/orders/utm-mediums": {
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "listOrderUtmMediums",
        "summary": "List order UTM mediums",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListOrderUtmMediumsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:list` scope. Retrieve a list of unique UTM medium values from orders.",
        "parameters": [
          {
            "description": "Search term to filter UTM mediums",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/orders/utm-campaigns": {
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "listOrderUtmCampaigns",
        "summary": "List order UTM campaigns",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListOrderUtmCampaignsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:list` scope. Retrieve a list of unique UTM campaign values from orders.",
        "parameters": [
          {
            "description": "Search term to filter UTM campaigns",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/orders/utm-contents": {
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "listOrderUtmContents",
        "summary": "List order UTM contents",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListOrderUtmContentsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:list` scope. Retrieve a list of unique UTM content values from orders.",
        "parameters": [
          {
            "description": "Search term to filter UTM contents",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/orders/utm-terms": {
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "listOrderUtmTerms",
        "summary": "List order UTM terms",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListOrderUtmTermsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:list` scope. Retrieve a list of unique UTM term values from orders.",
        "parameters": [
          {
            "description": "Search term to filter UTM terms",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/orders/pg-reference-id/{pg_reference_id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/PgReferenceId"
        }
      ],
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "getOrderByPgReferenceId",
        "summary": "Get an order by payment gateway reference ID",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetOrderByPgReferenceIdResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:read` scope. Retrieve order details using payment gateway reference ID."
      }
    },
    "/v3/orders/pg-reference-ids": {
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "listOrdersByPgReferenceIds",
        "summary": "Get orders by payment gateway reference IDs",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListOrdersByPgReferenceIdsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `order:list` scope. Retrieve orders using multiple payment gateway reference IDs.",
        "parameters": [
          {
            "description": "Comma-separated payment gateway reference IDs",
            "in": "query",
            "name": "pg_reference_ids",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/orders/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "getOrder",
        "summary": "Get a business order",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetOrderResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:read` scope. Retrieve detailed information about a specific order."
      },
      "patch": {
        "tags": [
          "Orders"
        ],
        "operationId": "updateOrder",
        "summary": "Update a business order",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UpdateOrderRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/UpdateOrderResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:update` scope. Update order details by ID."
      }
    },
    "/v3/orders/{id}/actions": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "getOrderActions",
        "summary": "Get available actions for an order",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetOrderActionsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:read` scope. Retrieve flags to determine available actions for an order."
      }
    },
    "/v3/orders/{id}/chats": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "listOrderChats",
        "summary": "Get order chat text",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListOrderChatsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:read` scope. Retrieve chat text messages associated with an order."
      }
    },
    "/v3/orders/{id}/chats/{chat_id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        },
        {
          "$ref": "#/components/parameters/ChatId"
        }
      ],
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "getOrderChat",
        "summary": "Get a single order chat entry",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetOrderChatResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:read` scope. Retrieve a specific chat text message."
      }
    },
    "/v3/orders/{id}/emails": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "listOrderEmails",
        "summary": "List order emails",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListOrderEmailsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:list` scope. Get list of emails sent for an order."
      }
    },
    "/v3/orders/{id}/message-history": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "getOrderMessageHistory",
        "summary": "Get order message history",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetOrderMessageHistoryResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:read` scope. Get message history for an order."
      },
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "addOrderMessageHistory",
        "summary": "Add order message history",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/AddOrderMessageHistoryRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/AddOrderMessageHistoryResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:update` scope. Add a new message to order message history."
      }
    },
    "/v3/orders/{id}/payment": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "createOrderPayment",
        "summary": "Create a payment for an order",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/CreateOrderPaymentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:update` scope. Create a payment request / intent for an order."
      }
    },
    "/v3/orders/{id}/customer": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "patch": {
        "tags": [
          "Orders"
        ],
        "operationId": "updateOrderCustomer",
        "summary": "Update order customer data",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UpdateOrderCustomerRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/UpdateOrderCustomerResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:update` scope. Update the customer associated with an order."
      }
    },
    "/v3/orders/{id}/shipment": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "patch": {
        "tags": [
          "Orders"
        ],
        "operationId": "updateOrderShipment",
        "summary": "Update raw shipment data",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UpdateOrderShipmentRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/UpdateOrderShipmentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:update` scope. Update shipment-related data for an order."
      }
    },
    "/v3/orders/{id}/shipment-receipt": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "patch": {
        "tags": [
          "Orders"
        ],
        "operationId": "updateOrderShipmentReceipt",
        "summary": "Update shipment receipt data",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UpdateOrderShipmentReceiptRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/UpdateOrderShipmentReceiptResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:update` scope. Update shipment receipt / tracking ID for an order."
      }
    },
    "/v3/orders/{id}/shipment-status-history": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "createOrderShipmentStatusHistory",
        "summary": "Add shipment status history to an order",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CreateOrderShipmentStatusHistoryRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CreateOrderShipmentStatusHistoryResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:update` scope. Create a new shipment status history entry for an order."
      }
    },
    "/v3/orders/{id}/update-tags": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "updateOrderTags",
        "summary": "Update order tags",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UpdateOrderTagsRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/UpdateOrderTagsResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:update` scope. Update tags for an order."
      }
    },
    "/v3/orders/{id}/trigger-purchase": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "triggerOrderPurchase",
        "summary": "Trigger purchase processing for an order",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/TriggerOrderPurchaseResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:update` scope. Trigger purchase event for analytics and tracking."
      }
    },
    "/v3/orders/{id}/duplicate": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "duplicateOrder",
        "summary": "Duplicate and cancel an order",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/DuplicateOrderRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/DuplicateOrderResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:create` scope. Create a duplicate of an order and cancel the original."
      }
    },
    "/v3/orders/{id}/check-payment": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "checkOrderPayment",
        "summary": "Check order payment status",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/CheckOrderPaymentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:read` scope. Check the payment status of an order."
      }
    },
    "/v3/orders/{id}/check-settlement": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "checkOrderSettlement",
        "summary": "Check order settlement status",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/CheckOrderSettlementResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:read` scope. Check the settlement status of an order."
      }
    },
    "/v3/orders/{id}/send-product-digital": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "sendDigitalProduct",
        "summary": "Send digital product access for an order",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:read` scope. Send email containing links to download digital products to customer."
      }
    },
    "/v3/orders/{id}/send-lms-access": {
      "parameters": [
        {
          "$ref": "#/components/parameters/OrderId"
        }
      ],
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "sendLmsAccess",
        "summary": "Send LMS access for an order",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `order:read` scope. Send LMS access email to customer."
      }
    },
    "/v3/products": {
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "listProducts",
        "summary": "List business products",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListProductsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `product:list` scope. Retrieves a paginated list of products with optional filtering. The data is sorted by id in descending order and cannot be changed. Uses cursor-based pagination with default page size of 25 and maximum of 25.",
        "parameters": [
          {
            "description": "Number of items per page (default: 25, max: 25)",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "example": 25,
              "maximum": 25,
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Search term to filter products by name (case-insensitive, partial match)",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter products by inventory tracking status (true or false)",
            "in": "query",
            "name": "is_inventory",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter products by product sharing status (true or false)",
            "in": "query",
            "name": "is_product_sharing",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter products associated with a specific warehouse ID",
            "in": "query",
            "name": "warehouse_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Type of quantity to filter by. Options are 'available_qty' (only products with variants that have available quantity > 0)",
            "in": "query",
            "name": "qty_type",
            "required": false,
            "schema": {
              "enum": [
                "available_qty"
              ],
              "type": "string"
            }
          },
          {
            "description": "Filter products associated with a specific store ID",
            "in": "query",
            "name": "store_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Show variants in products where is_checked is true or false",
            "in": "query",
            "name": "is_checked",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter products by ownership. 'true' returns products owned by the business, 'false' returns shared products",
            "in": "query",
            "name": "is_owned",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter products by item type (physical, digital, course, license, subscription)",
            "in": "query",
            "name": "item_type",
            "required": false,
            "schema": {
              "description": "Type of the product item",
              "enum": [
                "physical",
                "digital",
                "course",
                "license",
                "subscription"
              ],
              "title": "ItemType",
              "type": "string"
            }
          },
          {
            "description": "Filter products associated with a specific label name",
            "in": "query",
            "name": "label",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter products by pricing type (one_time or recurring)",
            "in": "query",
            "name": "pricing_type",
            "required": false,
            "schema": {
              "enum": [
                "one_time",
                "recurring"
              ],
              "type": "string"
            }
          }
        ]
      },
      "post": {
        "tags": [
          "Business Products"
        ],
        "operationId": "createProduct",
        "summary": "Create a product",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CreateProductRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CreateProductResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `product:create` scope. Creates a new product with the provided data."
      }
    },
    "/v3/products/simplified": {
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "listProductsSimplified",
        "summary": "List simplified business products",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListProductsSimplifiedResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `product:list` scope. Retrieves a simplified paginated list of products with optional filtering. The data is sorted by id in descending order and cannot be changed. Uses cursor-based pagination with default page size of 25 and maximum of 25.",
        "parameters": [
          {
            "description": "If provided, includes `is_owned_by_store` field in the bundle price options to indicate if the option is already included in the specified store.",
            "in": "query",
            "name": "for_store_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Number of items per page (default: 25, max: 25)",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "example": 25,
              "maximum": 25,
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Search term to filter products by name (case-insensitive, partial match)",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter products by inventory tracking status (true or false)",
            "in": "query",
            "name": "is_inventory",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter products by product sharing status (true or false)",
            "in": "query",
            "name": "is_product_sharing",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter products associated with a specific warehouse ID",
            "in": "query",
            "name": "warehouse_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Type of quantity to filter by. Options are 'available_qty' (only products with variants that have available quantity > 0)",
            "in": "query",
            "name": "qty_type",
            "required": false,
            "schema": {
              "enum": [
                "available_qty"
              ],
              "type": "string"
            }
          },
          {
            "description": "Filter products associated with a specific store ID",
            "in": "query",
            "name": "store_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Show variants in products where is_checked is true or false",
            "in": "query",
            "name": "is_checked",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter products by ownership. 'true' returns products owned by the business, 'false' returns shared products",
            "in": "query",
            "name": "is_owned",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter products by item type (physical, digital, course, license, subscription)",
            "in": "query",
            "name": "item_type",
            "required": false,
            "schema": {
              "description": "Type of the product item",
              "enum": [
                "physical",
                "digital",
                "course",
                "license",
                "subscription"
              ],
              "title": "ItemType",
              "type": "string"
            }
          },
          {
            "description": "Filter products associated with a specific label name",
            "in": "query",
            "name": "label",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter products by pricing type (one_time or recurring)",
            "in": "query",
            "name": "pricing_type",
            "required": false,
            "schema": {
              "enum": [
                "one_time",
                "recurring"
              ],
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/products/count": {
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "countProducts",
        "summary": "Count business products",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/CountProductsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `product:list` scope. Returns the total count of products.",
        "parameters": [
          {
            "description": "Number of items per page (default: 25, max: 25)",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "example": 25,
              "maximum": 25,
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Search term to filter products by name (case-insensitive, partial match)",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter products by inventory tracking status (true or false)",
            "in": "query",
            "name": "is_inventory",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter products by product sharing status (true or false)",
            "in": "query",
            "name": "is_product_sharing",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter products associated with a specific warehouse ID",
            "in": "query",
            "name": "warehouse_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Type of quantity to filter by. Options are 'available_qty' (only products with variants that have available quantity > 0)",
            "in": "query",
            "name": "qty_type",
            "required": false,
            "schema": {
              "enum": [
                "available_qty"
              ],
              "type": "string"
            }
          },
          {
            "description": "Filter products associated with a specific store ID",
            "in": "query",
            "name": "store_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Show variants in products where is_checked is true or false",
            "in": "query",
            "name": "is_checked",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter products by ownership. 'true' returns products owned by the business, 'false' returns shared products",
            "in": "query",
            "name": "is_owned",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter products by item type (physical, digital, course, license, subscription)",
            "in": "query",
            "name": "item_type",
            "required": false,
            "schema": {
              "description": "Type of the product item",
              "enum": [
                "physical",
                "digital",
                "course",
                "license",
                "subscription"
              ],
              "title": "ItemType",
              "type": "string"
            }
          },
          {
            "description": "Filter products associated with a specific label name",
            "in": "query",
            "name": "label",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter products by pricing type (one_time or recurring)",
            "in": "query",
            "name": "pricing_type",
            "required": false,
            "schema": {
              "enum": [
                "one_time",
                "recurring"
              ],
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/products/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "getProduct",
        "summary": "Get a business product",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetProductResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:read` scope. Retrieves the details of a single product, including its variants and other associated data."
      },
      "patch": {
        "tags": [
          "Business Products"
        ],
        "operationId": "updateProduct",
        "summary": "Update a business product",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UpdateProductRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/UpdateProductResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:update` scope. Updates the details of a product, including its variants."
      },
      "delete": {
        "tags": [
          "Business Products"
        ],
        "operationId": "deleteProduct",
        "summary": "Delete a business product",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:delete` scope. Deletes a product and all its associated data."
      }
    },
    "/v3/products/{id}/duplicate": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "post": {
        "tags": [
          "Business Products"
        ],
        "operationId": "duplicateProduct",
        "summary": "Duplicate a business product",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/DuplicateProductResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:create` scope. Creates a copy of an existing product including all variants, digital files, course structure (for courses), labels, follow-up chats, and email automation settings. The new product name will be suffixed with '(Copy)'. Partnership settings and store associations are NOT copied."
      }
    },
    "/v3/products/{product_id}/partnership": {
      "parameters": [
        {
          "$ref": "#/components/parameters/ProductId"
        }
      ],
      "patch": {
        "tags": [
          "Business Products"
        ],
        "operationId": "updateProductPartnership",
        "summary": "Update product partnership settings",
        "description": "Requires the `product:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/products/{product_id}/partnership/check-changes": {
      "parameters": [
        {
          "$ref": "#/components/parameters/ProductId"
        }
      ],
      "post": {
        "tags": [
          "Business Products"
        ],
        "operationId": "checkProductPartnershipChanges",
        "summary": "Check the impact of product partnership changes",
        "description": "Requires the `product:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/products/{product_id}/relations": {
      "parameters": [
        {
          "$ref": "#/components/parameters/ProductId"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "getProductRelations",
        "summary": "Get product relations",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetProductRelationsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:read` scope. Shows the relations of a product, including variants, stores, bundles, and pages."
      }
    },
    "/v3/products/{product_id}/partners": {
      "parameters": [
        {
          "$ref": "#/components/parameters/ProductId"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "listProductPartners",
        "summary": "List product partners",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListProductPartnersResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:list` scope. Retrieves a paginated list of product partners.",
        "parameters": [
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of items per page (default: 25, max: 25)",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "example": 25,
              "maximum": 25,
              "type": "integer"
            }
          }
        ]
      },
      "post": {
        "tags": [
          "Business Products"
        ],
        "operationId": "createProductPartner",
        "summary": "Add a product partner",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CreateProductPartnerRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CreateProductPartnerResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:update` scope. Creates a new product partner."
      }
    },
    "/v3/products/{product_id}/partners/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/ProductId"
        },
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "delete": {
        "tags": [
          "Business Products"
        ],
        "operationId": "deleteProductPartner",
        "summary": "Remove a product partner",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:update` scope. Deletes a product partner."
      }
    },
    "/v3/products/{product_id}/knowledge-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/ProductId"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "listProductKnowledgeItems",
        "summary": "List product knowledge items",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListProductKnowledgeItemsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:list` scope. Retrieves a paginated list of product-level knowledge items. The data is sorted by id in ascending order.",
        "parameters": [
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of items per page (default: 25, max: 25)",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "example": 25,
              "maximum": 25,
              "type": "integer"
            }
          }
        ]
      },
      "post": {
        "tags": [
          "Business Products"
        ],
        "operationId": "createProductKnowledgeItem",
        "summary": "Create a product knowledge item",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CreateProductKnowledgeItemRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CreateProductKnowledgeItemResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:update` scope. Creates a new product-level knowledge item."
      }
    },
    "/v3/products/{product_id}/knowledge-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/ProductId"
        },
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "getProductKnowledgeItem",
        "summary": "Get a product knowledge item",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetProductKnowledgeItemResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:read` scope. Retrieves a single product-level knowledge item by ID."
      },
      "patch": {
        "tags": [
          "Business Products"
        ],
        "operationId": "updateProductKnowledgeItem",
        "summary": "Update a product knowledge item",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UpdateProductKnowledgeItemRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/UpdateProductKnowledgeItemResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:update` scope. Updates an existing product-level knowledge item."
      },
      "delete": {
        "tags": [
          "Business Products"
        ],
        "operationId": "deleteProductKnowledgeItem",
        "summary": "Delete a product knowledge item",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:update` scope. Deletes a product-level knowledge item."
      }
    },
    "/v3/products/{product_id}/follow-up-chats/generate": {
      "parameters": [
        {
          "$ref": "#/components/parameters/ProductId"
        }
      ],
      "post": {
        "tags": [
          "Business Products"
        ],
        "operationId": "generateProductFollowUpChats",
        "summary": "Generate product follow-up chats",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:update` scope. Generates a new follow up chat for a product."
      }
    },
    "/v3/products/{product_id}/follow-up-chats": {
      "parameters": [
        {
          "$ref": "#/components/parameters/ProductId"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "listProductFollowUpChats",
        "summary": "List product follow-up chats",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListProductFollowUpChatsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:list` scope. Retrieves a paginated list of follow up chats for a product.",
        "parameters": [
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of items per page (default: 25, max: 25)",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "example": 25,
              "maximum": 25,
              "type": "integer"
            }
          }
        ]
      },
      "post": {
        "tags": [
          "Business Products"
        ],
        "operationId": "createProductFollowUpChat",
        "summary": "Create a product follow-up chat",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CreateProductFollowUpChatRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CreateProductFollowUpChatResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:update` scope. Create a follow up chat template for a product."
      }
    },
    "/v3/products/{product_id}/follow-up-chats/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/ProductId"
        },
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "getProductFollowUpChat",
        "summary": "Get a product follow-up chat",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetProductFollowUpChatResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:read` scope. Shows a single follow up chat template by ID."
      },
      "patch": {
        "tags": [
          "Business Products"
        ],
        "operationId": "updateProductFollowUpChat",
        "summary": "Update a product follow-up chat",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UpdateProductFollowUpChatRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/UpdateProductFollowUpChatResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:update` scope. Updates a follow up chat template."
      },
      "delete": {
        "tags": [
          "Business Products"
        ],
        "operationId": "deleteProductFollowUpChat",
        "summary": "Delete a product follow-up chat",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:update` scope. Deletes a follow up chat template."
      }
    },
    "/v3/variants/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "getVariant",
        "summary": "Get a business variant",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetVariantResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:read` scope. Shows a single product variant by ID."
      }
    },
    "/v3/variants/{variant_id}/knowledge-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/VariantId"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "listVariantKnowledgeItems",
        "summary": "List variant knowledge items",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListVariantKnowledgeItemsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:list` scope. Retrieves a paginated list of variant-level knowledge items. The data is sorted by id in ascending order.",
        "parameters": [
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of items per page (default: 25, max: 25)",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "example": 25,
              "maximum": 25,
              "type": "integer"
            }
          }
        ]
      },
      "post": {
        "tags": [
          "Business Products"
        ],
        "operationId": "createVariantKnowledgeItem",
        "summary": "Create a variant knowledge item",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CreateVariantKnowledgeItemRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CreateVariantKnowledgeItemResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:update` scope. Creates a new variant-level knowledge item."
      }
    },
    "/v3/variants/{variant_id}/knowledge-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/VariantId"
        },
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "getVariantKnowledgeItem",
        "summary": "Get a variant knowledge item",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetVariantKnowledgeItemResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:read` scope. Retrieves a single variant-level knowledge item by ID."
      },
      "patch": {
        "tags": [
          "Business Products"
        ],
        "operationId": "updateVariantKnowledgeItem",
        "summary": "Update a variant knowledge item",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UpdateVariantKnowledgeItemRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/UpdateVariantKnowledgeItemResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:update` scope. Updates an existing variant-level knowledge item."
      },
      "delete": {
        "tags": [
          "Business Products"
        ],
        "operationId": "deleteVariantKnowledgeItem",
        "summary": "Delete a variant knowledge item",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:update` scope. Deletes a variant-level knowledge item."
      }
    },
    "/v3/variants/{variant_id}/digital-product-files": {
      "parameters": [
        {
          "$ref": "#/components/parameters/VariantId"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "listVariantDigitalProductFiles",
        "summary": "List variant digital product files",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListVariantDigitalProductFilesResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:list` scope. Retrieves a paginated list of digital product files for a variant.",
        "parameters": [
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of items per page (default: 25, max: 25)",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "example": 25,
              "maximum": 25,
              "type": "integer"
            }
          }
        ]
      },
      "post": {
        "tags": [
          "Business Products"
        ],
        "operationId": "createVariantDigitalProductFile",
        "summary": "Create a variant digital product file upload record",
        "description": "Requires the `product:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CreateVariantDigitalProductFileRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CreateVariantDigitalProductFileResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/variants/{variant_id}/digital-product-files/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/VariantId"
        },
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "getVariantDigitalProductFile",
        "summary": "Get a variant digital product file",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetVariantDigitalProductFileResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:read` scope. Shows a single digital product file by ID."
      },
      "delete": {
        "tags": [
          "Business Products"
        ],
        "operationId": "deleteVariantDigitalProductFile",
        "summary": "Delete a variant digital product file",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/DeleteVariantDigitalProductFileResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:update` scope. Deletes a digital product file."
      }
    },
    "/v3/product-taxonomies": {
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "listProductTaxonomies",
        "summary": "List product taxonomies",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListProductTaxonomiesResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `product:list` scope. Retrieves a cursor-paginated list of product taxonomies sorted by full_path in ascending order.",
        "parameters": [
          {
            "description": "Number of items per page",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25,
              "maximum": 25,
              "minimum": 1
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Search term to filter taxonomies by name (case-insensitive, partial match)",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/product-taxonomies/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "getProductTaxonomy",
        "summary": "Get a product taxonomy",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetProductTaxonomyResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `product:read` scope. Shows a single product taxonomy by ID."
      }
    },
    "/v3/variants/{id}/course": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "getVariantCourse",
        "summary": "Get a variant course skeleton",
        "description": "Requires the `product:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "Business Products"
        ],
        "operationId": "updateVariantCourse",
        "summary": "Update a variant course skeleton",
        "description": "Requires the `product:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/variants/{variant_id}/course-sections": {
      "parameters": [
        {
          "$ref": "#/components/parameters/VariantId"
        }
      ],
      "post": {
        "tags": [
          "Business Products"
        ],
        "operationId": "createCourseSection",
        "summary": "Create a course section for a variant",
        "description": "Requires the `product:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/variants/{variant_id}/course-section-orders": {
      "parameters": [
        {
          "$ref": "#/components/parameters/VariantId"
        }
      ],
      "patch": {
        "tags": [
          "Business Products"
        ],
        "operationId": "updateCourseSectionOrders",
        "summary": "Update variant course section ordering",
        "description": "Requires the `product:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/variants/{id}/customers": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "listVariantCustomers",
        "summary": "List customers with access to a variant",
        "description": "Requires the `product:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/PaginatedCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/course-sections/{uuid}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/Uuid"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "getCourseSection",
        "summary": "Get a course section",
        "description": "Requires the `product:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "Business Products"
        ],
        "operationId": "updateCourseSection",
        "summary": "Update a course section",
        "description": "Requires the `product:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "Business Products"
        ],
        "operationId": "deleteCourseSection",
        "summary": "Delete a course section",
        "description": "Requires the `product:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/course-sections/{section_uuid}/course-contents": {
      "parameters": [
        {
          "$ref": "#/components/parameters/SectionUuid"
        }
      ],
      "post": {
        "tags": [
          "Business Products"
        ],
        "operationId": "createCourseContent",
        "summary": "Create a course content item",
        "description": "Requires the `product:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/course-sections/{section_uuid}/course-content-orders": {
      "parameters": [
        {
          "$ref": "#/components/parameters/SectionUuid"
        }
      ],
      "patch": {
        "tags": [
          "Business Products"
        ],
        "operationId": "updateCourseContentOrders",
        "summary": "Update course content ordering",
        "description": "Requires the `product:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/course-contents/{uuid}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/Uuid"
        }
      ],
      "get": {
        "tags": [
          "Business Products"
        ],
        "operationId": "getCourseContent",
        "summary": "Get a course content item",
        "description": "Requires the `product:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "Business Products"
        ],
        "operationId": "updateCourseContent",
        "summary": "Update a course content item",
        "description": "Requires the `product:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "Business Products"
        ],
        "operationId": "deleteCourseContent",
        "summary": "Delete a course content item",
        "description": "Requires the `product:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/bundles": {
      "get": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "listBundles",
        "summary": "List business bundles",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListBundlesResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `bundle:list` scope. Retrieves a paginated list of bundles with optional filtering. The data is sorted by id in descending order and cannot be changed. Uses cursor-based pagination with default page size of 25 and maximum of 25.",
        "parameters": [
          {
            "description": "Number of items per page (default: 25, max: 25)",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "example": 25,
              "maximum": 25,
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Search term to filter bundles by name (case-insensitive, partial match)",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter bundles by their sharing status",
            "in": "query",
            "name": "is_bundle_sharing",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter bundles that have price options available in the specified store ID",
            "in": "query",
            "name": "store_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Filter bundles that are associated with the specified label",
            "in": "query",
            "name": "label",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      },
      "post": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "createBundle",
        "summary": "Create a bundle",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CreateBundleRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CreateBundleResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `bundle:create` scope. Creates a new bundle with the provided data."
      }
    },
    "/v3/bundles/simplified": {
      "get": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "listBundlesSimplified",
        "summary": "List simplified business bundles",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListBundlesSimplifiedResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `bundle:list` scope. Retrieves a paginated list of bundles with optional filtering. The data is sorted by id in descending order and cannot be changed. Uses cursor-based pagination with default page size of 25 and maximum of 25. This endpoint returns a simplified version of the bundle data, including only essential fields and active bundle price options.",
        "parameters": [
          {
            "description": "If provided, includes `is_owned_by_store` field in the bundle price options to indicate if the option is already included in the specified store.",
            "in": "query",
            "name": "for_store_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Number of items per page (default: 25, max: 25)",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "example": 25,
              "maximum": 25,
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Search term to filter bundles by name (case-insensitive, partial match)",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter bundles by their sharing status",
            "in": "query",
            "name": "is_bundle_sharing",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter bundles that have price options available in the specified store ID",
            "in": "query",
            "name": "store_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Filter bundles that are associated with the specified label",
            "in": "query",
            "name": "label",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/bundles/count": {
      "get": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "countBundles",
        "summary": "Count business bundles",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/CountBundlesResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        },
        "description": "Requires the `bundle:list` scope. Retrieves the total count of bundles for the authenticated business. This endpoint does not support any filtering or pagination.",
        "parameters": [
          {
            "description": "Number of items per page (default: 25, max: 25)",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "example": 25,
              "maximum": 25,
              "type": "integer"
            }
          },
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Search term to filter bundles by name (case-insensitive, partial match)",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter bundles by their sharing status",
            "in": "query",
            "name": "is_bundle_sharing",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter bundles that have price options available in the specified store ID",
            "in": "query",
            "name": "store_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Filter bundles that are associated with the specified label",
            "in": "query",
            "name": "label",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/bundles/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "getBundle",
        "summary": "Get a business bundle",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetBundleResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:read` scope. Retrieves a bundle by its ID."
      },
      "patch": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "updateBundle",
        "summary": "Update a business bundle",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UpdateBundleRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/UpdateBundleResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:update` scope. Updates an existing bundle with the provided data."
      },
      "delete": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "deleteBundle",
        "summary": "Delete a business bundle",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:delete` scope. Deletes a bundle by its ID."
      }
    },
    "/v3/bundles/{id}/duplicate": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "post": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "duplicateBundle",
        "summary": "Duplicate a business bundle",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/DuplicateBundleResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:create` scope. Creates a copy of an existing bundle including all bundlelines, bundle price options, labels, and follow-up chats. The new bundle name will be suffixed with '(Copy)'. Partnership settings and store placements are NOT copied."
      }
    },
    "/v3/bundles/{bundle_id}/relations": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BundleId"
        }
      ],
      "get": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "getBundleRelations",
        "summary": "Get bundle relations",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetBundleRelationsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:read` scope. Retrieves a bundle along with its related entities such as active bundle price options and their associated stores and form displays."
      }
    },
    "/v3/bundles/{bundle_id}/partners": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BundleId"
        }
      ],
      "get": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "listBundlePartners",
        "summary": "List bundle partners",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListBundlePartnersResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:list` scope. Retrieves a paginated list of partners associated with a specific bundle. The data is sorted by id in descending order and cannot be changed. Uses cursor-based pagination with default page size of 25 and maximum of 25.",
        "parameters": [
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of items to return per page. Default is 25, maximum is 25.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 25,
              "type": "integer"
            }
          }
        ]
      },
      "post": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "createBundlePartner",
        "summary": "Add a bundle partner",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CreateBundlePartnerRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CreateBundlePartnerResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:update` scope. Associates a partner with a specific bundle using the provided unique identifier."
      }
    },
    "/v3/bundles/{bundle_id}/partners/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BundleId"
        },
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "delete": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "deleteBundlePartner",
        "summary": "Remove a bundle partner",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:update` scope. Dissociates a partner from a specific bundle by its ID."
      }
    },
    "/v3/bundles/{bundle_id}/follow-up-chats/generate": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BundleId"
        }
      ],
      "post": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "generateBundleFollowUpChats",
        "summary": "Generate bundle follow-up chats",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:update` scope. Generates a new follow up chat for a bundle."
      }
    },
    "/v3/bundles/{bundle_id}/follow-up-chats": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BundleId"
        }
      ],
      "get": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "listBundleFollowUpChats",
        "summary": "List bundle follow-up chats",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListBundleFollowUpChatsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:list` scope. Retrieves a paginated list of follow up chats for a bundle.",
        "parameters": [
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of items per page (default: 25, max: 25)",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "example": 25,
              "maximum": 25,
              "type": "integer"
            }
          }
        ]
      },
      "post": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "createBundleFollowUpChat",
        "summary": "Create a bundle follow-up chat",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CreateBundleFollowUpChatRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CreateBundleFollowUpChatResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:update` scope. Create a follow up chat template for a bundle."
      }
    },
    "/v3/bundles/{bundle_id}/follow-up-chats/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BundleId"
        },
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "getBundleFollowUpChat",
        "summary": "Get a bundle follow-up chat",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetBundleFollowUpChatResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:read` scope. Retrieves a follow up chat template by its ID."
      },
      "patch": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "updateBundleFollowUpChat",
        "summary": "Update a bundle follow-up chat",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UpdateBundleFollowUpChatRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/UpdateBundleFollowUpChatResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:update` scope. Updates a follow up chat template."
      },
      "delete": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "deleteBundleFollowUpChat",
        "summary": "Delete a bundle follow-up chat",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:update` scope. Deletes a follow up chat template."
      }
    },
    "/v3/bundles/{bundle_id}/bundle-price-options": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BundleId"
        }
      ],
      "get": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "listBundlePriceOptions",
        "summary": "List bundle price options",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/ListBundlePriceOptionsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:list` scope. Retrieves a paginated list of bundle price options associated with a specific bundle. The data is sorted by id in descending order and cannot be changed. Uses cursor-based pagination with default page size of 25 and maximum of 25.",
        "parameters": [
          {
            "description": "Opaque cursor for the next page.",
            "in": "query",
            "name": "next_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor for the previous page.",
            "in": "query",
            "name": "previous_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of items to return per page. Default is 25, maximum is 25.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 25,
              "type": "integer"
            }
          }
        ]
      },
      "post": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "createBundlePriceOption",
        "summary": "Create a bundle price option",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CreateBundlePriceOptionRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/CreateBundlePriceOptionResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:create` scope. Creates a new bundle price option associated with a specific bundle using the provided data."
      }
    },
    "/v3/bundles/{bundle_id}/bundle-price-options/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BundleId"
        },
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "patch": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "updateBundlePriceOption",
        "summary": "Update a bundle price option",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UpdateBundlePriceOptionRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/UpdateBundlePriceOptionResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:update` scope. Updates an existing bundle price option associated with a specific bundle using the provided data."
      },
      "delete": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "deleteBundlePriceOption",
        "summary": "Delete a bundle price option",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:delete` scope. Deletes a bundle price option associated with a specific bundle by its ID."
      }
    },
    "/v3/bundles/{bundle_id}/bundle-price-options/{id}/relations": {
      "parameters": [
        {
          "$ref": "#/components/parameters/BundleId"
        },
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Business Bundles"
        ],
        "operationId": "getBundlePriceOptionRelations",
        "summary": "Get bundle price option relations",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetBundlePriceOptionRelationsResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "description": "Requires the `bundle:read` scope. Retrieves a bundle price option along with its related entities such as associated stores and form displays."
      }
    },
    "/v3/customers": {
      "get": {
        "tags": [
          "Business Customers"
        ],
        "operationId": "listBusinessCustomers",
        "summary": "List business customers",
        "description": "Requires the `customer:list` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/PaginatedCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      },
      "post": {
        "tags": [
          "Business Customers"
        ],
        "operationId": "createBusinessCustomer",
        "summary": "Create a business customer",
        "description": "Requires the `customer:create` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/customers/count": {
      "get": {
        "tags": [
          "Business Customers"
        ],
        "operationId": "countBusinessCustomers",
        "summary": "Count business customers",
        "description": "Requires the `customer:list` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/customers/upload": {
      "post": {
        "tags": [
          "Business Customers"
        ],
        "operationId": "uploadBusinessCustomers",
        "summary": "Upload business customers from CSV",
        "description": "Requires the `customer:create` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericUploadRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/customers/tags": {
      "get": {
        "tags": [
          "Business Customers"
        ],
        "operationId": "listBusinessCustomerTags",
        "summary": "List business customer tags",
        "description": "Requires the `customer:list` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/CollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/customers/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Business Customers"
        ],
        "operationId": "getBusinessCustomer",
        "summary": "Get a business customer",
        "description": "Requires the `customer:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "Business Customers"
        ],
        "operationId": "updateBusinessCustomer",
        "summary": "Update a business customer",
        "description": "Requires the `customer:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/customers/{id}/update-tags": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "post": {
        "tags": [
          "Business Customers"
        ],
        "operationId": "updateBusinessCustomerTags",
        "summary": "Update tags on a business customer",
        "description": "Requires the `customer:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/customers/{customer_id}/addresses": {
      "parameters": [
        {
          "$ref": "#/components/parameters/CustomerId"
        }
      ],
      "get": {
        "tags": [
          "Business Customers"
        ],
        "operationId": "listBusinessCustomerAddresses",
        "summary": "List addresses for a business customer",
        "description": "Requires the `customer:list` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/PaginatedCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "post": {
        "tags": [
          "Business Customers"
        ],
        "operationId": "createBusinessCustomerAddress",
        "summary": "Create an address for a business customer",
        "description": "Requires the `customer:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/customers/{customer_id}/addresses/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/CustomerId"
        },
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "Business Customers"
        ],
        "operationId": "getBusinessCustomerAddress",
        "summary": "Get a business customer address",
        "description": "Requires the `customer:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "Business Customers"
        ],
        "operationId": "updateBusinessCustomerAddress",
        "summary": "Update a business customer address",
        "description": "Requires the `customer:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "Business Customers"
        ],
        "operationId": "deleteBusinessCustomerAddress",
        "summary": "Delete a business customer address",
        "description": "Requires the `customer:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-customer-tags": {
      "get": {
        "tags": [
          "WABA"
        ],
        "operationId": "listWabaCustomerTags",
        "summary": "List WABA customer tags",
        "description": "Requires the `waba_account:operate` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/PaginatedCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      },
      "post": {
        "tags": [
          "WABA"
        ],
        "operationId": "createWabaCustomerTag",
        "summary": "Create a WABA customer tag",
        "description": "Requires the `waba_account:operate` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/waba-customer-tags/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "WABA"
        ],
        "operationId": "getWabaCustomerTag",
        "summary": "Get a WABA customer tag",
        "description": "Requires the `waba_account:operate` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "WABA"
        ],
        "operationId": "updateWabaCustomerTag",
        "summary": "Update a WABA customer tag",
        "description": "Requires the `waba_account:operate` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "WABA"
        ],
        "operationId": "deleteWabaCustomerTag",
        "summary": "Delete a WABA customer tag",
        "description": "Requires the `waba_account:operate` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-accounts": {
      "get": {
        "tags": [
          "WABA"
        ],
        "operationId": "listWabaAccounts",
        "summary": "List WABA accounts",
        "description": "Requires the `waba_account:list` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/WabaAccountCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/login": {
      "patch": {
        "tags": [
          "WABA"
        ],
        "operationId": "loginWabaAccount",
        "summary": "Complete WABA login",
        "description": "Requires the `waba_account:create` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "WABA"
        ],
        "operationId": "getWabaAccount",
        "summary": "Get a WABA account",
        "description": "Requires the `waba_account:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/WabaAccountResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "WABA"
        ],
        "operationId": "updateWabaAccount",
        "summary": "Update a WABA account",
        "description": "Requires the `waba_account:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/WabaAccountResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "WABA"
        ],
        "operationId": "deleteWabaAccount",
        "summary": "Delete a WABA account",
        "description": "Requires the `waba_account:delete` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{id}/sync": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "post": {
        "tags": [
          "WABA"
        ],
        "operationId": "syncWabaAccount",
        "summary": "Sync a WABA account",
        "description": "Requires the `waba_account:create` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/WabaAccountResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{id}/dataset": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "post": {
        "tags": [
          "WABA"
        ],
        "operationId": "createWabaDataset",
        "summary": "Create a WABA dataset",
        "description": "Requires the `waba_account:create` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/WabaAccountResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{id}/register-phone": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "post": {
        "tags": [
          "WABA"
        ],
        "operationId": "registerWabaPhone",
        "summary": "Register a WABA phone number",
        "description": "Requires the `waba_account:create` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/WabaAccountResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{id}/upload-media": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "post": {
        "tags": [
          "WABA"
        ],
        "operationId": "uploadWabaMedia",
        "summary": "Upload WABA media",
        "description": "Requires the `waba_account:operate` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericUploadRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{id}/message-attempts": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "WABA"
        ],
        "operationId": "listWabaMessageAttempts",
        "summary": "List WABA message attempts",
        "description": "Requires the `waba_template_message:send` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/PaginatedCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{id}/message-templates": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "WABA"
        ],
        "operationId": "listWabaMessageTemplates",
        "summary": "List WABA message templates",
        "description": "Requires the `waba_template_message:send` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/CollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{id}/send-messages": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "post": {
        "tags": [
          "WABA"
        ],
        "operationId": "sendTemplateMessages",
        "summary": "Send template messages from a WABA account",
        "description": "Requires the `waba_template_message:send` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{unique_id}/quick-replies": {
      "parameters": [
        {
          "$ref": "#/components/parameters/UniqueId"
        }
      ],
      "get": {
        "tags": [
          "WABA"
        ],
        "operationId": "listQuickReplies",
        "summary": "List WABA quick replies",
        "description": "Requires the `waba_account:operate` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/PaginatedCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "post": {
        "tags": [
          "WABA"
        ],
        "operationId": "createQuickReply",
        "summary": "Create a WABA quick reply",
        "description": "Requires the `waba_account:operate` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/CreatedResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{unique_id}/quick-replies/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/UniqueId"
        },
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "patch": {
        "tags": [
          "WABA"
        ],
        "operationId": "updateQuickReply",
        "summary": "Update a WABA quick reply",
        "description": "Requires the `waba_account:operate` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "WABA"
        ],
        "operationId": "deleteQuickReply",
        "summary": "Delete a WABA quick reply",
        "description": "Requires the `waba_account:operate` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{unique_id}/customers": {
      "parameters": [
        {
          "$ref": "#/components/parameters/UniqueId"
        }
      ],
      "get": {
        "tags": [
          "WABA"
        ],
        "operationId": "listWabaCustomers",
        "summary": "List WABA customers",
        "description": "Requires the `waba_account:operate` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/PaginatedCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{unique_id}/customers/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/UniqueId"
        },
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "patch": {
        "tags": [
          "WABA"
        ],
        "operationId": "updateWabaCustomer",
        "summary": "Update a WABA customer",
        "description": "Requires the `waba_account:operate` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{unique_id}/customers/{id}/purchase": {
      "parameters": [
        {
          "$ref": "#/components/parameters/UniqueId"
        },
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "post": {
        "tags": [
          "WABA"
        ],
        "operationId": "sendWabaPurchase",
        "summary": "Send a WABA purchase message",
        "description": "Requires the `waba_account:operate` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{waba_unique_id}/customers/{wa_user_id}/messages": {
      "parameters": [
        {
          "$ref": "#/components/parameters/WabaUniqueId"
        },
        {
          "$ref": "#/components/parameters/WaUserId"
        }
      ],
      "get": {
        "tags": [
          "WABA"
        ],
        "operationId": "listWabaMessages",
        "summary": "List WABA customer messages",
        "description": "Requires the `waba_account:operate` scope. Message payloads expose `sender_tag` and no longer expose `sender_type`.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PageSize"
          },
          {
            "$ref": "#/components/parameters/NextCursor"
          },
          {
            "$ref": "#/components/parameters/PreviousCursor"
          },
          {
            "description": "Primary-key ID of a WhatsApp message to center the first page around. Cannot be used with `next_cursor` or `previous_cursor`. If not found in this customer message list, `data` is empty.",
            "in": "query",
            "name": "anchor_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/PaginatedCollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "post": {
        "tags": [
          "WABA"
        ],
        "operationId": "sendWabaMessage",
        "summary": "Send a WABA customer message",
        "description": "Requires the `waba_account:operate` scope. Message payloads expose `sender_tag` and no longer expose `sender_type`.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/WabaSendMode"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{waba_unique_id}/customers/{wa_user_id}/messages/{wamid}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/WabaUniqueId"
        },
        {
          "$ref": "#/components/parameters/WaUserId"
        },
        {
          "$ref": "#/components/parameters/Wamid"
        }
      ],
      "get": {
        "tags": [
          "WABA"
        ],
        "operationId": "getWabaMessage",
        "summary": "Get a WABA customer message",
        "description": "Requires the `waba_account:operate` scope. Message payloads expose `sender_tag` and no longer expose `sender_type`.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "WABA"
        ],
        "operationId": "updateWabaMessage",
        "summary": "Update a WABA customer message",
        "description": "Requires the `waba_account:operate` scope. Message payloads expose `sender_tag` and no longer expose `sender_type`.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "WABA"
        ],
        "operationId": "deleteWabaMessage",
        "summary": "Delete a WABA customer message",
        "description": "Requires the `waba_account:operate` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{waba_unique_id}/customers/{wa_user_id}/messages/{wamid}/typing-indicator": {
      "parameters": [
        {
          "$ref": "#/components/parameters/WabaUniqueId"
        },
        {
          "$ref": "#/components/parameters/WaUserId"
        },
        {
          "$ref": "#/components/parameters/Wamid"
        }
      ],
      "post": {
        "tags": [
          "WABA"
        ],
        "operationId": "sendWabaTypingIndicator",
        "summary": "Send a WABA typing indicator",
        "description": "Requires the `waba_account:operate` scope. Sends Meta's typing indicator for an existing inbound message, which also marks that message as read.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/WabaSendMode"
          }
        ],
        "responses": {
          "200": {
            "description": "Typing indicator accepted",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "success",
                    "wamid",
                    "status",
                    "typing_indicator"
                  ],
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "wamid": {
                      "type": "string",
                      "example": "wamid.HBgLMTY1MDM4Nzk0MzkVAgARGBJDQjZCMzlEQUE4OTJBMTE4RTUA"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "read"
                      ]
                    },
                    "typing_indicator": {
                      "type": "object",
                      "required": [
                        "type"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "text"
                          ]
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/waba-accounts/{waba_unique_id}/customers/{wa_user_id}/message-templates": {
      "parameters": [
        {
          "$ref": "#/components/parameters/WabaUniqueId"
        },
        {
          "$ref": "#/components/parameters/WaUserId"
        }
      ],
      "post": {
        "tags": [
          "WABA"
        ],
        "operationId": "sendWabaTemplateMessage",
        "summary": "Send a WABA template message to a customer",
        "description": "Requires the `waba_account:operate` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericUploadRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/whatsapp-integrations": {
      "get": {
        "tags": [
          "WhatsApp Integrations"
        ],
        "operationId": "listWhatsappIntegrations",
        "summary": "List WhatsApp integrations",
        "description": "Requires the `whats_app_integration:list` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/CollectionResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      },
      "post": {
        "tags": [
          "WhatsApp Integrations"
        ],
        "operationId": "createWhatsappIntegration",
        "summary": "Create a WhatsApp integration",
        "description": "Requires the `whats_app_integration:create` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          }
        }
      }
    },
    "/v3/whatsapp-integrations/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "get": {
        "tags": [
          "WhatsApp Integrations"
        ],
        "operationId": "getWhatsappIntegration",
        "summary": "Get a WhatsApp integration",
        "description": "Requires the `whats_app_integration:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "patch": {
        "tags": [
          "WhatsApp Integrations"
        ],
        "operationId": "updateWhatsappIntegration",
        "summary": "Update a WhatsApp integration",
        "description": "Requires the `whats_app_integration:update` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/GenericJsonRequestBody"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      },
      "delete": {
        "tags": [
          "WhatsApp Integrations"
        ],
        "operationId": "deleteWhatsappIntegration",
        "summary": "Delete a WhatsApp integration",
        "description": "Requires the `whats_app_integration:delete` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/NoContentResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    },
    "/v3/whatsapp-integrations/{id}/check-status": {
      "parameters": [
        {
          "$ref": "#/components/parameters/GenericId"
        }
      ],
      "post": {
        "tags": [
          "WhatsApp Integrations"
        ],
        "operationId": "checkWhatsappIntegrationStatus",
        "summary": "Check WhatsApp integration status",
        "description": "Requires the `whats_app_integration:read` scope.",
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "apiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "authorization",
        "description": "Send `Authorization: Bearer <api_key>` for machine-authenticated business requests. API keys are rate-limited per key."
      },
      "scalevOAuth": {
        "type": "oauth2",
        "description": "OAuth access tokens are rate-limited per OAuth application and merchant installation.",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://api.scalev.com/v3/oauth/authorize",
            "tokenUrl": "https://api.scalev.com/v3/oauth/token",
            "scopes": {
              "order:list": "List Orders.",
              "order:read": "View Orders.",
              "order:statistics:list": "List Order Statistics.",
              "order:create": "Create New Orders.",
              "order:update": "Update Orders.",
              "order:delete": "Delete Orders.",
              "order:change_status": "Change Order Status.",
              "order:create_awb": "Request for Order Pickup.",
              "product:list": "List Products.",
              "product:read": "View Products.",
              "product:create": "Create New Products.",
              "product:update": "Update Products.",
              "product:delete": "Delete Products.",
              "store:list": "List Stores.",
              "store:read": "View Stores.",
              "store:update": "Update Stores.",
              "fb_pixel:list": "List Facebook Pixels.",
              "fb_pixel:read": "View Facebook Pixels.",
              "fb_pixel:create": "Create Facebook Pixels.",
              "fb_pixel:update": "Update Facebook Pixels.",
              "fb_pixel:delete": "Delete Facebook Pixels.",
              "tiktok_pixel:list": "List TikTok Pixels.",
              "tiktok_pixel:read": "View TikTok Pixels.",
              "tiktok_pixel:create": "Create TikTok Pixels.",
              "tiktok_pixel:update": "Update TikTok Pixels.",
              "tiktok_pixel:delete": "Delete TikTok Pixels.",
              "kwai_pixel:list": "List Kwai Pixels.",
              "kwai_pixel:read": "View Kwai Pixels.",
              "kwai_pixel:create": "Create Kwai Pixels.",
              "kwai_pixel:update": "Update Kwai Pixels.",
              "kwai_pixel:delete": "Delete Kwai Pixels.",
              "gtm:list": "List GTM Containers.",
              "gtm:read": "View GTM Containers.",
              "gtm:create": "Create GTM Containers.",
              "gtm:update": "Update GTM Containers.",
              "gtm:delete": "Delete GTM Containers.",
              "page:list": "List Pages.",
              "page:read": "View Pages.",
              "page:create": "Create Pages.",
              "page:update": "Update Pages.",
              "page:delete": "Delete Pages.",
              "payment_account:list": "List Payment Accounts.",
              "bundle:list": "List Bundles.",
              "bundle:read": "View Bundles.",
              "bundle:create": "Create New Bundles.",
              "bundle:update": "Update Bundles.",
              "bundle:delete": "Delete Bundles.",
              "customer:list": "List Customers.",
              "customer:read": "View Customers.",
              "customer:create": "Create New Customers.",
              "customer:update": "Update Customers.",
              "waba_account:list": "List WhatsApp Business Accounts.",
              "waba_account:read": "View WhatsApp Business Accounts.",
              "waba_account:create": "Create and Connect WhatsApp Business Accounts.",
              "waba_account:update": "Update WhatsApp Business Accounts.",
              "waba_account:delete": "Delete WhatsApp Business Accounts.",
              "waba_account:operate": "Operate WhatsApp conversations and send messages.",
              "waba_template_message:send": "Send WhatsApp Template Messages.",
              "whats_app_integration:list": "List WhatsApp Integrations.",
              "whats_app_integration:read": "View WhatsApp Integrations.",
              "whats_app_integration:create": "Create WhatsApp Integrations.",
              "whats_app_integration:update": "Update WhatsApp Integrations.",
              "whats_app_integration:delete": "Delete WhatsApp Integrations."
            }
          }
        }
      }
    },
    "parameters": {
      "StoreId": {
        "name": "store_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        },
        "description": "Store `unique_id`."
      },
      "BusinessStoreId": {
        "name": "store_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "integer",
          "example": 3288
        },
        "description": "Numeric Scalev store database ID for authenticated business routes."
      },
      "PageId": {
        "name": "page_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "integer"
        },
        "description": "Numeric Scalev page ID."
      },
      "PageUniqueId": {
        "name": "page_unique_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string",
          "example": "page_540f48019f525f41"
        },
        "description": "Public page unique ID."
      },
      "LandingPageId": {
        "name": "id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "integer"
        },
        "description": "Numeric Scalev landing page ID."
      },
      "LandingPagePageId": {
        "name": "page_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "integer"
        },
        "description": "Numeric Scalev landing page ID."
      },
      "LandingPageDisplayId": {
        "name": "display_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "integer"
        },
        "description": "Numeric Scalev landing page display ID."
      },
      "LocationId": {
        "name": "location_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "integer"
        },
        "description": "Legacy numeric location ID."
      },
      "StorefrontPublicApiKey": {
        "name": "X-Scalev-Storefront-Api-Key",
        "in": "header",
        "required": true,
        "schema": {
          "type": "string"
        },
        "description": "Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes."
      },
      "PagePublicApiKey": {
        "name": "X-Scalev-Page-Api-Key",
        "in": "header",
        "required": true,
        "schema": {
          "type": "string"
        },
        "description": "Publishable page public API key for the `page_unique_id` path page. Storefront public API keys are not accepted on page-scoped public routes."
      },
      "StorefrontScalevGuestToken": {
        "name": "X-Scalev-Guest-Token",
        "in": "header",
        "required": false,
        "schema": {
          "type": "string",
          "format": "uuid"
        },
        "description": "Browser-safe guest cart token returned by the first guest-cart response when no token is sent. Send it on later guest-cart and public checkout calls to keep the same cart after reloads."
      },
      "WabaSendMode": {
        "name": "X-Scalev-Waba-Send-Mode",
        "in": "header",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "mock"
          ]
        },
        "description": "Local/dev simulation override for WABA sends. When set to `mock` outside production, Nexus records a submitted outbound message without sending to Meta Graph. Ignored in production."
      },
      "ProductSlug": {
        "name": "slug",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "BundlePriceOptionSlug": {
        "name": "slug",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "SecretSlug": {
        "name": "secret_slug",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "OrderId": {
        "name": "id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        },
        "description": "Canonical UUIDv7 order primary key. For migrated orders, legacy numeric `core_order.id` values remain accepted for compatibility."
      },
      "SubscriptionId": {
        "name": "id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "SubscriptionItemId": {
        "name": "id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "ItemId": {
        "name": "item_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "AddressId": {
        "name": "address_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "ChatId": {
        "name": "chat_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "Uuid": {
        "name": "uuid",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "PgReferenceId": {
        "name": "pg_reference_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "GenericId": {
        "name": "id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "PageSize": {
        "name": "page_size",
        "in": "query",
        "required": false,
        "schema": {
          "type": "integer",
          "minimum": 1
        },
        "description": "Cursor page size."
      },
      "NextCursor": {
        "name": "next_cursor",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "Opaque cursor for the next page."
      },
      "PreviousCursor": {
        "name": "previous_cursor",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "Opaque cursor for the previous page."
      },
      "OAuthApplicationIdQuery": {
        "name": "oauth_application_id",
        "in": "query",
        "required": false,
        "schema": {
          "type": "integer"
        },
        "description": "Filter by OAuth application ID."
      },
      "OAuthAuthorizedBusinessIdQuery": {
        "name": "oauth_authorized_business_id",
        "in": "query",
        "required": false,
        "schema": {
          "type": "integer"
        },
        "description": "Filter by OAuth authorized business/install ID."
      },
      "MerchantBusinessIdQuery": {
        "name": "merchant_business_id",
        "in": "query",
        "required": false,
        "schema": {
          "type": "integer"
        },
        "description": "Filter by merchant business ID."
      },
      "OAuthBillingTagQuery": {
        "name": "billing_tag",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "Filter by OAuth billing tag."
      },
      "OAuthBillingActionKeyQuery": {
        "name": "action_key",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "Filter by OAuth billing action key."
      },
      "OAuthBillingStatusQuery": {
        "name": "billing_status",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "Filter by reservation billing status."
      },
      "OAuthBillingIdempotencyKeyQuery": {
        "name": "billing_idempotency_key",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "Filter by billing idempotency key."
      },
      "OAuthBillingRequestIdQuery": {
        "name": "request_id",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "Filter by machine API request ID."
      },
      "OAuthBillingEntryTypeQuery": {
        "name": "entry_type",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "accrual",
            "withdrawal",
            "adjustment"
          ]
        },
        "description": "Filter by developer earnings ledger entry type."
      },
      "OAuthBillingSettlementStatusQuery": {
        "name": "status",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "Filter by settlement status."
      },
      "ProductId": {
        "name": "product_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "BundleId": {
        "name": "bundle_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "CustomerId": {
        "name": "customer_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "VariantId": {
        "name": "variant_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "SectionUuid": {
        "name": "section_uuid",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "UniqueId": {
        "name": "unique_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "WabaUniqueId": {
        "name": "waba_unique_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "WaUserId": {
        "name": "wa_user_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "Wamid": {
        "name": "wamid",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "VariantIds": {
        "name": "ids",
        "in": "query",
        "required": false,
        "description": "Comma-separated variant IDs.",
        "schema": {
          "type": "string"
        }
      }
    },
    "requestBodies": {
      "GenericJsonRequestBody": {
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/GenericJsonObject"
            }
          }
        }
      },
      "BusinessStoreCreateRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BusinessStoreCreateRequest"
            }
          }
        }
      },
      "BusinessStoreUpdateRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BusinessStoreUpdateRequest"
            }
          }
        }
      },
      "PublicCheckoutRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/PublicCheckoutRequest"
            }
          }
        }
      },
      "PagePublicOrderCreateRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/PagePublicOrderCreateRequest"
            }
          }
        }
      },
      "PagePublicCheckoutShippingOptionsRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/PagePublicCheckoutShippingOptionsRequest"
            }
          }
        }
      },
      "PagePublicCheckoutSummaryRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/PagePublicCheckoutSummaryRequest"
            }
          }
        }
      },
      "PagePublicDiscountCodeCheckRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/PagePublicDiscountCodeCheckRequest"
            }
          }
        }
      },
      "StorefrontCheckoutShippingOptionsRequestBody": {
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/StorefrontCheckoutShippingOptionsRequest"
            }
          }
        }
      },
      "StorefrontCheckoutSummaryRequestBody": {
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/StorefrontCheckoutSummaryRequest"
            }
          }
        }
      },
      "StorefrontPublicOrderUpdateRequestBody": {
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/StorefrontPublicOrderUpdateRequest"
            }
          }
        }
      },
      "StorefrontPublicOrderTransferProofUploadRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/StorefrontPublicOrderTransferProofUploadRequest"
            }
          }
        }
      },
      "StorefrontMetaConversionEventRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/StorefrontMetaConversionEventRequest"
            }
          }
        }
      },
      "StorefrontTiktokConversionEventRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/StorefrontTiktokConversionEventRequest"
            }
          }
        }
      },
      "StorefrontSnackVideoConversionEventRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/StorefrontSnackVideoConversionEventRequest"
            }
          }
        }
      },
      "OAuthInstallationStatusRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthInstallationStatusRequest"
            }
          }
        }
      },
      "OAuthInstallationLaunchTokenExchangeRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthInstallationLaunchTokenExchangeRequest"
            }
          }
        }
      },
      "OAuthClientRegistrationRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthClientRegistrationRequest"
            }
          }
        }
      },
      "OAuthTokenRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthTokenRequest"
            }
          }
        }
      },
      "GenericUploadRequestBody": {
        "required": true,
        "content": {
          "multipart/form-data": {
            "schema": {
              "$ref": "#/components/schemas/GenericUploadRequest"
            }
          }
        }
      },
      "CreateVariantDigitalProductFileRequestBody": {
        "description": "File upload",
        "required": true,
        "content": {
          "multipart/form-data": {
            "schema": {
              "$ref": "#/components/schemas/CreateVariantDigitalProductFileRequest"
            }
          }
        }
      },
      "CartItemRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CartItemRequest"
            }
          }
        }
      },
      "CartItemUpdateRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CartItemUpdateRequest"
            }
          }
        }
      },
      "PasswordRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/PasswordRequest"
            }
          }
        }
      },
      "AcceptBusinessInvitationRequestBody": {
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/AcceptBusinessInvitationRequest"
            }
          }
        }
      },
      "ForgetPasswordRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ForgetPasswordRequest"
            }
          }
        }
      },
      "SavePasswordRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/SavePasswordRequest"
            }
          }
        }
      },
      "CustomerLoginRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CustomerLoginRequest"
            }
          }
        }
      },
      "CustomerOtpVerifyRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CustomerOtpVerifyRequest"
            }
          }
        }
      },
      "CustomerProfileUpdateRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CustomerProfileUpdateRequest"
            }
          }
        }
      },
      "CustomerAddressRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CustomerAddressRequest"
            }
          }
        }
      },
      "CustomerCheckoutShippingOptionsRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CustomerCheckoutShippingOptionsRequest"
            }
          }
        }
      },
      "CustomerCheckoutSummaryRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CustomerCheckoutSummaryRequest"
            }
          }
        }
      },
      "CustomerCheckoutRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CustomerCheckoutRequest"
            }
          }
        }
      },
      "CustomerCourseProgressUpdateRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CustomerCourseProgressUpdateRequest"
            }
          }
        }
      },
      "StorefrontDiscountCodeCheckRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/StorefrontDiscountCodeCheckRequest"
            }
          }
        }
      },
      "JwtRefreshRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/JwtRefreshRequest"
            }
          }
        }
      },
      "JwtBlacklistRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/JwtBlacklistRequest"
            }
          }
        }
      },
      "SubscriptionVariantChangeRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/SubscriptionVariantChangeRequest"
            }
          }
        }
      },
      "UpgradeSubscriptionItemRequestBody": {
        "description": "Upgrade data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/UpgradeSubscriptionItemRequest"
            }
          }
        }
      },
      "DowngradeSubscriptionItemRequestBody": {
        "description": "Downgrade data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/DowngradeSubscriptionItemRequest"
            }
          }
        }
      },
      "SearchShippingCostsRequestBody": {
        "description": "Estimate shipping cost request",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ShippingCostRequest"
            }
          }
        }
      },
      "SearchCourierServicesRequestBody": {
        "description": "Search courier services request",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/GetCourierServiceRequest"
            }
          }
        }
      },
      "SearchWarehousesRequestBody": {
        "description": "Search warehouse request",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/SearchWarehouseRequest"
            }
          }
        }
      },
      "CreateOrderRequestBody": {
        "description": "Order creation data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OrderCreateBody"
            }
          }
        }
      },
      "ChangeOrderStatusRequestBody": {
        "description": "Status or payment status change data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OrderChangeStatusBody"
            }
          }
        }
      },
      "DeleteOrdersRequestBody": {
        "description": "Order primary keys to delete",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/DeleteOrdersRequest"
            }
          }
        }
      },
      "MarkOrdersNotSpamRequestBody": {
        "description": "Mark not spam data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/MarkOrdersNotSpamRequest"
            }
          }
        }
      },
      "UploadOrderStatusChangesRequestBody": {
        "description": "CSV upload",
        "required": false,
        "content": {
          "multipart/form-data": {
            "schema": {
              "$ref": "#/components/schemas/UploadOrderStatusChangesRequest"
            }
          }
        }
      },
      "UploadOrderReceiptRequestBody": {
        "description": "Receipt upload",
        "required": false,
        "content": {
          "multipart/form-data": {
            "schema": {
              "$ref": "#/components/schemas/UploadOrderReceiptRequest"
            }
          }
        }
      },
      "UploadOrdersRequestBody": {
        "description": "Orders CSV upload",
        "required": false,
        "content": {
          "multipart/form-data": {
            "schema": {
              "$ref": "#/components/schemas/UploadOrdersRequest"
            }
          }
        }
      },
      "GenerateOrderAwbRequestBody": {
        "description": "AWB generation data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/GenerateOrderAwbRequest"
            }
          }
        }
      },
      "CancelOrderAwbRequestBody": {
        "description": "AWB cancellation data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CancelOrderAwbRequest"
            }
          }
        }
      },
      "UpdateOrderRequestBody": {
        "description": "Order update data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OrderUpdateBody"
            }
          }
        }
      },
      "AddOrderMessageHistoryRequestBody": {
        "description": "Message data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/AddOrderMessageHistoryRequest"
            }
          }
        }
      },
      "UpdateOrderCustomerRequestBody": {
        "description": "Customer update data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/UpdateOrderCustomerRequest"
            }
          }
        }
      },
      "UpdateOrderShipmentRequestBody": {
        "description": "Shipment-related data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OrderUpdateShipmentDataBody"
            }
          }
        }
      },
      "UpdateOrderShipmentReceiptRequestBody": {
        "description": "Update shipment receipt data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/UpdateOrderShipmentReceiptRequest"
            }
          }
        }
      },
      "CreateOrderShipmentStatusHistoryRequestBody": {
        "description": "Shipment status history data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OrderCreateShipmentStatusHistoryBody"
            }
          }
        }
      },
      "UpdateOrderTagsRequestBody": {
        "description": "Order tags data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/UpdateOrderTagsRequest"
            }
          }
        }
      },
      "DuplicateOrderRequestBody": {
        "description": "Duplicate order data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OrderDuplicateBody"
            }
          }
        }
      },
      "CreateProductRequestBody": {
        "description": "Product data to create",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CreateRequestProduct"
            }
          }
        }
      },
      "UpdateProductRequestBody": {
        "description": "Product data to update",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/UpdateRequestProduct"
            }
          }
        }
      },
      "CreateProductPartnerRequestBody": {
        "description": "Partner data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CreatePartnerRequest"
            }
          }
        }
      },
      "CreateProductKnowledgeItemRequestBody": {
        "description": "Knowledge item data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CreateUpdateProductKnowledgeItemRequest"
            }
          }
        }
      },
      "UpdateProductKnowledgeItemRequestBody": {
        "description": "Knowledge item data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CreateUpdateProductKnowledgeItemRequest"
            }
          }
        }
      },
      "CreateProductFollowUpChatRequestBody": {
        "description": "Follow up chat data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CreateUpdateFollowUpChatRequest"
            }
          }
        }
      },
      "UpdateProductFollowUpChatRequestBody": {
        "description": "Follow up chat data to update",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CreateUpdateFollowUpChatRequest"
            }
          }
        }
      },
      "CreateVariantKnowledgeItemRequestBody": {
        "description": "Knowledge item data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CreateUpdateProductKnowledgeItemRequest"
            }
          }
        }
      },
      "UpdateVariantKnowledgeItemRequestBody": {
        "description": "Knowledge item data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CreateUpdateProductKnowledgeItemRequest"
            }
          }
        }
      },
      "CreateBundleRequestBody": {
        "description": "Bundle data to create",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BundleCreateRequest"
            }
          }
        }
      },
      "UpdateBundleRequestBody": {
        "description": "Bundle data to update",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BundleUpdateRequest"
            }
          }
        }
      },
      "CreateBundlePartnerRequestBody": {
        "description": "Partner data to associate",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CreateBundlePartnerRequest"
            }
          }
        }
      },
      "CreateBundleFollowUpChatRequestBody": {
        "description": "Follow up chat data",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CreateUpdateFollowUpChatRequest"
            }
          }
        }
      },
      "UpdateBundleFollowUpChatRequestBody": {
        "description": "Follow up chat data to update",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CreateUpdateFollowUpChatRequest"
            }
          }
        }
      },
      "CreateBundlePriceOptionRequestBody": {
        "description": "Bundle Price Option data to create",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BundlePriceOptionRequest"
            }
          }
        }
      },
      "UpdateBundlePriceOptionRequestBody": {
        "description": "Bundle Price Option data to update",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BundlePriceOptionRequest"
            }
          }
        }
      },
      "MetaPixelRequestBody": {
        "description": "Facebook pixel data.",
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/MetaPixelRequest"
            }
          }
        }
      },
      "TiktokPixelRequestBody": {
        "description": "TikTok pixel data.",
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/TiktokPixelRequest"
            }
          }
        }
      },
      "KwaiPixelRequestBody": {
        "description": "SnackVideo pixel data.",
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/KwaiPixelRequest"
            }
          }
        }
      },
      "GtmContainerRequestBody": {
        "description": "Google Tag Manager container data.",
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/GtmContainerRequest"
            }
          }
        }
      },
      "LandingPageCreateRequestBody": {
        "description": "Landing page data to create. HTML Mode payload is documented here. For a one-call create-and-publish flow, set `is_published: true` and include `page_display`. Without `is_published: true`, the display is only a draft and must be published later.",
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/LandingPageCreateRequest"
            },
            "examples": {
              "html_sales_page": {
                "summary": "HTML sales page",
                "value": {
                  "name": "API HTML Page",
                  "slug": "api-html-page",
                  "is_published": true,
                  "page_display": {
                    "render_mode": "html_mode",
                    "html_code": "<main>Hello</main>",
                    "css_code": "main { color: #111827; }",
                    "js_code": "console.log('ready')",
                    "meta": {
                      "lang": "id"
                    },
                    "onload_fb_events": [],
                    "onload_tiktok_events": [],
                    "onload_kwai_client_events": [],
                    "onload_kwai_server_events": [],
                    "fb_events_onload_parameters": {},
                    "tiktok_events_onload_parameters": {},
                    "kwai_client_events_onload_parameters": {},
                    "kwai_server_events_onload_parameters": {}
                  }
                }
              },
              "html_checkout_page": {
                "summary": "HTML checkout page",
                "value": {
                  "name": "API HTML Checkout Page",
                  "slug": "api-html-checkout-page",
                  "is_published": true,
                  "page_display": {
                    "render_mode": "html_mode",
                    "html_code": "<main>Checkout</main>",
                    "meta": {
                      "lang": "id"
                    },
                    "onload_fb_events": [],
                    "onload_tiktok_events": [],
                    "onload_kwai_client_events": [],
                    "onload_kwai_server_events": [],
                    "fb_events_onload_parameters": {},
                    "tiktok_events_onload_parameters": {},
                    "kwai_client_events_onload_parameters": {},
                    "kwai_server_events_onload_parameters": {},
                    "form_display": {
                      "store_id": 3288,
                      "variant_ids": [
                        12345
                      ],
                      "after_submit_event": "direct_to_whatsapp",
                      "handler_assignment": "rotator"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "LandingPageUpdateRequestBody": {
        "description": "Landing page metadata and publishing fields to update.",
        "required": false,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/LandingPageUpdateRequest"
            }
          }
        }
      },
      "LandingPageDisplayRequestBody": {
        "description": "Landing page display data to create. HTML Mode payload is documented here.",
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/LandingPageDisplayRequest"
            },
            "examples": {
              "html_sales_display": {
                "summary": "HTML Mode display",
                "value": {
                  "render_mode": "html_mode",
                  "html_code": "<main>Hello</main>",
                  "css_code": "main { color: #111827; }",
                  "js_code": "console.log('ready')",
                  "meta": {
                    "lang": "id"
                  },
                  "onload_fb_events": [],
                  "onload_tiktok_events": [],
                  "onload_kwai_client_events": [],
                  "onload_kwai_server_events": [],
                  "fb_events_onload_parameters": {},
                  "tiktok_events_onload_parameters": {},
                  "kwai_client_events_onload_parameters": {},
                  "kwai_server_events_onload_parameters": {}
                }
              }
            }
          }
        }
      },
      "LandingPageTagUpdateRequestBody": {
        "description": "Landing page tags to assign.",
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/LandingPageTagUpdateRequest"
            }
          }
        }
      },
      "StorefrontAllowedOriginRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/StorefrontAllowedOriginRequest"
            }
          }
        }
      },
      "OAuthBillingRefundRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthBillingRefundRequest"
            }
          }
        }
      },
      "OAuthBillingWithdrawalRequestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthBillingWithdrawalRequest"
            }
          }
        }
      }
    },
    "responses": {
      "SuccessResponse": {
        "description": "Success",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/RawObjectResponseBody"
            }
          }
        }
      },
      "AuthenticatedIdentityResponse": {
        "description": "Authenticated token identity context",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/AuthenticatedIdentity"
            }
          }
        }
      },
      "ConnectedBusinessesResponse": {
        "description": "Authenticated connected businesses",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ConnectedBusinessesResponseBody"
            }
          }
        }
      },
      "CurrentBusinessUserResponse": {
        "description": "Current business-user membership",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CurrentBusinessUser"
            }
          }
        }
      },
      "BusinessUserCollectionResponse": {
        "description": "Paginated business-user membership list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BusinessUserCollectionResponseBody"
            }
          }
        }
      },
      "OAuthAuthorizationServerMetadataResponse": {
        "description": "OAuth authorization server metadata",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthAuthorizationServerMetadata"
            }
          }
        }
      },
      "OAuthScopeCatalogResponse": {
        "description": "OAuth scope catalog",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthScopeCatalog"
            }
          }
        }
      },
      "CurrentOAuthApplicationResponse": {
        "description": "Current OAuth application",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CurrentOAuthApplication"
            }
          }
        }
      },
      "OAuthClientRegistrationResponse": {
        "description": "Registered OAuth client",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthClientRegistration"
            }
          }
        }
      },
      "CustomerAuthTokenResponse": {
        "description": "Customer JWT tokens for a successful storefront customer login, OTP verification, or refresh.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CustomerAuthTokenResponseBody"
            }
          }
        }
      },
      "CustomerLoginResponse": {
        "description": "Customer login tokens, or an OTP challenge message when the store requires OTP.",
        "content": {
          "application/json": {
            "schema": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/CustomerAuthTokenResponseBody"
                },
                {
                  "$ref": "#/components/schemas/CustomerLoginOtpChallengeResponseBody"
                }
              ]
            }
          }
        }
      },
      "WabaAccountResponse": {
        "description": "WABA account",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/WabaAccount"
            }
          }
        }
      },
      "WabaAccountCollectionResponse": {
        "description": "WABA account collection",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/WabaAccountCollectionResponseBody"
            }
          }
        }
      },
      "CreatedResponse": {
        "description": "Created",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/RawObjectResponseBody"
            }
          }
        }
      },
      "CollectionResponse": {
        "description": "Success collection response",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CollectionResponseBody"
            }
          }
        }
      },
      "PaginatedCollectionResponse": {
        "description": "Success paginated collection response",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/PaginatedCollectionResponseBody"
            }
          }
        }
      },
      "LandingPageResponse": {
        "description": "Landing page",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/LandingPage"
            }
          }
        }
      },
      "LandingPageCollectionResponse": {
        "description": "Paginated landing page list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/LandingPageCollectionResponseBody"
            }
          }
        }
      },
      "LandingPageSimplifiedCollectionResponse": {
        "description": "Paginated simplified landing page list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/LandingPageSimplifiedCollectionResponseBody"
            }
          }
        }
      },
      "LandingPageTagCollectionResponse": {
        "description": "Landing page tags",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/LandingPageTagCollectionResponseBody"
            }
          }
        }
      },
      "LandingPagePublicResponse": {
        "description": "Landing page public rendering payload",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/LandingPagePublic"
            }
          }
        }
      },
      "LandingPageDisplayResponse": {
        "description": "Landing page display",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/LandingPageDisplay"
            }
          }
        }
      },
      "LandingPageDisplayValidationResponse": {
        "description": "Landing page display validation result",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/LandingPageDisplayValidationResult"
            }
          }
        }
      },
      "LandingPageDisplayCollectionResponse": {
        "description": "Paginated landing page display list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/LandingPageDisplayCollectionResponseBody"
            }
          }
        }
      },
      "AnalyticsStandardEventCollectionResponse": {
        "description": "Paginated analytics standard event list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/AnalyticsStandardEventCollectionResponseBody"
            }
          }
        }
      },
      "MetaPixelResponse": {
        "description": "Facebook pixel",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/MetaPixel"
            }
          }
        }
      },
      "MetaPixelCollectionResponse": {
        "description": "Paginated Facebook pixel list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/MetaPixelCollectionResponseBody"
            }
          }
        }
      },
      "TiktokPixelResponse": {
        "description": "TikTok pixel",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/TiktokPixel"
            }
          }
        }
      },
      "TiktokPixelCollectionResponse": {
        "description": "Paginated TikTok pixel list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/TiktokPixelCollectionResponseBody"
            }
          }
        }
      },
      "KwaiPixelResponse": {
        "description": "SnackVideo pixel",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/KwaiPixel"
            }
          }
        }
      },
      "KwaiPixelCollectionResponse": {
        "description": "Paginated SnackVideo pixel list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/KwaiPixelCollectionResponseBody"
            }
          }
        }
      },
      "GtmContainerResponse": {
        "description": "Google Tag Manager container",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/GtmContainer"
            }
          }
        }
      },
      "GtmContainerCollectionResponse": {
        "description": "Paginated Google Tag Manager container list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/GtmContainerCollectionResponseBody"
            }
          }
        }
      },
      "BusinessStoreResponse": {
        "description": "Business store",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BusinessStore"
            }
          }
        }
      },
      "BusinessStoreCollectionResponse": {
        "description": "Paginated business store list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BusinessStoreCollectionResponseBody"
            }
          }
        }
      },
      "BusinessStoreProductCollectionResponse": {
        "description": "Paginated products attached to the store",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BusinessStoreProductCollectionResponseBody"
            }
          }
        }
      },
      "BusinessStoreBundleCollectionResponse": {
        "description": "Paginated bundles attached to the store",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BusinessStoreBundleCollectionResponseBody"
            }
          }
        }
      },
      "BusinessStoreBundleResponse": {
        "description": "Store-scoped bundle",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BusinessStoreBundle"
            }
          }
        }
      },
      "BusinessStoreBundlePriceOptionResponse": {
        "description": "Store-scoped bundle price option",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BusinessStoreBundlePriceOption"
            }
          }
        }
      },
      "BusinessStoreVariantResponse": {
        "description": "Store-scoped product variant",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Variant"
            }
          }
        }
      },
      "BusinessStoreSalesPersonCollectionResponse": {
        "description": "Paginated sales people attached to the store",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BusinessStoreSalesPersonCollectionResponseBody"
            }
          }
        }
      },
      "NoContentResponse": {
        "description": "Success with no response body"
      },
      "BadRequestResponse": {
        "description": "Bad Request",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "PaymentRequiredResponse": {
        "description": "Payment Required",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "UnauthorizedResponse": {
        "description": "Unauthorized",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "ForbiddenResponse": {
        "description": "Forbidden",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "TooManyRequestsResponse": {
        "description": "Too Many Requests. Storefront public requests using `X-Scalev-Storefront-Api-Key` or `X-Scalev-Guest-Token` are rate-limited as direct client/browser requests. Machine-authenticated business requests are rate-limited per API key or OAuth installation. Rate-limit responses may be plain text instead of the normal JSON error shape.",
        "headers": {
          "X-Ratelimit-Limit": {
            "description": "Request limit for the bucket that applied to this response.",
            "schema": {
              "type": "integer"
            }
          },
          "X-Ratelimit-Remaining": {
            "description": "Requests remaining in the bucket that applied to this response.",
            "schema": {
              "type": "integer"
            }
          },
          "X-Ratelimit-Reset": {
            "description": "Unix timestamp in seconds when the bucket resets.",
            "schema": {
              "type": "integer"
            }
          }
        },
        "content": {
          "text/plain": {
            "schema": {
              "type": "string",
              "example": "Too many requests"
            }
          },
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "NotFoundResponse": {
        "description": "Not Found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "ConflictResponse": {
        "description": "Conflict",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "ValidationFailedResponse": {
        "description": "Validation failed",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            },
            "examples": {
              "validationFailed": {
                "value": {
                  "error_code": "validation_failed",
                  "error": "HTML Mode validation failed",
                  "message": "HTML Mode validation failed",
                  "errors": [
                    {
                      "severity": "error",
                      "code": "head_content_not_allowed",
                      "field": "html_code",
                      "message": "Do not include head, meta, link, title, favicon, SEO, crawler, or domain settings."
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "OAuthBillingEarningsResponse": {
        "description": "Developer OAuth billing earnings balance",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthBillingEarnings"
            }
          }
        }
      },
      "OAuthBillingActionCollectionResponse": {
        "description": "OAuth billing action collection",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthBillingActionCollectionResponseBody"
            }
          }
        }
      },
      "OAuthBillingReservationResponse": {
        "description": "OAuth billing reservation",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthBillingReservation"
            }
          }
        }
      },
      "OAuthBillingReservationCollectionResponse": {
        "description": "OAuth billing reservation collection",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthBillingReservationCollectionResponseBody"
            }
          }
        }
      },
      "OAuthBillingChargeResponse": {
        "description": "OAuth billing charge",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthBillingCharge"
            }
          }
        }
      },
      "OAuthBillingChargeCollectionResponse": {
        "description": "OAuth billing charge collection",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthBillingChargeCollectionResponseBody"
            }
          }
        }
      },
      "OAuthBillingLedgerCollectionResponse": {
        "description": "OAuth billing earnings ledger collection",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthBillingLedgerCollectionResponseBody"
            }
          }
        }
      },
      "OAuthBillingSettlementResponse": {
        "description": "OAuth billing settlement",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthBillingSettlement"
            }
          }
        }
      },
      "OAuthBillingSettlementCollectionResponse": {
        "description": "OAuth billing settlement collection",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthBillingSettlementCollectionResponseBody"
            }
          }
        }
      },
      "OAuthBillingRefundResponse": {
        "description": "OAuth billing refund",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthBillingRefundResponseBody"
            }
          }
        }
      },
      "OAuthInstallationStatusResponse": {
        "description": "OAuth installation status snapshot",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OAuthInstallationStatusResponseBody"
            }
          }
        }
      },
      "ListCustomerSubscriptionsResponse": {
        "description": "Subscriptions list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListCustomerSubscriptionsResponseBody"
            }
          }
        }
      },
      "GetCustomerSubscriptionResponse": {
        "description": "Subscription details",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Subscription2"
            }
          }
        }
      },
      "CancelCustomerSubscriptionResponse": {
        "description": "Subscription canceled successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Subscription2"
            }
          }
        }
      },
      "ResumeCustomerSubscriptionResponse": {
        "description": "Subscription resumed successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Subscription2"
            }
          }
        }
      },
      "ListSubscriptionUpgradeOptionsResponse": {
        "description": "List of upgrade variants",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListSubscriptionUpgradeOptionsResponseBody"
            }
          }
        }
      },
      "UpgradeSubscriptionItemResponse": {
        "description": "Subscription item upgraded successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Subscription2"
            }
          }
        }
      },
      "ListSubscriptionDowngradeOptionsResponse": {
        "description": "List of downgrade variants",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListSubscriptionUpgradeOptionsResponseBody"
            }
          }
        }
      },
      "DowngradeSubscriptionItemResponse": {
        "description": "Subscription item downgraded successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Subscription2"
            }
          }
        }
      },
      "ListLocationsResponse": {
        "description": "Locations list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListLocationsResponseBody"
            }
          }
        }
      },
      "ListLocationPostalCodesResponse": {
        "description": "Postal code list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/LocationPostalCodeListResponse"
            }
          }
        }
      },
      "SearchShippingCostsResponse": {
        "description": "Products list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/SearchShippingCostsResponseBody"
            }
          }
        }
      },
      "SearchCourierServicesResponse": {
        "description": "Courier Services list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/SearchCourierServicesResponseBody"
            }
          }
        }
      },
      "SearchWarehousesResponse": {
        "description": "Warehouses list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/SearchWarehousesResponseBody"
            }
          }
        }
      },
      "ListOrdersResponse": {
        "description": "Orders list with pagination",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListOrdersResponseBody"
            }
          }
        }
      },
      "CreateOrderResponse": {
        "description": "Order created successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Order"
            }
          }
        }
      },
      "GetOrderStatisticsResponse": {
        "description": "Order statistics with breakdown",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/GetOrderStatisticsResponseBody"
            }
          }
        }
      },
      "ChangeOrderStatusResponse": {
        "description": "Status changed successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ChangeOrderStatusResponseBody"
            }
          }
        }
      },
      "DeleteOrdersResponse": {
        "description": "Orders deleted successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/DeleteOrdersResponseBody"
            }
          }
        }
      },
      "MarkOrdersNotSpamResponse": {
        "description": "Orders marked as not spam",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/MarkOrdersNotSpamResponseBody"
            }
          }
        }
      },
      "UploadOrderStatusChangesResponse": {
        "description": "Status changed successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ChangeOrderStatusResponseBody"
            }
          }
        }
      },
      "UploadOrderReceiptResponse": {
        "description": "Receipt uploaded successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/UploadOrderReceiptResponseBody"
            }
          }
        }
      },
      "UploadOrdersResponse": {
        "description": "Orders uploaded successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/UploadOrders"
            }
          }
        }
      },
      "GenerateOrderAwbResponse": {
        "description": "AWB generated successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/GenerateOrCancelAWB"
            }
          }
        }
      },
      "CancelOrderAwbResponse": {
        "description": "AWB cancelled successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/GenerateOrCancelAWB"
            }
          }
        }
      },
      "ListOrderTagsResponse": {
        "description": "Order tags list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListOrderTagsResponseBody"
            }
          }
        }
      },
      "ListOrderUtmSourcesResponse": {
        "description": "Unique UTM sources list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListOrderUtmSourcesResponseBody"
            }
          }
        }
      },
      "ListOrderUtmMediumsResponse": {
        "description": "Unique UTM mediums list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListOrderUtmMediumsResponseBody"
            }
          }
        }
      },
      "ListOrderUtmCampaignsResponse": {
        "description": "Unique UTM campaigns list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListOrderUtmCampaignsResponseBody"
            }
          }
        }
      },
      "ListOrderUtmContentsResponse": {
        "description": "Unique UTM contents list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListOrderUtmContentsResponseBody"
            }
          }
        }
      },
      "ListOrderUtmTermsResponse": {
        "description": "Unique UTM terms list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListOrderUtmTermsResponseBody"
            }
          }
        }
      },
      "GetOrderByPgReferenceIdResponse": {
        "description": "Order found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/PGReferenceID"
            }
          }
        }
      },
      "ListOrdersByPgReferenceIdsResponse": {
        "description": "Orders found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/PGReferenceIDs"
            }
          }
        }
      },
      "GetOrderResponse": {
        "description": "Order details",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Order"
            }
          }
        }
      },
      "UpdateOrderResponse": {
        "description": "Order updated successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Order"
            }
          }
        }
      },
      "GetOrderActionsResponse": {
        "description": "Available actions",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OrderAvailableActions"
            }
          }
        }
      },
      "ListOrderChatsResponse": {
        "description": "Chat text retrieved",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OrderChat"
            }
          }
        }
      },
      "GetOrderChatResponse": {
        "description": "Chat text retrieved",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/FollowUpChatDetail"
            }
          }
        }
      },
      "ListOrderEmailsResponse": {
        "description": "Order emails list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListOrderEmailsResponseBody"
            }
          }
        }
      },
      "GetOrderMessageHistoryResponse": {
        "description": "Message history retrieved",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OrderMessageHistory"
            }
          }
        }
      },
      "AddOrderMessageHistoryResponse": {
        "description": "Message added successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/OrderMessageHistory"
            }
          }
        }
      },
      "CreateOrderPaymentResponse": {
        "description": "Payment created successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CreateOrderPaymentResponseBody"
            },
            "examples": {
              "bankTransfer": {
                "summary": "Manual bank transfer",
                "value": {
                  "pg_payment_info": {},
                  "public_order_url": "https://demo.scalev.shop/o/order-secret",
                  "payment_url": "https://demo.scalev.shop/o/order-secret/success",
                  "payment_method": "bank_transfer",
                  "sub_payment_method": null
                }
              },
              "cod": {
                "summary": "Cash on delivery",
                "value": {
                  "pg_payment_info": {},
                  "public_order_url": "https://demo.scalev.shop/o/order-secret",
                  "payment_url": "https://demo.scalev.shop/o/order-secret/success",
                  "payment_method": "cod",
                  "sub_payment_method": null
                }
              },
              "virtualAccount": {
                "summary": "Virtual account",
                "value": {
                  "pg_payment_info": {
                    "payment_method": {
                      "virtual_account": {
                        "channel_properties": {
                          "virtual_account_number": "880812345678",
                          "customer_name": "Customer Name"
                        }
                      }
                    }
                  },
                  "public_order_url": "https://demo.scalev.shop/o/order-secret",
                  "payment_url": "https://demo.scalev.shop/o/order-secret/success",
                  "payment_method": "va",
                  "sub_payment_method": "BCA"
                }
              },
              "qris": {
                "summary": "QRIS",
                "value": {
                  "pg_payment_info": {
                    "qr_string": "000201010212..."
                  },
                  "public_order_url": "https://demo.scalev.shop/o/order-secret",
                  "payment_url": "https://demo.scalev.shop/o/order-secret/success",
                  "payment_method": "qris",
                  "sub_payment_method": null
                }
              },
              "ewallet": {
                "summary": "E-wallet action URL",
                "value": {
                  "pg_payment_info": {
                    "actions": [
                      {
                        "url_type": "WEB",
                        "url": "https://payments.example/ewallet/web"
                      },
                      {
                        "url_type": "DEEPLINK",
                        "url": "examplepay://payment/123"
                      }
                    ]
                  },
                  "public_order_url": "https://demo.scalev.shop/o/order-secret",
                  "payment_url": "https://demo.scalev.shop/o/order-secret/success",
                  "payment_method": "dana",
                  "sub_payment_method": null
                }
              },
              "card": {
                "summary": "Card redirect",
                "value": {
                  "pg_payment_info": {
                    "redirect_url": "https://payments.example/card/session"
                  },
                  "public_order_url": "https://demo.scalev.shop/o/order-secret",
                  "payment_url": "https://demo.scalev.shop/o/order-secret/success",
                  "payment_method": "card",
                  "sub_payment_method": null
                }
              },
              "invoice": {
                "summary": "Hosted invoice",
                "value": {
                  "pg_payment_info": {
                    "invoice_url": "https://payments.example/invoices/inv_123"
                  },
                  "public_order_url": "https://demo.scalev.shop/o/order-secret",
                  "payment_url": "https://demo.scalev.shop/o/order-secret/success",
                  "payment_method": "invoice",
                  "sub_payment_method": null
                }
              },
              "singapayVirtualAccount": {
                "summary": "SingaPay virtual account",
                "value": {
                  "pg_payment_info": {
                    "payment_gateway": "singapay",
                    "account_id": "01K5G4FZZ18DMK0M5QTR8Y9QY9",
                    "provider_transaction_id": "va_txn_1",
                    "reference_id": "ORD-123",
                    "va_number": "9090777158248126",
                    "va_name": "Customer Name",
                    "bank_code": "BRI",
                    "raw": {}
                  },
                  "public_order_url": "https://demo.scalev.shop/o/order-secret",
                  "payment_url": "https://demo.scalev.shop/o/order-secret/success",
                  "payment_method": "va",
                  "sub_payment_method": "BRI",
                  "epayment_provider": "singapay"
                }
              },
              "singapayEwallet": {
                "summary": "SingaPay e-wallet checkout",
                "value": {
                  "pg_payment_info": {
                    "payment_gateway": "singapay",
                    "account_id": "01K5G4FZZ18DMK0M5QTR8Y9QY9",
                    "provider_transaction_id": "42",
                    "reference_id": "ORD-123",
                    "payment_url": "https://wallet.example/checkout",
                    "deeplink_url": "dana://checkout/token",
                    "raw": {}
                  },
                  "public_order_url": "https://demo.scalev.shop/o/order-secret",
                  "payment_url": "https://demo.scalev.shop/o/order-secret/success",
                  "payment_method": "dana",
                  "sub_payment_method": null,
                  "epayment_provider": "singapay"
                }
              },
              "retailOutlet": {
                "summary": "Alfamart or Indomaret payment code",
                "value": {
                  "pg_payment_info": {
                    "payment_method": {
                      "over_the_counter": {
                        "channel_properties": {
                          "payment_code": "1234567890",
                          "customer_name": "Customer Name"
                        }
                      }
                    }
                  },
                  "public_order_url": "https://demo.scalev.shop/o/order-secret",
                  "payment_url": "https://demo.scalev.shop/o/order-secret/success",
                  "payment_method": "alfamart",
                  "sub_payment_method": null
                }
              }
            }
          }
        }
      },
      "UpdateOrderCustomerResponse": {
        "description": "Customer updated successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Order"
            }
          }
        }
      },
      "UpdateOrderShipmentResponse": {
        "description": "Shipment updated successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Order"
            }
          }
        }
      },
      "UpdateOrderShipmentReceiptResponse": {
        "description": "Receipt updated successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/UploadReceipt"
            }
          }
        }
      },
      "CreateOrderShipmentStatusHistoryResponse": {
        "description": "SSH connection created",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Order"
            }
          }
        }
      },
      "UpdateOrderTagsResponse": {
        "description": "Order tags updated successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Order"
            }
          }
        }
      },
      "TriggerOrderPurchaseResponse": {
        "description": "Purchase event triggered sucessfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/TriggerPurchase"
            }
          }
        }
      },
      "DuplicateOrderResponse": {
        "description": "Order duplicated and cancelled",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Order"
            }
          }
        }
      },
      "CheckOrderPaymentResponse": {
        "description": "Payment status checked",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Order"
            }
          }
        }
      },
      "CheckOrderSettlementResponse": {
        "description": "Settlement status checked",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Order"
            }
          }
        }
      },
      "ListProductsResponse": {
        "description": "Products list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListProductsResponseBody"
            }
          }
        }
      },
      "CreateProductResponse": {
        "description": "Product created successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Product"
            }
          }
        }
      },
      "ListProductsSimplifiedResponse": {
        "description": "Simplified products list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListProductsSimplifiedResponseBody"
            }
          }
        }
      },
      "CountProductsResponse": {
        "description": "Products count",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CountProductsResponseBody"
            }
          }
        }
      },
      "GetProductResponse": {
        "description": "Product details",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Product"
            }
          }
        }
      },
      "UpdateProductResponse": {
        "description": "Product updated successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Product"
            }
          }
        }
      },
      "DuplicateProductResponse": {
        "description": "Product duplicated successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Product"
            }
          }
        }
      },
      "GetProductRelationsResponse": {
        "description": "Product relations",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ProductRelations"
            }
          }
        }
      },
      "ListProductPartnersResponse": {
        "description": "Paginated list of product partners",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListProductPartnersResponseBody"
            }
          }
        }
      },
      "CreateProductPartnerResponse": {
        "description": "Product partner created successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ProductPartner"
            }
          }
        }
      },
      "ListProductKnowledgeItemsResponse": {
        "description": "Paginated list of knowledge items",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListProductKnowledgeItemsResponseBody"
            }
          }
        }
      },
      "CreateProductKnowledgeItemResponse": {
        "description": "Created knowledge item",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ProductKnowledgeItem"
            }
          }
        }
      },
      "GetProductKnowledgeItemResponse": {
        "description": "Knowledge item details",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ProductKnowledgeItem"
            }
          }
        }
      },
      "UpdateProductKnowledgeItemResponse": {
        "description": "Updated knowledge item",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ProductKnowledgeItem"
            }
          }
        }
      },
      "ListProductFollowUpChatsResponse": {
        "description": "Paginated list of follow up chats",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListProductFollowUpChatsResponseBody"
            }
          }
        }
      },
      "CreateProductFollowUpChatResponse": {
        "description": "Follow up chat template created successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ManagingFollowUpChat"
            }
          }
        }
      },
      "GetProductFollowUpChatResponse": {
        "description": "Follow up chat template",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ManagingFollowUpChat"
            }
          }
        }
      },
      "UpdateProductFollowUpChatResponse": {
        "description": "Follow up chat template updated successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ManagingFollowUpChat"
            }
          }
        }
      },
      "GetVariantResponse": {
        "description": "Product variant",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Variant"
            }
          }
        }
      },
      "ListVariantKnowledgeItemsResponse": {
        "description": "Paginated list of knowledge items",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListProductKnowledgeItemsResponseBody"
            }
          }
        }
      },
      "CreateVariantKnowledgeItemResponse": {
        "description": "Created knowledge item",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ProductKnowledgeItem"
            }
          }
        }
      },
      "GetVariantKnowledgeItemResponse": {
        "description": "Knowledge item details",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ProductKnowledgeItem"
            }
          }
        }
      },
      "UpdateVariantKnowledgeItemResponse": {
        "description": "Updated knowledge item",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ProductKnowledgeItem"
            }
          }
        }
      },
      "ListVariantDigitalProductFilesResponse": {
        "description": "Paginated list of digital product files",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListVariantDigitalProductFilesResponseBody"
            }
          }
        }
      },
      "CreateVariantDigitalProductFileResponse": {
        "description": "Digital product file created successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/DigitalProductFile"
            }
          }
        }
      },
      "GetVariantDigitalProductFileResponse": {
        "description": "Digital product file",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/DigitalProductFile"
            }
          }
        }
      },
      "DeleteVariantDigitalProductFileResponse": {
        "description": "Digital product file deleted successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/DigitalProductFile"
            }
          }
        }
      },
      "ListProductTaxonomiesResponse": {
        "description": "Paginated list of product taxonomies",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListProductTaxonomiesResponseBody"
            }
          }
        }
      },
      "GetProductTaxonomyResponse": {
        "description": "Product taxonomy",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ProductTaxonomy"
            }
          }
        }
      },
      "ListBundlesResponse": {
        "description": "Bundles list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListBundlesResponseBody"
            }
          }
        }
      },
      "CreateBundleResponse": {
        "description": "Bundle created successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Bundle"
            }
          }
        }
      },
      "ListBundlesSimplifiedResponse": {
        "description": "Bundles list (simplified)",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListBundlesSimplifiedResponseBody"
            }
          }
        }
      },
      "CountBundlesResponse": {
        "description": "Bundles count",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BundleCount"
            }
          }
        }
      },
      "GetBundleResponse": {
        "description": "Bundle details",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Bundle"
            }
          }
        }
      },
      "UpdateBundleResponse": {
        "description": "Bundle updated successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Bundle"
            }
          }
        }
      },
      "DuplicateBundleResponse": {
        "description": "Bundle duplicated successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Bundle"
            }
          }
        }
      },
      "GetBundleRelationsResponse": {
        "description": "Bundle with relations",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BundleRelation"
            }
          }
        }
      },
      "ListBundlePartnersResponse": {
        "description": "Partners list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListBundlePartnersResponseBody"
            }
          }
        }
      },
      "CreateBundlePartnerResponse": {
        "description": "Partner associated successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BundlePartner"
            }
          }
        }
      },
      "ListBundleFollowUpChatsResponse": {
        "description": "Paginated list of follow up chats",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListProductFollowUpChatsResponseBody"
            }
          }
        }
      },
      "CreateBundleFollowUpChatResponse": {
        "description": "Follow up chat template created successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ManagingFollowUpChat"
            }
          }
        }
      },
      "GetBundleFollowUpChatResponse": {
        "description": "Follow up chat template details",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ManagingFollowUpChat"
            }
          }
        }
      },
      "UpdateBundleFollowUpChatResponse": {
        "description": "Follow up chat template updated successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ManagingFollowUpChat"
            }
          }
        }
      },
      "ListBundlePriceOptionsResponse": {
        "description": "Bundle price options list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ListBundlePriceOptionsResponseBody"
            }
          }
        }
      },
      "CreateBundlePriceOptionResponse": {
        "description": "Bundle Price Option created successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BundlePriceOption"
            }
          }
        }
      },
      "UpdateBundlePriceOptionResponse": {
        "description": "Bundle Price Option updated successfully",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BundlePriceOption"
            }
          }
        }
      },
      "GetBundlePriceOptionRelationsResponse": {
        "description": "Bundle Price Option with relations",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BundlePriceOptionExtendedRelation"
            }
          }
        }
      }
    },
    "schemas": {
      "FlexibleObject": {
        "type": "object",
        "additionalProperties": true
      },
      "FlexibleValue": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/FlexibleObject"
          },
          {
            "type": "array",
            "items": {}
          },
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          }
        ]
      },
      "AuthenticatedIdentity": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "auth_method",
          "user",
          "oauth_application",
          "connected_businesses"
        ],
        "properties": {
          "auth_method": {
            "type": "string",
            "nullable": true,
            "enum": [
              "oauth",
              "api_key",
              "app_login"
            ]
          },
          "user": {
            "type": "object",
            "nullable": true,
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "integer"
              },
              "unique_id": {
                "type": "string",
                "nullable": true
              },
              "email": {
                "type": "string",
                "nullable": true
              },
              "phone": {
                "type": "string",
                "nullable": true
              },
              "fullname": {
                "type": "string",
                "nullable": true
              },
              "avatar": {
                "type": "string",
                "nullable": true
              }
            }
          },
          "oauth_application": {
            "type": "object",
            "nullable": true,
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "integer"
              },
              "client_id": {
                "type": "string"
              },
              "name": {
                "type": "string",
                "nullable": true
              },
              "homepage_url": {
                "type": "string",
                "nullable": true
              }
            }
          },
          "connected_businesses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthenticatedConnectedBusiness"
            }
          }
        }
      },
      "AuthenticatedConnectedBusiness": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "unique_id",
          "username",
          "name",
          "is_enabled",
          "scopes"
        ],
        "properties": {
          "unique_id": {
            "type": "string",
            "nullable": true,
            "description": "Business unique id to pass as `business_unique_id` in MCP tools, or as `b_uid` to Nexus HTTP business-scoped routes when selection is required."
          },
          "username": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "is_enabled": {
            "type": "boolean"
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ConnectedBusinessesResponseBody": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthenticatedConnectedBusiness"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        }
      },
      "CurrentBusinessUserBusiness": {
        "type": "object",
        "nullable": true,
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer"
          },
          "account_holder": {
            "type": "string",
            "nullable": true
          },
          "username": {
            "type": "string",
            "nullable": true
          },
          "unique_id": {
            "type": "string",
            "nullable": true
          },
          "logo": {
            "type": "string",
            "nullable": true,
            "description": "Public URL for the business logo when configured."
          }
        }
      },
      "CurrentBusinessUserRole": {
        "type": "object",
        "nullable": true,
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "store_filter_type": {
            "type": "string",
            "nullable": true
          },
          "permissions_list": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CurrentBusinessUser": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "business",
          "user_id",
          "business_phone",
          "is_verified",
          "is_locked",
          "role",
          "metadata"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "business": {
            "$ref": "#/components/schemas/CurrentBusinessUserBusiness"
          },
          "user_id": {
            "type": "integer"
          },
          "business_phone": {
            "type": "string",
            "nullable": true
          },
          "is_verified": {
            "type": "boolean"
          },
          "is_locked": {
            "type": "boolean"
          },
          "role": {
            "$ref": "#/components/schemas/CurrentBusinessUserRole"
          },
          "metadata": {
            "type": "object",
            "additionalProperties": true
          }
        }
      },
      "BusinessUserCollectionResponseBody": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CurrentBusinessUser"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "type": "integer"
          }
        }
      },
      "AcceptBusinessInvitationRequest": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "business_phone": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "OAuthScopeCatalog": {
        "type": "object",
        "additionalProperties": {
          "type": "string"
        },
        "description": "Map of MCP-compatible `/v3` OAuth scope names to plain-English descriptions."
      },
      "CurrentOAuthApplication": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "client_id",
          "name",
          "description",
          "logo_url",
          "homepage_url",
          "redirect_uri",
          "available_scopes",
          "webhook_status",
          "webhook_events"
        ],
        "properties": {
          "client_id": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "logo_url": {
            "type": "string",
            "nullable": true
          },
          "homepage_url": {
            "type": "string",
            "nullable": true
          },
          "redirect_uri": {
            "type": "string",
            "nullable": true
          },
          "available_scopes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "webhook_status": {
            "type": "string",
            "nullable": true
          },
          "webhook_events": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "AuthenticatedBusinessSummary": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer"
          },
          "is_banned": {
            "type": "boolean"
          },
          "unique_id": {
            "type": "string",
            "nullable": true
          },
          "account_holder": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "contact_phone": {
            "type": "string",
            "nullable": true
          },
          "contact_email": {
            "type": "string",
            "nullable": true
          },
          "logo": {
            "type": "string",
            "nullable": true
          },
          "username": {
            "type": "string",
            "nullable": true
          },
          "is_manual_reseller_transfer_allowed": {
            "type": "boolean"
          }
        }
      },
      "HtmlModeCspPolicy": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "connect_src": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "img_src": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "script_src": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "style_src": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "frame_src": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "description": "Supported HTML Mode CSP keys. Unsupported keys are rejected."
      },
      "LandingPageCreateRequest": {
        "type": "object",
        "required": [
          "name",
          "slug",
          "page_display"
        ],
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "example": "API HTML Page"
          },
          "slug": {
            "type": "string",
            "example": "api-html-page"
          },
          "is_published": {
            "type": "boolean",
            "description": "When true, publishes the created nested `page_display` and makes it the current display. When omitted or false, the nested display is saved as an unpublished draft; the page response will have `current_page_display_id: null`, `page_display: null`, and a page-level `render_mode` fallback until a display is published."
          },
          "store_id": {
            "type": "integer",
            "nullable": true,
            "description": "Optional top-level store association. HTML Checkout store context is configured through `page_display.form_display.store_id`."
          },
          "page_display": {
            "$ref": "#/components/schemas/LandingPageDisplayRequest"
          }
        }
      },
      "LandingPageUpdateRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "is_published": {
            "type": "boolean",
            "description": "Set true to publish `current_page_display_id`; set false with `current_page_display_id: null` to unpublish the page.\n"
          },
          "current_page_display_id": {
            "type": "integer",
            "nullable": true,
            "description": "Required together with `is_published` when changing published state."
          },
          "store_id": {
            "type": "integer",
            "nullable": true
          },
          "is_sending_email_invoice": {
            "type": "boolean"
          },
          "is_disable_custom_font": {
            "type": "boolean"
          },
          "is_disable_client_tagging": {
            "type": "boolean"
          },
          "client_analytics_config": {
            "type": "string",
            "nullable": true,
            "enum": [
              "head",
              "body_close_delay",
              "web_worker"
            ]
          }
        }
      },
      "LandingPageDisplayRequest": {
        "type": "object",
        "required": [
          "render_mode",
          "meta",
          "onload_fb_events",
          "onload_tiktok_events",
          "onload_kwai_client_events",
          "onload_kwai_server_events",
          "fb_events_onload_parameters",
          "tiktok_events_onload_parameters",
          "kwai_client_events_onload_parameters",
          "kwai_server_events_onload_parameters"
        ],
        "additionalProperties": true,
        "properties": {
          "render_mode": {
            "type": "string",
            "enum": [
              "html_mode",
              "builder"
            ],
            "description": "HTML Mode requests use `html_mode`. Builder payload details are intentionally not documented here and remain unsupported for public integration guidance; use HTML Mode for API-created pages."
          },
          "html_code": {
            "type": "string",
            "description": "Body-only HTML for HTML Mode.",
            "maxLength": 204800
          },
          "css_code": {
            "type": "string",
            "maxLength": 102400
          },
          "js_code": {
            "type": "string",
            "maxLength": 102400
          },
          "additional_head_code": {
            "type": "string",
            "description": "Additional HTML Mode document head code. Supports title, meta, link, style, script, and noscript tags. User-authored entries override managed SEO, crawler, and favicon convenience tags with the same identity, but do not override Scalev runtime tags or the document language.\n"
          },
          "csp_policy": {
            "$ref": "#/components/schemas/HtmlModeCspPolicy"
          },
          "meta": {
            "type": "object",
            "additionalProperties": true
          },
          "form_display": {
            "type": "object",
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/LandingPageFormDisplayRequest"
              }
            ],
            "description": "HTML Checkout configuration. Omit or send null for HTML Sales pages."
          },
          "fb_pixel_ids": {
            "type": "array",
            "description": "Scalev record IDs for Meta/Facebook pixels to attach to this page display. These are the numeric Scalev pixel records, not the provider pixel code. Send an empty array for no Meta/Facebook pixels.\n",
            "items": {
              "type": "integer"
            }
          },
          "tiktok_pixel_ids": {
            "type": "array",
            "description": "Scalev record IDs for TikTok pixels to attach to this page display. These are the numeric Scalev pixel records, not the provider pixel code. Send an empty array for no TikTok pixels.\n",
            "items": {
              "type": "integer"
            }
          },
          "kwai_client_pixel_ids": {
            "type": "array",
            "description": "Scalev record IDs for SnackVideo browser pixels to attach to this page display. Send an empty array for no SnackVideo browser pixels.\n",
            "items": {
              "type": "integer"
            }
          },
          "kwai_server_pixel_ids": {
            "type": "array",
            "description": "Scalev record IDs for SnackVideo Events API pixels to attach to this page display. Send an empty array for no SnackVideo server pixels.\n",
            "items": {
              "type": "integer"
            }
          },
          "onload_fb_events": {
            "type": "array",
            "description": "Meta/Facebook events fired automatically when the page loads.",
            "items": {
              "type": "string"
            }
          },
          "onload_tiktok_events": {
            "type": "array",
            "description": "TikTok events fired automatically when the page loads.",
            "items": {
              "type": "string"
            }
          },
          "onload_kwai_client_events": {
            "type": "array",
            "description": "SnackVideo browser events fired automatically when the page loads.",
            "items": {
              "type": "string"
            }
          },
          "onload_kwai_server_events": {
            "type": "array",
            "description": "SnackVideo server events fired automatically when the page loads.",
            "items": {
              "type": "string"
            }
          },
          "fb_events_onload_parameters": {
            "type": "object",
            "additionalProperties": true
          },
          "tiktok_events_onload_parameters": {
            "type": "object",
            "additionalProperties": true
          },
          "kwai_client_events_onload_parameters": {
            "type": "object",
            "additionalProperties": true
          },
          "kwai_server_events_onload_parameters": {
            "type": "object",
            "additionalProperties": true
          }
        }
      },
      "LandingPageFormDisplayRequest": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "store_id": {
            "type": "integer",
            "description": "Required for HTML Checkout pages. After a page has a saved `store_id`, new displays for that page must use the same `form_display.store_id`; a different store or missing store context is rejected.\n"
          },
          "variant_ids": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "Selected product variants. HTML Checkout requires at least one `variant_id` or `bundle_price_option_id`."
          },
          "bundle_price_option_ids": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "Selected bundle price options. HTML Checkout requires at least one `variant_id` or `bundle_price_option_id`."
          },
          "after_submit_event": {
            "type": "string",
            "enum": [
              "success_page",
              "direct_to_whatsapp",
              "direct_to_custom_whatsapp",
              "other_page",
              "custom_url",
              "is_sending_email_invoice",
              "order_page"
            ]
          },
          "handler_assignment": {
            "type": "string",
            "enum": [
              "rotator",
              "fixed"
            ],
            "description": "Required for `direct_to_whatsapp`. When fixed, send `store_sales_person_id`."
          },
          "store_sales_person_id": {
            "type": "integer",
            "nullable": true
          },
          "custom_phone": {
            "type": "string",
            "description": "Required for `direct_to_custom_whatsapp`."
          },
          "other_page_id": {
            "type": "integer",
            "nullable": true,
            "description": "Required for `other_page`."
          },
          "custom_url": {
            "type": "string",
            "description": "Required for `custom_url`."
          },
          "onsubmit_fb_events": {
            "type": "array",
            "description": "Meta/Facebook events fired after HTML Checkout order creation succeeds.",
            "items": {
              "type": "string"
            }
          },
          "onsubmit_tiktok_events": {
            "type": "array",
            "description": "TikTok events fired after HTML Checkout order creation succeeds.",
            "items": {
              "type": "string"
            }
          },
          "onsubmit_kwai_client_events": {
            "type": "array",
            "description": "SnackVideo browser events fired after HTML Checkout order creation succeeds.",
            "items": {
              "type": "string"
            }
          },
          "onsubmit_kwai_server_events": {
            "type": "array",
            "description": "SnackVideo server events fired after HTML Checkout order creation succeeds.",
            "items": {
              "type": "string"
            }
          },
          "fb_events_onsubmit_parameters": {
            "type": "object",
            "additionalProperties": true
          },
          "tiktok_events_onsubmit_parameters": {
            "type": "object",
            "additionalProperties": true
          },
          "kwai_client_events_onsubmit_parameters": {
            "type": "object",
            "additionalProperties": true
          },
          "kwai_server_events_onsubmit_parameters": {
            "type": "object",
            "additionalProperties": true
          }
        }
      },
      "LandingPageCollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LandingPageSummary"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "LandingPageSimplifiedCollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LandingPageSimpleSummary"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "LandingPageTagCollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "additionalProperties": false
      },
      "LandingPageDisplayCollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LandingPageDisplaySummary"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "LandingPageDisplayValidationResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "valid",
          "validation_warnings",
          "validation_errors"
        ],
        "properties": {
          "valid": {
            "type": "boolean"
          },
          "validation_warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LandingPageDisplayValidationIssue"
            }
          },
          "validation_errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LandingPageDisplayValidationIssue"
            }
          }
        }
      },
      "LandingPageDisplayValidationIssue": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "code",
          "field",
          "message",
          "severity"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "severity": {
            "type": "string",
            "enum": [
              "error",
              "warning"
            ]
          }
        }
      },
      "AnalyticsStandardEvent": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "event_name"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "event_name": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "nullable": true,
            "enum": [
              "client",
              "server"
            ],
            "description": "Present for SnackVideo standard events."
          }
        }
      },
      "AnalyticsStandardEventCollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnalyticsStandardEvent"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "MetaPixelRequest": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "pixel_id": {
            "type": "string",
            "description": "Provider pixel ID from Meta."
          },
          "is_conversion_api": {
            "type": "boolean"
          },
          "conversion_token": {
            "type": "string"
          },
          "test_event_code": {
            "type": "string"
          }
        }
      },
      "MetaPixel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/MetaPixelRequest"
          },
          {
            "type": "object",
            "required": [
              "id",
              "name",
              "pixel_id",
              "errors",
              "display"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "description": "Scalev record ID to use in landing page display configuration."
              },
              "errors": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                }
              },
              "display": {
                "type": "string"
              }
            }
          }
        ]
      },
      "MetaPixelCollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MetaPixel"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "TiktokPixelRequest": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "pixel_id": {
            "type": "string",
            "description": "Provider pixel ID from TikTok."
          },
          "is_conversion_api": {
            "type": "boolean"
          },
          "conversion_token": {
            "type": "string"
          },
          "test_event_code": {
            "type": "string"
          }
        }
      },
      "TiktokPixel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TiktokPixelRequest"
          },
          {
            "type": "object",
            "required": [
              "id",
              "name",
              "pixel_id",
              "errors",
              "display"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "description": "Scalev record ID to use in landing page display configuration."
              },
              "errors": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                }
              },
              "display": {
                "type": "string"
              }
            }
          }
        ]
      },
      "TiktokPixelCollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TiktokPixel"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "KwaiPixelRequest": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "client",
              "server"
            ]
          },
          "pixel_id": {
            "type": "string",
            "description": "Provider pixel ID from SnackVideo."
          },
          "is_test_mode": {
            "type": "boolean"
          },
          "conversion_token": {
            "type": "string"
          }
        }
      },
      "KwaiPixel": {
        "allOf": [
          {
            "$ref": "#/components/schemas/KwaiPixelRequest"
          },
          {
            "type": "object",
            "required": [
              "id",
              "name",
              "type",
              "pixel_id",
              "errors",
              "display"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "description": "Scalev record ID to use in landing page display configuration."
              },
              "errors": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                }
              },
              "display": {
                "type": "string"
              }
            }
          }
        ]
      },
      "KwaiPixelCollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KwaiPixel"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "GtmContainerRequest": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "container_id": {
            "type": "string",
            "description": "Provider GTM container ID."
          }
        }
      },
      "GtmContainer": {
        "allOf": [
          {
            "$ref": "#/components/schemas/GtmContainerRequest"
          },
          {
            "type": "object",
            "required": [
              "id",
              "name",
              "container_id",
              "display"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "description": "Scalev record ID to use in landing page display configuration."
              },
              "display": {
                "type": "string"
              }
            }
          }
        ]
      },
      "GtmContainerCollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GtmContainer"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "BusinessStore": {
        "type": "object",
        "additionalProperties": true,
        "required": [
          "id",
          "unique_id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "description": "Numeric Scalev store database ID."
          },
          "unique_id": {
            "type": "string",
            "description": "Public store unique ID used by storefront routes."
          },
          "uuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "business_id": {
            "type": "integer"
          },
          "is_active": {
            "type": "boolean"
          },
          "is_public": {
            "type": "boolean"
          },
          "logo": {
            "nullable": true,
            "type": "string",
            "description": "Public URL for the store logo when configured."
          },
          "custom_domain": {
            "nullable": true,
            "type": "object",
            "additionalProperties": true
          },
          "payment_methods": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "sub_payment_methods": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "xendit_va_bank_codes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BusinessStoreProduct"
            }
          },
          "bundle_price_options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BusinessStoreBundlePriceOption"
            }
          },
          "bundles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BusinessStoreBundle"
            }
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "last_updated_at": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "BusinessStoreCollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BusinessStore"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "BusinessStoreCreateRequest": {
        "type": "object",
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "custom_domain_id": {
            "nullable": true,
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "BusinessStoreUpdateRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "is_public": {
            "type": "boolean"
          },
          "custom_domain_id": {
            "nullable": true,
            "type": "integer"
          },
          "warehouse_id": {
            "nullable": true,
            "type": "integer"
          },
          "logo": {
            "nullable": true,
            "type": "string",
            "description": "Logo upload value or empty value to clear the logo."
          },
          "is_auto_expire": {
            "type": "boolean"
          },
          "auto_expire_days": {
            "type": "integer"
          },
          "is_discount_editable": {
            "type": "boolean"
          },
          "is_unique_code": {
            "type": "boolean"
          },
          "max_unique_code_amount": {
            "type": "number"
          },
          "is_postal_code": {
            "type": "boolean"
          },
          "postal_code_requirement": {
            "type": "string",
            "enum": [
              "autofill",
              "manual"
            ]
          },
          "is_customer_otp_required": {
            "type": "boolean"
          },
          "is_manual_shipping_cost": {
            "type": "boolean"
          },
          "is_courier_required": {
            "type": "boolean"
          },
          "is_transferproof_required": {
            "type": "boolean"
          },
          "is_dropshipping_allowed": {
            "type": "boolean"
          },
          "is_moota_enabled": {
            "type": "boolean"
          },
          "email_notification_statuses": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "email_reply_to_id": {
            "nullable": true,
            "type": "integer"
          },
          "email_reply_to_assignment": {
            "type": "string",
            "enum": [
              "fixed",
              "rotator"
            ]
          },
          "is_email_new_order": {
            "type": "boolean"
          },
          "is_email_notifications": {
            "type": "boolean"
          },
          "whatsapp_notification_statuses": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "is_whatsapp_new_order": {
            "type": "boolean"
          },
          "is_whatsapp_payment_d1_fu": {
            "type": "boolean"
          },
          "is_whatsapp_payment_d2_fu": {
            "type": "boolean"
          },
          "is_whatsapp_payment_last_fu": {
            "type": "boolean"
          },
          "is_whatsapp_link_download": {
            "type": "boolean"
          },
          "non_cod_purchase_triggers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "cod_purchase_triggers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "capi_purchase_value_type": {
            "type": "string",
            "enum": [
              "gross_revenue",
              "net_revenue",
              "adj_gross_revenue"
            ]
          },
          "days_of_payment_processing": {
            "type": "integer"
          },
          "is_show_download_invoice": {
            "type": "boolean"
          },
          "is_show_whatsapp": {
            "type": "boolean"
          },
          "is_fuc_product_enabled": {
            "type": "boolean"
          },
          "is_fuc_bundle_enabled": {
            "type": "boolean"
          },
          "is_advanced_validation": {
            "type": "boolean"
          },
          "min_name_length": {
            "type": "integer"
          },
          "min_address_length": {
            "type": "integer"
          },
          "max_per_phone": {
            "type": "integer"
          },
          "max_per_ip": {
            "type": "integer"
          },
          "blocked_message": {
            "type": "string"
          },
          "is_order_hard_filter": {
            "type": "boolean"
          },
          "is_customer_spam_filter": {
            "type": "boolean"
          },
          "is_ip_spam_filter": {
            "type": "boolean"
          },
          "is_spam_filter": {
            "type": "boolean"
          },
          "is_use_waba": {
            "type": "boolean"
          },
          "waba_account_id": {
            "nullable": true,
            "type": "integer"
          },
          "greeting_message": {
            "type": "string"
          },
          "inactivity_period": {
            "type": "integer"
          },
          "is_greeting_message_enabled": {
            "type": "boolean"
          },
          "digital_only_complete_type": {
            "type": "string",
            "enum": [
              "auto",
              "when_settled",
              "manual"
            ]
          },
          "auto_other_income": {
            "type": "string"
          },
          "fixed_auto_other_income": {
            "type": "number"
          },
          "other_income_name": {
            "type": "string"
          },
          "dynamic_other_income_cod_type": {
            "type": "string",
            "enum": [
              "fixed",
              "percentage"
            ]
          },
          "dynamic_other_income_cod_default_amount": {
            "type": "number"
          },
          "dynamic_other_income_cod_default_percentage": {
            "type": "number"
          },
          "dynamic_other_income_epayment_type": {
            "type": "string",
            "enum": [
              "fixed",
              "percentage"
            ]
          },
          "dynamic_other_income_epayment_default_amount": {
            "type": "number"
          },
          "dynamic_other_income_epayment_default_percentage": {
            "type": "number"
          },
          "store_courier_other_incomes": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "store_method_other_incomes": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "store_sales_people": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "store_custom_audiences": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        }
      },
      "BusinessStoreVariantSummary": {
        "type": "object",
        "additionalProperties": true,
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "description": "Scalev variant record ID used by checkout/form_display payloads."
          },
          "unique_id": {
            "type": "string"
          },
          "fullname": {
            "type": "string"
          },
          "sku": {
            "type": "string"
          },
          "price": {
            "type": "number"
          }
        }
      },
      "BusinessStoreProduct": {
        "type": "object",
        "additionalProperties": true,
        "required": [
          "id",
          "is_visible"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "display": {
            "type": "string"
          },
          "is_visible": {
            "type": "boolean",
            "description": "Whether this product is visible in this store."
          },
          "variants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BusinessStoreVariantSummary"
            }
          }
        }
      },
      "BusinessStoreProductCollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BusinessStoreProduct"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "BusinessStoreBundlePriceOption": {
        "type": "object",
        "additionalProperties": true,
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "description": "Scalev bundle price option record ID used by checkout/form_display payloads."
          },
          "name": {
            "type": "string"
          },
          "price": {
            "type": "number"
          },
          "is_visible": {
            "type": "boolean",
            "description": "Present on store-scoped bundle responses."
          }
        }
      },
      "BusinessStoreBundle": {
        "type": "object",
        "additionalProperties": true,
        "required": [
          "id",
          "bundle_price_options"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "display": {
            "type": "string"
          },
          "bundle_price_options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BusinessStoreBundlePriceOption"
            }
          }
        }
      },
      "BusinessStoreBundleCollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BusinessStoreBundle"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "BusinessStoreUser": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "integer"
          },
          "fullname": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "phone": {
            "type": "string"
          },
          "avatar": {
            "type": "string"
          }
        }
      },
      "BusinessStoreRole": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "BusinessStoreBusinessUser": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "integer"
          },
          "user": {
            "$ref": "#/components/schemas/BusinessStoreUser"
          },
          "role": {
            "$ref": "#/components/schemas/BusinessStoreRole"
          },
          "business_phone": {
            "type": "string"
          }
        }
      },
      "BusinessStoreSalesPerson": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "percentage",
          "business_user"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "percentage": {
            "type": "number"
          },
          "business_user": {
            "$ref": "#/components/schemas/BusinessStoreBusinessUser"
          },
          "weekly_schedule": {
            "type": "object",
            "additionalProperties": true
          }
        }
      },
      "BusinessStoreSalesPersonCollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BusinessStoreSalesPerson"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "LandingPageTagUpdateRequest": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "tags"
        ],
        "properties": {
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "Promo",
              "Checkout"
            ]
          }
        }
      },
      "LandingPageSimpleSummary": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer"
          },
          "unique_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "is_published": {
            "type": "boolean"
          },
          "published_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "store_id": {
            "type": "integer",
            "nullable": true
          }
        }
      },
      "LandingPageDisplaySummary": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer"
          },
          "version": {
            "type": "integer"
          },
          "schema_version": {
            "type": "integer"
          },
          "render_mode": {
            "type": "string",
            "enum": [
              "html_mode",
              "builder"
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "object",
            "nullable": true,
            "additionalProperties": true
          },
          "is_published": {
            "type": "boolean"
          },
          "published_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "LandingPageSummary": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer"
          },
          "unique_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "render_mode": {
            "type": "string",
            "enum": [
              "builder",
              "html_mode"
            ]
          },
          "is_published": {
            "type": "boolean"
          },
          "published_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "store_id": {
            "type": "integer",
            "nullable": true
          },
          "store": {
            "type": "object",
            "nullable": true,
            "additionalProperties": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "is_pinned": {
            "type": "boolean"
          },
          "created_by": {
            "type": "object",
            "nullable": true,
            "additionalProperties": true
          },
          "last_updated_by": {
            "type": "object",
            "nullable": true,
            "additionalProperties": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "last_updated_at": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "LandingPage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LandingPageSummary"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "uuid": {
                "type": "string"
              },
              "business": {
                "type": "object",
                "nullable": true,
                "additionalProperties": true
              },
              "is_sending_email_invoice": {
                "type": "boolean"
              },
              "is_disable_custom_font": {
                "type": "boolean"
              },
              "is_disable_client_tagging": {
                "type": "boolean"
              },
              "client_analytics_config": {
                "type": "string",
                "nullable": true,
                "enum": [
                  "head",
                  "body_close_delay",
                  "web_worker"
                ]
              },
              "custom_domains": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                }
              },
              "homepage_custom_domains": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                }
              },
              "current_page_display_id": {
                "type": "integer",
                "nullable": true
              },
              "page_display": {
                "type": "object",
                "nullable": true,
                "allOf": [
                  {
                    "$ref": "#/components/schemas/LandingPageDisplay"
                  }
                ]
              }
            }
          }
        ]
      },
      "LandingPagePublic": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer"
          },
          "unique_id": {
            "type": "string"
          },
          "is_published": {
            "type": "boolean"
          },
          "is_sending_email_invoice": {
            "type": "boolean"
          },
          "is_disable_custom_font": {
            "type": "boolean"
          },
          "is_disable_client_tagging": {
            "type": "boolean"
          },
          "client_analytics_config": {
            "type": "string",
            "nullable": true,
            "enum": [
              "head",
              "body_close_delay",
              "web_worker"
            ]
          },
          "business": {
            "type": "object",
            "nullable": true,
            "additionalProperties": true
          },
          "domain_business_id": {
            "type": "integer"
          },
          "is_product_page": {
            "type": "boolean"
          },
          "is_checkout_page": {
            "type": "boolean"
          },
          "use_custom_html": {
            "type": "boolean"
          },
          "window_object": {
            "type": "object",
            "nullable": true,
            "additionalProperties": true
          },
          "current_page_display": {
            "type": "object",
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/LandingPageDisplay"
              }
            ]
          }
        }
      },
      "LandingPageDisplay": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "integer"
          },
          "version": {
            "type": "integer"
          },
          "schema_version": {
            "type": "integer"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "created_by_id": {
            "type": "integer",
            "nullable": true
          },
          "is_published": {
            "type": "boolean"
          },
          "published_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "render_mode": {
            "type": "string",
            "enum": [
              "html_mode",
              "builder"
            ]
          },
          "html_code": {
            "type": "string",
            "nullable": true
          },
          "css_code": {
            "type": "string",
            "nullable": true
          },
          "js_code": {
            "type": "string",
            "nullable": true
          },
          "additional_head_code": {
            "type": "string",
            "nullable": true
          },
          "csp_policy": {
            "$ref": "#/components/schemas/HtmlModeCspPolicy"
          },
          "form_display": {
            "type": "object",
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/LandingPageFormDisplay"
              }
            ]
          },
          "fb_pixels": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "tiktok_pixels": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "kwai_client_pixels": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "kwai_server_pixels": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        }
      },
      "LandingPageFormDisplay": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "integer"
          },
          "store": {
            "type": "object",
            "nullable": true,
            "additionalProperties": true
          },
          "variants": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "bundle_price_options": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "after_submit_event": {
            "type": "string"
          },
          "handler_assignment": {
            "type": "string"
          },
          "store_sales_person": {
            "type": "object",
            "nullable": true,
            "additionalProperties": true
          },
          "custom_phone": {
            "type": "string"
          },
          "other_page": {
            "type": "object",
            "nullable": true,
            "additionalProperties": true
          },
          "custom_url": {
            "type": "string"
          },
          "onsubmit_fb_events": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "onsubmit_tiktok_events": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "onsubmit_kwai_client_events": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "onsubmit_kwai_server_events": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "OAuthBillingEarnings": {
        "type": "object",
        "required": [
          "balance",
          "currency"
        ],
        "properties": {
          "balance": {
            "type": "integer"
          },
          "currency": {
            "type": "string",
            "enum": [
              "IDR"
            ]
          }
        },
        "additionalProperties": false
      },
      "OAuthBillingAction": {
        "type": "object",
        "required": [
          "action_key",
          "label",
          "description",
          "endpoint_templates",
          "required_scopes",
          "reservation_required",
          "capture_rule"
        ],
        "properties": {
          "action_key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "endpoint_templates": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "required_scopes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "reservation_required": {
            "type": "boolean"
          },
          "capture_rule": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "OAuthBillingActionCollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OAuthBillingAction"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "additionalProperties": false
      },
      "OAuthBillingReservation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "expires_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "released_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "captured_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "billing_status": {
            "type": "string"
          },
          "billing_tag": {
            "type": "string"
          },
          "billing_idempotency_key": {
            "type": "string"
          },
          "action_key": {
            "type": "string"
          },
          "amount": {
            "type": "integer"
          },
          "currency": {
            "type": "string"
          },
          "released_reason": {
            "type": "string",
            "nullable": true
          },
          "charge_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "metadata": {
            "type": "object",
            "additionalProperties": true
          },
          "capture_context": {
            "$ref": "#/components/schemas/OAuthBillingCaptureContext"
          },
          "oauth_application_id": {
            "type": "integer"
          },
          "oauth_authorized_business_id": {
            "type": "integer"
          },
          "merchant_business_id": {
            "type": "integer"
          },
          "developer_business_id": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "OAuthBillingReservationCollectionResponseBody": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PaginatedCollectionResponseBody"
          },
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OAuthBillingReservation"
                }
              }
            }
          }
        ]
      },
      "OAuthBillingCharge": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "captured_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "billing_tag": {
            "type": "string"
          },
          "billing_idempotency_key": {
            "type": "string"
          },
          "action_key": {
            "type": "string"
          },
          "gross_amount": {
            "type": "integer"
          },
          "platform_fee_bps": {
            "type": "integer"
          },
          "platform_fee_amount": {
            "type": "integer"
          },
          "developer_net_amount": {
            "type": "integer"
          },
          "currency": {
            "type": "string"
          },
          "reservation_id": {
            "type": "string",
            "format": "uuid"
          },
          "request_id": {
            "type": "string",
            "nullable": true
          },
          "metadata": {
            "type": "object",
            "additionalProperties": true
          },
          "capture_context": {
            "$ref": "#/components/schemas/OAuthBillingCaptureContext"
          },
          "oauth_application_id": {
            "type": "integer"
          },
          "oauth_authorized_business_id": {
            "type": "integer"
          },
          "merchant_business_id": {
            "type": "integer"
          },
          "developer_business_id": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "OAuthBillingChargeCollectionResponseBody": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PaginatedCollectionResponseBody"
          },
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OAuthBillingCharge"
                }
              }
            }
          }
        ]
      },
      "OAuthBillingEarningsEntry": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entry_type": {
            "type": "string"
          },
          "amount": {
            "type": "integer"
          },
          "currency": {
            "type": "string"
          },
          "balance_before": {
            "type": "integer"
          },
          "balance_after": {
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "charge_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "settlement_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "business_id": {
            "type": "integer"
          },
          "oauth_application_id": {
            "type": "integer",
            "nullable": true
          },
          "capture_context": {
            "$ref": "#/components/schemas/OAuthBillingCaptureContext"
          },
          "metadata": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "additionalProperties": false
      },
      "OAuthBillingLedgerCollectionResponseBody": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PaginatedCollectionResponseBody"
          },
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OAuthBillingEarningsEntry"
                }
              }
            }
          }
        ]
      },
      "OAuthBillingSettlement": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "settlement_rail": {
            "type": "string",
            "enum": [
              "xendit"
            ]
          },
          "status": {
            "type": "string"
          },
          "amount": {
            "type": "integer"
          },
          "currency": {
            "type": "string"
          },
          "balance_before": {
            "type": "integer"
          },
          "balance_after": {
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "xendit_transfer_id": {
            "type": "string",
            "nullable": true
          },
          "business_id": {
            "type": "integer"
          },
          "metadata": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "additionalProperties": false
      },
      "OAuthBillingSettlementCollectionResponseBody": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PaginatedCollectionResponseBody"
          },
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OAuthBillingSettlement"
                }
              }
            }
          }
        ]
      },
      "OAuthBillingWithdrawalRequest": {
        "type": "object",
        "required": [
          "amount"
        ],
        "properties": {
          "amount": {
            "type": "integer",
            "minimum": 1
          },
          "settlement_rail": {
            "type": "string",
            "enum": [
              "xendit"
            ],
            "default": "xendit"
          }
        },
        "additionalProperties": false
      },
      "OAuthBillingMerchantContext": {
        "type": "object",
        "description": "Safe merchant-facing OAuth app billing summary returned on Volt transaction payloads. Platform fee, developer net, raw request/response bodies, headers, customer message text, and raw webhook payloads are intentionally excluded.",
        "properties": {
          "application_id": {
            "type": "integer",
            "nullable": true
          },
          "application_name": {
            "type": "string",
            "nullable": true
          },
          "billing_tag": {
            "type": "string",
            "nullable": true
          },
          "action_key": {
            "type": "string",
            "nullable": true
          },
          "action_label": {
            "type": "string",
            "nullable": true
          },
          "reservation_id": {
            "type": "string",
            "nullable": true
          },
          "charge_id": {
            "type": "string",
            "nullable": true
          },
          "request_id": {
            "type": "string",
            "nullable": true
          },
          "billing_idempotency_key": {
            "type": "string",
            "nullable": true
          },
          "merchant_business_id": {
            "type": "integer",
            "nullable": true
          },
          "developer_business_id": {
            "type": "integer",
            "nullable": true
          },
          "oauth_authorized_business_id": {
            "type": "integer",
            "nullable": true
          },
          "amount": {
            "type": "integer",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "response_status": {
            "type": "integer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OAuthBillingCaptureContext": {
        "type": "object",
        "description": "Safe OAuth app billing capture summary returned on developer-facing billing reservation, billing charge, and developer earnings ledger payloads. Raw request/response bodies, headers, customer message text, and raw webhook payloads are intentionally excluded.",
        "properties": {
          "application_id": {
            "type": "integer",
            "nullable": true
          },
          "application_name": {
            "type": "string",
            "nullable": true
          },
          "billing_tag": {
            "type": "string",
            "nullable": true
          },
          "action_key": {
            "type": "string",
            "nullable": true
          },
          "action_label": {
            "type": "string",
            "nullable": true
          },
          "reservation_id": {
            "type": "string",
            "nullable": true
          },
          "charge_id": {
            "type": "string",
            "nullable": true
          },
          "request_id": {
            "type": "string",
            "nullable": true
          },
          "billing_idempotency_key": {
            "type": "string",
            "nullable": true
          },
          "merchant_business_id": {
            "type": "integer",
            "nullable": true
          },
          "developer_business_id": {
            "type": "integer",
            "nullable": true
          },
          "oauth_authorized_business_id": {
            "type": "integer",
            "nullable": true
          },
          "gross_amount": {
            "type": "integer",
            "nullable": true
          },
          "platform_fee_amount": {
            "type": "integer",
            "nullable": true
          },
          "developer_net_amount": {
            "type": "integer",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "response_status": {
            "type": "integer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OAuthBillingRefundRequest": {
        "type": "object",
        "description": "Either `billing_reservation_id` or `billing_charge_id` is required. If both are supplied, they must identify the same captured charge. Refunds are full post-capture reversals.",
        "required": [
          "refund_idempotency_key",
          "reason_code",
          "reason"
        ],
        "properties": {
          "billing_reservation_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "billing_charge_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "refund_idempotency_key": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          },
          "reason_code": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "reason": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000
          },
          "metadata": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "additionalProperties": false
      },
      "OAuthBillingRefundResponseBody": {
        "type": "object",
        "required": [
          "refund_id",
          "billing_charge_id",
          "billing_reservation_id",
          "refund_status",
          "amount",
          "currency",
          "reason_code",
          "reason",
          "merchant_volt_transaction_id",
          "developer_earnings_entry_id",
          "inserted_at"
        ],
        "properties": {
          "refund_id": {
            "type": "string",
            "format": "uuid"
          },
          "billing_charge_id": {
            "type": "string",
            "format": "uuid"
          },
          "billing_reservation_id": {
            "type": "string",
            "format": "uuid"
          },
          "refund_status": {
            "type": "string",
            "enum": [
              "succeeded"
            ]
          },
          "amount": {
            "type": "integer"
          },
          "currency": {
            "type": "string",
            "enum": [
              "IDR"
            ]
          },
          "reason_code": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "merchant_volt_transaction_id": {
            "type": "string",
            "format": "uuid"
          },
          "developer_earnings_entry_id": {
            "type": "string",
            "format": "uuid"
          },
          "inserted_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "RawObjectResponseBody": {
        "type": "object",
        "additionalProperties": true,
        "description": "Raw single-resource success payload for v3."
      },
      "CollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {}
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ],
            "example": false
          }
        },
        "additionalProperties": false,
        "description": "Non-paginated list payload for v3."
      },
      "PaginatedCollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {}
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ],
            "example": true
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": false,
        "description": "Paginated list payload for v3."
      },
      "ApiErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/FlexibleValue"
          },
          "error_code": {
            "type": "string"
          },
          "message": {
            "type": "string",
            "description": "Error-only human-readable detail."
          },
          "errors": {
            "$ref": "#/components/schemas/FlexibleValue"
          }
        },
        "additionalProperties": false
      },
      "GenericJsonObject": {
        "type": "object",
        "additionalProperties": true
      },
      "OrderPrimaryKey": {
        "description": "Canonical UUIDv7 order primary key returned by the partitioned orders table.",
        "type": "string",
        "format": "uuid"
      },
      "OrderLinePrimaryKey": {
        "description": "Canonical UUIDv7 order line primary key returned by the partitioned orderlines table.",
        "type": "string",
        "format": "uuid"
      },
      "OrderPrimaryKeyInput": {
        "description": "Canonical UUIDv7 order primary key. For migrated orders, legacy numeric `core_order.id` values are still accepted as numbers or decimal strings.",
        "oneOf": [
          {
            "type": "string"
          },
          {
            "type": "integer"
          }
        ]
      },
      "WabaAccountCollectionResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WabaAccount"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "additionalProperties": false
      },
      "WabaAccount": {
        "type": "object",
        "required": [
          "id",
          "unique_id",
          "waba_id",
          "phone_number_id",
          "display_phone_number",
          "store"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "unique_id": {
            "type": "string",
            "example": "waba_abc123"
          },
          "waba_id": {
            "type": "string"
          },
          "phone_number_id": {
            "type": "string"
          },
          "display_phone_number": {
            "type": "string"
          },
          "verified_name": {
            "type": "string",
            "nullable": true
          },
          "is_webhooks_subscribed": {
            "type": "boolean"
          },
          "is_pin_enabled": {
            "type": "boolean",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "phone_status": {
            "type": "string",
            "nullable": true
          },
          "store": {
            "description": "Assigned store. `null` when the WABA account is unassigned.",
            "type": "object",
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/WabaAccountStore"
              }
            ]
          },
          "dataset_id": {
            "type": "string",
            "nullable": true
          },
          "marketing_messages_onboarding_status": {
            "type": "string",
            "nullable": true
          },
          "is_on_biz_app": {
            "type": "boolean"
          },
          "runtime_owner": {
            "type": "string",
            "nullable": true
          },
          "updates": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "inserted_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": true
      },
      "WabaAccountStore": {
        "type": "object",
        "required": [
          "id",
          "unique_id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "unique_id": {
            "type": "string",
            "example": "store_abc123"
          },
          "name": {
            "type": "string"
          },
          "logo": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": true
      },
      "OAuthInstallationStatusRequest": {
        "type": "object",
        "required": [
          "token",
          "token_type",
          "client_id",
          "client_secret"
        ],
        "properties": {
          "token": {
            "type": "string",
            "description": "OAuth access or refresh token reference for installation lookup."
          },
          "token_type": {
            "type": "string",
            "enum": [
              "access",
              "refresh"
            ]
          },
          "client_id": {
            "type": "string"
          },
          "client_secret": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "OAuthInstallationLaunchTokenExchangeRequest": {
        "type": "object",
        "required": [
          "launch_token",
          "client_id",
          "client_secret"
        ],
        "properties": {
          "launch_token": {
            "type": "string",
            "description": "Opaque one-time launch token from the Scalev dashboard Manage URL."
          },
          "client_id": {
            "type": "string"
          },
          "client_secret": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "OAuthInstallationStatusBillingTag": {
        "type": "object",
        "required": [
          "billing_tag_id",
          "tag_code",
          "label",
          "price",
          "currency",
          "action_key"
        ],
        "properties": {
          "billing_tag_id": {
            "type": "string",
            "format": "uuid"
          },
          "tag_code": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "price": {
            "type": "integer"
          },
          "currency": {
            "type": "string"
          },
          "action_key": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "OAuthInstallationStatusApplication": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OAuthAuthorizationServerMetadata": {
        "type": "object",
        "additionalProperties": true,
        "required": [
          "issuer",
          "authorization_endpoint",
          "token_endpoint",
          "registration_endpoint",
          "response_types_supported",
          "grant_types_supported",
          "token_endpoint_auth_methods_supported",
          "code_challenge_methods_supported",
          "client_id_metadata_document_supported",
          "scopes_supported"
        ],
        "properties": {
          "issuer": {
            "type": "string",
            "format": "uri",
            "example": "https://api.scalev.com/v3/oauth"
          },
          "authorization_endpoint": {
            "type": "string",
            "format": "uri",
            "example": "https://app.scalev.com/oauth/authorize"
          },
          "token_endpoint": {
            "type": "string",
            "format": "uri",
            "example": "https://api.scalev.com/v3/oauth/token"
          },
          "registration_endpoint": {
            "type": "string",
            "format": "uri",
            "example": "https://api.scalev.com/v3/oauth/register"
          },
          "introspection_endpoint": {
            "type": "string",
            "format": "uri",
            "example": "https://api.scalev.com/v3/oauth/introspect"
          },
          "revocation_endpoint": {
            "type": "string",
            "format": "uri",
            "example": "https://api.scalev.com/v3/oauth/revoke"
          },
          "response_types_supported": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "code"
            ]
          },
          "grant_types_supported": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "authorization_code",
              "refresh_token"
            ]
          },
          "token_endpoint_auth_methods_supported": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "client_secret_post",
                "client_secret_basic",
                "none",
                "private_key_jwt"
              ]
            }
          },
          "code_challenge_methods_supported": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "S256"
            ]
          },
          "client_id_metadata_document_supported": {
            "type": "boolean",
            "example": true
          },
          "scopes_supported": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "OAuthClientRegistrationRequest": {
        "type": "object",
        "additionalProperties": true,
        "required": [
          "redirect_uris"
        ],
        "properties": {
          "client_name": {
            "type": "string",
            "example": "MCP Client"
          },
          "client_uri": {
            "type": "string",
            "format": "uri"
          },
          "logo_uri": {
            "type": "string",
            "format": "uri"
          },
          "redirect_uris": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "format": "uri"
            }
          },
          "grant_types": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "default": [
              "authorization_code"
            ]
          },
          "response_types": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "default": [
              "code"
            ]
          },
          "token_endpoint_auth_method": {
            "type": "string",
            "enum": [
              "client_secret_post",
              "client_secret_basic",
              "none",
              "private_key_jwt"
            ],
            "default": "none"
          },
          "jwks_uri": {
            "type": "string",
            "format": "uri",
            "description": "HTTPS JWKS URL required when registering a `private_key_jwt` client."
          },
          "token_endpoint_auth_signing_alg": {
            "type": "string",
            "enum": [
              "RS256"
            ],
            "description": "JWT assertion signing algorithm for `private_key_jwt` clients."
          }
        }
      },
      "OAuthClientRegistration": {
        "type": "object",
        "additionalProperties": true,
        "required": [
          "client_id",
          "client_name",
          "redirect_uris",
          "grant_types",
          "response_types",
          "token_endpoint_auth_method",
          "client_id_issued_at"
        ],
        "properties": {
          "client_id": {
            "type": "string"
          },
          "client_id_issued_at": {
            "type": "integer",
            "format": "int64",
            "description": "Unix timestamp, in seconds, when this client ID was issued."
          },
          "client_secret": {
            "type": "string",
            "nullable": true,
            "description": "Present only for confidential client registrations. Public clients using `token_endpoint_auth_method=none` do not receive a secret."
          },
          "client_name": {
            "type": "string"
          },
          "client_uri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "logo_uri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "redirect_uris": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri"
            }
          },
          "grant_types": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "response_types": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "token_endpoint_auth_method": {
            "type": "string",
            "enum": [
              "client_secret_post",
              "client_secret_basic",
              "none",
              "private_key_jwt"
            ]
          },
          "jwks_uri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "token_endpoint_auth_signing_alg": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "OAuthTokenRequest": {
        "type": "object",
        "additionalProperties": true,
        "required": [
          "grant_type",
          "client_id"
        ],
        "properties": {
          "grant_type": {
            "type": "string",
            "enum": [
              "authorization_code",
              "refresh_token"
            ]
          },
          "client_id": {
            "type": "string",
            "description": "OAuth application client ID, registered client ID, or HTTPS Client ID Metadata Document URL."
          },
          "client_secret": {
            "type": "string",
            "description": "Required for confidential clients when HTTP Basic auth is not used. Omit for public client registrations using `token_endpoint_auth_method=none` and for clients using `private_key_jwt`."
          },
          "client_assertion_type": {
            "type": "string",
            "description": "Required for `private_key_jwt`; must be `urn:ietf:params:oauth:client-assertion-type:jwt-bearer`."
          },
          "client_assertion": {
            "type": "string",
            "description": "Signed JWT client assertion required for `private_key_jwt`."
          },
          "code": {
            "type": "string",
            "description": "Authorization code, required for `authorization_code`."
          },
          "redirect_uri": {
            "type": "string",
            "format": "uri",
            "description": "Redirect URI used on the authorization request."
          },
          "code_verifier": {
            "type": "string",
            "description": "PKCE code verifier. Required for public clients and recommended for all authorization-code exchanges."
          },
          "refresh_token": {
            "type": "string",
            "description": "Refresh token, required for `refresh_token`."
          },
          "resource": {
            "type": "string",
            "format": "uri",
            "description": "Optional resource audience. Must match the resource requested during authorization when present. Official Scalev MCP DCR/CIMD clients may omit it when the authorization session is already MCP-bound."
          }
        }
      },
      "OAuthInstallationStatusResponseBody": {
        "type": "object",
        "required": [
          "authorized_business_id",
          "client_id",
          "is_active",
          "is_enabled",
          "granted_scopes",
          "webhook_status",
          "granted_webhook_events",
          "approved_billing_tags"
        ],
        "properties": {
          "authorized_business_id": {
            "type": "integer"
          },
          "client_id": {
            "type": "string"
          },
          "is_active": {
            "type": "boolean"
          },
          "is_enabled": {
            "type": "boolean"
          },
          "granted_scopes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "webhook_status": {
            "type": "string",
            "enum": [
              "active",
              "inactive"
            ]
          },
          "granted_webhook_events": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "approved_billing_tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OAuthInstallationStatusBillingTag"
            }
          },
          "application": {
            "$ref": "#/components/schemas/OAuthInstallationStatusApplication"
          },
          "manage_launch_available": {
            "type": "boolean"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "GenericUploadRequest": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "file": {
            "type": "string",
            "format": "binary"
          }
        }
      },
      "CartItemRequest": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/CartVariantItemRequest"
          },
          {
            "$ref": "#/components/schemas/CartBundlePriceOptionItemRequest"
          }
        ],
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "variant": "#/components/schemas/CartVariantItemRequest",
            "bundle_price_option": "#/components/schemas/CartBundlePriceOptionItemRequest"
          }
        }
      },
      "CartVariantItemRequest": {
        "type": "object",
        "required": [
          "type",
          "variant_id"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "variant"
            ]
          },
          "variant_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "quantity": {
            "type": "integer",
            "minimum": 1,
            "default": 1
          }
        },
        "additionalProperties": false
      },
      "CartBundlePriceOptionItemRequest": {
        "type": "object",
        "required": [
          "type",
          "bundle_price_option_id"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "bundle_price_option"
            ]
          },
          "bundle_price_option_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "description": "Bundle price option ID from the storefront catalog."
          },
          "quantity": {
            "type": "integer",
            "minimum": 1,
            "default": 1
          }
        },
        "additionalProperties": false
      },
      "CartItemUpdateRequest": {
        "type": "object",
        "required": [
          "quantity"
        ],
        "properties": {
          "quantity": {
            "type": "integer",
            "minimum": 1
          }
        },
        "additionalProperties": true
      },
      "PasswordRequest": {
        "type": "object",
        "required": [
          "password"
        ],
        "properties": {
          "password": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "ForgetPasswordRequest": {
        "type": "object",
        "description": "Starts a customer password reset. Storefront API reset email links use `http(s)://<allowed-storefront-host>/reset-password?token=<reset-token>`. Browser calls should rely on the registered `Origin` header for reset-link hostname selection; the API falls back to the hosted storefront custom domain when `Origin` is not present.\n",
        "required": [
          "email"
        ],
        "properties": {
          "email": {
            "type": "string",
            "format": "email"
          }
        },
        "additionalProperties": true
      },
      "SavePasswordRequest": {
        "type": "object",
        "required": [
          "token",
          "password"
        ],
        "properties": {
          "token": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "CustomerLoginRequest": {
        "type": "object",
        "required": [
          "email",
          "password"
        ],
        "properties": {
          "email": {
            "type": "string",
            "format": "email"
          },
          "password": {
            "type": "string"
          },
          "login_as": {
            "type": "string",
            "enum": [
              "customer",
              "owner"
            ]
          }
        },
        "additionalProperties": true
      },
      "CustomerLoginOtpChallengeResponseBody": {
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "string",
            "description": "OTP challenge message. Show the OTP entry UI and continue with `POST /v3/stores/{store_id}/public/auth/otp/verify`.",
            "example": "If this email exists in our system, an OTP has been sent to it."
          }
        },
        "additionalProperties": false
      },
      "CustomerAuthTokenResponseBody": {
        "type": "object",
        "required": [
          "access",
          "refresh",
          "token_type",
          "expires_in",
          "refresh_expires_in"
        ],
        "properties": {
          "access": {
            "type": "string",
            "description": "Customer access JWT. Send it as `Authorization: Bearer <token>` to `/v3/stores/{store_id}/customers/me/*`.\n"
          },
          "refresh": {
            "type": "string",
            "description": "Refresh token for `POST /v3/stores/{store_id}/public/auth/jwt/refresh`."
          },
          "token_type": {
            "type": "string",
            "enum": [
              "Bearer"
            ],
            "description": "Token type to use in the `Authorization` header."
          },
          "expires_in": {
            "type": "integer",
            "description": "Access token lifetime in seconds.",
            "example": 900
          },
          "refresh_expires_in": {
            "type": "integer",
            "description": "Refresh token lifetime in seconds. Refresh tokens rotate on every refresh and are single-use.",
            "example": 2592000
          },
          "store_unique_id": {
            "type": "string",
            "nullable": true,
            "description": "Public store unique ID returned by some OTP verification responses."
          }
        },
        "additionalProperties": true
      },
      "CustomerOtpVerifyRequest": {
        "type": "object",
        "required": [
          "email",
          "otp"
        ],
        "properties": {
          "email": {
            "type": "string",
            "format": "email"
          },
          "otp": {
            "type": "string"
          },
          "login_as": {
            "type": "string",
            "enum": [
              "customer",
              "owner"
            ]
          }
        },
        "additionalProperties": true
      },
      "JwtRefreshRequest": {
        "type": "object",
        "required": [
          "refresh"
        ],
        "properties": {
          "refresh": {
            "type": "string",
            "description": "Current customer refresh token. Refresh tokens are single-use; store the new `refresh` returned by this endpoint and discard the previous one."
          }
        },
        "additionalProperties": true
      },
      "JwtBlacklistRequest": {
        "type": "object",
        "required": [
          "tokens"
        ],
        "properties": {
          "tokens": {
            "type": "array",
            "description": "Customer access and refresh tokens to revoke. When a tracked refresh token is supplied, the refresh token family is revoked.",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": true
      },
      "VariantAvailability": {
        "type": "object",
        "required": [
          "variant_id",
          "available",
          "available_qty",
          "stock_status"
        ],
        "properties": {
          "variant_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "available": {
            "type": "boolean"
          },
          "available_qty": {
            "type": "integer",
            "minimum": 0,
            "nullable": true,
            "description": "Null for non-inventory variants with unlimited availability."
          },
          "stock_status": {
            "type": "string",
            "enum": [
              "in_stock",
              "low_stock",
              "out_of_stock"
            ]
          }
        },
        "additionalProperties": false
      },
      "CustomerProfileUpdateRequest": {
        "type": "object",
        "description": "Customer self-profile fields accepted in public v1. Email is read-only.",
        "properties": {
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "date_of_birth": {
            "type": "string",
            "format": "date"
          },
          "sex": {
            "type": "string"
          },
          "is_unsubscribe": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CustomerProfile": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "email": {
            "type": "string",
            "format": "email",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "avatar": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "bio_description": {
            "type": "string",
            "nullable": true
          },
          "date_of_birth": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "sex": {
            "type": "string",
            "nullable": true
          },
          "confirmed_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "last_updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "is_unsubscribe": {
            "type": "boolean"
          },
          "business_id": {
            "type": "integer"
          }
        },
        "additionalProperties": true
      },
      "CustomerProfileStore": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "unique_id": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "is_customer_otp_required": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": true
      },
      "CustomerProfileResponse": {
        "type": "object",
        "required": [
          "customer",
          "store",
          "is_generated_password_reset"
        ],
        "properties": {
          "customer": {
            "$ref": "#/components/schemas/CustomerProfile"
          },
          "store": {
            "$ref": "#/components/schemas/CustomerProfileStore"
          },
          "is_generated_password_reset": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CustomerProfileUpdateResponse": {
        "$ref": "#/components/schemas/CustomerProfileResponse"
      },
      "CustomerPasswordUpdateResponse": {
        "$ref": "#/components/schemas/CustomerProfileResponse"
      },
      "CustomerAddressRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "location_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "address": {
            "type": "string"
          },
          "postal_code": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "CustomerAddress": {
        "type": "object",
        "properties": {
          "id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "format": "email",
            "nullable": true
          },
          "location": {
            "type": "object",
            "nullable": true,
            "properties": {
              "id": {
                "type": "integer"
              },
              "subdistrict_name": {
                "type": "string"
              },
              "city_name": {
                "type": "string"
              },
              "province_name": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "postal_code": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomerAddressListResponse": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerAddress"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": true
      },
      "CustomerCheckoutAddressListResponse": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerAddress"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "additionalProperties": false
      },
      "CustomerCheckoutPaymentAccount": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "method": {
            "type": "string",
            "nullable": true
          },
          "account_number": {
            "type": "string",
            "nullable": true
          },
          "account_holder": {
            "type": "string",
            "nullable": true
          },
          "financial_entity_code": {
            "type": "string",
            "nullable": true
          },
          "financial_entity_name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomerCheckoutPaymentMethodsResponse": {
        "type": "object",
        "required": [
          "payment_methods",
          "xendit_va_bank_codes",
          "payment_accounts"
        ],
        "properties": {
          "payment_methods": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "xendit_va_bank_codes": {
            "type": "object",
            "additionalProperties": true
          },
          "payment_accounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerCheckoutPaymentAccount"
            }
          }
        },
        "additionalProperties": false
      },
      "CustomerCheckoutShippingOptionsRequest": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "description": "Optional direct item source. If supplied, these items are used for the shipping-options calculation. Otherwise `cart_id` selects the authenticated customer's active cart.\n",
            "minItems": 1,
            "maxItems": 50,
            "items": {
              "$ref": "#/components/schemas/StorefrontCheckoutItem"
            }
          },
          "cart_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "description": "Authenticated customer cart ID to use when `items` is omitted."
          },
          "location_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "postal_code": {
            "type": "string"
          },
          "payment_method": {
            "type": "string",
            "description": "Customer checkout payment method code selected by the buyer.",
            "example": "bank_transfer"
          }
        },
        "additionalProperties": true
      },
      "CustomerCheckoutSummaryRequest": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "description": "Optional direct item source. If supplied, these items are used for the checkout summary. Otherwise `cart_id` selects the authenticated customer's active cart.\n",
            "minItems": 1,
            "maxItems": 50,
            "items": {
              "$ref": "#/components/schemas/StorefrontCheckoutItem"
            }
          },
          "cart_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "description": "Authenticated customer cart ID to use when `items` is omitted."
          },
          "location_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "postal_code": {
            "type": "string"
          },
          "shipping_cost": {
            "allOf": [
              {
                "$ref": "#/components/schemas/StorefrontMoneyValue"
              }
            ],
            "description": "Optional compatibility value. Customer checkout summary recomputes the authoritative shipping cost from the selected courier service, warehouse, payment method, destination, and cart items."
          },
          "courier_service_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "warehouse_unique_id": {
            "type": "string",
            "nullable": true
          },
          "courier_aggregator_code": {
            "type": "string",
            "nullable": true
          },
          "shipping_option": {
            "$ref": "#/components/schemas/StorefrontSelectedShippingOption"
          },
          "selected_shipping_option": {
            "$ref": "#/components/schemas/StorefrontSelectedShippingOption"
          },
          "payment_method": {
            "type": "string",
            "description": "Storefront payment method code selected by the buyer.",
            "example": "bank_transfer"
          }
        },
        "additionalProperties": true
      },
      "CustomerCheckoutRequest": {
        "type": "object",
        "required": [
          "payment_method"
        ],
        "properties": {
          "items": {
            "type": "array",
            "description": "Optional direct item source. If supplied, direct items create the order. If `cart_id` is also supplied, the referenced cart is cleared after successful order creation.\n",
            "minItems": 1,
            "maxItems": 50,
            "items": {
              "$ref": "#/components/schemas/StorefrontCheckoutItem"
            }
          },
          "cart_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "description": "Authenticated customer cart ID. Used as the order source when `items` is omitted. When `items` is also supplied, the cart is only cleared after successful order creation.\n"
          },
          "address_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "address": {
            "type": "string"
          },
          "location_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "postal_code": {
            "type": "string"
          },
          "payment_method": {
            "type": "string",
            "description": "Customer checkout payment method code selected by the buyer.",
            "example": "bank_transfer"
          },
          "sub_payment_method": {
            "type": "string",
            "nullable": true
          },
          "courier_service_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "warehouse_unique_id": {
            "type": "string",
            "nullable": true
          },
          "courier_aggregator_code": {
            "type": "string",
            "nullable": true
          },
          "discount_code_code": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomerCheckoutShippingOptionsResponse": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontShippingOption"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "additionalProperties": false
      },
      "CustomerCheckoutSummaryResponse": {
        "$ref": "#/components/schemas/StorefrontCheckoutSummaryResponse"
      },
      "CustomerOrderListResponse": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontCustomerFacingOrder"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "type": "string",
            "nullable": true
          },
          "previous_cursor": {
            "type": "string",
            "nullable": true
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": true
      },
      "CustomerCourseProgress": {
        "type": "object",
        "properties": {
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "progress": {
            "type": "number",
            "format": "float"
          },
          "is_completed": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CustomerCourseContent": {
        "type": "object",
        "properties": {
          "uuid": {
            "type": "string"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "text": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "duration": {
            "type": "integer",
            "nullable": true
          },
          "video_url": {
            "type": "string",
            "nullable": true
          },
          "sequence_order": {
            "type": "integer",
            "nullable": true
          },
          "is_shown": {
            "type": "boolean",
            "nullable": true
          },
          "is_discussion_active": {
            "type": "boolean",
            "nullable": true
          },
          "section_uuid": {
            "type": "string",
            "nullable": true
          },
          "variant_id": {
            "type": "integer",
            "nullable": true
          },
          "boosts": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "progress": {
            "$ref": "#/components/schemas/CustomerCourseProgress"
          },
          "is_notification_enabled": {
            "type": "boolean",
            "nullable": true
          },
          "inserted_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": true
      },
      "CustomerCourseSection": {
        "type": "object",
        "properties": {
          "uuid": {
            "type": "string"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "sequence_order": {
            "type": "integer",
            "nullable": true
          },
          "is_shown": {
            "type": "boolean",
            "nullable": true
          },
          "variant_id": {
            "type": "integer",
            "nullable": true
          },
          "course_contents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerCourseContent"
            }
          },
          "progress": {
            "$ref": "#/components/schemas/CustomerCourseProgress"
          },
          "inserted_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": true
      },
      "CustomerCourseAccessResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "item_type": {
            "type": "string",
            "nullable": true
          },
          "pricing_type": {
            "type": "string",
            "nullable": true
          },
          "interval": {
            "type": "string",
            "nullable": true
          },
          "interval_count": {
            "type": "integer",
            "nullable": true
          },
          "validity_period_unit": {
            "type": "string",
            "nullable": true
          },
          "validity_period": {
            "type": "integer",
            "nullable": true
          },
          "product_id": {
            "type": "integer"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "product_name": {
            "type": "string",
            "nullable": true
          },
          "fullname": {
            "type": "string",
            "nullable": true
          },
          "course_settings": {
            "type": "object",
            "nullable": true,
            "additionalProperties": true
          },
          "course_sections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerCourseSection"
            }
          }
        },
        "additionalProperties": true
      },
      "CustomerCourseProgressUpdateRequest": {
        "type": "object",
        "properties": {
          "progress": {
            "type": "number",
            "format": "float",
            "minimum": 0,
            "maximum": 100
          }
        },
        "additionalProperties": true
      },
      "CustomerCourseProgressUpdateResponse": {
        "$ref": "#/components/schemas/CustomerCourseContent"
      },
      "StorefrontPriceRange": {
        "type": "object",
        "nullable": true,
        "properties": {
          "min": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              }
            ]
          },
          "max": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "StorefrontTaxonomy": {
        "type": "object",
        "nullable": true,
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "full_path": {
            "type": "string"
          }
        }
      },
      "StorefrontCategory": {
        "type": "object",
        "required": [
          "id",
          "name",
          "full_path"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "full_path": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "StorefrontCategoryListResponse": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontCategory"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "additionalProperties": false
      },
      "StorefrontProductCard": {
        "type": "object",
        "required": [
          "id",
          "slug",
          "name",
          "entity_type",
          "item_type",
          "in_stock",
          "price_range",
          "images"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "meta_thumbnail": {
            "type": "string",
            "nullable": true
          },
          "entity_type": {
            "type": "string",
            "enum": [
              "product"
            ]
          },
          "item_type": {
            "type": "string",
            "description": "Product item type."
          },
          "is_multiple": {
            "type": "boolean",
            "nullable": true
          },
          "option1_name": {
            "type": "string",
            "nullable": true
          },
          "option2_name": {
            "type": "string",
            "nullable": true
          },
          "option3_name": {
            "type": "string",
            "nullable": true
          },
          "in_stock": {
            "type": "boolean"
          },
          "price_range": {
            "$ref": "#/components/schemas/StorefrontPriceRange"
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "taxonomy": {
            "$ref": "#/components/schemas/StorefrontTaxonomy"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": true
      },
      "StorefrontItemCountResponse": {
        "type": "object",
        "required": [
          "total"
        ],
        "properties": {
          "total": {
            "type": "integer",
            "minimum": 0
          }
        },
        "additionalProperties": false
      },
      "StorefrontBundlePriceOptionCard": {
        "type": "object",
        "required": [
          "id",
          "bundle_price_option_id",
          "bundle_id",
          "slug",
          "name",
          "entity_type",
          "in_stock",
          "price_range",
          "images"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "description": "Bundle price option ID."
          },
          "bundle_price_option_id": {
            "type": "integer",
            "description": "Bundle price option ID used in cart and checkout payloads."
          },
          "bundle_id": {
            "type": "integer",
            "description": "Owning bundle ID."
          },
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "description": "Public bundle display name."
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "meta_thumbnail": {
            "type": "string",
            "nullable": true
          },
          "entity_type": {
            "type": "string",
            "enum": [
              "bundle_price_option"
            ]
          },
          "is_multiple": {
            "type": "boolean",
            "nullable": true
          },
          "option1_name": {
            "type": "string",
            "nullable": true
          },
          "option2_name": {
            "type": "string",
            "nullable": true
          },
          "option3_name": {
            "type": "string",
            "nullable": true
          },
          "in_stock": {
            "type": "boolean"
          },
          "price_range": {
            "$ref": "#/components/schemas/StorefrontPriceRange"
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "taxonomy": {
            "$ref": "#/components/schemas/StorefrontTaxonomy"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": true
      },
      "StorefrontBundleLine": {
        "type": "object",
        "required": [
          "variant_id",
          "quantity"
        ],
        "properties": {
          "variant_id": {
            "type": "integer"
          },
          "quantity": {
            "type": "integer",
            "minimum": 1
          },
          "variant_name": {
            "type": "string",
            "nullable": true
          },
          "product_name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StorefrontBundlePriceOptionDetail": {
        "allOf": [
          {
            "$ref": "#/components/schemas/StorefrontBundlePriceOptionCard"
          },
          {
            "type": "object",
            "properties": {
              "rich_description": {
                "type": "string",
                "nullable": true
              },
              "bundle_name": {
                "type": "string",
                "description": "Owning bundle name."
              },
              "bundle_price_option_name": {
                "type": "string",
                "description": "Bundle price option display name."
              },
              "price": {
                "$ref": "#/components/schemas/StorefrontMoneyValue"
              },
              "weight_bump": {
                "type": "integer",
                "nullable": true
              },
              "bundlelines": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/StorefrontBundleLine"
                }
              }
            },
            "additionalProperties": true
          }
        ]
      },
      "StorefrontVariant": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "uuid": {
            "type": "string",
            "nullable": true
          },
          "unique_id": {
            "type": "string",
            "nullable": true
          },
          "sku": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "fullname": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "rich_description": {
            "type": "string",
            "nullable": true
          },
          "option1_value": {
            "type": "string",
            "nullable": true
          },
          "option2_value": {
            "type": "string",
            "nullable": true
          },
          "option3_value": {
            "type": "string",
            "nullable": true
          },
          "item_type": {
            "type": "string"
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "price": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              }
            ]
          },
          "pricing_type": {
            "type": "string",
            "nullable": true
          },
          "interval": {
            "type": "string",
            "nullable": true
          },
          "interval_count": {
            "type": "integer",
            "nullable": true
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "is_inventory": {
            "type": "boolean",
            "nullable": true
          },
          "is_active": {
            "type": "boolean",
            "nullable": true
          },
          "weight": {
            "type": "integer",
            "nullable": true
          },
          "metadata": {
            "type": "object",
            "nullable": true,
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "StorefrontVariantPricing": {
        "type": "object",
        "required": [
          "variant_id",
          "price",
          "currency",
          "available",
          "available_qty"
        ],
        "properties": {
          "variant_id": {
            "type": "integer"
          },
          "price": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "available": {
            "type": "boolean"
          },
          "available_qty": {
            "type": "integer",
            "minimum": 0,
            "nullable": true,
            "description": "Null for non-inventory variants with unlimited availability."
          }
        },
        "additionalProperties": false
      },
      "StorefrontVariantPricingResponse": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontVariantPricing"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "additionalProperties": false
      },
      "StorefrontProductDetail": {
        "allOf": [
          {
            "$ref": "#/components/schemas/StorefrontProductCard"
          },
          {
            "type": "object",
            "properties": {
              "rich_description": {
                "type": "string",
                "nullable": true
              },
              "variants": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/StorefrontVariant"
                }
              }
            },
            "additionalProperties": true
          }
        ]
      },
      "StorefrontItemListResponse": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/StorefrontProductCard"
                },
                {
                  "$ref": "#/components/schemas/StorefrontBundlePriceOptionCard"
                }
              ]
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "type": "string",
            "nullable": true
          },
          "previous_cursor": {
            "type": "string",
            "nullable": true
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "StorefrontPaymentMethod": {
        "type": "object",
        "required": [
          "code",
          "label",
          "enabled",
          "requires_redirect"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "Storefront payment method code.",
            "example": "bank_transfer"
          },
          "label": {
            "type": "string",
            "example": "Bank transfer"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          },
          "requires_redirect": {
            "type": "boolean"
          },
          "metadata": {
            "type": "object",
            "additionalProperties": true,
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StorefrontPaymentMethodListResponse": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontPaymentMethod"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "additionalProperties": false
      },
      "StorefrontLocation": {
        "type": "object",
        "required": [
          "id",
          "subdistrict_name",
          "city_name",
          "province_name",
          "display"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "subdistrict_name": {
            "type": "string"
          },
          "city_name": {
            "type": "string"
          },
          "province_name": {
            "type": "string"
          },
          "display": {
            "type": "string",
            "example": "Cempaka Putih, Kota Jakarta Pusat, DKI Jakarta"
          }
        },
        "additionalProperties": false
      },
      "StorefrontLocationListResponse": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontLocation"
            }
          },
          "is_paginated": {
            "type": "boolean"
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "type": "string",
            "nullable": true
          },
          "previous_cursor": {
            "type": "string",
            "nullable": true
          },
          "page_size": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "StorefrontProvince": {
        "type": "object",
        "required": [
          "province_id",
          "province_name"
        ],
        "properties": {
          "province_id": {
            "type": "integer"
          },
          "province_name": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "StorefrontProvinceListResponse": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontProvince"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "additionalProperties": false
      },
      "StorefrontCity": {
        "type": "object",
        "required": [
          "city_id",
          "city_name"
        ],
        "properties": {
          "city_id": {
            "type": "integer"
          },
          "city_name": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "StorefrontCityListResponse": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontCity"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "additionalProperties": false
      },
      "StorefrontPostalCode": {
        "type": "object",
        "required": [
          "postal_code"
        ],
        "properties": {
          "postal_code": {
            "type": "string",
            "example": "10510"
          }
        },
        "additionalProperties": false
      },
      "StorefrontPostalCodeListResponse": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontPostalCode"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "additionalProperties": false
      },
      "LocationPostalCode": {
        "type": "object",
        "required": [
          "postal_code"
        ],
        "properties": {
          "postal_code": {
            "type": "string",
            "example": "10510"
          }
        },
        "additionalProperties": false
      },
      "LocationPostalCodeListResponse": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LocationPostalCode"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "additionalProperties": false
      },
      "GuestCartVariantItem": {
        "type": "object",
        "required": [
          "id",
          "type",
          "variant_id",
          "bundle_price_option_id",
          "quantity"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "type": {
            "type": "string",
            "enum": [
              "variant"
            ]
          },
          "variant_id": {
            "type": "integer"
          },
          "bundle_price_option_id": {
            "type": "integer",
            "nullable": true
          },
          "quantity": {
            "type": "integer",
            "minimum": 1
          }
        },
        "additionalProperties": true
      },
      "GuestCartBundlePriceOptionItem": {
        "type": "object",
        "required": [
          "id",
          "type",
          "variant_id",
          "bundle_price_option_id",
          "quantity"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "type": {
            "type": "string",
            "enum": [
              "bundle_price_option"
            ]
          },
          "variant_id": {
            "type": "integer",
            "nullable": true
          },
          "bundle_price_option_id": {
            "type": "integer"
          },
          "bundle_price_option_slug": {
            "type": "string"
          },
          "bundle_price_option_unique_id": {
            "type": "string"
          },
          "quantity": {
            "type": "integer",
            "minimum": 1
          }
        },
        "additionalProperties": true
      },
      "GuestCartItem": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/GuestCartVariantItem"
          },
          {
            "$ref": "#/components/schemas/GuestCartBundlePriceOptionItem"
          }
        ],
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "variant": "#/components/schemas/GuestCartVariantItem",
            "bundle_price_option": "#/components/schemas/GuestCartBundlePriceOptionItem"
          }
        }
      },
      "GuestCart": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "item_count": {
            "type": "integer"
          },
          "total": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              }
            ]
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GuestCartItem"
            }
          }
        },
        "additionalProperties": true
      },
      "StorefrontCartMergeResponse": {
        "$ref": "#/components/schemas/GuestCart"
      },
      "CustomerCart": {
        "$ref": "#/components/schemas/GuestCart"
      },
      "CustomerCartItemAddResponse": {
        "$ref": "#/components/schemas/CustomerCart"
      },
      "CustomerCartItemUpdateResponse": {
        "$ref": "#/components/schemas/CustomerCart"
      },
      "CustomerCartItemDeleteResponse": {
        "$ref": "#/components/schemas/CustomerCart"
      },
      "StorefrontCheckoutItem": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/StorefrontCheckoutVariantItem"
          },
          {
            "$ref": "#/components/schemas/StorefrontCheckoutBundlePriceOptionItem"
          }
        ],
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "variant": "#/components/schemas/StorefrontCheckoutVariantItem",
            "bundle_price_option": "#/components/schemas/StorefrontCheckoutBundlePriceOptionItem"
          }
        }
      },
      "StorefrontCheckoutVariantItem": {
        "type": "object",
        "required": [
          "type",
          "variant_id",
          "quantity"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "variant"
            ]
          },
          "variant_id": {
            "type": "integer",
            "minimum": 1
          },
          "quantity": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          }
        },
        "additionalProperties": false
      },
      "StorefrontCheckoutBundlePriceOptionItem": {
        "type": "object",
        "required": [
          "type",
          "bundle_price_option_id",
          "quantity"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "bundle_price_option"
            ]
          },
          "bundle_price_option_id": {
            "type": "integer",
            "minimum": 1,
            "description": "Bundle price option ID from the storefront catalog."
          },
          "quantity": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          }
        },
        "additionalProperties": false
      },
      "PublicCheckoutRequest": {
        "type": "object",
        "required": [
          "customer_name",
          "customer_email",
          "payment_method"
        ],
        "properties": {
          "items": {
            "type": "array",
            "description": "Optional direct item source. If supplied, direct items create the order. If `X-Scalev-Guest-Token` references a guest cart, that cart is cleared after successful order creation. If omitted, the guest cart referenced by `X-Scalev-Guest-Token` creates the order.\n",
            "minItems": 1,
            "maxItems": 50,
            "items": {
              "$ref": "#/components/schemas/StorefrontCheckoutItem"
            }
          },
          "customer_name": {
            "type": "string",
            "maxLength": 200
          },
          "customer_email": {
            "type": "string",
            "format": "email",
            "maxLength": 254
          },
          "customer_phone": {
            "type": "string",
            "maxLength": 20,
            "nullable": true
          },
          "shipping_address": {
            "type": "string",
            "nullable": true
          },
          "shipping_province": {
            "type": "string",
            "nullable": true
          },
          "shipping_city": {
            "type": "string",
            "nullable": true
          },
          "shipping_subdistrict": {
            "type": "string",
            "nullable": true
          },
          "shipping_postal_code": {
            "type": "string",
            "nullable": true
          },
          "shipping_location_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "address": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "location": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "location_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "postal_code": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "payment_method": {
            "type": "string",
            "description": "Storefront payment method code selected by the buyer.",
            "example": "bank_transfer"
          },
          "sub_payment_method": {
            "type": "string",
            "nullable": true
          },
          "courier_service_id": {
            "type": "integer",
            "nullable": true
          },
          "warehouse_unique_id": {
            "type": "string",
            "nullable": true
          },
          "courier_aggregator_code": {
            "type": "string",
            "nullable": true
          },
          "discount_code_code": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PagePublicOrderVariantItem": {
        "type": "object",
        "required": [
          "variant_unique_id",
          "quantity"
        ],
        "properties": {
          "variant_unique_id": {
            "type": "string",
            "description": "Variant unique ID from `Scalev.data.get().store.products`.",
            "example": "variant_x7f2a9"
          },
          "quantity": {
            "type": "integer",
            "minimum": 1,
            "example": 1
          },
          "orderline_discount": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          }
        },
        "additionalProperties": true
      },
      "PagePublicOrderBundleItem": {
        "type": "object",
        "required": [
          "bundle_price_option_unique_id",
          "quantity"
        ],
        "properties": {
          "bundle_price_option_unique_id": {
            "type": "string",
            "description": "Bundle price option unique ID from `Scalev.data.get().store.bundle_price_options`.",
            "example": "bundle_price_option_p4k8q2"
          },
          "quantity": {
            "type": "integer",
            "minimum": 1,
            "example": 1
          }
        },
        "additionalProperties": true
      },
      "PagePublicCheckoutCustomer": {
        "type": "object",
        "description": "Buyer contact details submitted by an HTML Mode page.",
        "required": [
          "name",
          "phone"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 200,
            "example": "Raka Tester"
          },
          "phone": {
            "type": "string",
            "maxLength": 20,
            "example": "08123456789"
          },
          "email": {
            "type": "string",
            "format": "email",
            "nullable": true,
            "example": "raka@example.com"
          }
        },
        "additionalProperties": true
      },
      "PagePublicCheckoutDestination": {
        "type": "object",
        "description": "Buyer destination submitted by an HTML Mode page.",
        "properties": {
          "address": {
            "type": "string",
            "nullable": true,
            "example": "Jl. Kopi No. 1"
          },
          "subdistrict_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "description": "Destination subdistrict ID.",
            "example": 3171010
          },
          "postal_code": {
            "type": "string",
            "nullable": true,
            "example": "10510"
          }
        },
        "additionalProperties": true
      },
      "PagePublicCheckoutItem": {
        "type": "object",
        "description": "Product or bundle item selected by an HTML Mode page.",
        "required": [
          "type",
          "quantity"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "product",
              "bundle"
            ],
            "example": "product"
          },
          "variant_unique_id": {
            "type": "string",
            "description": "Required when `type` is `product`.",
            "example": "variant_x7f2a9"
          },
          "bundle_price_option_unique_id": {
            "type": "string",
            "description": "Required when `type` is `bundle`.",
            "example": "bundle_price_option_p4k8q2"
          },
          "quantity": {
            "type": "integer",
            "minimum": 1,
            "example": 1
          }
        },
        "additionalProperties": true
      },
      "PagePublicOrderCreateRequest": {
        "type": "object",
        "description": "HTML Mode public order payload. Use `customer`, `destination`, and one combined `items` list for checkout details. Pass the chosen option returned by `shippingOptions` as `shipping_option`. The API ignores any supplied `page_unique_id` or `store_unique_id` and uses the path page plus the authenticated page API key instead.\n",
        "properties": {
          "form": {
            "type": "object",
            "nullable": true,
            "additionalProperties": true
          },
          "customer": {
            "$ref": "#/components/schemas/PagePublicCheckoutCustomer"
          },
          "destination": {
            "$ref": "#/components/schemas/PagePublicCheckoutDestination"
          },
          "items": {
            "type": "array",
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/PagePublicCheckoutItem"
            }
          },
          "payment_method": {
            "type": "string",
            "description": "Public order payment method code.",
            "example": "bank_transfer"
          },
          "sub_payment_method": {
            "type": "string",
            "nullable": true,
            "example": "BCA"
          },
          "payment_account_unique_id": {
            "type": "string",
            "nullable": true
          },
          "shipping_option": {
            "$ref": "#/components/schemas/StorefrontShippingOption"
          },
          "product_discount": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "shipping_discount": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "discount_code_code": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "transferproof_url": {
            "type": "string",
            "nullable": true
          },
          "cart_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "recaptcha_token": {
            "type": "string",
            "nullable": true,
            "description": "Runtime-generated form reCAPTCHA token."
          },
          "event_source_url": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "fbc": {
            "type": "string",
            "nullable": true
          },
          "fbp": {
            "type": "string",
            "nullable": true
          },
          "ttclid": {
            "type": "string",
            "nullable": true
          },
          "gclid": {
            "type": "string",
            "nullable": true
          },
          "ttp": {
            "type": "string",
            "nullable": true
          },
          "kwai_clickid": {
            "type": "string",
            "nullable": true
          },
          "utm_source": {
            "type": "string",
            "nullable": true
          },
          "utm_medium": {
            "type": "string",
            "nullable": true
          },
          "utm_campaign": {
            "type": "string",
            "nullable": true
          },
          "utm_content": {
            "type": "string",
            "nullable": true
          },
          "utm_term": {
            "type": "string",
            "nullable": true
          },
          "affiliate_code": {
            "type": "string",
            "nullable": true
          },
          "channel_unique_id": {
            "type": "string",
            "nullable": true
          },
          "metadata": {
            "type": "object",
            "nullable": true,
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "PagePublicCheckoutShippingOptionsRequest": {
        "type": "object",
        "description": "HTML Mode checkout payload used by `Scalev.checkout.shippingOptions(payload)`. Use one combined `items` list for item selection; the path page and page API key determine the store context.\n",
        "properties": {
          "items": {
            "type": "array",
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/PagePublicCheckoutItem"
            }
          },
          "destination": {
            "$ref": "#/components/schemas/PagePublicCheckoutDestination"
          },
          "payment_method": {
            "type": "string",
            "example": "bank_transfer"
          }
        },
        "additionalProperties": true
      },
      "PagePublicCheckoutSummaryRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PagePublicCheckoutShippingOptionsRequest"
          },
          {
            "type": "object",
            "description": "HTML Mode checkout summary payload. Pass the option returned by `shippingOptions` as `shipping_option` when the checkout contains physical items.\n",
            "properties": {
              "shipping_option": {
                "$ref": "#/components/schemas/StorefrontShippingOption"
              }
            },
            "additionalProperties": true
          }
        ]
      },
      "PagePublicDiscountCodeCheckRequest": {
        "type": "object",
        "required": [
          "code"
        ],
        "description": "HTML Mode discount check payload used by `Scalev.checkout.validateDiscount(payload)`.\n",
        "properties": {
          "code": {
            "type": "string",
            "example": "SAVE10"
          },
          "gross_revenue": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "net_product_price": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "shipping_cost": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "payment_method": {
            "type": "string",
            "example": "bank_transfer"
          },
          "domain": {
            "type": "string",
            "nullable": true,
            "description": "Browser hostname supplied by the runtime."
          }
        },
        "additionalProperties": true
      },
      "StorefrontCheckoutDestination": {
        "type": "object",
        "required": [
          "location_id",
          "postal_code"
        ],
        "properties": {
          "location_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "postal_code": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "StorefrontCheckoutShippingOptionsRequest": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "description": "Optional direct item source. If supplied, these items are used for the shipping-options calculation. Otherwise the guest cart referenced by `X-Scalev-Guest-Token` is used.\n",
            "minItems": 1,
            "maxItems": 50,
            "items": {
              "$ref": "#/components/schemas/StorefrontCheckoutItem"
            }
          },
          "destination": {
            "$ref": "#/components/schemas/StorefrontCheckoutDestination"
          },
          "payment_method": {
            "type": "string",
            "example": "bank_transfer"
          }
        },
        "additionalProperties": true
      },
      "StorefrontShippingOption": {
        "type": "object",
        "required": [
          "courier_service_id",
          "courier_code",
          "service_code",
          "name",
          "cost",
          "etd",
          "is_cod",
          "warehouse_unique_id",
          "courier_aggregator_code"
        ],
        "properties": {
          "courier_service_id": {
            "type": "integer"
          },
          "courier_code": {
            "type": "string",
            "example": "jne"
          },
          "service_code": {
            "type": "string",
            "example": "REG"
          },
          "name": {
            "type": "string",
            "example": "Regular"
          },
          "cost": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "etd": {
            "type": "string",
            "nullable": true,
            "description": "Estimated delivery time returned by the courier integration."
          },
          "is_cod": {
            "type": "boolean"
          },
          "warehouse_unique_id": {
            "type": "string"
          },
          "courier_aggregator_code": {
            "type": "string",
            "nullable": true
          },
          "logo_url": {
            "type": "string",
            "format": "uri",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StorefrontCheckoutShippingOptionsResponse": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontShippingOption"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "additionalProperties": false
      },
      "StorefrontSelectedShippingOption": {
        "type": "object",
        "properties": {
          "courier_service_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "warehouse_unique_id": {
            "type": "string"
          },
          "courier_aggregator_code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": true
      },
      "StorefrontCheckoutSummaryRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/StorefrontCheckoutShippingOptionsRequest"
          },
          {
            "type": "object",
            "properties": {
              "courier_service_id": {
                "oneOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "string"
                  }
                ]
              },
              "warehouse_unique_id": {
                "type": "string"
              },
              "courier_aggregator_code": {
                "type": "string",
                "nullable": true
              },
              "shipping_option": {
                "$ref": "#/components/schemas/StorefrontSelectedShippingOption"
              },
              "selected_shipping_option": {
                "$ref": "#/components/schemas/StorefrontSelectedShippingOption"
              },
              "shipping_cost": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/StorefrontMoneyValue"
                  }
                ],
                "description": "Ignored by the API. Shipping cost is recomputed from the selected courier service and destination."
              }
            },
            "additionalProperties": true
          }
        ]
      },
      "StorefrontCheckoutSummaryResponse": {
        "type": "object",
        "required": [
          "product_price",
          "shipping_cost",
          "other_income",
          "other_income_name",
          "gross_revenue"
        ],
        "properties": {
          "product_price": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "shipping_cost": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "other_income": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "other_income_name": {
            "type": "string",
            "nullable": true
          },
          "gross_revenue": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          }
        },
        "additionalProperties": false
      },
      "StorefrontMoneyValue": {
        "oneOf": [
          {
            "type": "string",
            "nullable": true
          },
          {
            "type": "number"
          }
        ]
      },
      "StorefrontPublicOrder": {
        "type": "object",
        "required": [
          "id",
          "secret_slug",
          "public_order_url",
          "payment_url",
          "order_id",
          "status",
          "payment_status",
          "payment_method",
          "gross_revenue",
          "product_price",
          "shipping_cost",
          "pg_payment_info",
          "orderlines"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/OrderPrimaryKey"
          },
          "business": {
            "type": "object",
            "nullable": true,
            "additionalProperties": false,
            "properties": {
              "username": {
                "type": "string",
                "nullable": true
              },
              "contact_email": {
                "type": "string",
                "nullable": true
              },
              "aff_code": {
                "type": "string",
                "nullable": true
              },
              "logo": {
                "type": "string",
                "nullable": true
              }
            }
          },
          "secret_slug": {
            "type": "string"
          },
          "public_order_url": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "payment_url": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "order_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "payment_status": {
            "type": "string",
            "nullable": true
          },
          "is_probably_spam": {
            "type": "boolean",
            "nullable": true
          },
          "draft_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "paid_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "transfer_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "transferproof_url": {
            "type": "string",
            "nullable": true
          },
          "handler_phone": {
            "type": "string",
            "nullable": true
          },
          "chat_message": {
            "type": "string",
            "nullable": true
          },
          "customer_id": {
            "type": "integer",
            "nullable": true
          },
          "discount_code_code": {
            "type": "string",
            "nullable": true
          },
          "page": {
            "type": "object",
            "nullable": true,
            "additionalProperties": false,
            "properties": {
              "slug": {
                "type": "string",
                "nullable": true
              }
            }
          },
          "gross_revenue": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "product_price": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "product_discount": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "shipping_cost": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "shipping_discount": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "other_income": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "other_income_name": {
            "type": "string",
            "nullable": true
          },
          "unique_code_discount": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "discount_code_discount": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "pg_payment_info": {
            "type": "object",
            "additionalProperties": true,
            "description": "Buyer-facing payment gateway payload. Manual methods such as `bank_transfer` and `cod` can return an empty object. Virtual account methods expose provider reference and account details under the provider's `payment_method` object. QRIS responses expose QR data or a QR image payload. E-wallet, card, and invoice methods may expose provider actions or hosted provider URLs. SingaPay payments use normalized keys such as `payment_url`, `deeplink_url`, `qr_string`, `qr_image_url`, `va_number`, and `va_name`.\n"
          },
          "status_history": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "payment_method": {
            "type": "string",
            "example": "bank_transfer"
          },
          "sub_payment_method": {
            "type": "string",
            "nullable": true
          },
          "epayment_provider": {
            "type": "string",
            "nullable": true,
            "description": "E-payment provider. Possible values include `xendit`, `duitku`, `midtrans`, `ipaymu`, and `singapay`."
          },
          "payment_account_holder": {
            "type": "string",
            "nullable": true
          },
          "payment_account_number": {
            "type": "string",
            "nullable": true
          },
          "shipment_status_history": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "timestamp_source": {
                  "type": "string",
                  "nullable": true
                },
                "status": {
                  "type": "string",
                  "nullable": true
                },
                "description": {
                  "type": "string",
                  "nullable": true
                }
              }
            }
          },
          "shipment_receipt": {
            "type": "string",
            "nullable": true
          },
          "courier_service": {
            "type": "object",
            "nullable": true,
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string",
                "nullable": true
              },
              "courier": {
                "type": "object",
                "nullable": true,
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "type": "string",
                    "nullable": true
                  }
                }
              }
            }
          },
          "variants": {
            "type": "object",
            "additionalProperties": true
          },
          "bundle_price_options": {
            "type": "object",
            "additionalProperties": true
          },
          "orderlines": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "quantity": {
                  "type": "integer"
                },
                "product_name": {
                  "type": "string",
                  "nullable": true
                },
                "item_type": {
                  "type": "string",
                  "nullable": true
                },
                "variant_option1_value": {
                  "type": "string",
                  "nullable": true
                },
                "variant_option2_value": {
                  "type": "string",
                  "nullable": true
                },
                "variant_option3_value": {
                  "type": "string",
                  "nullable": true
                },
                "variant_price": {
                  "$ref": "#/components/schemas/StorefrontMoneyValue"
                }
              }
            }
          },
          "payment_expiration_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "store_custom_domain": {
            "type": "object",
            "nullable": true,
            "additionalProperties": false,
            "properties": {
              "full_url": {
                "type": "string",
                "nullable": true
              }
            }
          },
          "store": {
            "type": "object",
            "nullable": true,
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string",
                "nullable": true
              },
              "payment_accounts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "type": "integer"
                    },
                    "account_holder": {
                      "type": "string",
                      "nullable": true
                    },
                    "account_number": {
                      "type": "string",
                      "nullable": true
                    },
                    "method": {
                      "type": "string",
                      "nullable": true
                    },
                    "financial_entity": {
                      "type": "object",
                      "nullable": true,
                      "additionalProperties": false,
                      "properties": {
                        "id": {
                          "type": "integer"
                        },
                        "code": {
                          "type": "string",
                          "nullable": true
                        },
                        "name": {
                          "type": "string",
                          "nullable": true
                        }
                      }
                    }
                  }
                }
              },
              "custom_domain": {
                "type": "object",
                "nullable": true,
                "additionalProperties": false,
                "properties": {
                  "full_url": {
                    "type": "string",
                    "nullable": true
                  }
                }
              },
              "days_of_payment_processing": {
                "type": "integer",
                "nullable": true
              },
              "is_auto_expire": {
                "type": "boolean",
                "nullable": true
              },
              "auto_expire_days": {
                "type": "integer",
                "nullable": true
              },
              "is_show_whatsapp": {
                "type": "boolean",
                "nullable": true
              },
              "is_show_download_invoice": {
                "type": "boolean",
                "nullable": true
              }
            }
          },
          "destination_address": {
            "type": "object",
            "nullable": true,
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string",
                "nullable": true
              },
              "phone": {
                "type": "string",
                "nullable": true
              },
              "address": {
                "type": "string",
                "nullable": true
              },
              "subdistrict": {
                "type": "string",
                "nullable": true
              },
              "city": {
                "type": "string",
                "nullable": true
              },
              "province": {
                "type": "string",
                "nullable": true
              }
            }
          },
          "customer": {
            "type": "object",
            "nullable": true,
            "additionalProperties": false,
            "properties": {
              "email": {
                "type": "string",
                "nullable": true
              }
            }
          }
        },
        "additionalProperties": true
      },
      "StorefrontCustomerFacingOrder": {
        "type": "object",
        "description": "Flat buyer-facing order DTO for Storefront API and customer account responses. It keeps the order identity, buyer-owned customer/address data, payment display fields, delivery status, totals including `gross_revenue`, line items, and a small compatibility subset used by the Scalev customer portal (`store.name`, `store.logo`, `store.unique_id`, store display flags, `final_variants`, `status_history`, and dropshipper display totals). It omits business/operator analytics, net revenue, platform fee, provider, CRM, affiliate, and other raw internals.",
        "required": [
          "id",
          "secret_slug",
          "public_order_url",
          "payment_url",
          "order_id",
          "store",
          "customer",
          "status",
          "payment_status",
          "payment_method",
          "pg_payment_info",
          "product_price",
          "gross_revenue",
          "final_variants",
          "shipping_cost",
          "orderlines"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/OrderPrimaryKey"
          },
          "secret_slug": {
            "type": "string"
          },
          "public_order_url": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "payment_url": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "order_id": {
            "type": "string"
          },
          "store": {
            "$ref": "#/components/schemas/StorefrontCustomerFacingStore"
          },
          "customer": {
            "$ref": "#/components/schemas/StorefrontCustomerFacingCustomer"
          },
          "status": {
            "type": "string"
          },
          "draft_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pending_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "confirmed_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "in_process_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "ready_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "shipped_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "completed_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "rts_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "canceled_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "closed_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "unpaid_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "paid_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "transfer_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "last_updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "status_history": {
            "type": "array",
            "description": "Buyer-visible order status timeline retained for Scalev customer portal compatibility.",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "payment_status": {
            "type": "string",
            "nullable": true
          },
          "payment_method": {
            "type": "string",
            "example": "bank_transfer"
          },
          "sub_payment_method": {
            "type": "string",
            "nullable": true
          },
          "payment_account_holder": {
            "type": "string",
            "nullable": true
          },
          "payment_account_number": {
            "type": "string",
            "nullable": true
          },
          "transferproof_url": {
            "type": "string",
            "nullable": true
          },
          "pg_payment_info": {
            "type": "object",
            "additionalProperties": true
          },
          "total_quantity": {
            "type": "integer",
            "nullable": true
          },
          "unique_code_discount": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "discount_code_discount": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "discount_code_code": {
            "type": "string",
            "nullable": true
          },
          "discount_code_applied_to": {
            "type": "string",
            "nullable": true
          },
          "product_price": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "product_discount": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "other_income_name": {
            "type": "string",
            "nullable": true
          },
          "other_income": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "gross_revenue": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "gross_revenue_for_dropshipper": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "discount_rate": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "shipping_cost": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "shipping_discount": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "destination_address": {
            "$ref": "#/components/schemas/StorefrontCustomerFacingDestinationAddress"
          },
          "final_variants": {
            "type": "object",
            "description": "Product-name to quantity map retained for Scalev customer portal order list compatibility. Use `orderlines` for new integrations.",
            "additionalProperties": {
              "type": "integer"
            }
          },
          "product_weight": {
            "type": "integer",
            "nullable": true
          },
          "total_weight": {
            "type": "integer",
            "nullable": true
          },
          "is_dropshipping": {
            "type": "boolean",
            "nullable": true
          },
          "courier_service": {
            "$ref": "#/components/schemas/StorefrontCustomerFacingCourierService"
          },
          "shipment_receipt": {
            "type": "string",
            "nullable": true
          },
          "shipment_status": {
            "type": "string",
            "nullable": true
          },
          "awb_status": {
            "type": "string",
            "nullable": true
          },
          "shipment_status_history": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "orderlines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontCustomerFacingOrderLine"
            }
          },
          "notes": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StorefrontCustomerFacingStore": {
        "type": "object",
        "nullable": true,
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "logo": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "unique_id": {
            "type": "string",
            "nullable": true
          },
          "payment_accounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontCustomerFacingPaymentAccount"
            }
          },
          "days_of_payment_processing": {
            "type": "integer",
            "nullable": true
          },
          "is_auto_expire": {
            "type": "boolean",
            "nullable": true
          },
          "auto_expire_days": {
            "type": "integer",
            "nullable": true
          },
          "is_show_whatsapp": {
            "type": "boolean",
            "nullable": true
          },
          "is_show_download_invoice": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StorefrontCustomerFacingPaymentAccount": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "unique_id": {
            "type": "string",
            "nullable": true
          },
          "method": {
            "type": "string",
            "nullable": true
          },
          "account_holder": {
            "type": "string",
            "nullable": true
          },
          "account_number": {
            "type": "string",
            "nullable": true
          },
          "financial_entity": {
            "$ref": "#/components/schemas/StorefrontCustomerFacingFinancialEntity"
          }
        },
        "additionalProperties": false
      },
      "StorefrontCustomerFacingFinancialEntity": {
        "type": "object",
        "nullable": true,
        "properties": {
          "id": {
            "type": "integer"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "entity_type": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "platform": {
            "type": "string",
            "nullable": true
          },
          "duitku_code": {
            "type": "string",
            "nullable": true
          },
          "xendit_code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StorefrontCustomerFacingCustomer": {
        "type": "object",
        "nullable": true,
        "properties": {
          "id": {
            "type": "integer"
          },
          "email": {
            "type": "string",
            "format": "email",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "confirmed_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "last_updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StorefrontCustomerFacingDestinationAddress": {
        "type": "object",
        "nullable": true,
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "location": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "subdistrict": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "province": {
            "type": "string",
            "nullable": true
          },
          "postal_code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StorefrontCustomerFacingCourierService": {
        "type": "object",
        "nullable": true,
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "courier": {
            "$ref": "#/components/schemas/StorefrontCustomerFacingCourier"
          }
        },
        "additionalProperties": false
      },
      "StorefrontCustomerFacingCourier": {
        "type": "object",
        "nullable": true,
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StorefrontCustomerFacingOrderLine": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/OrderLinePrimaryKey"
          },
          "quantity": {
            "type": "integer"
          },
          "variant": {
            "type": "integer",
            "nullable": true
          },
          "product_name": {
            "type": "string",
            "nullable": true
          },
          "item_type": {
            "type": "string",
            "nullable": true
          },
          "is_file_enabled": {
            "type": "boolean"
          },
          "is_lms_enabled": {
            "type": "boolean"
          },
          "is_license_enabled": {
            "type": "boolean"
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "pricing_type": {
            "type": "string",
            "nullable": true
          },
          "interval": {
            "type": "string",
            "nullable": true
          },
          "interval_count": {
            "type": "integer",
            "nullable": true
          },
          "variant_sku": {
            "type": "string",
            "nullable": true
          },
          "variant_option1_value": {
            "type": "string",
            "nullable": true
          },
          "variant_option2_value": {
            "type": "string",
            "nullable": true
          },
          "variant_option3_value": {
            "type": "string",
            "nullable": true
          },
          "variant_price": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "product_price": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "discount": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "discount_code_discount": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "weight": {
            "type": "integer",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StorefrontPublicOrderUpdateRequest": {
        "type": "object",
        "description": "Buyer-facing public order update payload, primarily for payment proof and public order metadata updates.",
        "properties": {
          "transferproof_url": {
            "type": "string",
            "nullable": true
          },
          "transfer_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "financial_entity_id": {
            "type": "integer",
            "nullable": true,
            "description": "Financial entity selected from `store.payment_accounts[].financial_entity.id`."
          },
          "payment_account": {
            "type": "string",
            "nullable": true,
            "description": "Optional payment account unique ID selected by the buyer."
          },
          "payment_account_holder": {
            "type": "string",
            "nullable": true
          },
          "payment_account_number": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": true
      },
      "StorefrontPublicOrderTransferProofUploadRequest": {
        "type": "object",
        "required": [
          "filename",
          "content_type",
          "content_length"
        ],
        "properties": {
          "filename": {
            "type": "string",
            "example": "transfer-proof.png"
          },
          "content_type": {
            "type": "string",
            "enum": [
              "image/jpeg",
              "image/png",
              "image/webp"
            ]
          },
          "content_length": {
            "type": "integer",
            "minimum": 1,
            "maximum": 10485760,
            "description": "File size in bytes. Maximum 10 MB."
          }
        },
        "additionalProperties": false
      },
      "StorefrontPublicOrderTransferProofUpload": {
        "type": "object",
        "required": [
          "key",
          "filename",
          "content_type",
          "size_in_bytes",
          "file_url",
          "upload_url"
        ],
        "properties": {
          "key": {
            "type": "string",
            "description": "Storage object key created by Scalev."
          },
          "filename": {
            "type": "string"
          },
          "content_type": {
            "type": "string"
          },
          "size_in_bytes": {
            "type": "integer"
          },
          "file_url": {
            "type": "string",
            "format": "uri",
            "description": "Public file URL to send as `transferproof_url` after upload succeeds."
          },
          "upload_url": {
            "type": "string",
            "format": "uri",
            "description": "Presigned URL for direct `PUT` upload."
          }
        },
        "additionalProperties": false
      },
      "StorefrontDiscountCode": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "business_id": {
            "type": "integer"
          },
          "is_enabled": {
            "type": "boolean"
          },
          "code": {
            "type": "string"
          },
          "applied_to": {
            "type": "string",
            "nullable": true
          },
          "amount_type": {
            "type": "string",
            "nullable": true
          },
          "percentage": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "is_max_amount": {
            "type": "boolean"
          },
          "max_amount": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "amount": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "is_usage_limit": {
            "type": "boolean"
          },
          "usage_limit": {
            "type": "integer",
            "nullable": true
          },
          "current_usage": {
            "type": "integer",
            "nullable": true
          },
          "is_expiry": {
            "type": "boolean"
          },
          "expiry_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "is_limited_to_pages": {
            "type": "boolean"
          },
          "pages": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "is_limited_to_payment_methods": {
            "type": "boolean"
          },
          "payment_methods": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "Customer checkout payment method code."
            }
          },
          "is_minimum_revenue": {
            "type": "boolean"
          },
          "minimum_revenue": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "inserted_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": true
      },
      "StorefrontDiscountCodeCheckResponse": {
        "type": "object",
        "required": [
          "discount_code",
          "eligibility_details",
          "is_eligible",
          "discount_code_discount"
        ],
        "properties": {
          "discount_code": {
            "type": "object",
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/StorefrontDiscountCode"
              }
            ]
          },
          "eligibility_details": {
            "type": "object",
            "additionalProperties": true
          },
          "is_eligible": {
            "type": "boolean"
          },
          "discount_code_discount": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          }
        },
        "additionalProperties": false
      },
      "StorefrontDiscountCodeCheckRequest": {
        "type": "object",
        "required": [
          "code"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "Discount code to validate.",
            "example": "SAVE10"
          },
          "items": {
            "type": "array",
            "description": "Optional direct item source. If supplied, these items are used for discount eligibility. Otherwise the guest cart referenced by `X-Scalev-Guest-Token` is used.\n",
            "minItems": 1,
            "maxItems": 50,
            "items": {
              "$ref": "#/components/schemas/StorefrontCheckoutItem"
            }
          },
          "destination": {
            "$ref": "#/components/schemas/StorefrontCheckoutDestination"
          },
          "courier_service_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          },
          "warehouse_unique_id": {
            "type": "string"
          },
          "courier_aggregator_code": {
            "type": "string",
            "nullable": true
          },
          "payment_method": {
            "type": "string",
            "description": "Storefront payment method code selected by the buyer.",
            "example": "bank_transfer"
          },
          "net_product_price": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "gross_revenue": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          },
          "shipping_cost": {
            "$ref": "#/components/schemas/StorefrontMoneyValue"
          }
        },
        "additionalProperties": true
      },
      "StorefrontAnalyticsVariantItem": {
        "type": "object",
        "required": [
          "variant_unique_id",
          "quantity"
        ],
        "properties": {
          "variant_unique_id": {
            "type": "string",
            "description": "Variant unique ID from the storefront product payload."
          },
          "quantity": {
            "type": "integer",
            "minimum": 1
          }
        },
        "additionalProperties": false
      },
      "StorefrontAnalyticsBundlePriceOptionItem": {
        "type": "object",
        "required": [
          "bundle_price_option_unique_id",
          "quantity"
        ],
        "properties": {
          "bundle_price_option_unique_id": {
            "type": "string",
            "description": "Bundle price option unique ID from the storefront bundle payload."
          },
          "quantity": {
            "type": "integer",
            "minimum": 1
          }
        },
        "additionalProperties": false
      },
      "StorefrontMetaConversionUserData": {
        "type": "object",
        "properties": {
          "fn": {
            "type": "string",
            "nullable": true,
            "description": "Buyer first name."
          },
          "ln": {
            "type": "string",
            "nullable": true,
            "description": "Buyer last name."
          },
          "em": {
            "type": "string",
            "nullable": true,
            "description": "Buyer email."
          },
          "ph": {
            "type": "string",
            "nullable": true,
            "description": "Buyer phone number."
          },
          "ct": {
            "type": "string",
            "nullable": true,
            "description": "Buyer city."
          },
          "st": {
            "type": "string",
            "nullable": true,
            "description": "Buyer state or province."
          },
          "country": {
            "type": "string",
            "nullable": true,
            "example": "id"
          },
          "fbc": {
            "type": "string",
            "nullable": true
          },
          "fbp": {
            "type": "string",
            "nullable": true
          },
          "external_id": {
            "type": "string",
            "nullable": true
          },
          "location_id": {
            "type": "integer",
            "nullable": true
          },
          "client_ip_address": {
            "type": "string",
            "nullable": true,
            "readOnly": true,
            "description": "Filled from the observed API request IP."
          },
          "client_user_agent": {
            "type": "string",
            "nullable": true,
            "readOnly": true,
            "description": "Filled from the observed API request user agent."
          }
        },
        "additionalProperties": true
      },
      "StorefrontMetaConversionEvent": {
        "type": "object",
        "required": [
          "event_id",
          "event_name"
        ],
        "properties": {
          "event_id": {
            "type": "string"
          },
          "event_name": {
            "type": "string",
            "example": "AddToCart"
          },
          "parameters": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "additionalProperties": false
      },
      "StorefrontMetaConversionEventRequest": {
        "type": "object",
        "required": [
          "user_data",
          "events"
        ],
        "properties": {
          "event_source_url": {
            "type": "string",
            "format": "uri",
            "nullable": true,
            "description": "Full storefront page URL for the event. The API strips query parameters before sending to Meta."
          },
          "referrer_url": {
            "type": "string",
            "format": "uri",
            "nullable": true,
            "description": "Browser referrer URL. The API uses this with `event_source_url` to choose checkout versus home storefront analytics configuration."
          },
          "user_data": {
            "$ref": "#/components/schemas/StorefrontMetaConversionUserData"
          },
          "events": {
            "type": "array",
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/StorefrontMetaConversionEvent"
            }
          },
          "variants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontAnalyticsVariantItem"
            }
          },
          "bundle_price_options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontAnalyticsBundlePriceOptionItem"
            }
          }
        },
        "additionalProperties": true
      },
      "StorefrontTiktokConversionUserData": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "external_id": {
            "type": "string",
            "nullable": true
          },
          "ttclid": {
            "type": "string",
            "nullable": true
          },
          "ttp": {
            "type": "string",
            "nullable": true
          },
          "user_agent": {
            "type": "string",
            "nullable": true,
            "description": "Defaults to the observed API request user agent when omitted."
          },
          "ip": {
            "type": "string",
            "nullable": true,
            "readOnly": true,
            "description": "Filled from the observed API request IP."
          }
        },
        "additionalProperties": true
      },
      "StorefrontTiktokConversionEvent": {
        "type": "object",
        "required": [
          "event_id",
          "event"
        ],
        "properties": {
          "event_id": {
            "type": "string"
          },
          "event": {
            "type": "string",
            "example": "AddToCart"
          },
          "parameters": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "additionalProperties": false
      },
      "StorefrontTiktokConversionEventRequest": {
        "type": "object",
        "required": [
          "event_source_url",
          "user",
          "events"
        ],
        "properties": {
          "event_source_url": {
            "type": "string",
            "format": "uri",
            "description": "Full storefront page URL for the event. The API strips query parameters before sending to TikTok."
          },
          "referrer_url": {
            "type": "string",
            "format": "uri",
            "nullable": true,
            "description": "Browser referrer URL. The API uses this with `event_source_url` to choose checkout versus home storefront analytics configuration."
          },
          "user": {
            "$ref": "#/components/schemas/StorefrontTiktokConversionUserData"
          },
          "events": {
            "type": "array",
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/StorefrontTiktokConversionEvent"
            }
          },
          "variants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontAnalyticsVariantItem"
            }
          },
          "bundle_price_options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontAnalyticsBundlePriceOptionItem"
            }
          }
        },
        "additionalProperties": true
      },
      "StorefrontSnackVideoConversionEventProperties": {
        "type": "object",
        "properties": {
          "content_type": {
            "type": "string",
            "nullable": true
          },
          "content_category": {
            "type": "string",
            "nullable": true
          },
          "content_name": {
            "type": "string",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true,
            "example": "IDR"
          },
          "value": {
            "type": "integer",
            "nullable": true
          },
          "quantity": {
            "type": "integer",
            "nullable": true
          },
          "price": {
            "type": "integer",
            "nullable": true
          },
          "query": {
            "type": "string",
            "nullable": true
          },
          "mapping_id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": true
      },
      "StorefrontSnackVideoConversionEvent": {
        "type": "object",
        "required": [
          "event_name"
        ],
        "properties": {
          "event_name": {
            "type": "string",
            "example": "addToCart"
          },
          "properties": {
            "$ref": "#/components/schemas/StorefrontSnackVideoConversionEventProperties"
          }
        },
        "additionalProperties": false
      },
      "StorefrontSnackVideoConversionEventRequest": {
        "type": "object",
        "required": [
          "click_id",
          "events"
        ],
        "properties": {
          "click_id": {
            "type": "string",
            "description": "SnackVideo click ID."
          },
          "event_source_url": {
            "type": "string",
            "format": "uri",
            "nullable": true,
            "description": "Optional full storefront page URL used to choose checkout versus home storefront analytics configuration."
          },
          "referrer_url": {
            "type": "string",
            "format": "uri",
            "nullable": true,
            "description": "Optional browser referrer URL used to choose checkout versus home storefront analytics configuration."
          },
          "events": {
            "type": "array",
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/StorefrontSnackVideoConversionEvent"
            }
          },
          "variants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontAnalyticsVariantItem"
            }
          },
          "bundle_price_options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontAnalyticsBundlePriceOptionItem"
            }
          }
        },
        "additionalProperties": true
      },
      "StorefrontPublicApiKey": {
        "type": "object",
        "required": [
          "id",
          "status",
          "store_id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "token": {
            "type": "string",
            "nullable": true,
            "description": "Present only while the key is active."
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "revoked"
            ]
          },
          "store_id": {
            "type": "integer"
          },
          "created_by": {
            "type": "object",
            "nullable": true,
            "additionalProperties": true
          },
          "inserted_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "StorefrontPublicApiKeyListResponse": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontPublicApiKey"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "additionalProperties": false
      },
      "StorefrontAllowedOriginRequest": {
        "type": "object",
        "required": [
          "origin"
        ],
        "properties": {
          "origin": {
            "type": "string",
            "format": "uri",
            "description": "Exact `http` or `https` origin with no path, query, or fragment."
          }
        },
        "additionalProperties": false
      },
      "StorefrontAllowedOrigin": {
        "type": "object",
        "required": [
          "id",
          "origin",
          "status",
          "store_id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "origin": {
            "type": "string",
            "format": "uri"
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "revoked"
            ]
          },
          "store_id": {
            "type": "integer"
          },
          "created_by": {
            "type": "object",
            "nullable": true,
            "additionalProperties": true
          },
          "inserted_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "StorefrontAllowedOriginListResponse": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StorefrontAllowedOrigin"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "additionalProperties": false
      },
      "SubscriptionVariantChangeRequest": {
        "type": "object",
        "required": [
          "variant_id"
        ],
        "properties": {
          "variant_id": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          }
        },
        "additionalProperties": true
      },
      "CreateVariantDigitalProductFileRequest": {
        "type": "object",
        "properties": {
          "file": {
            "type": "string",
            "format": "binary"
          }
        }
      },
      "Subscription": {
        "description": "A subscription represents a recurring payment for a product or service.",
        "properties": {
          "activated_at": {
            "description": "The date and time when the subscription was activated.",
            "format": "date-time",
            "type": "string"
          },
          "business_customer_id": {
            "description": "Identifier for the business customer associated with the subscription.",
            "format": "uuid",
            "type": "string"
          },
          "business_id": {
            "description": "Identifier for the business associated with the subscription.",
            "format": "uuid",
            "type": "string"
          },
          "canceled_at": {
            "description": "The date and time when the subscription was canceled.",
            "format": "date-time",
            "type": "string"
          },
          "current_period_end": {
            "description": "The end date of the current billing period.",
            "format": "date-time",
            "type": "string"
          },
          "current_period_start": {
            "description": "The start date of the current billing period.",
            "format": "date-time",
            "type": "string"
          },
          "customer": {
            "description": "Customer information",
            "properties": {
              "confirmed_at": {
                "description": "Timestamp when the customer was confirmed",
                "format": "date-time",
                "type": "string"
              },
              "created_at": {
                "description": "Timestamp when the customer was created",
                "format": "date-time",
                "type": "string"
              },
              "email": {
                "description": "Customer email",
                "format": "email",
                "type": "string"
              },
              "id": {
                "description": "Customer ID",
                "type": "integer"
              },
              "last_updated_at": {
                "description": "Timestamp when the customer was last updated",
                "format": "date-time",
                "type": "string"
              },
              "name": {
                "description": "Customer name",
                "type": "string"
              },
              "phone": {
                "description": "Customer phone",
                "type": "string"
              },
              "status": {
                "description": "Customer status",
                "type": "string"
              }
            },
            "title": "Customer",
            "type": "object"
          },
          "customer_id": {
            "description": "Identifier for the customer associated with the subscription.",
            "format": "uuid",
            "type": "string"
          },
          "expired_at": {
            "description": "The date and time when the subscription expired.",
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the subscription.",
            "format": "uuid",
            "type": "string"
          },
          "inserted_at": {
            "description": "The date and time when the subscription was created.",
            "format": "date-time",
            "type": "string"
          },
          "interval": {
            "description": "Unit of the period",
            "enum": [
              "day",
              "week",
              "month",
              "year"
            ],
            "title": "PeriodUnit",
            "type": "string"
          },
          "interval_count": {
            "description": "The number of intervals between each billing cycle.",
            "type": "integer"
          },
          "is_active": {
            "description": "Indicates if the subscription is currently active.",
            "type": "boolean"
          },
          "is_cancel_at_period_end": {
            "description": "Indicates if the subscription will cancel at the end of the current period.",
            "type": "boolean"
          },
          "status": {
            "description": "The status of the subscription.",
            "enum": [
              "unactivated",
              "active",
              "canceled",
              "expired",
              "failed"
            ],
            "title": "SubscriptionStatus",
            "type": "string"
          },
          "store": {
            "description": "Store information",
            "properties": {
              "id": {
                "description": "Store ID",
                "type": "integer"
              },
              "logo": {
                "description": "Store logo URL",
                "type": "string"
              },
              "name": {
                "description": "Store name",
                "type": "string"
              },
              "unique_id": {
                "description": "Store unique identifier",
                "type": "string"
              },
              "uuid": {
                "description": "Store UUID",
                "format": "uuid",
                "type": "string"
              }
            },
            "title": "Store",
            "type": "object"
          },
          "store_id": {
            "description": "Identifier for the store associated with the subscription.",
            "format": "uuid",
            "type": "string"
          },
          "subscription_id": {
            "description": "Human-readable subscription identifier (e.g. YYMMDD + random alpha).",
            "nullable": true,
            "type": "string"
          },
          "subscription_items": {
            "description": "List of subscription items associated with the subscription.",
            "items": {
              "description": "A simplified representation of a subscription item for listing purposes.",
              "properties": {
                "id": {
                  "description": "Unique identifier for the subscription item.",
                  "format": "uuid",
                  "type": "string"
                },
                "quantity": {
                  "description": "The quantity of the item in the subscription.",
                  "type": "integer"
                },
                "status": {
                  "description": "The status of a subscription item.",
                  "enum": [
                    "unactivated",
                    "active",
                    "pending_downgrade",
                    "pending_upgrade",
                    "canceled",
                    "expired",
                    "failed"
                  ],
                  "title": "SubscriptionItemStatus",
                  "type": "string"
                },
                "unit_price": {
                  "description": "The unit price of the item.",
                  "format": "decimal",
                  "type": "number"
                },
                "variant": {
                  "properties": {
                    "id": {
                      "description": "Variant ID",
                      "type": "integer"
                    },
                    "item_type": {
                      "description": "Type of the product item",
                      "enum": [
                        "physical",
                        "digital",
                        "course",
                        "license",
                        "subscription"
                      ],
                      "title": "ItemType",
                      "type": "string"
                    },
                    "name": {
                      "description": "Variant Name",
                      "type": "string"
                    },
                    "product_name": {
                      "description": "Product Name",
                      "type": "string"
                    }
                  },
                  "title": "VariantRelation",
                  "type": "object"
                }
              },
              "title": "SubscriptionItemListData",
              "type": "object"
            },
            "type": "array"
          },
          "updated_at": {
            "description": "The date and time when the subscription was last updated.",
            "format": "date-time",
            "type": "string"
          }
        },
        "title": "Subscription",
        "type": "object"
      },
      "ListCustomerSubscriptionsResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Subscription"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ],
            "example": true
          },
          "has_next": {
            "default": false,
            "example": false,
            "nullable": false,
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "default": 25,
            "example": 25,
            "nullable": false,
            "type": "integer"
          }
        },
        "additionalProperties": true,
        "description": "Paginated list payload for v3."
      },
      "Subscription2": {
        "description": "A subscription represents a recurring payment for a product or service.",
        "properties": {
          "activated_at": {
            "description": "The date and time when the subscription was activated.",
            "format": "date-time",
            "type": "string"
          },
          "business_customer_id": {
            "description": "Identifier for the business customer associated with the subscription.",
            "format": "uuid",
            "type": "string"
          },
          "business_id": {
            "description": "Identifier for the business associated with the subscription.",
            "format": "uuid",
            "type": "string"
          },
          "canceled_at": {
            "description": "The date and time when the subscription was canceled.",
            "format": "date-time",
            "type": "string"
          },
          "current_period_end": {
            "description": "The end date of the current billing period.",
            "format": "date-time",
            "type": "string"
          },
          "current_period_start": {
            "description": "The start date of the current billing period.",
            "format": "date-time",
            "type": "string"
          },
          "customer": {
            "description": "Customer information",
            "properties": {
              "confirmed_at": {
                "description": "Timestamp when the customer was confirmed",
                "format": "date-time",
                "type": "string"
              },
              "created_at": {
                "description": "Timestamp when the customer was created",
                "format": "date-time",
                "type": "string"
              },
              "email": {
                "description": "Customer email",
                "format": "email",
                "type": "string"
              },
              "id": {
                "description": "Customer ID",
                "type": "integer"
              },
              "last_updated_at": {
                "description": "Timestamp when the customer was last updated",
                "format": "date-time",
                "type": "string"
              },
              "name": {
                "description": "Customer name",
                "type": "string"
              },
              "phone": {
                "description": "Customer phone",
                "type": "string"
              },
              "status": {
                "description": "Customer status",
                "type": "string"
              }
            },
            "title": "Customer",
            "type": "object"
          },
          "customer_id": {
            "description": "Identifier for the customer associated with the subscription.",
            "format": "uuid",
            "type": "string"
          },
          "expired_at": {
            "description": "The date and time when the subscription expired.",
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "description": "Unique identifier for the subscription.",
            "format": "uuid",
            "type": "string"
          },
          "inserted_at": {
            "description": "The date and time when the subscription was created.",
            "format": "date-time",
            "type": "string"
          },
          "interval": {
            "description": "Unit of the period",
            "enum": [
              "day",
              "week",
              "month",
              "year"
            ],
            "title": "PeriodUnit",
            "type": "string"
          },
          "interval_count": {
            "description": "The number of intervals between each billing cycle.",
            "type": "integer"
          },
          "is_active": {
            "description": "Indicates if the subscription is currently active.",
            "type": "boolean"
          },
          "is_cancel_at_period_end": {
            "description": "Indicates if the subscription will cancel at the end of the current period.",
            "type": "boolean"
          },
          "latest_renewal_invoice": {
            "description": "The latest renewal invoice for the subscription. Contains details about the most recent renewal action.",
            "nullable": true,
            "properties": {
              "amount": {
                "description": "The total amount of the renewal invoice.",
                "nullable": true,
                "type": "string"
              },
              "created_at": {
                "description": "The date and time when the renewal action was created.",
                "format": "date-time",
                "type": "string"
              },
              "currency": {
                "description": "The currency of the renewal invoice.",
                "enum": [
                  "IDR",
                  "USD"
                ],
                "nullable": true,
                "type": "string"
              },
              "due_date": {
                "description": "The payment due date for the renewal invoice.",
                "format": "date-time",
                "nullable": true,
                "type": "string"
              },
              "id": {
                "description": "Unique identifier for the renewal action.",
                "format": "uuid",
                "type": "string"
              },
              "order_id": {
                "description": "The order ID associated with this renewal invoice.",
                "format": "uuid",
                "nullable": true,
                "type": "string"
              },
              "paid_at": {
                "description": "The date and time when the renewal invoice was paid.",
                "format": "date-time",
                "nullable": true,
                "type": "string"
              },
              "status": {
                "description": "The current status of the renewal action.",
                "enum": [
                  "scheduled",
                  "pending",
                  "confirmed",
                  "completed",
                  "failed",
                  "replaced",
                  "canceled"
                ],
                "type": "string"
              }
            },
            "title": "RenewalInvoice",
            "type": "object"
          },
          "order_id": {
            "description": "The order ID associated with the subscription creation. Null for free trial subscriptions.",
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "The status of the subscription.",
            "enum": [
              "unactivated",
              "active",
              "canceled",
              "expired",
              "failed"
            ],
            "title": "SubscriptionStatus",
            "type": "string"
          },
          "store": {
            "description": "Store information",
            "properties": {
              "id": {
                "description": "Store ID",
                "type": "integer"
              },
              "logo": {
                "description": "Store logo URL",
                "type": "string"
              },
              "name": {
                "description": "Store name",
                "type": "string"
              },
              "unique_id": {
                "description": "Store unique identifier",
                "type": "string"
              },
              "uuid": {
                "description": "Store UUID",
                "format": "uuid",
                "type": "string"
              }
            },
            "title": "Store",
            "type": "object"
          },
          "store_id": {
            "description": "Identifier for the store associated with the subscription.",
            "format": "uuid",
            "type": "string"
          },
          "subscription_id": {
            "description": "Human-readable subscription identifier (e.g. YYMMDD + random alpha).",
            "nullable": true,
            "type": "string"
          },
          "subscription_items": {
            "description": "List of subscription items associated with the subscription.",
            "items": {
              "description": "A subscription item representing a purchasable item within a subscription.",
              "properties": {
                "activated_at": {
                  "description": "Timestamp when the item was activated.",
                  "format": "date-time",
                  "nullable": true,
                  "type": "string"
                },
                "canceled_at": {
                  "description": "Timestamp when the item was canceled.",
                  "format": "date-time",
                  "nullable": true,
                  "type": "string"
                },
                "currency": {
                  "description": "The currency code for the subscription item price.",
                  "enum": [
                    "IDR"
                  ],
                  "title": "Currency",
                  "type": "string"
                },
                "expired_at": {
                  "description": "Timestamp when the item expired.",
                  "format": "date-time",
                  "nullable": true,
                  "type": "string"
                },
                "id": {
                  "description": "Unique identifier for the subscription item.",
                  "format": "uuid",
                  "type": "string"
                },
                "inserted_at": {
                  "description": "Timestamp when the item was created.",
                  "format": "date-time",
                  "type": "string"
                },
                "is_cancel_at_period_end": {
                  "description": "Indicates if the item will be canceled at the end of the current period.",
                  "type": "boolean"
                },
                "license_id": {
                  "description": "Identifier for the associated license.",
                  "format": "uuid",
                  "nullable": true,
                  "type": "string"
                },
                "orderline_id": {
                  "description": "Identifier for the associated order line.",
                  "format": "uuid",
                  "nullable": true,
                  "type": "string"
                },
                "pending_action": {
                  "description": "The pending subscription action for this item, if any.",
                  "nullable": true,
                  "type": "object",
                  "oneOf": [
                    {
                      "description": "A subscription action represents an action performed on a subscription.",
                      "properties": {
                        "action_type": {
                          "description": "The type of action performed on the subscription.",
                          "enum": [
                            "create",
                            "renew",
                            "expire",
                            "cancel",
                            "reactivate",
                            "activation",
                            "upgrade",
                            "downgrade",
                            "update_qty"
                          ],
                          "type": "string"
                        },
                        "completed_at": {
                          "description": "The date and time when the action was completed.",
                          "format": "date-time",
                          "nullable": true,
                          "type": "string"
                        },
                        "confirmed_at": {
                          "description": "The date and time when the action was confirmed.",
                          "format": "date-time",
                          "nullable": true,
                          "type": "string"
                        },
                        "created_by": {
                          "description": "Information about who created this action.",
                          "nullable": true,
                          "type": "object"
                        },
                        "execution_type": {
                          "description": "The execution type of the action.",
                          "enum": [
                            "immediate",
                            "at_period_end",
                            "scheduled"
                          ],
                          "type": "string"
                        },
                        "id": {
                          "description": "Unique identifier for the subscription action.",
                          "format": "uuid",
                          "type": "string"
                        },
                        "inserted_at": {
                          "description": "The date and time when the action was created.",
                          "format": "date-time",
                          "type": "string"
                        },
                        "next_variant_config": {
                          "description": "The configuration for the next variant after the action is executed.",
                          "nullable": true,
                          "type": "object"
                        },
                        "order_id": {
                          "description": "Identifier for the order associated with this action.",
                          "format": "uuid",
                          "nullable": true,
                          "type": "string"
                        },
                        "status": {
                          "description": "The current status of the action.",
                          "enum": [
                            "scheduled",
                            "pending",
                            "confirmed",
                            "completed",
                            "failed",
                            "replaced",
                            "canceled"
                          ],
                          "type": "string"
                        },
                        "updated_at": {
                          "description": "The date and time when the action was last updated.",
                          "format": "date-time",
                          "type": "string"
                        }
                      },
                      "title": "SubscriptionAction",
                      "type": "object"
                    }
                  ]
                },
                "price": {
                  "description": "The price of the item.",
                  "format": "decimal",
                  "type": "number"
                },
                "quantity": {
                  "description": "The quantity of the item in the subscription.",
                  "type": "integer"
                },
                "status": {
                  "description": "The status of a subscription item.",
                  "enum": [
                    "unactivated",
                    "active",
                    "pending_downgrade",
                    "pending_upgrade",
                    "canceled",
                    "expired",
                    "failed"
                  ],
                  "title": "SubscriptionItemStatus",
                  "type": "string"
                },
                "subscription_id": {
                  "description": "Identifier for the associated subscription.",
                  "format": "uuid",
                  "type": "string"
                },
                "updated_at": {
                  "description": "Timestamp when the item was last updated.",
                  "format": "date-time",
                  "type": "string"
                },
                "variant": {
                  "properties": {
                    "id": {
                      "description": "Variant ID",
                      "type": "integer"
                    },
                    "item_type": {
                      "description": "Type of the product item",
                      "enum": [
                        "physical",
                        "digital",
                        "course",
                        "license",
                        "subscription"
                      ],
                      "title": "ItemType",
                      "type": "string"
                    },
                    "name": {
                      "description": "Variant Name",
                      "type": "string"
                    },
                    "product_name": {
                      "description": "Product Name",
                      "type": "string"
                    }
                  },
                  "title": "VariantRelation",
                  "type": "object"
                },
                "variant_id": {
                  "description": "Identifier for the associated product variant.",
                  "type": "integer"
                }
              },
              "title": "SubscriptionItem",
              "type": "object"
            },
            "type": "array"
          },
          "updated_at": {
            "description": "The date and time when the subscription was last updated.",
            "format": "date-time",
            "type": "string"
          }
        },
        "title": "Subscription",
        "type": "object"
      },
      "VariantSubscription": {
        "properties": {
          "currency": {
            "description": "The currency code for the subscription item price.",
            "enum": [
              "IDR"
            ],
            "title": "Currency",
            "type": "string"
          },
          "id": {
            "description": "Variant ID",
            "type": "integer"
          },
          "images": {
            "description": "List of image URLs",
            "items": {
              "format": "uri",
              "type": "string"
            },
            "type": "array"
          },
          "interval": {
            "description": "Unit of the period",
            "enum": [
              "day",
              "week",
              "month",
              "year"
            ],
            "title": "PeriodUnit",
            "type": "string"
          },
          "interval_count": {
            "description": "Interval count for recurring variants",
            "type": "integer"
          },
          "item_type": {
            "description": "Type of the product item",
            "enum": [
              "physical",
              "digital",
              "course",
              "license",
              "subscription"
            ],
            "title": "ItemType",
            "type": "string"
          },
          "name": {
            "description": "Variant full name",
            "type": "string"
          },
          "price": {
            "description": "Price of the variant",
            "format": "decimal",
            "type": "number"
          },
          "pricing_type": {
            "description": "Type of the product pricing",
            "enum": [
              "one_time",
              "recurring"
            ],
            "title": "PricingType",
            "type": "string"
          },
          "product_name": {
            "description": "Product name",
            "type": "string"
          },
          "unique_id": {
            "description": "Variant unique identifier",
            "type": "string"
          },
          "validity_period": {
            "description": "Validity period for one time variants",
            "type": "integer"
          },
          "validity_period_unit": {
            "description": "Unit of the period",
            "enum": [
              "day",
              "week",
              "month",
              "year"
            ],
            "title": "PeriodUnit",
            "type": "string"
          }
        },
        "title": "VariantSubscription",
        "type": "object"
      },
      "ListSubscriptionUpgradeOptionsResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VariantSubscription"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ],
            "example": false
          }
        },
        "additionalProperties": false,
        "description": "Non-paginated list payload for v3."
      },
      "UpgradeSubscriptionItemRequest": {
        "properties": {
          "variant_id": {
            "description": "ID of the variant to upgrade to",
            "type": "integer"
          }
        },
        "required": [
          "variant_id"
        ],
        "type": "object"
      },
      "DowngradeSubscriptionItemRequest": {
        "properties": {
          "variant_id": {
            "description": "ID of the variant to downgrade to",
            "type": "integer"
          }
        },
        "required": [
          "variant_id"
        ],
        "type": "object"
      },
      "Location": {
        "required": [
          "id",
          "subdistrict_name",
          "city_name",
          "province_name",
          "display"
        ],
        "properties": {
          "id": {
            "description": "Location ID",
            "type": "integer"
          },
          "subdistrict_name": {
            "description": "Subdistrict name",
            "type": "string"
          },
          "city_name": {
            "description": "City name",
            "type": "string"
          },
          "province_name": {
            "description": "Province name",
            "type": "string"
          },
          "display": {
            "description": "Display name",
            "type": "string",
            "example": "Cempaka Putih, Kota Jakarta Pusat, DKI Jakarta"
          }
        },
        "title": "Location",
        "type": "object",
        "additionalProperties": false
      },
      "ListLocationsResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Location"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ],
            "example": true
          },
          "has_next": {
            "default": false,
            "example": false,
            "nullable": false,
            "type": "boolean"
          },
          "page_size": {
            "default": 25,
            "example": 25,
            "nullable": false,
            "type": "integer"
          }
        },
        "additionalProperties": true,
        "description": "Paginated list payload for v3."
      },
      "ShippingCostRequest": {
        "description": "Schema for requesting shipping cost",
        "properties": {
          "courier_codes": {
            "description": "List of courier codes",
            "items": {
              "description": "Schema for a courier code",
              "enum": [
                "ninja",
                "ide",
                "sicepat",
                "sap",
                "ncs",
                "anteraja",
                "sentral",
                "jne",
                "jnt",
                "pos",
                "lion",
                "rex",
                "jtl",
                "tiki",
                "rpx",
                "pandu",
                "wahana",
                "pahala",
                "jet",
                "slis",
                "dse",
                "first",
                "star",
                "idl"
              ],
              "example": "jne",
              "title": "CourierCode",
              "type": "string"
            },
            "type": "array"
          },
          "location_id": {
            "description": "ID of the destination location",
            "type": "integer"
          },
          "postal_code": {
            "description": "Postal code of the destination",
            "type": "string"
          },
          "warehouse_id": {
            "description": "ID of the warehouse",
            "type": "integer"
          },
          "weight": {
            "description": "Weight of the shipment in grams",
            "type": "integer"
          }
        },
        "required": [
          "courier_codes",
          "weight",
          "warehouse_id",
          "location_id"
        ],
        "title": "ShippingCostRequest",
        "type": "object"
      },
      "ShippingCostResult": {
        "description": "Schema for a single shipping cost result",
        "properties": {
          "cost": {
            "description": "Cost of the shipment",
            "format": "float",
            "type": "number"
          },
          "cost_source": {
            "description": "Source of the cost",
            "type": "string"
          },
          "courier_service": {
            "properties": {
              "code": {
                "description": "Code for the courier service",
                "type": "string"
              },
              "courier": {
                "properties": {
                  "code": {
                    "description": "Courier code",
                    "type": "string"
                  },
                  "courier_type": {
                    "description": "Type of the courier",
                    "enum": [
                      "instant",
                      "cashless",
                      "standard"
                    ],
                    "example": "standard",
                    "title": "CourierType",
                    "type": "string"
                  },
                  "id": {
                    "description": "Courier ID",
                    "type": "integer"
                  },
                  "name": {
                    "description": "Courier name",
                    "type": "string"
                  }
                },
                "title": "CourierLocationData",
                "type": "object"
              },
              "id": {
                "description": "Courier Service ID",
                "type": "integer"
              },
              "name": {
                "description": "Name of the courier service",
                "type": "string"
              }
            },
            "title": "CourierServiceLocationData",
            "type": "object"
          },
          "etd": {
            "description": "Estimated time of delivery",
            "type": "string"
          },
          "weight": {
            "description": "Weight of the shipment in grams",
            "type": "integer"
          }
        },
        "required": [
          "cost_source",
          "courier_service",
          "weight",
          "etd",
          "cost"
        ],
        "title": "ShippingCostResult",
        "type": "object"
      },
      "SearchShippingCostsResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShippingCostResult"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ],
            "example": false
          }
        },
        "additionalProperties": false,
        "description": "Non-paginated list payload for v3."
      },
      "GetCourierServiceRequest": {
        "description": "Schema for requesting courier services",
        "properties": {
          "is_show_all": {
            "description": "Whether to show all courier services or only those available",
            "type": "boolean"
          },
          "location_id": {
            "description": "ID of the destination location",
            "type": "integer"
          },
          "payment_method": {
            "description": "Order payment method",
            "enum": [
              "va",
              "qris",
              "card",
              "invoice",
              "alfamart",
              "indomaret",
              "ovo",
              "dana",
              "shopeepay",
              "linkaja",
              "gopay",
              "no_payment",
              "bank_transfer",
              "marketplace",
              "cod"
            ],
            "type": "string"
          },
          "postal_code": {
            "description": "Postal code of the destination",
            "type": "string"
          },
          "store_id": {
            "description": "ID of the store",
            "type": "integer"
          },
          "warehouse_id": {
            "description": "ID of the warehouse",
            "type": "integer"
          },
          "weight": {
            "description": "Weight of the shipment in grams",
            "type": "integer"
          }
        },
        "required": [
          "store_id",
          "location_id",
          "warehouse_id",
          "payment_method",
          "weight"
        ],
        "title": "GetCourierServiceRequest",
        "type": "object"
      },
      "CourierServiceResult": {
        "properties": {
          "cost": {
            "description": "Cost of the shipment",
            "format": "float",
            "type": "number"
          },
          "cost_source": {
            "description": "Source of the cost",
            "type": "string"
          },
          "courier_service": {
            "properties": {
              "code": {
                "description": "Code for the courier service",
                "type": "string"
              },
              "courier": {
                "properties": {
                  "code": {
                    "description": "Courier code",
                    "type": "string"
                  },
                  "courier_type": {
                    "description": "Type of the courier",
                    "enum": [
                      "instant",
                      "cashless",
                      "standard"
                    ],
                    "example": "standard",
                    "title": "CourierType",
                    "type": "string"
                  },
                  "id": {
                    "description": "Courier ID",
                    "type": "integer"
                  },
                  "name": {
                    "description": "Courier name",
                    "type": "string"
                  }
                },
                "title": "CourierLocationData",
                "type": "object"
              },
              "id": {
                "description": "Courier Service ID",
                "type": "integer"
              },
              "name": {
                "description": "Name of the courier service",
                "type": "string"
              }
            },
            "title": "CourierServiceLocationData",
            "type": "object"
          },
          "etd": {
            "description": "Estimated time of delivery",
            "type": "string"
          },
          "is_cod": {
            "description": "Is Cash on Delivery available",
            "type": "boolean"
          },
          "is_pickup": {
            "description": "Is Pickup available",
            "type": "boolean"
          },
          "shipment_provider_code": {
            "description": "Code of the shipment provider",
            "type": "string"
          },
          "warehouse": {
            "properties": {
              "address": {
                "description": "Address of the warehouse",
                "type": "string"
              },
              "city_name": {
                "description": "City name of the warehouse location",
                "type": "string"
              },
              "id": {
                "description": "Warehouse ID",
                "type": "integer"
              },
              "lincah_origin_id": {
                "description": "Lincah origin ID for the warehouse",
                "type": "string"
              },
              "mengantar_origin_id": {
                "description": "Mengantar origin ID for the warehouse",
                "type": "string"
              },
              "name": {
                "description": "Name of the warehouse",
                "type": "string"
              },
              "province_name": {
                "description": "Province name of the warehouse location",
                "type": "string"
              },
              "subdistrict_name": {
                "description": "Subdistrict name of the warehouse location",
                "type": "string"
              },
              "unique_id": {
                "description": "Unique identifier of the warehouse",
                "type": "string"
              }
            },
            "title": "ForLocationWarehouse",
            "type": "object"
          },
          "weight": {
            "description": "Weight of the shipment in grams",
            "type": "integer"
          }
        },
        "title": "CourierServiceResult",
        "type": "object"
      },
      "SearchCourierServicesResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CourierServiceResult"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ],
            "example": false
          }
        },
        "additionalProperties": false,
        "description": "Non-paginated list payload for v3."
      },
      "SearchWarehouseRequest": {
        "description": "Schema for searching warehouses",
        "properties": {
          "destination_id": {
            "description": "ID of the destination location",
            "type": "integer"
          },
          "order_id": {
            "$ref": "#/components/schemas/OrderPrimaryKeyInput"
          },
          "store_id": {
            "description": "ID of the store",
            "type": "integer"
          },
          "variants": {
            "description": "List of product variant ids and their quantities",
            "items": {
              "properties": {
                "qty": {
                  "description": "Quantity of the product variant",
                  "type": "integer"
                },
                "variant_id": {
                  "description": "ID of the product variant",
                  "type": "integer"
                }
              },
              "required": [
                "variant_id",
                "qty"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "store_id",
          "destination_id",
          "variants"
        ],
        "title": "SearchWarehouseRequest",
        "type": "object"
      },
      "SearchWarehouseResult": {
        "properties": {
          "destination": {
            "$ref": "#/components/schemas/Location"
          },
          "distance_km": {
            "description": "Distance in kilometers",
            "format": "float",
            "type": "number"
          },
          "warehouse": {
            "properties": {
              "business": {
                "properties": {
                  "id": {
                    "description": "Business ID",
                    "type": "integer"
                  },
                  "username": {
                    "description": "Username of the business",
                    "type": "string"
                  }
                },
                "title": "BusinessUsernameOnly",
                "type": "object"
              },
              "id": {
                "description": "Warehouse ID",
                "type": "integer"
              },
              "lincah_origin_id": {
                "description": "Lincah origin ID for the warehouse",
                "type": "string"
              },
              "mengantar_origin_id": {
                "description": "Mengantar origin ID for the warehouse",
                "type": "string"
              },
              "name": {
                "description": "Name of the warehouse",
                "type": "string"
              },
              "unique_id": {
                "description": "Unique identifier of the warehouse",
                "type": "string"
              },
              "warehouse_address": {
                "properties": {
                  "address": {
                    "description": "Full address of the warehouse",
                    "type": "string"
                  },
                  "city": {
                    "description": "City of the warehouse address",
                    "type": "string"
                  },
                  "id": {
                    "description": "Warehouse Address ID",
                    "type": "integer"
                  },
                  "location": {
                    "description": "Location ID for the address",
                    "type": "integer"
                  },
                  "postal_code": {
                    "description": "Postal code of the warehouse address",
                    "type": "string"
                  },
                  "province": {
                    "description": "Province of the warehouse address",
                    "type": "string"
                  },
                  "subdistrict": {
                    "description": "Subdistrict of the warehouse address",
                    "type": "string"
                  }
                },
                "title": "WarehouseAddressLocationData",
                "type": "object"
              }
            },
            "title": "ForLocationSearchWarehouse",
            "type": "object"
          },
          "warehouse_partner": {
            "properties": {
              "id": {
                "description": "Warehouse Partner ID",
                "type": "integer"
              },
              "ka_origin_id": {
                "description": "KA Origin ID",
                "type": "string"
              },
              "lincah_origin_id": {
                "description": "Lincah Origin ID",
                "type": "string"
              },
              "mengantar_origin_id": {
                "description": "Mengantar Origin ID",
                "type": "string"
              },
              "partner_id": {
                "description": "Partner Business ID",
                "type": "integer"
              }
            },
            "title": "WarehousePartnerSearchData",
            "type": "object"
          }
        },
        "title": "SearchWarehouseResult",
        "type": "object"
      },
      "SearchWarehousesResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SearchWarehouseResult"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ],
            "example": false
          }
        },
        "additionalProperties": false,
        "description": "Non-paginated list payload for v3."
      },
      "OrderList": {
        "description": "Order data based on requested columns",
        "properties": {
          "advertiser": {
            "properties": {
              "aff_code": {
                "description": "Affiliate code of the user",
                "type": "string"
              },
              "avatar": {
                "description": "URL to user avatar",
                "format": "uri",
                "type": "string"
              },
              "email": {
                "description": "User email",
                "format": "email",
                "type": "string"
              },
              "fullname": {
                "description": "User full name",
                "type": "string"
              },
              "id": {
                "description": "User ID",
                "type": "integer"
              },
              "phone": {
                "description": "User phone number",
                "type": "string"
              }
            },
            "title": "UserSimple",
            "type": "object"
          },
          "dropshipper_name": {
            "description": "Dropshipper name",
            "nullable": true,
            "type": "string"
          },
          "transferproof_url": {
            "description": "Transfer proof URL",
            "nullable": true,
            "type": "string"
          },
          "scalev_fee": {
            "description": "Scalev fee associated with the order",
            "type": "number"
          },
          "discount_code_code": {
            "description": "Discount code used in the order",
            "nullable": true,
            "type": "string"
          },
          "warehouse": {
            "properties": {
              "business": {
                "properties": {
                  "account_holder": {
                    "description": "Name of the account holder",
                    "type": "string"
                  },
                  "email": {
                    "description": "Email address of the business",
                    "format": "email",
                    "type": "string"
                  },
                  "id": {
                    "description": "Business ID",
                    "type": "integer"
                  },
                  "is_banned": {
                    "description": "Is the business banned?",
                    "type": "boolean"
                  },
                  "logo": {
                    "description": "URL to the business logo",
                    "format": "uri",
                    "type": "string"
                  },
                  "unique_id": {
                    "description": "Unique identifier for the business",
                    "type": "string"
                  },
                  "username": {
                    "description": "Username of the business",
                    "type": "string"
                  }
                },
                "title": "BusinessSimple",
                "type": "object"
              },
              "contact_name": {
                "description": "Contact name at the warehouse",
                "type": "string"
              },
              "contact_phone": {
                "description": "Contact phone number at the warehouse",
                "type": "string"
              },
              "id": {
                "description": "Warehouse ID",
                "type": "integer"
              },
              "name": {
                "description": "Name of the warehouse",
                "type": "string"
              }
            },
            "title": "ForOrderWarehouse",
            "type": "object"
          },
          "transfer_time": {
            "description": "Transfer timestamp of the order",
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "dropshipper_phone": {
            "description": "Dropshipper phone number",
            "nullable": true,
            "type": "string"
          },
          "shipping_cost": {
            "description": "Shipping cost associated with the order",
            "type": "number"
          },
          "product_price": {
            "description": "Total product price before discounts",
            "type": "number"
          },
          "net_revenue": {
            "description": "Net revenue from the order",
            "type": "number"
          },
          "customer": {
            "properties": {
              "confirmed_at": {
                "description": "Confirmation timestamp",
                "format": "date-time",
                "type": "string"
              },
              "created_at": {
                "description": "Creation timestamp",
                "format": "date-time",
                "type": "string"
              },
              "email": {
                "description": "Customer email",
                "format": "email",
                "type": "string"
              },
              "id": {
                "description": "Customer ID",
                "type": "integer"
              },
              "last_updated_at": {
                "description": "Last update timestamp",
                "format": "date-time",
                "type": "string"
              },
              "name": {
                "description": "Customer name",
                "type": "string"
              },
              "phone": {
                "description": "Customer phone number",
                "type": "string"
              },
              "status": {
                "description": "Customer status",
                "type": "string"
              }
            },
            "title": "CustomerOrder",
            "type": "object"
          },
          "handler_phone": {
            "description": "Handler phone number",
            "nullable": true,
            "type": "string"
          },
          "order_id": {
            "description": "Order ID in string format",
            "type": "string"
          },
          "product_discount": {
            "description": "Total product discount applied to the order",
            "type": "number"
          },
          "handler": {
            "properties": {
              "aff_code": {
                "description": "Affiliate code of the user",
                "type": "string"
              },
              "avatar": {
                "description": "URL to user avatar",
                "format": "uri",
                "type": "string"
              },
              "email": {
                "description": "User email",
                "format": "email",
                "type": "string"
              },
              "fullname": {
                "description": "User full name",
                "type": "string"
              },
              "id": {
                "description": "User ID",
                "type": "integer"
              },
              "phone": {
                "description": "User phone number",
                "type": "string"
              }
            },
            "title": "UserSimple",
            "type": "object"
          },
          "payment_account_number": {
            "description": "Payment account number",
            "nullable": true,
            "type": "string"
          },
          "payment_method": {
            "description": "Order payment method",
            "enum": [
              "va",
              "qris",
              "card",
              "invoice",
              "alfamart",
              "indomaret",
              "ovo",
              "dana",
              "shopeepay",
              "linkaja",
              "gopay",
              "no_payment",
              "bank_transfer",
              "marketplace",
              "cod"
            ],
            "type": "string"
          },
          "origin_address": {
            "properties": {
              "address": {
                "description": "Full address of the warehouse",
                "type": "string"
              },
              "city": {
                "description": "City of the warehouse address",
                "type": "string"
              },
              "id": {
                "description": "Warehouse Address ID",
                "type": "integer"
              },
              "location": {
                "description": "Location ID for the address",
                "type": "integer"
              },
              "location_id": {
                "description": "Location ID for the address",
                "type": "integer"
              },
              "postal_code": {
                "description": "Postal code of the warehouse address",
                "type": "string"
              },
              "province": {
                "description": "Province of the warehouse address",
                "type": "string"
              },
              "subdistrict": {
                "description": "Subdistrict of the warehouse address",
                "type": "string"
              },
              "warehouse": {
                "description": "ID of the associated warehouse",
                "type": "integer"
              }
            },
            "title": "WarehouseAddress",
            "type": "object"
          },
          "epayment_provider": {
            "description": "E-payment provider. Possible values include `xendit`, `duitku`, `midtrans`, `ipaymu`, and `singapay`.",
            "nullable": true,
            "type": "string"
          },
          "pg_reference_id": {
            "description": "Payment gateway reference ID",
            "nullable": true,
            "type": "string"
          },
          "follow_up_chat_type": {
            "description": "Type of follow up chat",
            "enum": [
              "product",
              "order"
            ],
            "type": "string"
          },
          "awb_status": {
            "description": "Order AWB status",
            "enum": [
              "unavailable",
              "pending",
              "waiting",
              "failed",
              "created",
              "canceled"
            ],
            "type": "string"
          },
          "platform": {
            "description": "Platform where the order was placed",
            "type": "string"
          },
          "follow_up_chats": {
            "description": "Follow up chats associated with the order",
            "items": {
              "properties": {
                "bundle_id": {
                  "description": "Bundle ID associated with the chat",
                  "type": "integer"
                },
                "change_status": {
                  "description": "Change status after follow up chat",
                  "type": "boolean"
                },
                "hours_after": {
                  "description": "Hours after which the follow up chat is triggered",
                  "type": "integer"
                },
                "id": {
                  "description": "Follow Up Chat ID",
                  "type": "integer"
                },
                "image": {
                  "description": "Image URL for the follow up chat",
                  "format": "uri",
                  "type": "string"
                },
                "is_default": {
                  "description": "Is this a default follow up chat?",
                  "type": "boolean"
                },
                "name": {
                  "description": "Name of the follow up chat",
                  "type": "string"
                },
                "product_id": {
                  "description": "Product ID associated with the chat",
                  "type": "integer"
                },
                "provider": {
                  "description": "Provider of the follow up chat service",
                  "type": "string"
                },
                "store_id": {
                  "description": "Store ID associated with the chat",
                  "type": "integer"
                },
                "trigger": {
                  "description": "Trigger condition for the follow up chat",
                  "type": "string"
                }
              },
              "title": "FollowUpChat",
              "type": "object"
            },
            "type": "array"
          },
          "is_purchase_kwai": {
            "description": "Is the order a Kwai purchase",
            "type": "boolean"
          },
          "shipping_discount": {
            "description": "Shipping discount applied to the order",
            "type": "number"
          },
          "confirmed_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "canceled_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "Order status",
            "enum": [
              "draft",
              "pending",
              "confirmed",
              "in_process",
              "ready",
              "shipped",
              "completed",
              "canceled",
              "rts",
              "closed"
            ],
            "type": "string"
          },
          "is_dropshipping": {
            "description": "Is the order a dropshipping order",
            "type": "boolean"
          },
          "payment_account_id": {
            "description": "Payment account ID",
            "nullable": true,
            "type": "integer"
          },
          "is_repeat": {
            "description": "Is the order a repeat order",
            "type": "boolean"
          },
          "tiktok_pixel_ids": {
            "items": {
              "description": "TikTok Pixel ID",
              "type": "string"
            },
            "type": "array"
          },
          "fb_pixel_ids": {
            "items": {
              "description": "Facebook Pixel ID",
              "type": "string"
            },
            "type": "array"
          },
          "id": {
            "$ref": "#/components/schemas/OrderPrimaryKey"
          },
          "is_purchase_tiktok": {
            "description": "Is the order a TikTok purchase",
            "type": "boolean"
          },
          "shipment_status": {
            "description": "Current shipment status of the order",
            "nullable": true,
            "type": "string"
          },
          "kwai_pixel_ids": {
            "items": {
              "description": "Kwai Pixel ID",
              "type": "string"
            },
            "type": "array"
          },
          "sub_payment_method": {
            "description": "Xendit VA bank code",
            "enum": [
              "BCA",
              "BNI",
              "BRI",
              "MANDIRI",
              "PERMATA",
              "BSI",
              "BJB",
              "CIMB",
              "SAHABAT_SAMPOERNA",
              "ARTAJASA"
            ],
            "type": "string"
          },
          "payment_fee": {
            "description": "Payment fee associated with the order",
            "type": "number"
          },
          "channel_name": {
            "description": "Channel name",
            "nullable": true,
            "type": "string"
          },
          "final_variants": {
            "additionalProperties": {
              "description": "Final variant quantity",
              "type": "integer"
            },
            "type": "object"
          },
          "other_income_name": {
            "description": "Name of the other income",
            "nullable": true,
            "type": "string"
          },
          "gross_revenue": {
            "description": "Gross revenue from the order",
            "format": "decimal",
            "type": "string"
          },
          "tags": {
            "description": "Tags associated with the order",
            "items": {
              "properties": {
                "id": {
                  "description": "Tag ID",
                  "type": "integer"
                },
                "name": {
                  "description": "Tag Name",
                  "type": "string"
                }
              },
              "title": "Tag",
              "type": "object"
            },
            "type": "array"
          },
          "other_income": {
            "description": "Other income associated with the order",
            "type": "number"
          },
          "total_weight": {
            "description": "Total weight of the order",
            "type": "number"
          },
          "is_probably_spam": {
            "description": "Is the order probably spam",
            "type": "boolean"
          },
          "external_id": {
            "description": "External ID for the order",
            "nullable": true,
            "type": "string"
          },
          "discount_code_discount": {
            "description": "Discount amount from the discount code",
            "format": "decimal",
            "type": "string"
          },
          "store": {
            "properties": {
              "business": {
                "properties": {
                  "account_holder": {
                    "description": "Name of the account holder",
                    "type": "string"
                  },
                  "email": {
                    "description": "Email address of the business",
                    "format": "email",
                    "type": "string"
                  },
                  "id": {
                    "description": "Business ID",
                    "type": "integer"
                  },
                  "is_banned": {
                    "description": "Is the business banned?",
                    "type": "boolean"
                  },
                  "logo": {
                    "description": "URL to the business logo",
                    "format": "uri",
                    "type": "string"
                  },
                  "unique_id": {
                    "description": "Unique identifier for the business",
                    "type": "string"
                  },
                  "username": {
                    "description": "Username of the business",
                    "type": "string"
                  }
                },
                "title": "BusinessSimple",
                "type": "object"
              },
              "id": {
                "description": "Store ID",
                "type": "integer"
              },
              "name": {
                "description": "Name of the store",
                "type": "string"
              },
              "unique_id": {
                "description": "Unique identifier for the store",
                "type": "string"
              },
              "uuid": {
                "description": "UUID of the store",
                "type": "string"
              }
            },
            "title": "SimpleForOrderStore",
            "type": "object"
          },
          "pg_payment_info": {
            "additionalProperties": true,
            "description": "Payment gateway payment info. SingaPay payments use normalized keys such as `payment_url`, `deeplink_url`, `qr_string`, `qr_image_url`, `va_number`, and `va_name`.",
            "nullable": true,
            "type": "object"
          },
          "courier_service": {
            "properties": {
              "code": {
                "description": "Code for the courier service",
                "type": "string"
              },
              "code_co": {
                "description": "Code for CO courier service",
                "type": "string"
              },
              "code_ka": {
                "description": "Code for KA courier service",
                "type": "string"
              },
              "code_lincah": {
                "description": "Code for Lincah courier service",
                "type": "string"
              },
              "code_mengantar": {
                "description": "Code for Mengantar courier service",
                "type": "string"
              },
              "code_ro": {
                "description": "Code for RO courier service",
                "type": "string"
              },
              "courier": {
                "properties": {
                  "code": {
                    "description": "Courier code",
                    "type": "string"
                  },
                  "code_ka": {
                    "description": "Courier code in Georgian",
                    "type": "string"
                  },
                  "code_lincah": {
                    "description": "Courier code in Lincah",
                    "type": "string"
                  },
                  "code_mengantar": {
                    "description": "Courier code for Mengantar",
                    "type": "string"
                  },
                  "code_ro": {
                    "description": "Courier code in Romanian",
                    "type": "string"
                  },
                  "courier_type": {
                    "description": "Type of the courier",
                    "enum": [
                      "delivery",
                      "pickup"
                    ],
                    "type": "string"
                  },
                  "id": {
                    "description": "Courier ID",
                    "type": "integer"
                  },
                  "is_pickup": {
                    "description": "Is this a pickup courier?",
                    "type": "boolean"
                  },
                  "name": {
                    "description": "Courier name",
                    "type": "string"
                  }
                },
                "title": "Courier",
                "type": "object"
              },
              "id": {
                "description": "Courier Service ID",
                "type": "integer"
              },
              "name": {
                "description": "Name of the courier service",
                "type": "string"
              }
            },
            "title": "CourierService",
            "type": "object"
          },
          "mark_as_spam_by": {
            "description": "Who marked the order as spam",
            "nullable": true,
            "type": "string"
          },
          "net_payment_revenue": {
            "description": "Net payment revenue from the order",
            "format": "decimal",
            "type": "string"
          },
          "rts_time": {
            "description": "Ready to ship timestamp",
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "secret_slug": {
            "description": "Secret slug for the order",
            "nullable": true,
            "type": "string"
          },
          "public_order_url": {
            "description": "Public order URL built from metadata.custom_domain_full_url and secret_slug.",
            "nullable": true,
            "type": "string",
            "format": "uri"
          },
          "payment_url": {
            "description": "Payment URL built from public_order_url with /success appended.",
            "nullable": true,
            "type": "string",
            "format": "uri"
          },
          "agent_context": {
            "additionalProperties": true,
            "description": "Untrusted agent or app attribution metadata",
            "type": "object"
          },
          "draft_time": {
            "description": "Draft timestamp",
            "format": "date-time",
            "type": "string"
          },
          "last_updated_at": {
            "description": "Last updated timestamp of the order",
            "format": "date-time",
            "type": "string"
          },
          "courier_additional_info": {
            "description": "Additional courier information",
            "nullable": true,
            "type": "string"
          },
          "closed_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "financial_entity": {
            "properties": {
              "code": {
                "description": "Code of the financial entity",
                "type": "string"
              },
              "duitku_code": {
                "description": "Duitku code for the financial entity",
                "type": "string"
              },
              "entity_type": {
                "description": "Type of the financial entity",
                "type": "string"
              },
              "id": {
                "description": "Financial Entity ID",
                "type": "integer"
              },
              "name": {
                "description": "Name of the financial entity",
                "type": "string"
              },
              "platform": {
                "description": "Platform associated with the financial entity",
                "type": "string"
              },
              "xendit_code": {
                "description": "Xendit code for the financial entity",
                "type": "string"
              }
            },
            "title": "FinancialEntity",
            "type": "object"
          },
          "is_purchase_fb": {
            "description": "Is the order a Facebook purchase",
            "type": "boolean"
          },
          "completed_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "utm_source": {
            "description": "UTM source for tracking",
            "nullable": true,
            "type": "string"
          },
          "payment_account_holder": {
            "description": "Payment account holder name",
            "nullable": true,
            "type": "string"
          },
          "shipment_receipt": {
            "description": "Shipment receipt URL",
            "nullable": true,
            "type": "string"
          },
          "message_history": {
            "items": {
              "properties": {
                "id": {
                  "description": "ID of the Follow Up Chat",
                  "type": "integer"
                },
                "is_from_bot": {
                  "description": "Is the message from bot",
                  "type": "boolean"
                },
                "message": {
                  "description": "Message content",
                  "type": "string"
                },
                "name": {
                  "description": "Name of the sender",
                  "type": "string"
                },
                "provider": {
                  "description": "Message provider",
                  "type": "string"
                },
                "recipient_name": {
                  "description": "Recipient name",
                  "type": "string"
                },
                "recipient_phone": {
                  "description": "Recipient phone number",
                  "type": "string"
                },
                "sender_name": {
                  "description": "Sender name",
                  "type": "string"
                },
                "sender_phone": {
                  "description": "Sender phone number",
                  "type": "string"
                },
                "timestamp": {
                  "description": "Timestamp of the message",
                  "format": "date-time",
                  "type": "string"
                }
              },
              "title": "MessageHistoryItem",
              "type": "object"
            },
            "type": "array"
          },
          "payment_status": {
            "description": "Order payment status",
            "enum": [
              "unpaid",
              "paid",
              "conflict",
              "settled"
            ],
            "type": "string"
          },
          "shipment_provider_code": {
            "description": "Shipment provider code",
            "enum": [
              "mengantar",
              "lincah",
              "ninja"
            ],
            "nullable": true,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": true,
            "description": "Metadata associated with the order",
            "type": "object"
          },
          "discount_code_applied_to": {
            "description": "Discount code applied to the order",
            "nullable": true,
            "type": "string"
          },
          "shipped_time": {
            "description": "Shipped timestamp of the order",
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "awb_ca_status": {
            "description": "Order AWB courier aggregator status",
            "enum": [
              "unavailable",
              "pending",
              "waiting",
              "failed",
              "created",
              "canceled"
            ],
            "type": "string"
          },
          "created_at": {
            "description": "Order creation timestamp",
            "format": "date-time",
            "type": "string"
          },
          "pending_time": {
            "description": "Pending timestamp of the order",
            "format": "date-time",
            "type": "string"
          },
          "notes": {
            "description": "Notes associated with the order",
            "nullable": true,
            "type": "string"
          },
          "destination_address": {
            "properties": {
              "address": {
                "description": "Full address",
                "type": "string"
              },
              "city": {
                "description": "City of the address",
                "type": "string"
              },
              "id": {
                "description": "Order Address ID",
                "type": "integer"
              },
              "location": {
                "description": "Location ID for the address",
                "type": "integer"
              },
              "name": {
                "description": "Name of the recipient",
                "type": "string"
              },
              "phone": {
                "description": "Phone number of the recipient",
                "type": "string"
              },
              "postal_code": {
                "description": "Postal code of the address",
                "type": "string"
              },
              "province": {
                "description": "Province of the address",
                "type": "string"
              },
              "subdistrict": {
                "description": "Subdistrict of the address",
                "type": "string"
              }
            },
            "title": "OrderAddress",
            "type": "object"
          },
          "unique_code_discount": {
            "description": "Discount from unique code applied to the order",
            "type": "number"
          }
        },
        "title": "OrderList",
        "type": "object"
      },
      "ListOrdersResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderList"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ],
            "example": true
          },
          "has_next": {
            "default": false,
            "example": false,
            "nullable": false,
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "default": 25,
            "example": 25,
            "nullable": false,
            "type": "integer"
          }
        },
        "additionalProperties": true,
        "description": "Paginated list payload for v3."
      },
      "OrderCreateBody": {
        "properties": {
          "dropshipper_name": {
            "description": "Dropshipper name",
            "type": "string"
          },
          "transferproof_url": {
            "description": "Transfer proof URL",
            "type": "string"
          },
          "dropshipper_phone": {
            "description": "Dropshipper phone",
            "type": "string"
          },
          "customer_name": {
            "description": "Customer name",
            "type": "string"
          },
          "shipping_cost": {
            "description": "Shipping cost",
            "type": "number"
          },
          "product_discount": {
            "description": "Product discount amount",
            "type": "number"
          },
          "courier_service_id": {
            "description": "Courier service ID",
            "type": "integer"
          },
          "payment_account_number": {
            "description": "Payment account number",
            "type": "string"
          },
          "payment_method": {
            "description": "Order payment method",
            "enum": [
              "va",
              "qris",
              "card",
              "invoice",
              "alfamart",
              "indomaret",
              "ovo",
              "dana",
              "shopeepay",
              "linkaja",
              "gopay",
              "no_payment",
              "bank_transfer",
              "marketplace",
              "cod"
            ],
            "type": "string"
          },
          "ordervariants": {
            "description": "Order variants",
            "items": {
              "properties": {
                "quantity": {
                  "description": "Quantity",
                  "type": "integer"
                },
                "variant_unique_id": {
                  "description": "Variant unique ID",
                  "type": "string"
                }
              },
              "required": [
                "variant_unique_id",
                "quantity"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "shipping_discount": {
            "description": "Shipping discount amount",
            "type": "number"
          },
          "store_unique_id": {
            "description": "Store unique ID",
            "type": "string"
          },
          "customer_phone": {
            "description": "Customer phone number",
            "type": "string"
          },
          "is_dropshipping": {
            "description": "Is dropshipping order",
            "type": "boolean"
          },
          "sub_payment_method": {
            "description": "Xendit VA bank code",
            "enum": [
              "BCA",
              "BNI",
              "BRI",
              "MANDIRI",
              "PERMATA",
              "BSI",
              "BJB",
              "CIMB",
              "SAHABAT_SAMPOERNA",
              "ARTAJASA"
            ],
            "type": "string"
          },
          "warehouse_unique_id": {
            "description": "Warehouse unique ID",
            "type": "string"
          },
          "other_income_name": {
            "description": "Other income name",
            "type": "string"
          },
          "other_income": {
            "description": "Other income amount",
            "type": "number"
          },
          "is_probably_spam": {
            "default": false,
            "description": "Is the order probably spam",
            "type": "boolean"
          },
          "orderbundles": {
            "description": "Order bundles",
            "items": {
              "properties": {
                "bundle_price_option_unique_id": {
                  "description": "Bundle price option unique ID",
                  "type": "string"
                },
                "quantity": {
                  "description": "Quantity",
                  "type": "integer"
                }
              },
              "required": [
                "bundle_price_option_unique_id",
                "quantity"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "page_unique_id": {
            "description": "Page unique ID",
            "type": "string"
          },
          "channel_unique_id": {
            "description": "Channel unique ID",
            "type": "string"
          },
          "address": {
            "description": "Recipient address",
            "type": "string"
          },
          "customer_email": {
            "description": "Customer email",
            "format": "email",
            "type": "string"
          },
          "payment_account_unique_id": {
            "description": "Payment account unique ID",
            "type": "string"
          },
          "agent_context": {
            "additionalProperties": true,
            "description": "Untrusted agent or app attribution metadata",
            "type": "object"
          },
          "financial_entity_id": {
            "description": "Financial entity ID",
            "type": "integer"
          },
          "location_id": {
            "description": "Location ID",
            "type": "integer"
          },
          "postal_code": {
            "description": "Postal code",
            "type": "string"
          },
          "payment_account_holder": {
            "description": "Payment account holder name",
            "type": "string"
          },
          "shipment_provider_code": {
            "description": "Shipment provider code",
            "enum": [
              "mengantar",
              "lincah",
              "ninja"
            ],
            "nullable": true,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": true,
            "description": "Additional metadata",
            "type": "object"
          },
          "notes": {
            "description": "Order notes",
            "type": "string"
          }
        },
        "required": [
          "store_unique_id",
          "customer_name"
        ],
        "title": "OrderCreateBody",
        "type": "object"
      },
      "Order": {
        "properties": {
          "gross_revenue_for_dropshipper": {
            "description": "Gross revenue for dropshipper after discounts",
            "format": "decimal",
            "type": "string"
          },
          "advertiser": {
            "properties": {
              "aff_code": {
                "description": "Affiliate code of the user",
                "type": "string"
              },
              "avatar": {
                "description": "URL to user avatar",
                "format": "uri",
                "type": "string"
              },
              "email": {
                "description": "User email",
                "format": "email",
                "type": "string"
              },
              "fullname": {
                "description": "User full name",
                "type": "string"
              },
              "id": {
                "description": "User ID",
                "type": "integer"
              },
              "phone": {
                "description": "User phone number",
                "type": "string"
              }
            },
            "title": "UserSimple",
            "type": "object"
          },
          "cogs": {
            "description": "Cost of goods sold for the order",
            "format": "decimal",
            "type": "string"
          },
          "dropshipper_name": {
            "description": "Name of the dropshipper",
            "nullable": true,
            "type": "string"
          },
          "transferproof_url": {
            "description": "Transfer proof URL",
            "nullable": true,
            "type": "string"
          },
          "scalev_fee": {
            "description": "Scalev fee for the order",
            "format": "decimal",
            "type": "string"
          },
          "shipment_status_history": {
            "items": {
              "properties": {
                "description": {
                  "description": "Description of the status update",
                  "type": "string"
                },
                "status": {
                  "description": "Current status of the shipment",
                  "type": "string"
                },
                "timestamp": {
                  "description": "Timestamp of the status update",
                  "format": "date-time",
                  "type": "string"
                },
                "timestamp_source": {
                  "description": "Source of the timestamp",
                  "type": "string"
                }
              },
              "title": "ShipmentStatusHistory",
              "type": "object"
            },
            "type": "array"
          },
          "discount_code_code": {
            "description": "Discount code used in the order",
            "nullable": true,
            "type": "string"
          },
          "ready_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "warehouse": {
            "properties": {
              "business": {
                "properties": {
                  "account_holder": {
                    "description": "Name of the account holder",
                    "type": "string"
                  },
                  "email": {
                    "description": "Email address of the business",
                    "format": "email",
                    "type": "string"
                  },
                  "id": {
                    "description": "Business ID",
                    "type": "integer"
                  },
                  "is_banned": {
                    "description": "Is the business banned?",
                    "type": "boolean"
                  },
                  "logo": {
                    "description": "URL to the business logo",
                    "format": "uri",
                    "type": "string"
                  },
                  "unique_id": {
                    "description": "Unique identifier for the business",
                    "type": "string"
                  },
                  "username": {
                    "description": "Username of the business",
                    "type": "string"
                  }
                },
                "title": "BusinessSimple",
                "type": "object"
              },
              "contact_name": {
                "description": "Contact name at the warehouse",
                "type": "string"
              },
              "contact_phone": {
                "description": "Contact phone number at the warehouse",
                "type": "string"
              },
              "id": {
                "description": "Warehouse ID",
                "type": "integer"
              },
              "name": {
                "description": "Name of the warehouse",
                "type": "string"
              }
            },
            "title": "ForOrderWarehouse",
            "type": "object"
          },
          "payment_fee_rate": {
            "description": "Payment fee rate applied to the order",
            "format": "decimal",
            "type": "string"
          },
          "pg_paid_info": {
            "additionalProperties": true,
            "description": "Payment gateway paid info",
            "nullable": true,
            "type": "object"
          },
          "transfer_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "dropshipper_phone": {
            "description": "Phone number of the dropshipper",
            "nullable": true,
            "type": "string"
          },
          "shipping_cost": {
            "description": "Shipping cost for the order",
            "format": "decimal",
            "type": "string"
          },
          "product_price": {
            "description": "Total product price before discounts",
            "format": "decimal",
            "type": "string"
          },
          "total_quantity": {
            "description": "Total quantity of items in the order",
            "type": "integer"
          },
          "net_revenue": {
            "description": "Net revenue after all discounts and fees",
            "format": "decimal",
            "type": "string"
          },
          "bundle_price_options": {
            "additionalProperties": true,
            "description": "Bundle price options for the order",
            "nullable": true,
            "type": "object"
          },
          "customer": {
            "properties": {
              "confirmed_at": {
                "description": "Confirmation timestamp",
                "format": "date-time",
                "type": "string"
              },
              "created_at": {
                "description": "Creation timestamp",
                "format": "date-time",
                "type": "string"
              },
              "email": {
                "description": "Customer email",
                "format": "email",
                "type": "string"
              },
              "id": {
                "description": "Customer ID",
                "type": "integer"
              },
              "last_updated_at": {
                "description": "Last update timestamp",
                "format": "date-time",
                "type": "string"
              },
              "name": {
                "description": "Customer name",
                "type": "string"
              },
              "phone": {
                "description": "Customer phone number",
                "type": "string"
              },
              "status": {
                "description": "Customer status",
                "type": "string"
              }
            },
            "title": "CustomerOrder",
            "type": "object"
          },
          "variants": {
            "additionalProperties": true,
            "description": "Variants of the order",
            "nullable": true,
            "type": "object"
          },
          "chat_message": {
            "description": "Chat message associated with the order",
            "type": "string"
          },
          "handler_phone": {
            "description": "Handler phone number",
            "nullable": true,
            "type": "string"
          },
          "business": {
            "properties": {
              "account_holder": {
                "description": "Name of the account holder",
                "type": "string"
              },
              "email": {
                "description": "Email address of the business",
                "format": "email",
                "type": "string"
              },
              "id": {
                "description": "Business ID",
                "type": "integer"
              },
              "is_banned": {
                "description": "Is the business banned?",
                "type": "boolean"
              },
              "logo": {
                "description": "URL to the business logo",
                "format": "uri",
                "type": "string"
              },
              "unique_id": {
                "description": "Unique identifier for the business",
                "type": "string"
              },
              "username": {
                "description": "Username of the business",
                "type": "string"
              }
            },
            "title": "BusinessSimple",
            "type": "object"
          },
          "order_emails": {
            "description": "Order emails associated with the order",
            "items": {
              "properties": {
                "from": {
                  "description": "Sender email address",
                  "type": "string"
                },
                "id": {
                  "description": "Order email ID",
                  "type": "integer"
                },
                "inserted_at": {
                  "description": "Email creation timestamp",
                  "format": "date-time",
                  "type": "string"
                },
                "message_id": {
                  "description": "Message ID of the email",
                  "type": "string"
                },
                "order_id": {
                  "$ref": "#/components/schemas/OrderPrimaryKey"
                },
                "status": {
                  "description": "Email status",
                  "type": "string"
                },
                "status_history": {
                  "items": {
                    "properties": {
                      "status": {
                        "description": "Email status",
                        "type": "string"
                      },
                      "timestamp": {
                        "description": "Timestamp of the status change",
                        "format": "date-time",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                },
                "subject": {
                  "description": "Email subject",
                  "type": "string"
                },
                "to": {
                  "description": "Recipient email address",
                  "type": "string"
                },
                "type": {
                  "description": "Type of the email",
                  "type": "string"
                },
                "updated_at": {
                  "description": "Last update timestamp of the email",
                  "format": "date-time",
                  "type": "string"
                }
              },
              "title": "OrderEmail",
              "type": "object"
            },
            "type": "array"
          },
          "order_id": {
            "description": "Order ID in string format",
            "type": "string"
          },
          "product_discount": {
            "description": "Total product discount applied",
            "format": "decimal",
            "type": "string"
          },
          "last_updated_by": {
            "properties": {
              "aff_code": {
                "description": "Affiliate code of the user",
                "type": "string"
              },
              "avatar": {
                "description": "URL to user avatar",
                "format": "uri",
                "type": "string"
              },
              "email": {
                "description": "User email",
                "format": "email",
                "type": "string"
              },
              "fullname": {
                "description": "User full name",
                "type": "string"
              },
              "id": {
                "description": "User ID",
                "type": "integer"
              },
              "phone": {
                "description": "User phone number",
                "type": "string"
              }
            },
            "title": "UserSimple",
            "type": "object"
          },
          "handler": {
            "properties": {
              "aff_code": {
                "description": "Affiliate code of the user",
                "type": "string"
              },
              "avatar": {
                "description": "URL to user avatar",
                "format": "uri",
                "type": "string"
              },
              "email": {
                "description": "User email",
                "format": "email",
                "type": "string"
              },
              "fullname": {
                "description": "User full name",
                "type": "string"
              },
              "id": {
                "description": "User ID",
                "type": "integer"
              },
              "phone": {
                "description": "User phone number",
                "type": "string"
              }
            },
            "title": "UserSimple",
            "type": "object"
          },
          "payment_account_number": {
            "description": "Payment account number",
            "nullable": true,
            "type": "string"
          },
          "payment_method": {
            "description": "Order payment method",
            "enum": [
              "va",
              "qris",
              "card",
              "invoice",
              "alfamart",
              "indomaret",
              "ovo",
              "dana",
              "shopeepay",
              "linkaja",
              "gopay",
              "no_payment",
              "bank_transfer",
              "marketplace",
              "cod"
            ],
            "type": "string"
          },
          "courier": {
            "description": "Courier ID for the order",
            "nullable": true,
            "type": "integer"
          },
          "origin_address": {
            "properties": {
              "address": {
                "description": "Full address of the warehouse",
                "type": "string"
              },
              "city": {
                "description": "City of the warehouse address",
                "type": "string"
              },
              "id": {
                "description": "Warehouse Address ID",
                "type": "integer"
              },
              "location": {
                "description": "Location ID for the address",
                "type": "integer"
              },
              "location_id": {
                "description": "Location ID for the address",
                "type": "integer"
              },
              "postal_code": {
                "description": "Postal code of the warehouse address",
                "type": "string"
              },
              "province": {
                "description": "Province of the warehouse address",
                "type": "string"
              },
              "subdistrict": {
                "description": "Subdistrict of the warehouse address",
                "type": "string"
              },
              "warehouse": {
                "description": "ID of the associated warehouse",
                "type": "integer"
              }
            },
            "title": "WarehouseAddress",
            "type": "object"
          },
          "epayment_provider": {
            "description": "E-payment provider. Possible values include `xendit`, `duitku`, `midtrans`, `ipaymu`, and `singapay`.",
            "nullable": true,
            "type": "string"
          },
          "in_process_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "pg_reference_id": {
            "description": "Payment gateway reference ID",
            "nullable": true,
            "type": "string"
          },
          "weight_bump": {
            "description": "Weight bump added to the order",
            "format": "decimal",
            "type": "string"
          },
          "follow_up_chat_type": {
            "description": "Type of follow-up chat for the order",
            "nullable": true,
            "type": "string"
          },
          "awb_status": {
            "description": "Order AWB status",
            "enum": [
              "unavailable",
              "pending",
              "waiting",
              "failed",
              "created",
              "canceled"
            ],
            "type": "string"
          },
          "platform": {
            "description": "Platform of the order",
            "type": "string"
          },
          "follow_up_chats": {
            "items": {
              "properties": {
                "bundle_id": {
                  "description": "Bundle ID associated with the chat",
                  "type": "integer"
                },
                "change_status": {
                  "description": "Change status after follow up chat",
                  "type": "boolean"
                },
                "hours_after": {
                  "description": "Hours after which the follow up chat is triggered",
                  "type": "integer"
                },
                "id": {
                  "description": "Follow Up Chat ID",
                  "type": "integer"
                },
                "image": {
                  "description": "Image URL for the follow up chat",
                  "format": "uri",
                  "type": "string"
                },
                "is_default": {
                  "description": "Is this a default follow up chat?",
                  "type": "boolean"
                },
                "name": {
                  "description": "Name of the follow up chat",
                  "type": "string"
                },
                "product_id": {
                  "description": "Product ID associated with the chat",
                  "type": "integer"
                },
                "provider": {
                  "description": "Provider of the follow up chat service",
                  "type": "string"
                },
                "store_id": {
                  "description": "Store ID associated with the chat",
                  "type": "integer"
                },
                "trigger": {
                  "description": "Trigger condition for the follow up chat",
                  "type": "string"
                }
              },
              "title": "FollowUpChat",
              "type": "object"
            },
            "type": "array"
          },
          "is_purchase_kwai": {
            "description": "Is this order a Kwai purchase",
            "type": "boolean"
          },
          "shipping_discount": {
            "description": "Shipping discount applied to the order",
            "format": "decimal",
            "type": "string"
          },
          "conflict_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "paid_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "confirmed_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "canceled_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "Order status",
            "enum": [
              "draft",
              "pending",
              "confirmed",
              "in_process",
              "ready",
              "shipped",
              "completed",
              "canceled",
              "rts",
              "closed"
            ],
            "type": "string"
          },
          "is_dropshipping": {
            "description": "Is the order a dropshipping order",
            "type": "boolean"
          },
          "payment_account_id": {
            "description": "Payment account ID",
            "nullable": true,
            "type": "integer"
          },
          "is_repeat": {
            "description": "Is repeat order",
            "type": "boolean"
          },
          "tiktok_pixel_ids": {
            "description": "TikTok pixel IDs associated with the order",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "fb_pixel_ids": {
            "description": "Facebook pixel IDs associated with the order",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "id": {
            "$ref": "#/components/schemas/OrderPrimaryKey"
          },
          "unpaid_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "is_purchase_tiktok": {
            "description": "Is this order a TikTok purchase",
            "type": "boolean"
          },
          "orderlines": {
            "items": {
              "properties": {
                "cogs": {
                  "description": "Cost of Goods Sold for this order line",
                  "format": "float",
                  "type": "number"
                },
                "variant_reseller_price_bt": {
                  "description": "Reseller price of the variant minus tax",
                  "format": "float",
                  "type": "number"
                },
                "inserted_at": {
                  "description": "Timestamp when the order line was created",
                  "example": "2023-10-01T12:00:00Z",
                  "format": "date-time",
                  "type": "string"
                },
                "product_price": {
                  "description": "Price of the product before discounts",
                  "format": "float",
                  "type": "number"
                },
                "variant_price_bt": {
                  "description": "Price of the variant minus tax",
                  "format": "float",
                  "type": "number"
                },
                "variant_cogs": {
                  "description": "COGS of the variant",
                  "format": "float",
                  "type": "number"
                },
                "is_inventory": {
                  "description": "Is this order line related to inventory?",
                  "type": "boolean"
                },
                "discount": {
                  "description": "Discount amount applied",
                  "format": "float",
                  "type": "number"
                },
                "product_business": {
                  "description": "Business ID of the product",
                  "type": "integer"
                },
                "product_name": {
                  "description": "Name of the product",
                  "type": "string"
                },
                "variant_reseller_price": {
                  "description": "Reseller price of the variant",
                  "format": "float",
                  "type": "number"
                },
                "variant_sku": {
                  "description": "SKU of the variant",
                  "type": "string"
                },
                "item_type": {
                  "description": "Type of the product item",
                  "enum": [
                    "physical",
                    "digital",
                    "course",
                    "license",
                    "subscription"
                  ],
                  "title": "ItemType",
                  "type": "string"
                },
                "discount_bt": {
                  "description": "Discount amount minus tax",
                  "format": "float",
                  "type": "number"
                },
                "pricing_type": {
                  "description": "Type of the product pricing",
                  "enum": [
                    "one_time",
                    "recurring"
                  ],
                  "title": "PricingType",
                  "type": "string"
                },
                "variant_option1_value": {
                  "description": "Value of option 1 for the variant",
                  "type": "string"
                },
                "id": {
                  "$ref": "#/components/schemas/OrderLinePrimaryKey"
                },
                "cogs_bt": {
                  "description": "COGS for this order line minus tax",
                  "format": "float",
                  "type": "number"
                },
                "discount_rate": {
                  "description": "Discount rate applied to this order line",
                  "format": "float",
                  "type": "number"
                },
                "currency": {
                  "description": "The currency code for the subscription item price.",
                  "enum": [
                    "IDR"
                  ],
                  "title": "Currency",
                  "type": "string"
                },
                "quantity": {
                  "description": "Quantity of the item",
                  "type": "integer"
                },
                "variant_price": {
                  "description": "Price of the variant",
                  "format": "float",
                  "type": "number"
                },
                "weight": {
                  "description": "Weight of the product",
                  "format": "float",
                  "type": "number"
                },
                "discount_code_discount": {
                  "description": "Discount from a discount code",
                  "format": "float",
                  "type": "number"
                },
                "variant": {
                  "description": "Variant ID",
                  "type": "integer"
                },
                "variant_cogs_bt": {
                  "description": "COGS of the varian minus tax",
                  "format": "float",
                  "type": "number"
                },
                "variant_option2_value": {
                  "description": "Value of option 2 for the variant",
                  "type": "string"
                },
                "reseller_product_price_bt": {
                  "description": "Reseller price of the product minus tax",
                  "format": "float",
                  "type": "number"
                },
                "interval_count": {
                  "description": "Count of intervals for recurring pricing",
                  "type": "integer"
                },
                "discount_code_discount_bt": {
                  "description": "Discount from a discount code minus tax",
                  "format": "float",
                  "type": "number"
                },
                "tax_rate": {
                  "description": "Tax rate applied to this order line",
                  "format": "float",
                  "type": "number"
                },
                "product_price_bt": {
                  "description": "Price of the product before discounts minus tax",
                  "format": "float",
                  "type": "number"
                },
                "reseller_product_price": {
                  "description": "Reseller price of the product",
                  "format": "float",
                  "type": "number"
                },
                "variant_option3_value": {
                  "description": "Value of option 3 for the variant",
                  "type": "string"
                },
                "interval": {
                  "description": "Unit of the period",
                  "enum": [
                    "day",
                    "week",
                    "month",
                    "year"
                  ],
                  "title": "PeriodUnit",
                  "type": "string"
                }
              },
              "title": "OrderLine",
              "type": "object"
            },
            "type": "array"
          },
          "shipment_status": {
            "description": "Current shipment status of the order",
            "nullable": true,
            "type": "string"
          },
          "kwai_pixel_ids": {
            "description": "Kwai pixel IDs associated with the order",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "cogs_bt": {
            "description": "Cost of goods sold for the order minus tax",
            "format": "decimal",
            "type": "string"
          },
          "sub_payment_method": {
            "description": "Xendit VA bank code",
            "enum": [
              "BCA",
              "BNI",
              "BRI",
              "MANDIRI",
              "PERMATA",
              "BSI",
              "BJB",
              "CIMB",
              "SAHABAT_SAMPOERNA",
              "ARTAJASA"
            ],
            "type": "string"
          },
          "payment_fee": {
            "description": "Payment fee for the order",
            "format": "decimal",
            "type": "string"
          },
          "channel_name": {
            "description": "Channel name of the order",
            "nullable": true,
            "type": "string"
          },
          "discount_rate": {
            "description": "Discount rate applied to the order",
            "format": "decimal",
            "type": "string"
          },
          "final_variants": {
            "additionalProperties": true,
            "description": "Final variants of the order after bundle options",
            "nullable": true,
            "type": "object"
          },
          "other_income_name": {
            "description": "Name of other income source",
            "nullable": true,
            "type": "string"
          },
          "gross_revenue": {
            "description": "Gross revenue of the order",
            "format": "decimal",
            "type": "string"
          },
          "tags": {
            "description": "Tags associated with the order",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "discount_code_id": {
            "description": "Discount code ID",
            "nullable": true,
            "type": "integer"
          },
          "other_income": {
            "description": "Other income amount",
            "format": "decimal",
            "type": "string"
          },
          "status_history": {
            "items": {
              "properties": {
                "by": {
                  "description": "Who changed the status",
                  "nullable": true,
                  "type": "string"
                },
                "status": {
                  "description": "Order status",
                  "enum": [
                    "draft",
                    "pending",
                    "confirmed",
                    "in_process",
                    "ready",
                    "shipped",
                    "completed",
                    "canceled",
                    "rts",
                    "closed"
                  ],
                  "type": "string"
                },
                "time": {
                  "format": "date-time",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "total_weight": {
            "description": "Total weight of the order including weight bump",
            "format": "decimal",
            "type": "string"
          },
          "is_probably_spam": {
            "description": "Is probably spam",
            "type": "boolean"
          },
          "external_id": {
            "description": "External ID of the order",
            "type": "string"
          },
          "payment_status_history": {
            "items": {
              "properties": {
                "by": {
                  "description": "Who changed the status",
                  "nullable": true,
                  "type": "string"
                },
                "status": {
                  "description": "Order status",
                  "enum": [
                    "draft",
                    "pending",
                    "confirmed",
                    "in_process",
                    "ready",
                    "shipped",
                    "completed",
                    "canceled",
                    "rts",
                    "closed"
                  ],
                  "type": "string"
                },
                "time": {
                  "format": "date-time",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "discount_code_discount": {
            "description": "Discount code discount amount",
            "format": "decimal",
            "type": "string"
          },
          "product_discount_bt": {
            "description": "Total product discount applied minus tax",
            "format": "decimal",
            "type": "string"
          },
          "store": {
            "properties": {
              "is_unique_code": {
                "description": "Is unique code required for orders?",
                "type": "boolean"
              },
              "is_postal_code": {
                "description": "Is postal code required for orders?",
                "type": "boolean"
              },
              "is_discount_editable": {
                "description": "Is discount editable?",
                "type": "boolean"
              },
              "store_method_other_incomes": {
                "description": "Other incomes for store methods",
                "items": {
                  "description": "Store Payment Method Other Income Schema",
                  "properties": {
                    "amount": {
                      "description": "Amount of other income",
                      "format": "float",
                      "type": "number"
                    },
                    "payment_method": {
                      "description": "Payment Method",
                      "type": "string"
                    },
                    "percentage": {
                      "description": "Percentage of other income",
                      "format": "float",
                      "type": "number"
                    },
                    "sub_payment_method": {
                      "description": "Sub Payment Method",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of amount (fixed or percentage)",
                      "enum": [
                        "fixed",
                        "percentage"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "payment_method",
                    "type"
                  ],
                  "title": "StorePaymentMethodOtherIncome",
                  "type": "object"
                },
                "type": "array"
              },
              "store_courier_other_incomes": {
                "description": "Other incomes for store couriers",
                "items": {
                  "description": "Store Courier Other Income Schema",
                  "properties": {
                    "amount": {
                      "description": "Amount of other income",
                      "format": "float",
                      "type": "number"
                    },
                    "courier_id": {
                      "description": "Courier ID",
                      "type": "integer"
                    },
                    "percentage": {
                      "description": "Percentage of other income",
                      "format": "float",
                      "type": "number"
                    },
                    "type": {
                      "description": "Type of other income",
                      "enum": [
                        "fixed",
                        "percentage"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "courier_id",
                    "type"
                  ],
                  "title": "StoreCourierOtherIncome",
                  "type": "object"
                },
                "type": "array"
              },
              "dynamic_other_income_cod_default_percentage": {
                "description": "Default percentage for dynamic COD income",
                "format": "float",
                "type": "number"
              },
              "dynamic_other_income_epayment_type": {
                "description": "Type of amount (fixed or percentage)",
                "enum": [
                  "fixed",
                  "percentage"
                ],
                "type": "string"
              },
              "chatbot_system_prompt": {
                "description": "Custom system prompt appended to chatbot prompt for this store",
                "maxLength": 5000,
                "type": "string"
              },
              "dynamic_other_income_cod_default_amount": {
                "description": "Default amount for dynamic COD income",
                "format": "float",
                "type": "number"
              },
              "business": {
                "properties": {
                  "account_holder": {
                    "description": "Name of the account holder",
                    "type": "string"
                  },
                  "email": {
                    "description": "Email address of the business",
                    "format": "email",
                    "type": "string"
                  },
                  "id": {
                    "description": "Business ID",
                    "type": "integer"
                  },
                  "is_banned": {
                    "description": "Is the business banned?",
                    "type": "boolean"
                  },
                  "logo": {
                    "description": "URL to the business logo",
                    "format": "uri",
                    "type": "string"
                  },
                  "unique_id": {
                    "description": "Unique identifier for the business",
                    "type": "string"
                  },
                  "username": {
                    "description": "Username of the business",
                    "type": "string"
                  }
                },
                "title": "BusinessSimple",
                "type": "object"
              },
              "uuid": {
                "description": "UUID of the store",
                "type": "string"
              },
              "non_cod_purchase_triggers": {
                "description": "Non-COD purchase triggers",
                "items": {
                  "enum": [
                    "public_upload",
                    "internal_upload",
                    "confirmed",
                    "shipped",
                    "completed"
                  ],
                  "type": "string"
                },
                "type": "array"
              },
              "is_dropshipping_allowed": {
                "description": "Is dropshipping allowed in this store?",
                "type": "boolean"
              },
              "cod_purchase_triggers": {
                "description": "COD purchase triggers",
                "items": {
                  "enum": [
                    "public_upload",
                    "internal_upload",
                    "confirmed",
                    "shipped",
                    "completed"
                  ],
                  "type": "string"
                },
                "type": "array"
              },
              "is_use_waba": {
                "description": "Is WABA integration enabled?",
                "type": "boolean"
              },
              "postal_code_requirement": {
                "description": "Postal code requirement options",
                "enum": [
                  "autofill",
                  "manual"
                ],
                "type": "string"
              },
              "name": {
                "description": "Name of the store",
                "type": "string"
              },
              "id": {
                "description": "Store ID",
                "type": "integer"
              },
              "is_moota_enabled": {
                "description": "Is Moota integration enabled for this store?",
                "type": "boolean"
              },
              "sub_payment_methods": {
                "description": "VA bank sub-payment method codes",
                "items": {
                  "description": "VA bank sub-payment method code",
                  "enum": [
                    "BCA",
                    "BNI",
                    "BRI",
                    "MANDIRI",
                    "PERMATA",
                    "BSI",
                    "BJB",
                    "CIMB",
                    "SAHABAT_SAMPOERNA",
                    "ARTAJASA"
                  ],
                  "type": "string"
                },
                "type": "array"
              },
              "unique_id": {
                "description": "Unique identifier for the store",
                "type": "string"
              },
              "other_income_name": {
                "description": "Name of the other income",
                "type": "string"
              },
              "auto_expire_days": {
                "description": "Days until auto-expire",
                "type": "integer"
              },
              "max_unique_code_amount": {
                "description": "Maximum amount for unique code orders",
                "type": "integer"
              },
              "is_auto_expire": {
                "description": "Is auto-expire enabled?",
                "type": "boolean"
              },
              "dynamic_other_income_epayment_default_amount": {
                "description": "Default amount for dynamic e-payment income",
                "format": "float",
                "type": "number"
              },
              "is_transferproof_required": {
                "description": "Is transfer proof required for orders in this store?",
                "type": "boolean"
              },
              "fixed_auto_other_income": {
                "description": "Is fixed auto other income enabled?",
                "type": "boolean"
              },
              "auto_other_income": {
                "description": "Is auto other income enabled?",
                "type": "boolean"
              },
              "capi_purchase_value_type": {
                "description": "Type of CAPI purchase value",
                "enum": [
                  "gross_revenue",
                  "net_revenue",
                  "adj_gross_revenue"
                ],
                "type": "string"
              },
              "is_active": {
                "description": "Is the store active?",
                "type": "boolean"
              },
              "dynamic_other_income_epayment_default_percentage": {
                "description": "Default percentage for dynamic e-payment income",
                "format": "float",
                "type": "number"
              },
              "dynamic_other_income_cod_type": {
                "description": "Type of amount (fixed or percentage)",
                "enum": [
                  "fixed",
                  "percentage"
                ],
                "type": "string"
              }
            },
            "title": "ForOrderStore",
            "type": "object"
          },
          "pg_payment_info": {
            "additionalProperties": true,
            "description": "Payment gateway payment info. SingaPay payments use normalized keys such as `payment_url`, `deeplink_url`, `qr_string`, `qr_image_url`, `va_number`, and `va_name`.",
            "nullable": true,
            "type": "object"
          },
          "other_income_bt": {
            "description": "Other income amount minus tax",
            "format": "decimal",
            "type": "string"
          },
          "courier_service": {
            "properties": {
              "code": {
                "description": "Code for the courier service",
                "type": "string"
              },
              "code_co": {
                "description": "Code for CO courier service",
                "type": "string"
              },
              "code_ka": {
                "description": "Code for KA courier service",
                "type": "string"
              },
              "code_lincah": {
                "description": "Code for Lincah courier service",
                "type": "string"
              },
              "code_mengantar": {
                "description": "Code for Mengantar courier service",
                "type": "string"
              },
              "code_ro": {
                "description": "Code for RO courier service",
                "type": "string"
              },
              "courier": {
                "properties": {
                  "code": {
                    "description": "Courier code",
                    "type": "string"
                  },
                  "code_ka": {
                    "description": "Courier code in Georgian",
                    "type": "string"
                  },
                  "code_lincah": {
                    "description": "Courier code in Lincah",
                    "type": "string"
                  },
                  "code_mengantar": {
                    "description": "Courier code for Mengantar",
                    "type": "string"
                  },
                  "code_ro": {
                    "description": "Courier code in Romanian",
                    "type": "string"
                  },
                  "courier_type": {
                    "description": "Type of the courier",
                    "enum": [
                      "delivery",
                      "pickup"
                    ],
                    "type": "string"
                  },
                  "id": {
                    "description": "Courier ID",
                    "type": "integer"
                  },
                  "is_pickup": {
                    "description": "Is this a pickup courier?",
                    "type": "boolean"
                  },
                  "name": {
                    "description": "Courier name",
                    "type": "string"
                  }
                },
                "title": "Courier",
                "type": "object"
              },
              "id": {
                "description": "Courier Service ID",
                "type": "integer"
              },
              "name": {
                "description": "Name of the courier service",
                "type": "string"
              }
            },
            "title": "CourierService",
            "type": "object"
          },
          "mark_as_spam_by": {
            "description": "Who marked as spam",
            "type": "string"
          },
          "net_payment_revenue": {
            "description": "Net payment revenue after fees",
            "format": "decimal",
            "type": "string"
          },
          "rts_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "min_payment_fee": {
            "description": "Minimum payment fee applied to the order",
            "format": "decimal",
            "type": "string"
          },
          "analytics_purchases": {
            "description": "Analytics purchases associated with the order",
            "items": {
              "properties": {
                "id": {
                  "description": "Analytics Purchase ID",
                  "type": "integer"
                },
                "inserted_at": {
                  "description": "Timestamp when the analytics purchase was created",
                  "format": "date-time",
                  "type": "string"
                },
                "order_id": {
                  "$ref": "#/components/schemas/OrderPrimaryKey"
                },
                "payload": {
                  "additionalProperties": true,
                  "description": "Payload data of the analytics purchase",
                  "type": "object"
                },
                "pixel_id": {
                  "description": "Pixel ID associated with the purchase",
                  "type": "string"
                },
                "platform": {
                  "description": "Platform of the analytics purchase",
                  "type": "string"
                },
                "response": {
                  "additionalProperties": true,
                  "description": "Response data from the analytics purchase",
                  "type": "object"
                },
                "updated_at": {
                  "description": "Timestamp when the analytics purchase was last updated",
                  "format": "date-time",
                  "type": "string"
                }
              },
              "title": "AnalyticsPurchase",
              "type": "object"
            },
            "type": "array"
          },
          "is_from_form": {
            "description": "Is from form submission",
            "type": "boolean"
          },
          "secret_slug": {
            "description": "Secret slug of the order",
            "type": "string"
          },
          "public_order_url": {
            "description": "Public order URL built from metadata.custom_domain_full_url and secret_slug.",
            "nullable": true,
            "type": "string",
            "format": "uri"
          },
          "payment_url": {
            "description": "Payment URL built from public_order_url with /success appended.",
            "nullable": true,
            "type": "string",
            "format": "uri"
          },
          "agent_context": {
            "additionalProperties": true,
            "description": "Untrusted agent or app attribution metadata",
            "nullable": true,
            "type": "object"
          },
          "shipping_fee": {
            "description": "Shipping fee charged for the order",
            "format": "decimal",
            "type": "string"
          },
          "tax_rate": {
            "description": "Tax rate applied to the order",
            "format": "float",
            "nullable": true,
            "type": "number"
          },
          "draft_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "last_updated_at": {
            "description": "Last updated timestamp of the order",
            "format": "date-time",
            "type": "string"
          },
          "courier_additional_info": {
            "description": "Additional information for the courier",
            "nullable": true,
            "type": "string"
          },
          "closed_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "financial_entity": {
            "properties": {
              "code": {
                "description": "Code of the financial entity",
                "type": "string"
              },
              "duitku_code": {
                "description": "Duitku code for the financial entity",
                "type": "string"
              },
              "entity_type": {
                "description": "Type of the financial entity",
                "type": "string"
              },
              "id": {
                "description": "Financial Entity ID",
                "type": "integer"
              },
              "name": {
                "description": "Name of the financial entity",
                "type": "string"
              },
              "platform": {
                "description": "Platform associated with the financial entity",
                "type": "string"
              },
              "xendit_code": {
                "description": "Xendit code for the financial entity",
                "type": "string"
              }
            },
            "title": "FinancialEntity",
            "type": "object"
          },
          "product_price_bt": {
            "description": "Total product price before discounts minus tax",
            "format": "decimal",
            "type": "string"
          },
          "is_purchase_fb": {
            "description": "Is this order a Facebook purchase",
            "type": "boolean"
          },
          "product_weight": {
            "description": "Total weight of products in the order",
            "format": "decimal",
            "type": "string"
          },
          "completed_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "utm_source": {
            "description": "UTM source of the order",
            "nullable": true,
            "type": "string"
          },
          "payment_account_holder": {
            "description": "Payment account holder name",
            "nullable": true,
            "type": "string"
          },
          "ip": {
            "description": "IP address of the customer who placed the order",
            "nullable": true,
            "type": "string"
          },
          "shipment_receipt": {
            "description": "Shipment receipt URL for the order",
            "nullable": true,
            "type": "string"
          },
          "message_history": {
            "description": "Message history associated with the order",
            "items": {
              "properties": {
                "id": {
                  "description": "ID of the Follow Up Chat",
                  "type": "integer"
                },
                "is_from_bot": {
                  "description": "Is the message from bot",
                  "type": "boolean"
                },
                "message": {
                  "description": "Message content",
                  "type": "string"
                },
                "name": {
                  "description": "Name of the sender",
                  "type": "string"
                },
                "provider": {
                  "description": "Message provider",
                  "type": "string"
                },
                "recipient_name": {
                  "description": "Recipient name",
                  "type": "string"
                },
                "recipient_phone": {
                  "description": "Recipient phone number",
                  "type": "string"
                },
                "sender_name": {
                  "description": "Sender name",
                  "type": "string"
                },
                "sender_phone": {
                  "description": "Sender phone number",
                  "type": "string"
                },
                "timestamp": {
                  "description": "Timestamp of the message",
                  "format": "date-time",
                  "type": "string"
                }
              },
              "title": "MessageHistoryItem",
              "type": "object"
            },
            "type": "array"
          },
          "payment_status": {
            "description": "Order payment status",
            "enum": [
              "unpaid",
              "paid",
              "conflict",
              "settled"
            ],
            "type": "string"
          },
          "shipment_provider_code": {
            "description": "Shipment provider code",
            "enum": [
              "mengantar",
              "lincah",
              "ninja"
            ],
            "nullable": true,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": true,
            "description": "Metadata associated with the order",
            "nullable": true,
            "type": "object"
          },
          "rtsproof_url": {
            "description": "RTS proof URL for the order",
            "nullable": true,
            "type": "string"
          },
          "discount_code_applied_to": {
            "description": "What the discount code was applied to",
            "nullable": true,
            "type": "string"
          },
          "shipped_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "awb_ca_status": {
            "description": "Order AWB courier aggregator status",
            "enum": [
              "unavailable",
              "pending",
              "waiting",
              "failed",
              "created",
              "canceled"
            ],
            "type": "string"
          },
          "created_at": {
            "description": "Order creation timestamp",
            "format": "date-time",
            "type": "string"
          },
          "pending_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "notes": {
            "description": "Notes or comments for the order",
            "nullable": true,
            "type": "string"
          },
          "destination_address": {
            "properties": {
              "address": {
                "description": "Full address",
                "type": "string"
              },
              "city": {
                "description": "City of the address",
                "type": "string"
              },
              "id": {
                "description": "Order Address ID",
                "type": "integer"
              },
              "location": {
                "description": "Location ID for the address",
                "type": "integer"
              },
              "name": {
                "description": "Name of the recipient",
                "type": "string"
              },
              "phone": {
                "description": "Phone number of the recipient",
                "type": "string"
              },
              "postal_code": {
                "description": "Postal code of the address",
                "type": "string"
              },
              "province": {
                "description": "Province of the address",
                "type": "string"
              },
              "subdistrict": {
                "description": "Subdistrict of the address",
                "type": "string"
              }
            },
            "title": "OrderAddress",
            "type": "object"
          },
          "unique_code_discount": {
            "description": "Unique code discount applied to the order",
            "format": "decimal",
            "type": "string"
          },
          "shipping_fee_discount": {
            "description": "Shipping fee discount applied to the order",
            "format": "decimal",
            "type": "string"
          }
        },
        "title": "Order",
        "type": "object"
      },
      "CollectionItem": {
        "properties": {
          "count": {
            "type": "integer"
          },
          "custom_breakdown_id": {
            "type": "integer"
          },
          "custom_breakdown_name": {
            "type": "string"
          },
          "day": {
            "type": "string"
          },
          "gross_revenue": {
            "type": "number"
          },
          "month": {
            "type": "string"
          },
          "status": {
            "description": "Order status",
            "enum": [
              "draft",
              "pending",
              "confirmed",
              "in_process",
              "ready",
              "shipped",
              "completed",
              "canceled",
              "rts",
              "closed"
            ],
            "type": "string"
          },
          "week": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "GetOrderStatisticsResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CollectionItem"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ],
            "example": true
          }
        },
        "additionalProperties": true,
        "description": "Paginated list payload for v3."
      },
      "OrderChangeStatusBody": {
        "anyOf": [
          {
            "required": [
              "ids",
              "status"
            ]
          },
          {
            "required": [
              "ids",
              "payment_status"
            ]
          }
        ],
        "properties": {
          "by": {
            "description": "Entity or user performing the status change",
            "nullable": true,
            "type": "string"
          },
          "financial_entity_id": {
            "description": "Financial entity ID",
            "nullable": true,
            "type": "integer"
          },
          "ids": {
            "items": {
              "$ref": "#/components/schemas/OrderPrimaryKeyInput"
            },
            "type": "array"
          },
          "payment_account_holder": {
            "description": "Payment account holder name",
            "nullable": true,
            "type": "string"
          },
          "payment_account_number": {
            "description": "Payment account number",
            "nullable": true,
            "type": "string"
          },
          "payment_method": {
            "description": "Order payment method",
            "enum": [
              "va",
              "qris",
              "card",
              "invoice",
              "alfamart",
              "indomaret",
              "ovo",
              "dana",
              "shopeepay",
              "linkaja",
              "gopay",
              "no_payment",
              "bank_transfer",
              "marketplace",
              "cod"
            ],
            "type": "string"
          },
          "payment_status": {
            "description": "Order payment status",
            "enum": [
              "unpaid",
              "paid",
              "conflict",
              "settled"
            ],
            "type": "string"
          },
          "rtsproof_url": {
            "description": "Return to sender proof image URL",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "description": "Order status",
            "enum": [
              "draft",
              "pending",
              "confirmed",
              "in_process",
              "ready",
              "shipped",
              "completed",
              "canceled",
              "rts",
              "closed"
            ],
            "type": "string"
          },
          "transfer_time": {
            "description": "Transfer timestamp (ISO 8601 format)",
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "transferproof_url": {
            "description": "Transfer proof image URL",
            "nullable": true,
            "type": "string"
          }
        },
        "title": "OrderChangeStatusBody",
        "type": "object"
      },
      "OrderChangeStatus": {
        "properties": {
          "id": {
            "$ref": "#/components/schemas/OrderPrimaryKey"
          },
          "order_id": {
            "description": "Order ID in string format",
            "type": "string"
          },
          "public_order_url": {
            "description": "Public order URL built from metadata.custom_domain_full_url and secret_slug.",
            "nullable": true,
            "type": "string",
            "format": "uri"
          },
          "payment_url": {
            "description": "Payment URL built from public_order_url with /success appended.",
            "nullable": true,
            "type": "string",
            "format": "uri"
          },
          "payment_status": {
            "description": "Order payment status",
            "enum": [
              "unpaid",
              "paid",
              "conflict",
              "settled"
            ],
            "type": "string"
          },
          "status": {
            "description": "Order status",
            "enum": [
              "draft",
              "pending",
              "confirmed",
              "in_process",
              "ready",
              "shipped",
              "completed",
              "canceled",
              "rts",
              "closed"
            ],
            "type": "string"
          }
        },
        "title": "OrderChangeStatus",
        "type": "object"
      },
      "ChangeOrderStatusResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderChangeStatus"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ],
            "example": false
          }
        },
        "additionalProperties": false,
        "description": "Non-paginated list payload for v3."
      },
      "DeleteOrdersRequest": {
        "properties": {
          "ids": {
            "items": {
              "$ref": "#/components/schemas/OrderPrimaryKeyInput"
            },
            "type": "array"
          }
        },
        "required": [
          "ids"
        ],
        "type": "object"
      },
      "CollectionItem2": {
        "description": "Deleted order ID",
        "type": "string",
        "format": "uuid"
      },
      "DeleteOrdersResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CollectionItem2"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ],
            "example": false
          }
        },
        "additionalProperties": false,
        "description": "Non-paginated list payload for v3."
      },
      "MarkOrdersNotSpamRequest": {
        "properties": {
          "ids": {
            "items": {
              "$ref": "#/components/schemas/OrderPrimaryKeyInput"
            },
            "type": "array"
          }
        },
        "required": [
          "ids"
        ],
        "type": "object"
      },
      "OrderMarkNotSpam": {
        "properties": {
          "id": {
            "$ref": "#/components/schemas/OrderPrimaryKey"
          },
          "is_probably_spam": {
            "description": "Is probably spam",
            "type": "boolean"
          },
          "mark_as_spam_by": {
            "description": "Who marked as spam",
            "nullable": true,
            "type": "string"
          },
          "order_id": {
            "description": "Order ID in string format",
            "type": "string"
          },
          "public_order_url": {
            "description": "Public order URL built from metadata.custom_domain_full_url and secret_slug.",
            "nullable": true,
            "type": "string",
            "format": "uri"
          },
          "payment_url": {
            "description": "Payment URL built from public_order_url with /success appended.",
            "nullable": true,
            "type": "string",
            "format": "uri"
          },
          "payment_status": {
            "description": "Order payment status",
            "enum": [
              "unpaid",
              "paid",
              "conflict",
              "settled"
            ],
            "type": "string"
          },
          "status": {
            "description": "Order status",
            "enum": [
              "draft",
              "pending",
              "confirmed",
              "in_process",
              "ready",
              "shipped",
              "completed",
              "canceled",
              "rts",
              "closed"
            ],
            "type": "string"
          }
        },
        "title": "OrderMarkNotSpam",
        "type": "object"
      },
      "MarkOrdersNotSpamResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderMarkNotSpam"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ],
            "example": false
          }
        },
        "additionalProperties": false,
        "description": "Non-paginated list payload for v3."
      },
      "UploadOrderStatusChangesRequest": {
        "properties": {
          "file": {
            "format": "binary",
            "type": "string"
          },
          "tz": {
            "description": "Timezone in IANA format, e.g., 'Asia/Jakarta'",
            "type": "string"
          }
        },
        "required": [
          "file",
          "tz"
        ],
        "type": "object"
      },
      "UploadOrderReceiptRequest": {
        "properties": {
          "file": {
            "format": "binary",
            "type": "string"
          }
        },
        "required": [
          "file"
        ],
        "type": "object"
      },
      "UploadReceipt": {
        "properties": {
          "id": {
            "$ref": "#/components/schemas/OrderPrimaryKey"
          },
          "order_id": {
            "description": "Order ID in string format",
            "type": "string"
          },
          "public_order_url": {
            "description": "Public order URL built from metadata.custom_domain_full_url and secret_slug.",
            "nullable": true,
            "type": "string",
            "format": "uri"
          },
          "payment_url": {
            "description": "Payment URL built from public_order_url with /success appended.",
            "nullable": true,
            "type": "string",
            "format": "uri"
          },
          "shipment_receipt": {
            "description": "Shipment receipt URL",
            "nullable": true,
            "type": "string"
          }
        },
        "title": "UploadReceipt",
        "type": "object"
      },
      "UploadOrderReceiptResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadReceipt"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ],
            "example": false
          }
        },
        "additionalProperties": false,
        "description": "Non-paginated list payload for v3."
      },
      "UploadOrdersRequest": {
        "properties": {
          "create_type": {
            "description": "Choose 'archive' for Archive mode, 'regular' for Regular mode",
            "enum": [
              "archive",
              "regular"
            ],
            "type": "string"
          },
          "file": {
            "format": "binary",
            "type": "string"
          },
          "tz": {
            "description": "Timezone in IANA format, e.g., 'Asia/Jakarta'",
            "type": "string"
          }
        },
        "required": [
          "file",
          "create_type",
          "tz"
        ],
        "type": "object"
      },
      "UploadOrders": {
        "properties": {
          "failed": {
            "properties": {
              "ID_OF_ORDER": {
                "description": "Error for the order with this ID",
                "type": "string"
              }
            },
            "type": "object"
          },
          "success": {
            "items": {
              "properties": {
                "external_id": {
                  "description": "External ID of the order",
                  "nullable": true,
                  "type": "string"
                },
                "id": {
                  "$ref": "#/components/schemas/OrderPrimaryKey"
                },
                "order_id": {
                  "description": "Order ID in string format",
                  "type": "string"
                },
                "public_order_url": {
                  "description": "Public order URL built from metadata.custom_domain_full_url and secret_slug.",
                  "nullable": true,
                  "type": "string",
                  "format": "uri"
                },
                "payment_url": {
                  "description": "Payment URL built from public_order_url with /success appended.",
                  "nullable": true,
                  "type": "string",
                  "format": "uri"
                },
                "payment_status": {
                  "description": "Order payment status",
                  "enum": [
                    "unpaid",
                    "paid",
                    "conflict",
                    "settled"
                  ],
                  "type": "string"
                },
                "status": {
                  "description": "Order status",
                  "enum": [
                    "draft",
                    "pending",
                    "confirmed",
                    "in_process",
                    "ready",
                    "shipped",
                    "completed",
                    "canceled",
                    "rts",
                    "closed"
                  ],
                  "type": "string"
                }
              },
              "title": "SuccessUploadOrders",
              "type": "object"
            },
            "type": "array"
          }
        },
        "title": "UploadOrders",
        "type": "object"
      },
      "GenerateOrderAwbRequest": {
        "properties": {
          "ids": {
            "description": "Order primary keys to generate AWB",
            "items": {
              "$ref": "#/components/schemas/OrderPrimaryKeyInput"
            },
            "type": "array"
          }
        },
        "required": [
          "ids"
        ],
        "type": "object"
      },
      "GenerateOrCancelAWB": {
        "properties": {
          "failures": {
            "properties": {
              "ORDER_ID": {
                "description": "Error message for the order with this ID",
                "type": "string"
              }
            },
            "type": "object"
          },
          "successes": {
            "properties": {
              "ORDER_ID": {
                "description": "Message or shipment receipt or tracking ID for the order with this ID",
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "title": "GenerateOrCancelAWB",
        "type": "object"
      },
      "CancelOrderAwbRequest": {
        "properties": {
          "ids": {
            "description": "Order primary keys to cancel AWB",
            "items": {
              "$ref": "#/components/schemas/OrderPrimaryKeyInput"
            },
            "type": "array"
          }
        },
        "required": [
          "ids"
        ],
        "type": "object"
      },
      "CollectionItem3": {
        "description": "Tag Name",
        "type": "string"
      },
      "ListOrderTagsResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CollectionItem3"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ],
            "example": false
          }
        },
        "additionalProperties": false,
        "description": "Non-paginated list payload for v3."
      },
      "ListOrderUtmSourcesResponseBody": {
        "properties": {
          "data": {
            "example": [
              "google",
              "facebook",
              "instagram",
              "email"
            ],
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "ListOrderUtmMediumsResponseBody": {
        "properties": {
          "data": {
            "example": [
              "cpc",
              "organic",
              "social",
              "email",
              "referral"
            ],
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "ListOrderUtmCampaignsResponseBody": {
        "properties": {
          "data": {
            "example": [
              "summer_sale",
              "black_friday",
              "new_product_launch",
              "brand_awareness"
            ],
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "ListOrderUtmContentsResponseBody": {
        "properties": {
          "data": {
            "example": [
              "banner_top",
              "sidebar_ad",
              "footer_link",
              "hero_image"
            ],
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "ListOrderUtmTermsResponseBody": {
        "properties": {
          "data": {
            "example": [
              "running_shoes",
              "winter_jacket",
              "laptop",
              "smartphone"
            ],
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "PGReferenceID": {
        "properties": {
          "id": {
            "$ref": "#/components/schemas/OrderPrimaryKey"
          }
        },
        "title": "PGReferenceID",
        "type": "object"
      },
      "PGReferenceIDs": {
        "properties": {
          "PG_REFERENCE_ID": {
            "properties": {
              "id": {
                "$ref": "#/components/schemas/OrderPrimaryKey"
              },
              "order_id": {
                "example": "250101ABCDEFG",
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "title": "PGReferenceIDs",
        "type": "object"
      },
      "OrderUpdateBody": {
        "properties": {
          "address": {
            "description": "Recipient address",
            "type": "string"
          },
          "channel_unique_id": {
            "description": "Channel unique ID",
            "type": "string"
          },
          "courier_service_id": {
            "description": "Courier service ID",
            "type": "integer"
          },
          "customer_email": {
            "description": "Customer email",
            "format": "email",
            "type": "string"
          },
          "customer_name": {
            "description": "Customer name",
            "type": "string"
          },
          "customer_phone": {
            "description": "Customer phone number",
            "type": "string"
          },
          "dropshipper_name": {
            "description": "Dropshipper name",
            "type": "string"
          },
          "dropshipper_phone": {
            "description": "Dropshipper phone",
            "type": "string"
          },
          "financial_entity_id": {
            "description": "Financial entity ID",
            "type": "integer"
          },
          "is_dropshipping": {
            "description": "Is dropshipping order",
            "type": "boolean"
          },
          "location_id": {
            "description": "Location ID",
            "type": "integer"
          },
          "notes": {
            "description": "Order notes",
            "type": "string"
          },
          "orderbundles": {
            "description": "Order bundles",
            "items": {
              "properties": {
                "bundle_price_option_unique_id": {
                  "description": "Bundle price option unique ID",
                  "type": "string"
                },
                "quantity": {
                  "description": "Quantity",
                  "type": "integer"
                }
              },
              "required": [
                "bundle_price_option_unique_id",
                "quantity"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "ordervariants": {
            "description": "Order variants",
            "items": {
              "properties": {
                "quantity": {
                  "description": "Quantity",
                  "type": "integer"
                },
                "variant_unique_id": {
                  "description": "Variant unique ID",
                  "type": "string"
                }
              },
              "required": [
                "variant_unique_id",
                "quantity"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "other_income": {
            "description": "Other income amount",
            "type": "number"
          },
          "other_income_name": {
            "description": "Other income name",
            "type": "string"
          },
          "page_unique_id": {
            "description": "Page unique ID",
            "type": "string"
          },
          "payment_account_holder": {
            "description": "Payment account holder name",
            "type": "string"
          },
          "payment_account_number": {
            "description": "Payment account number",
            "type": "string"
          },
          "payment_account_unique_id": {
            "description": "Payment account unique ID",
            "type": "string"
          },
          "payment_method": {
            "description": "Order payment method",
            "enum": [
              "va",
              "qris",
              "card",
              "invoice",
              "alfamart",
              "indomaret",
              "ovo",
              "dana",
              "shopeepay",
              "linkaja",
              "gopay",
              "no_payment",
              "bank_transfer",
              "marketplace",
              "cod"
            ],
            "type": "string"
          },
          "postal_code": {
            "description": "Postal code",
            "type": "string"
          },
          "product_discount": {
            "description": "Product discount amount",
            "type": "number"
          },
          "shipment_provider_code": {
            "description": "Shipment provider code",
            "enum": [
              "mengantar",
              "lincah",
              "ninja"
            ],
            "nullable": true,
            "type": "string"
          },
          "shipping_cost": {
            "description": "Shipping cost",
            "type": "number"
          },
          "shipping_discount": {
            "description": "Shipping discount amount",
            "type": "number"
          },
          "sub_payment_method": {
            "description": "Xendit VA bank code",
            "enum": [
              "BCA",
              "BNI",
              "BRI",
              "MANDIRI",
              "PERMATA",
              "BSI",
              "BJB",
              "CIMB",
              "SAHABAT_SAMPOERNA",
              "ARTAJASA"
            ],
            "type": "string"
          },
          "transferproof_url": {
            "description": "Transfer proof URL",
            "type": "string"
          },
          "warehouse_unique_id": {
            "description": "Warehouse unique ID",
            "type": "string"
          }
        },
        "title": "OrderUpdateBody",
        "type": "object"
      },
      "OrderAvailableActions": {
        "properties": {
          "id": {
            "$ref": "#/components/schemas/OrderPrimaryKey"
          },
          "is_digital_product_present": {
            "type": "boolean"
          },
          "is_lms_product_present": {
            "type": "boolean"
          },
          "is_physical_product_present": {
            "type": "boolean"
          },
          "order_id": {
            "type": "string"
          },
          "public_order_url": {
            "description": "Public order URL built from metadata.custom_domain_full_url and secret_slug.",
            "nullable": true,
            "type": "string",
            "format": "uri"
          },
          "payment_url": {
            "description": "Payment URL built from public_order_url with /success appended.",
            "nullable": true,
            "type": "string",
            "format": "uri"
          }
        },
        "title": "OrderAvailableActions",
        "type": "object"
      },
      "OrderChat": {
        "properties": {
          "chat_message": {
            "description": "Chat message associated with the order",
            "type": "string"
          },
          "follow_up_chat_type": {
            "description": "Type of follow-up chat for the order",
            "nullable": true,
            "type": "string"
          },
          "follow_up_chats": {
            "items": {
              "properties": {
                "change_status": {
                  "description": "Triggered after order status change to this status",
                  "type": "boolean"
                },
                "hours_after": {
                  "description": "Hours after which the follow-up chat is sent",
                  "type": "integer"
                },
                "id": {
                  "description": "Follow-up chat ID",
                  "type": "integer"
                },
                "image": {
                  "description": "Image URL for the follow-up chat",
                  "format": "uri",
                  "type": "string"
                },
                "is_default": {
                  "description": "Is this a default follow-up chat",
                  "type": "boolean"
                },
                "name": {
                  "description": "Name of the follow-up chat",
                  "type": "string"
                },
                "provider": {
                  "description": "Provider of the follow-up chat",
                  "type": "string"
                },
                "text": {
                  "description": "Text of the follow-up chat",
                  "type": "string"
                },
                "text_url": {
                  "description": "URL encoded text of the follow-up chat",
                  "type": "string"
                },
                "trigger": {
                  "description": "Trigger for the follow-up chat",
                  "type": "string"
                },
                "wa_integration_id": {
                  "description": "WhatsApp integration ID for the follow-up chat",
                  "type": "integer"
                }
              },
              "title": "FollowUpChatDetail",
              "type": "object"
            },
            "type": "array"
          },
          "id": {
            "$ref": "#/components/schemas/OrderPrimaryKey"
          },
          "is_probably_spam": {
            "description": "Is probably spam",
            "type": "boolean"
          },
          "mark_as_spam_by": {
            "description": "Who marked as spam",
            "nullable": true,
            "type": "string"
          },
          "order_id": {
            "description": "Order ID in string format",
            "type": "string"
          },
          "public_order_url": {
            "description": "Public order URL built from metadata.custom_domain_full_url and secret_slug.",
            "nullable": true,
            "type": "string",
            "format": "uri"
          },
          "payment_url": {
            "description": "Payment URL built from public_order_url with /success appended.",
            "nullable": true,
            "type": "string",
            "format": "uri"
          },
          "payment_status": {
            "description": "Order payment status",
            "enum": [
              "unpaid",
              "paid",
              "conflict",
              "settled"
            ],
            "type": "string"
          },
          "secret_slug": {
            "description": "Secret slug of the order",
            "type": "string"
          },
          "status": {
            "description": "Order status",
            "enum": [
              "draft",
              "pending",
              "confirmed",
              "in_process",
              "ready",
              "shipped",
              "completed",
              "canceled",
              "rts",
              "closed"
            ],
            "type": "string"
          }
        },
        "title": "OrderChat",
        "type": "object"
      },
      "FollowUpChatDetail": {
        "properties": {
          "change_status": {
            "description": "Triggered after order status change to this status",
            "type": "boolean"
          },
          "hours_after": {
            "description": "Hours after which the follow-up chat is sent",
            "type": "integer"
          },
          "id": {
            "description": "Follow-up chat ID",
            "type": "integer"
          },
          "image": {
            "description": "Image URL for the follow-up chat",
            "format": "uri",
            "type": "string"
          },
          "is_default": {
            "description": "Is this a default follow-up chat",
            "type": "boolean"
          },
          "name": {
            "description": "Name of the follow-up chat",
            "type": "string"
          },
          "provider": {
            "description": "Provider of the follow-up chat",
            "type": "string"
          },
          "text": {
            "description": "Text of the follow-up chat",
            "type": "string"
          },
          "text_url": {
            "description": "URL encoded text of the follow-up chat",
            "type": "string"
          },
          "trigger": {
            "description": "Trigger for the follow-up chat",
            "type": "string"
          },
          "wa_integration_id": {
            "description": "WhatsApp integration ID for the follow-up chat",
            "type": "integer"
          }
        },
        "title": "FollowUpChatDetail",
        "type": "object"
      },
      "OrderEmail": {
        "properties": {
          "from": {
            "description": "Sender email address",
            "type": "string"
          },
          "id": {
            "description": "Order email ID",
            "type": "integer"
          },
          "inserted_at": {
            "description": "Email creation timestamp",
            "format": "date-time",
            "type": "string"
          },
          "message_id": {
            "description": "Message ID of the email",
            "type": "string"
          },
          "order_id": {
            "$ref": "#/components/schemas/OrderPrimaryKey"
          },
          "status": {
            "description": "Email status",
            "type": "string"
          },
          "status_history": {
            "items": {
              "properties": {
                "status": {
                  "description": "Email status",
                  "type": "string"
                },
                "timestamp": {
                  "description": "Timestamp of the status change",
                  "format": "date-time",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "subject": {
            "description": "Email subject",
            "type": "string"
          },
          "to": {
            "description": "Recipient email address",
            "type": "string"
          },
          "type": {
            "description": "Type of the email",
            "type": "string"
          },
          "updated_at": {
            "description": "Last update timestamp of the email",
            "format": "date-time",
            "type": "string"
          }
        },
        "title": "OrderEmail",
        "type": "object"
      },
      "ListOrderEmailsResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderEmail"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              false
            ],
            "example": false
          }
        },
        "additionalProperties": false,
        "description": "Non-paginated list payload for v3."
      },
      "OrderMessageHistory": {
        "properties": {
          "id": {
            "$ref": "#/components/schemas/OrderPrimaryKey"
          },
          "public_order_url": {
            "description": "Public order URL built from metadata.custom_domain_full_url and secret_slug.",
            "nullable": true,
            "type": "string",
            "format": "uri"
          },
          "payment_url": {
            "description": "Payment URL built from public_order_url with /success appended.",
            "nullable": true,
            "type": "string",
            "format": "uri"
          },
          "message_history": {
            "description": "Message history associated with the order",
            "items": {
              "properties": {
                "id": {
                  "description": "ID of the Follow Up Chat",
                  "type": "integer"
                },
                "is_from_bot": {
                  "description": "Is the message from bot",
                  "type": "boolean"
                },
                "message": {
                  "description": "Message content",
                  "type": "string"
                },
                "name": {
                  "description": "Name of the sender",
                  "type": "string"
                },
                "provider": {
                  "description": "Message provider",
                  "type": "string"
                },
                "recipient_name": {
                  "description": "Recipient name",
                  "type": "string"
                },
                "recipient_phone": {
                  "description": "Recipient phone number",
                  "type": "string"
                },
                "sender_name": {
                  "description": "Sender name",
                  "type": "string"
                },
                "sender_phone": {
                  "description": "Sender phone number",
                  "type": "string"
                },
                "timestamp": {
                  "description": "Timestamp of the message",
                  "format": "date-time",
                  "type": "string"
                }
              },
              "title": "MessageHistoryItem",
              "type": "object"
            },
            "type": "array"
          }
        },
        "title": "OrderMessageHistory",
        "type": "object"
      },
      "AddOrderMessageHistoryRequest": {
        "properties": {
          "follow_up_chat_id": {
            "description": "Follow-up chat ID",
            "type": "integer"
          }
        },
        "required": [
          "follow_up_chat_id"
        ],
        "type": "object"
      },
      "CreateOrderPaymentResponseBody": {
        "type": "object",
        "properties": {
          "pg_payment_info": {
            "type": "object",
            "additionalProperties": true,
            "description": "Payment gateway payload. Manual methods such as `bank_transfer` and `cod` can return an empty object while the public order contains the buyer-facing instructions to render. Virtual account methods expose provider reference and account details under the provider's `payment_method` object. QRIS responses expose QR data or a QR image payload. E-wallet, card, and invoice methods may expose provider actions or hosted provider URLs. Storefronts should render their own payment page from these fields and use `payment_url` only as a hosted fallback. SingaPay payments use normalized keys such as `payment_url`, `deeplink_url`, `qr_string`, `qr_image_url`, `va_number`, and `va_name`.\n"
          },
          "public_order_url": {
            "type": "string",
            "format": "uri",
            "nullable": true,
            "description": "Buyer-facing public order status URL."
          },
          "payment_url": {
            "type": "string",
            "format": "uri",
            "nullable": true,
            "description": "Buyer-facing payment or instruction URL. Redirect or open this URL for hosted payment methods."
          },
          "payment_method": {
            "type": "string",
            "example": "bank_transfer"
          },
          "sub_payment_method": {
            "type": "string",
            "nullable": true,
            "description": "Provider channel such as a virtual-account bank code when applicable."
          }
        },
        "additionalProperties": true
      },
      "UpdateOrderCustomerRequest": {
        "properties": {
          "customer_id": {
            "description": "Customer ID",
            "type": "integer"
          }
        },
        "required": [
          "customer_id"
        ],
        "type": "object"
      },
      "OrderUpdateShipmentDataBody": {
        "properties": {
          "awb_ca_status": {
            "description": "Order AWB courier aggregator status",
            "enum": [
              "unavailable",
              "pending",
              "waiting",
              "failed",
              "created",
              "canceled"
            ],
            "type": "string"
          },
          "courier_additional_info": {
            "description": "Additional courier information",
            "nullable": true,
            "type": "string"
          },
          "is_shipment_completed": {
            "description": "Is the shipment completed",
            "type": "boolean"
          },
          "shipment_provider_code": {
            "description": "Shipment provider code",
            "enum": [
              "mengantar",
              "lincah",
              "ninja"
            ],
            "nullable": true,
            "type": "string"
          },
          "shipment_receipt": {
            "description": "Shipment receipt / tracking ID",
            "nullable": true,
            "type": "string"
          }
        },
        "title": "OrderUpdateShipmentDataBody",
        "type": "object"
      },
      "UpdateOrderShipmentReceiptRequest": {
        "properties": {
          "shipment_receipt": {
            "type": "string"
          }
        },
        "required": [
          "shipment_receipt"
        ],
        "type": "object"
      },
      "OrderCreateShipmentStatusHistoryBody": {
        "properties": {
          "description": {
            "description": "Description of the shipment status change",
            "type": "string"
          },
          "status": {
            "description": "Order status",
            "enum": [
              "draft",
              "pending",
              "confirmed",
              "in_process",
              "ready",
              "shipped",
              "completed",
              "canceled",
              "rts",
              "closed"
            ],
            "type": "string"
          },
          "timestamp": {
            "description": "Timestamp of the shipment status change (ISO 8601 format)",
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "timestamp",
          "status",
          "description"
        ],
        "title": "OrderCreateShipmentStatusHistoryBody",
        "type": "object"
      },
      "UpdateOrderTagsRequest": {
        "properties": {
          "tags": {
            "items": {
              "description": "Order tags to update",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "tags"
        ],
        "type": "object"
      },
      "TriggerPurchase": {
        "properties": {
          "kwai": {
            "additionalProperties": true,
            "description": "Kwai purchase trigger response",
            "type": "object"
          },
          "meta": {
            "additionalProperties": true,
            "description": "Meta purchase trigger response",
            "type": "object"
          },
          "tiktok": {
            "additionalProperties": true,
            "description": "TikTok purchase trigger response",
            "type": "object"
          }
        },
        "title": "TriggerPurchase",
        "type": "object"
      },
      "OrderDuplicateBody": {
        "properties": {
          "financial_entity_id": {
            "description": "Financial entity ID",
            "type": "integer"
          },
          "metadata": {
            "additionalProperties": true,
            "description": "Metadata to be copied to the new order",
            "type": "object"
          },
          "payment_account_holder": {
            "description": "Payment account holder name",
            "type": "string"
          },
          "payment_account_number": {
            "description": "Payment account number",
            "type": "string"
          },
          "payment_method": {
            "description": "Order payment method",
            "enum": [
              "va",
              "qris",
              "card",
              "invoice",
              "alfamart",
              "indomaret",
              "ovo",
              "dana",
              "shopeepay",
              "linkaja",
              "gopay",
              "no_payment",
              "bank_transfer",
              "marketplace",
              "cod"
            ],
            "type": "string"
          },
          "sub_payment_method": {
            "description": "Xendit VA bank code",
            "enum": [
              "BCA",
              "BNI",
              "BRI",
              "MANDIRI",
              "PERMATA",
              "BSI",
              "BJB",
              "CIMB",
              "SAHABAT_SAMPOERNA",
              "ARTAJASA"
            ],
            "type": "string"
          }
        },
        "title": "OrderDuplicateBody",
        "type": "object"
      },
      "ProductList": {
        "properties": {
          "affiliate_commission_rate": {
            "description": "Affiliate commission rate (%)",
            "type": "string"
          },
          "affiliate_pro_commission_rate": {
            "description": "Affiliate pro commission rate (%)",
            "type": "string"
          },
          "business": {
            "properties": {
              "account_holder": {
                "description": "Name of the account holder",
                "type": "string"
              },
              "email": {
                "description": "Email address of the business",
                "format": "email",
                "type": "string"
              },
              "id": {
                "description": "Business ID",
                "type": "integer"
              },
              "is_banned": {
                "description": "Is the business banned?",
                "type": "boolean"
              },
              "logo": {
                "description": "URL to the business logo",
                "format": "uri",
                "type": "string"
              },
              "unique_id": {
                "description": "Unique identifier for the business",
                "type": "string"
              },
              "username": {
                "description": "Username of the business",
                "type": "string"
              }
            },
            "title": "BusinessSimple",
            "type": "object"
          },
          "created_at": {
            "description": "Timestamp when the product was created",
            "format": "date-time",
            "type": "string"
          },
          "created_by": {
            "properties": {
              "aff_code": {
                "description": "Affiliate code of the user",
                "type": "string"
              },
              "avatar": {
                "description": "URL to user avatar",
                "format": "uri",
                "type": "string"
              },
              "email": {
                "description": "User email",
                "format": "email",
                "type": "string"
              },
              "fullname": {
                "description": "User full name",
                "type": "string"
              },
              "id": {
                "description": "User ID",
                "type": "integer"
              },
              "phone": {
                "description": "User phone number",
                "type": "string"
              }
            },
            "title": "UserSimple",
            "type": "object"
          },
          "custom_domains": {
            "description": "List of custom domains from owned stores (where store.business_id == product.business_id)",
            "items": {
              "properties": {
                "business_id": {
                  "description": "Business ID that owns the custom domain",
                  "type": "integer"
                },
                "full_url": {
                  "description": "Full URL of the custom domain",
                  "type": "string"
                },
                "id": {
                  "description": "Unique identifier of the custom domain",
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "description": {
            "description": "Detailed description of the product",
            "type": "string"
          },
          "display": {
            "description": "Display name of the product",
            "type": "string"
          },
          "id": {
            "description": "Product primary key",
            "type": "integer"
          },
          "images": {
            "description": "List of image URLs associated with the product",
            "items": {
              "format": "uri",
              "type": "string"
            },
            "type": "array"
          },
          "is_affiliate_auto_accept": {
            "description": "Indicates if affiliate requests are auto-approved",
            "type": "boolean"
          },
          "is_affiliate_enabled": {
            "description": "Indicates if the product is enabled for affiliate program",
            "type": "boolean"
          },
          "is_affiliate_pro_enabled": {
            "description": "Indicates if the product is enabled for affiliate pro program",
            "type": "boolean"
          },
          "is_inventory": {
            "description": "Indicates if the product is tracked in inventory",
            "type": "boolean"
          },
          "is_multiple": {
            "description": "Indicates if the product has multiple variants",
            "type": "boolean"
          },
          "is_product_sharing": {
            "description": "Indicates if the product is shared across businesses",
            "type": "boolean"
          },
          "item_type": {
            "description": "Type of the product item",
            "enum": [
              "physical",
              "digital",
              "course",
              "license",
              "subscription"
            ],
            "title": "ItemType",
            "type": "string"
          },
          "item_type_name": {
            "description": "Human-readable name of the product item type",
            "type": "string"
          },
          "labels": {
            "description": "List of labels associated with the product",
            "items": {
              "properties": {
                "name": {
                  "description": "Label name",
                  "type": "string"
                }
              },
              "title": "ItemLabel",
              "type": "object"
            },
            "type": "array"
          },
          "last_updated_at": {
            "description": "Timestamp when the product was last updated",
            "format": "date-time",
            "type": "string"
          },
          "last_updated_by": {
            "properties": {
              "aff_code": {
                "description": "Affiliate code of the user",
                "type": "string"
              },
              "avatar": {
                "description": "URL to user avatar",
                "format": "uri",
                "type": "string"
              },
              "email": {
                "description": "User email",
                "format": "email",
                "type": "string"
              },
              "fullname": {
                "description": "User full name",
                "type": "string"
              },
              "id": {
                "description": "User ID",
                "type": "integer"
              },
              "phone": {
                "description": "User phone number",
                "type": "string"
              }
            },
            "title": "UserSimple",
            "type": "object"
          },
          "name": {
            "description": "Product name",
            "type": "string"
          },
          "option1_name": {
            "description": "Name of the first product option",
            "type": "string"
          },
          "option2_name": {
            "description": "Name of the second product option",
            "type": "string"
          },
          "option3_name": {
            "description": "Name of the third product option",
            "type": "string"
          },
          "product_partners": {
            "description": "List of product partners. Only included for partner products (where product.business_id != current business). Returns null for owned products.",
            "items": {
              "description": "A partner associated with a product",
              "properties": {
                "affiliate_pro_domains": {
                  "description": "Approved affiliate_pro custom domains for this partnership",
                  "items": {
                    "properties": {
                      "business_id": {
                        "description": "Business ID that owns the custom domain",
                        "type": "integer"
                      },
                      "full_url": {
                        "description": "Full URL of the custom domain",
                        "type": "string"
                      },
                      "id": {
                        "description": "Unique identifier of the custom domain",
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                },
                "affiliate_pro_links": {
                  "description": "Affiliate Pro links for partners (product + checkout, includes ap=<store_short_unique_id>)",
                  "items": {
                    "properties": {
                      "checkout_url": {
                        "description": "Affiliate Pro checkout page URL",
                        "type": "string"
                      },
                      "domain": {
                        "description": "Custom domain for the affiliate pro link",
                        "type": "string"
                      },
                      "product_url": {
                        "description": "Affiliate Pro product page URL",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                },
                "affiliate_status": {
                  "description": "Status of the partnership (pending, approved, rejected, banned)",
                  "type": "string"
                },
                "approved_at": {
                  "description": "Timestamp when partnership was approved",
                  "format": "date-time",
                  "nullable": true,
                  "type": "string"
                },
                "created_at": {
                  "description": "Timestamp when the product partner was created",
                  "format": "date-time",
                  "type": "string"
                },
                "custom_domains": {
                  "description": "List of custom domains where the product page can be viewed",
                  "items": {
                    "properties": {
                      "business_id": {
                        "description": "Business ID that owns the custom domain",
                        "type": "integer"
                      },
                      "full_url": {
                        "description": "Full URL of the custom domain",
                        "type": "string"
                      },
                      "id": {
                        "description": "Unique identifier of the custom domain",
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                },
                "id": {
                  "description": "Unique identifier of the product partner",
                  "type": "integer"
                },
                "message_to_product_owner": {
                  "description": "Message from partner when requesting partnership",
                  "nullable": true,
                  "type": "string"
                },
                "partner": {
                  "properties": {
                    "account_holder": {
                      "description": "Name of the account holder",
                      "type": "string"
                    },
                    "email": {
                      "description": "Email address of the business",
                      "format": "email",
                      "type": "string"
                    },
                    "id": {
                      "description": "Business ID",
                      "type": "integer"
                    },
                    "is_banned": {
                      "description": "Is the business banned?",
                      "type": "boolean"
                    },
                    "logo": {
                      "description": "URL to the business logo",
                      "format": "uri",
                      "type": "string"
                    },
                    "unique_id": {
                      "description": "Unique identifier for the business",
                      "type": "string"
                    },
                    "username": {
                      "description": "Username of the business",
                      "type": "string"
                    }
                  },
                  "title": "BusinessSimple",
                  "type": "object"
                },
                "partnership_type": {
                  "description": "Type of partnership (affiliate, affiliate_pro, or reseller)",
                  "type": "string"
                },
                "rejected_at": {
                  "description": "Timestamp when partnership was rejected",
                  "format": "date-time",
                  "nullable": true,
                  "type": "string"
                },
                "requested_at": {
                  "description": "Timestamp when partnership was requested",
                  "format": "date-time",
                  "nullable": true,
                  "type": "string"
                },
                "store_id": {
                  "description": "Store ID assigned for affiliate_pro routing",
                  "nullable": true,
                  "type": "integer"
                }
              },
              "title": "ProductPartner",
              "type": "object"
            },
            "nullable": true,
            "type": "array"
          },
          "uuid": {
            "description": "Product UUID",
            "type": "string"
          },
          "variants": {
            "description": "List of variants associated with the product",
            "items": {
              "properties": {
                "currency": {
                  "description": "The currency code for the subscription item price.",
                  "enum": [
                    "IDR"
                  ],
                  "title": "Currency",
                  "type": "string"
                },
                "digital_product_files": {
                  "description": "List of digital product files associated with the variant",
                  "items": {
                    "properties": {
                      "content_type": {
                        "description": "MIME type of the digital product file",
                        "type": "string"
                      },
                      "id": {
                        "description": "Digital product file primary key",
                        "type": "integer"
                      },
                      "name": {
                        "description": "File name of the digital product file",
                        "type": "string"
                      },
                      "size_in_bytes": {
                        "description": "Size of the digital product file in bytes",
                        "type": "integer"
                      },
                      "url": {
                        "description": "URL to access the digital product file",
                        "format": "uri",
                        "type": "string"
                      }
                    },
                    "title": "DigitalProductFile",
                    "type": "object"
                  },
                  "type": "array"
                },
                "id": {
                  "description": "Variant primary key",
                  "type": "integer"
                },
                "images": {
                  "description": "List of image URLs associated with the variant",
                  "items": {
                    "format": "uri",
                    "type": "string"
                  },
                  "type": "array"
                },
                "interval": {
                  "description": "Unit of the period",
                  "enum": [
                    "day",
                    "week",
                    "month",
                    "year"
                  ],
                  "title": "PeriodUnit",
                  "type": "string"
                },
                "interval_count": {
                  "description": "Interval count for recurring variants",
                  "type": "integer"
                },
                "is_checked": {
                  "description": "Mark variant as sellable",
                  "type": "boolean"
                },
                "is_editable": {
                  "description": "Indicates if the variant is editable",
                  "type": "boolean"
                },
                "item_type": {
                  "description": "Type of the product item",
                  "enum": [
                    "physical",
                    "digital",
                    "course",
                    "license",
                    "subscription"
                  ],
                  "title": "ItemType",
                  "type": "string"
                },
                "metadata": {
                  "additionalProperties": true,
                  "description": "Additional metadata associated with the variant",
                  "type": "object"
                },
                "name": {
                  "description": "Full name of the variant",
                  "type": "string"
                },
                "pricing_type": {
                  "description": "Type of the product pricing",
                  "enum": [
                    "one_time",
                    "recurring"
                  ],
                  "title": "PricingType",
                  "type": "string"
                },
                "product_name": {
                  "description": "Name of the associated product",
                  "type": "string"
                },
                "self_file_urls": {
                  "description": "List of self file URLs associated with the variant",
                  "items": {
                    "format": "uri",
                    "type": "string"
                  },
                  "type": "array"
                },
                "unique_id": {
                  "description": "Variant unique identifier",
                  "type": "string"
                },
                "uuid": {
                  "description": "Variant UUID",
                  "type": "string"
                },
                "validity_period": {
                  "description": "Validity period for one time variants",
                  "type": "integer"
                },
                "validity_period_unit": {
                  "description": "Unit of the period",
                  "enum": [
                    "day",
                    "week",
                    "month",
                    "year"
                  ],
                  "title": "PeriodUnit",
                  "type": "string"
                },
                "weight": {
                  "description": "Weight of the variant in grams",
                  "type": "integer"
                }
              },
              "title": "VariantList",
              "type": "object"
            },
            "type": "array"
          }
        },
        "title": "ProductList",
        "type": "object"
      },
      "ListProductsResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductList"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ],
            "example": true
          },
          "has_next": {
            "default": false,
            "example": false,
            "nullable": false,
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "default": 25,
            "example": 25,
            "nullable": false,
            "type": "integer"
          }
        },
        "additionalProperties": true,
        "description": "Paginated list payload for v3."
      },
      "CreateRequestProduct": {
        "properties": {
          "description": {
            "description": "Description",
            "type": "string"
          },
          "is_inventory": {
            "description": "Is Inventory",
            "type": "boolean"
          },
          "is_multiple": {
            "description": "Is Multiple",
            "type": "boolean"
          },
          "is_product_sharing": {
            "description": "Is Product Sharing",
            "type": "boolean"
          },
          "item_type": {
            "description": "Type of the product item",
            "enum": [
              "physical",
              "digital",
              "course",
              "license",
              "subscription"
            ],
            "title": "ItemType",
            "type": "string"
          },
          "meta_thumbnail": {
            "description": "Meta Thumbnail",
            "format": "uri",
            "type": "string"
          },
          "name": {
            "description": "Product Name",
            "type": "string"
          },
          "option1_name": {
            "description": "Option 1 Name",
            "type": "string"
          },
          "option2_name": {
            "description": "Option 2 Name",
            "type": "string"
          },
          "option3_name": {
            "description": "Option 3 Name",
            "type": "string"
          },
          "partnership_sales_letter": {
            "description": "Partnership sales letter for affiliate/reseller promotion",
            "type": "string"
          },
          "public_name": {
            "description": "Product Public Name",
            "type": "string"
          },
          "rich_description": {
            "description": "Rich Description",
            "type": "string"
          },
          "slug": {
            "description": "Product Slug",
            "type": "string"
          },
          "taxonomy_id": {
            "description": "Taxonomy ID",
            "type": "integer"
          },
          "variants": {
            "description": "List of variants associated with the product",
            "items": {
              "properties": {
                "cogs": {
                  "description": "Cost of Goods Sold",
                  "type": "number"
                },
                "description": {
                  "description": "Variant Description",
                  "type": "string"
                },
                "images": {
                  "description": "List of image URLs",
                  "items": {
                    "format": "uri",
                    "type": "string"
                  },
                  "type": "array"
                },
                "is_checked": {
                  "description": "Mark variant as sellable",
                  "type": "boolean"
                },
                "metadata": {
                  "additionalProperties": true,
                  "description": "Additional metadata",
                  "type": "object"
                },
                "option1_value": {
                  "description": "Option 1 Value",
                  "type": "string"
                },
                "option2_value": {
                  "description": "Option 2 Value",
                  "type": "string"
                },
                "option3_value": {
                  "description": "Option 3 Value",
                  "type": "string"
                },
                "price": {
                  "description": "Price",
                  "type": "number"
                },
                "reseller_price": {
                  "description": "Reseller Price",
                  "type": "number"
                },
                "rich_description": {
                  "description": "Variant Rich Description",
                  "type": "string"
                },
                "self_file_urls": {
                  "description": "List of self file URLs",
                  "items": {
                    "format": "uri",
                    "type": "string"
                  },
                  "type": "array"
                },
                "sku": {
                  "description": "SKU",
                  "type": "string"
                },
                "weight": {
                  "description": "Weight in grams",
                  "type": "integer"
                }
              },
              "required": [
                "price",
                "weight"
              ],
              "title": "RequestVariant",
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "name",
          "item_type"
        ],
        "title": "CreateRequestProduct",
        "type": "object"
      },
      "Product": {
        "properties": {
          "variants_count": {
            "description": "Variants Count",
            "type": "integer"
          },
          "display": {
            "description": "Product name for display",
            "type": "string"
          },
          "option1_name": {
            "description": "Option 1 Name",
            "type": "string"
          },
          "variants": {
            "items": {
              "properties": {
                "cogs": {
                  "description": "Cost of Goods Sold",
                  "type": "number"
                },
                "price_bt": {
                  "description": "Price Before Tax",
                  "type": "number"
                },
                "validity_period_unit": {
                  "description": "Unit of the period",
                  "enum": [
                    "day",
                    "week",
                    "month",
                    "year"
                  ],
                  "title": "PeriodUnit",
                  "type": "string"
                },
                "option1_value": {
                  "description": "Option 1 Value",
                  "type": "string"
                },
                "reseller_price_bt": {
                  "description": "Reseller Price Before Tax",
                  "type": "number"
                },
                "option2_value": {
                  "description": "Option 2 Value",
                  "type": "string"
                },
                "reseller_price": {
                  "description": "Reseller Price",
                  "type": "number"
                },
                "fullname": {
                  "description": "Variant Fullname",
                  "type": "string"
                },
                "validity_period": {
                  "description": "Validity period for one time variants",
                  "type": "integer"
                },
                "uuid": {
                  "description": "Variant UUID",
                  "type": "string"
                },
                "rich_description": {
                  "description": "Variant Rich Description",
                  "type": "string"
                },
                "sku": {
                  "description": "SKU",
                  "type": "string"
                },
                "digital_product_files": {
                  "items": {
                    "properties": {
                      "content_type": {
                        "description": "MIME type of the digital product file",
                        "type": "string"
                      },
                      "id": {
                        "description": "Digital product file primary key",
                        "type": "integer"
                      },
                      "name": {
                        "description": "File name of the digital product file",
                        "type": "string"
                      },
                      "size_in_bytes": {
                        "description": "Size of the digital product file in bytes",
                        "type": "integer"
                      },
                      "url": {
                        "description": "URL to access the digital product file",
                        "format": "uri",
                        "type": "string"
                      }
                    },
                    "title": "DigitalProductFile",
                    "type": "object"
                  },
                  "type": "array"
                },
                "product_name": {
                  "description": "Product Name",
                  "type": "string"
                },
                "item_type": {
                  "description": "Type of the product item",
                  "enum": [
                    "physical",
                    "digital",
                    "course",
                    "license",
                    "subscription"
                  ],
                  "title": "ItemType",
                  "type": "string"
                },
                "pricing_type": {
                  "description": "Type of the product pricing",
                  "enum": [
                    "one_time",
                    "recurring"
                  ],
                  "title": "PricingType",
                  "type": "string"
                },
                "upsell_form_displays": {
                  "items": {
                    "properties": {
                      "id": {
                        "description": "Form Display ID",
                        "type": "integer"
                      },
                      "page_display": {
                        "properties": {
                          "id": {
                            "description": "Page Display ID",
                            "type": "integer"
                          }
                        },
                        "title": "ForProductPageDisplay",
                        "type": "object"
                      }
                    },
                    "title": "ForProductFormDisplay",
                    "type": "object"
                  },
                  "type": "array"
                },
                "description": {
                  "description": "Variant Description",
                  "type": "string"
                },
                "self_file_urls": {
                  "items": {
                    "format": "uri",
                    "type": "string"
                  },
                  "type": "array"
                },
                "name": {
                  "description": "Variant Name",
                  "type": "string"
                },
                "id": {
                  "description": "Variant ID",
                  "type": "integer"
                },
                "unique_id": {
                  "description": "Variant Unique ID",
                  "type": "string"
                },
                "cogs_bt": {
                  "description": "Cost of Goods Sold Before Tax",
                  "type": "number"
                },
                "currency": {
                  "description": "The currency code for the subscription item price.",
                  "enum": [
                    "IDR"
                  ],
                  "title": "Currency",
                  "type": "string"
                },
                "price": {
                  "description": "Price",
                  "type": "number"
                },
                "images": {
                  "items": {
                    "format": "uri",
                    "type": "string"
                  },
                  "type": "array"
                },
                "weight": {
                  "description": "Weight",
                  "type": "integer"
                },
                "form_displays": {
                  "items": {
                    "properties": {
                      "id": {
                        "description": "Form Display ID",
                        "type": "integer"
                      },
                      "page_display": {
                        "properties": {
                          "id": {
                            "description": "Page Display ID",
                            "type": "integer"
                          }
                        },
                        "title": "ForProductPageDisplay",
                        "type": "object"
                      }
                    },
                    "title": "ForProductFormDisplay",
                    "type": "object"
                  },
                  "type": "array"
                },
                "is_checked": {
                  "description": "Mark variant as sellable",
                  "type": "boolean"
                },
                "interval_count": {
                  "description": "Interval count for recurring variants",
                  "type": "integer"
                },
                "last_updated_at": {
                  "format": "date-time",
                  "type": "string"
                },
                "product_id": {
                  "description": "Product ID",
                  "type": "integer"
                },
                "option3_value": {
                  "description": "Option 3 Value",
                  "type": "string"
                },
                "interval": {
                  "description": "Unit of the period",
                  "enum": [
                    "day",
                    "week",
                    "month",
                    "year"
                  ],
                  "title": "PeriodUnit",
                  "type": "string"
                },
                "metadata": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "created_at": {
                  "format": "date-time",
                  "type": "string"
                },
                "is_editable": {
                  "description": "Is Editable",
                  "type": "boolean"
                }
              },
              "title": "ProductVariant",
              "type": "object"
            },
            "type": "array"
          },
          "business": {
            "properties": {
              "account_holder": {
                "description": "Name of the account holder",
                "type": "string"
              },
              "email": {
                "description": "Email address of the business",
                "format": "email",
                "type": "string"
              },
              "id": {
                "description": "Business ID",
                "type": "integer"
              },
              "is_banned": {
                "description": "Is the business banned?",
                "type": "boolean"
              },
              "logo": {
                "description": "URL to the business logo",
                "format": "uri",
                "type": "string"
              },
              "unique_id": {
                "description": "Unique identifier for the business",
                "type": "string"
              },
              "username": {
                "description": "Username of the business",
                "type": "string"
              }
            },
            "title": "BusinessSimple",
            "type": "object"
          },
          "is_inventory": {
            "description": "Is Inventory",
            "type": "boolean"
          },
          "uuid": {
            "description": "Product UUID",
            "type": "string"
          },
          "last_updated_by": {
            "properties": {
              "aff_code": {
                "description": "Affiliate code of the user",
                "type": "string"
              },
              "avatar": {
                "description": "URL to user avatar",
                "format": "uri",
                "type": "string"
              },
              "email": {
                "description": "User email",
                "format": "email",
                "type": "string"
              },
              "fullname": {
                "description": "User full name",
                "type": "string"
              },
              "id": {
                "description": "User ID",
                "type": "integer"
              },
              "phone": {
                "description": "User phone number",
                "type": "string"
              }
            },
            "title": "UserSimple",
            "type": "object"
          },
          "rich_description": {
            "description": "Rich Description",
            "type": "string"
          },
          "affiliate_pro_commission_rate": {
            "description": "Affiliate Pro Commission Rate (%)",
            "type": "string"
          },
          "taxonomy": {
            "properties": {
              "full_path": {
                "description": "Full Path",
                "type": "string"
              },
              "id": {
                "description": "Taxonomy ID",
                "type": "integer"
              },
              "level_1": {
                "description": "Level 1",
                "type": "string"
              },
              "level_2": {
                "description": "Level 2",
                "type": "string"
              },
              "level_3": {
                "description": "Level 3",
                "type": "string"
              },
              "level_4": {
                "description": "Level 4",
                "type": "string"
              },
              "level_5": {
                "description": "Level 5",
                "type": "string"
              },
              "level_6": {
                "description": "Level 6",
                "type": "string"
              },
              "level_7": {
                "description": "Level 7",
                "type": "string"
              }
            },
            "title": "ProductTaxonomy",
            "type": "object"
          },
          "created_by": {
            "properties": {
              "aff_code": {
                "description": "Affiliate code of the user",
                "type": "string"
              },
              "avatar": {
                "description": "URL to user avatar",
                "format": "uri",
                "type": "string"
              },
              "email": {
                "description": "User email",
                "format": "email",
                "type": "string"
              },
              "fullname": {
                "description": "User full name",
                "type": "string"
              },
              "id": {
                "description": "User ID",
                "type": "integer"
              },
              "phone": {
                "description": "User phone number",
                "type": "string"
              }
            },
            "title": "UserSimple",
            "type": "object"
          },
          "item_type": {
            "description": "Type of the product item",
            "enum": [
              "physical",
              "digital",
              "course",
              "license",
              "subscription"
            ],
            "title": "ItemType",
            "type": "string"
          },
          "is_affiliate_pro_enabled": {
            "description": "Is Affiliate Pro Enabled",
            "type": "boolean"
          },
          "item_type_name": {
            "description": "Item Type Name",
            "type": "string"
          },
          "description": {
            "description": "Description",
            "type": "string"
          },
          "name": {
            "description": "Product Name",
            "type": "string"
          },
          "id": {
            "description": "Product ID",
            "type": "integer"
          },
          "option2_name": {
            "description": "Option 2 Name",
            "type": "string"
          },
          "is_product_sharing": {
            "description": "Is Product Sharing",
            "type": "boolean"
          },
          "warehouses": {
            "items": {
              "properties": {
                "id": {
                  "description": "Warehouse ID",
                  "type": "integer"
                },
                "name": {
                  "description": "Name of the warehouse",
                  "type": "string"
                }
              },
              "title": "NameOnlyWarehouse",
              "type": "object"
            },
            "type": "array"
          },
          "is_affiliate_auto_accept": {
            "description": "Is Affiliate Auto Accept",
            "type": "boolean"
          },
          "meta_thumbnail": {
            "description": "Meta Thumbnail",
            "format": "uri",
            "type": "string"
          },
          "product_mailketing_lists": {
            "items": {
              "properties": {
                "mailketing_list": {
                  "properties": {
                    "id": {
                      "description": "Mailketing List ID",
                      "type": "integer"
                    },
                    "list": {
                      "description": "Mailketing List Name",
                      "type": "string"
                    },
                    "list_name": {
                      "description": "Mailketing List Name",
                      "type": "string"
                    }
                  },
                  "title": "MailketingList",
                  "type": "object"
                },
                "order_status": {
                  "description": "Order status",
                  "enum": [
                    "draft",
                    "pending",
                    "confirmed",
                    "in_process",
                    "ready",
                    "shipped",
                    "completed",
                    "canceled",
                    "rts",
                    "closed"
                  ],
                  "type": "string"
                }
              },
              "title": "ProductMailketingList",
              "type": "object"
            },
            "type": "array"
          },
          "is_affiliate_enabled": {
            "description": "Is Affiliate Enabled",
            "type": "boolean"
          },
          "images": {
            "items": {
              "format": "uri",
              "type": "string"
            },
            "type": "array"
          },
          "is_multiple": {
            "description": "Is Multiple",
            "type": "boolean"
          },
          "labels": {
            "items": {
              "properties": {
                "name": {
                  "description": "Label name",
                  "type": "string"
                }
              },
              "title": "ItemLabel",
              "type": "object"
            },
            "type": "array"
          },
          "option3_name": {
            "description": "Option 3 Name",
            "type": "string"
          },
          "last_updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "stores": {
            "items": {
              "properties": {
                "custom_domain": {
                  "properties": {
                    "full_url": {
                      "description": "Full URL",
                      "format": "uri",
                      "type": "string"
                    },
                    "id": {
                      "description": "Custom Domain ID",
                      "type": "integer"
                    },
                    "is_verified": {
                      "description": "Is Verified",
                      "type": "boolean"
                    }
                  },
                  "title": "SimpleCustomDomain",
                  "type": "object"
                },
                "id": {
                  "description": "Store ID",
                  "type": "integer"
                },
                "name": {
                  "description": "Store name",
                  "type": "string"
                }
              },
              "title": "DomainStore",
              "type": "object"
            },
            "type": "array"
          },
          "partnership_sales_letter": {
            "description": "Partnership sales letter for affiliate/reseller promotion",
            "type": "string"
          },
          "slug": {
            "description": "Product Slug",
            "type": "string"
          },
          "affiliate_commission_rate": {
            "description": "Affiliate Commission Rate (%)",
            "type": "string"
          },
          "product_birdsend_sequences": {
            "items": {
              "properties": {
                "birdsend_sequence": {
                  "properties": {
                    "active": {
                      "description": "Indicates if the Birdsend sequence is active",
                      "type": "boolean"
                    },
                    "form_id": {
                      "description": "Identifier of the associated form",
                      "type": "integer"
                    },
                    "id": {
                      "description": "Birdsend sequence primary key",
                      "type": "integer"
                    },
                    "name": {
                      "description": "Name of the Birdsend sequence",
                      "type": "string"
                    },
                    "sequence_id": {
                      "description": "Identifier of the associated sequence",
                      "type": "integer"
                    },
                    "type": {
                      "description": "Type of the Birdsend sequence (either 'sequence' or 'form')",
                      "enum": [
                        "sequence",
                        "form"
                      ],
                      "type": "string"
                    }
                  },
                  "title": "BirdsendSequence",
                  "type": "object"
                },
                "order_status": {
                  "description": "Order status",
                  "enum": [
                    "draft",
                    "pending",
                    "confirmed",
                    "in_process",
                    "ready",
                    "shipped",
                    "completed",
                    "canceled",
                    "rts",
                    "closed"
                  ],
                  "type": "string"
                }
              },
              "title": "ProductBirdsendSequence",
              "type": "object"
            },
            "type": "array"
          },
          "public_name": {
            "description": "Product Public Name",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "title": "Product",
        "type": "object"
      },
      "SimplifiedProductList": {
        "properties": {
          "display": {
            "description": "Display name of the product",
            "type": "string"
          },
          "id": {
            "description": "Product primary key",
            "type": "integer"
          },
          "images": {
            "description": "List of image URLs associated with the product",
            "items": {
              "format": "uri",
              "type": "string"
            },
            "type": "array"
          },
          "is_owned_by_store": {
            "description": "If the request is made including `for_store_id` param, it shows `is_owned_by_store` field in the response, indicating if the product is included in the store.",
            "type": "boolean"
          },
          "item_type": {
            "description": "Type of the product item",
            "enum": [
              "physical",
              "digital",
              "course",
              "license",
              "subscription"
            ],
            "title": "ItemType",
            "type": "string"
          },
          "item_type_name": {
            "description": "Human-readable name of the product item type",
            "type": "string"
          },
          "labels": {
            "description": "List of labels associated with the product",
            "items": {
              "properties": {
                "name": {
                  "description": "Label name",
                  "type": "string"
                }
              },
              "title": "ItemLabel",
              "type": "object"
            },
            "type": "array"
          },
          "name": {
            "description": "Product name",
            "type": "string"
          },
          "uuid": {
            "description": "Product UUID",
            "type": "string"
          },
          "variants": {
            "description": "List of variants associated with the product",
            "items": {
              "properties": {
                "currency": {
                  "description": "The currency code for the subscription item price.",
                  "enum": [
                    "IDR"
                  ],
                  "title": "Currency",
                  "type": "string"
                },
                "digital_product_files": {
                  "description": "List of digital product files associated with the variant",
                  "items": {
                    "properties": {
                      "content_type": {
                        "description": "MIME type of the digital product file",
                        "type": "string"
                      },
                      "id": {
                        "description": "Digital product file primary key",
                        "type": "integer"
                      },
                      "name": {
                        "description": "File name of the digital product file",
                        "type": "string"
                      },
                      "size_in_bytes": {
                        "description": "Size of the digital product file in bytes",
                        "type": "integer"
                      },
                      "url": {
                        "description": "URL to access the digital product file",
                        "format": "uri",
                        "type": "string"
                      }
                    },
                    "title": "DigitalProductFile",
                    "type": "object"
                  },
                  "type": "array"
                },
                "id": {
                  "description": "Variant primary key",
                  "type": "integer"
                },
                "images": {
                  "description": "List of image URLs associated with the variant",
                  "items": {
                    "format": "uri",
                    "type": "string"
                  },
                  "type": "array"
                },
                "interval": {
                  "description": "Unit of the period",
                  "enum": [
                    "day",
                    "week",
                    "month",
                    "year"
                  ],
                  "title": "PeriodUnit",
                  "type": "string"
                },
                "interval_count": {
                  "description": "Interval count for recurring variants",
                  "type": "integer"
                },
                "is_checked": {
                  "description": "Mark variant as sellable",
                  "type": "boolean"
                },
                "is_editable": {
                  "description": "Indicates if the variant is editable",
                  "type": "boolean"
                },
                "item_type": {
                  "description": "Type of the product item",
                  "enum": [
                    "physical",
                    "digital",
                    "course",
                    "license",
                    "subscription"
                  ],
                  "title": "ItemType",
                  "type": "string"
                },
                "metadata": {
                  "additionalProperties": true,
                  "description": "Additional metadata associated with the variant",
                  "type": "object"
                },
                "name": {
                  "description": "Full name of the variant",
                  "type": "string"
                },
                "pricing_type": {
                  "description": "Type of the product pricing",
                  "enum": [
                    "one_time",
                    "recurring"
                  ],
                  "title": "PricingType",
                  "type": "string"
                },
                "product_name": {
                  "description": "Name of the associated product",
                  "type": "string"
                },
                "self_file_urls": {
                  "description": "List of self file URLs associated with the variant",
                  "items": {
                    "format": "uri",
                    "type": "string"
                  },
                  "type": "array"
                },
                "unique_id": {
                  "description": "Variant unique identifier",
                  "type": "string"
                },
                "uuid": {
                  "description": "Variant UUID",
                  "type": "string"
                },
                "validity_period": {
                  "description": "Validity period for one time variants",
                  "type": "integer"
                },
                "validity_period_unit": {
                  "description": "Unit of the period",
                  "enum": [
                    "day",
                    "week",
                    "month",
                    "year"
                  ],
                  "title": "PeriodUnit",
                  "type": "string"
                },
                "weight": {
                  "description": "Weight of the variant in grams",
                  "type": "integer"
                }
              },
              "title": "VariantList",
              "type": "object"
            },
            "type": "array"
          }
        },
        "title": "SimplifiedProductList",
        "type": "object"
      },
      "ListProductsSimplifiedResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SimplifiedProductList"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ],
            "example": true
          },
          "has_next": {
            "default": false,
            "example": false,
            "nullable": false,
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "default": 25,
            "example": 25,
            "nullable": false,
            "type": "integer"
          }
        },
        "additionalProperties": true,
        "description": "Paginated list payload for v3."
      },
      "CountProductsResponseBody": {
        "properties": {
          "count": {
            "description": "Total number of products",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "UpdateRequestProduct": {
        "properties": {
          "description": {
            "description": "Description",
            "type": "string"
          },
          "is_inventory": {
            "description": "Is Inventory",
            "type": "boolean"
          },
          "is_multiple": {
            "description": "Is Multiple",
            "type": "boolean"
          },
          "is_product_sharing": {
            "description": "Is Product Sharing",
            "type": "boolean"
          },
          "item_type": {
            "description": "Type of the product item",
            "enum": [
              "physical",
              "digital",
              "course",
              "license",
              "subscription"
            ],
            "title": "ItemType",
            "type": "string"
          },
          "meta_thumbnail": {
            "description": "Meta Thumbnail",
            "format": "uri",
            "type": "string"
          },
          "name": {
            "description": "Product Name",
            "type": "string"
          },
          "option1_name": {
            "description": "Option 1 Name",
            "type": "string"
          },
          "option2_name": {
            "description": "Option 2 Name",
            "type": "string"
          },
          "option3_name": {
            "description": "Option 3 Name",
            "type": "string"
          },
          "partnership_sales_letter": {
            "description": "Partnership sales letter for affiliate/reseller promotion",
            "type": "string"
          },
          "public_name": {
            "description": "Product Public Name",
            "type": "string"
          },
          "rich_description": {
            "description": "Rich Description",
            "type": "string"
          },
          "slug": {
            "description": "Product Slug",
            "type": "string"
          },
          "taxonomy_id": {
            "description": "Taxonomy ID",
            "type": "integer"
          },
          "variants": {
            "description": "List of variants associated with the product",
            "items": {
              "properties": {
                "cogs": {
                  "description": "Cost of Goods Sold",
                  "type": "number"
                },
                "description": {
                  "description": "Variant Description",
                  "type": "string"
                },
                "images": {
                  "description": "List of image URLs",
                  "items": {
                    "format": "uri",
                    "type": "string"
                  },
                  "type": "array"
                },
                "is_checked": {
                  "description": "Mark variant as sellable",
                  "type": "boolean"
                },
                "is_deleted": {
                  "description": "Mark variant as deleted",
                  "type": "boolean"
                },
                "metadata": {
                  "additionalProperties": true,
                  "description": "Additional metadata",
                  "type": "object"
                },
                "option1_value": {
                  "description": "Option 1 Value",
                  "type": "string"
                },
                "option2_value": {
                  "description": "Option 2 Value",
                  "type": "string"
                },
                "option3_value": {
                  "description": "Option 3 Value",
                  "type": "string"
                },
                "price": {
                  "description": "Price",
                  "type": "number"
                },
                "reseller_price": {
                  "description": "Reseller Price",
                  "type": "number"
                },
                "rich_description": {
                  "description": "Variant Rich Description",
                  "type": "string"
                },
                "self_file_urls": {
                  "description": "List of self file URLs",
                  "items": {
                    "format": "uri",
                    "type": "string"
                  },
                  "type": "array"
                },
                "sku": {
                  "description": "SKU",
                  "type": "string"
                },
                "variant_id": {
                  "description": "Variant ID for update; leave empty for create",
                  "type": "integer"
                },
                "weight": {
                  "description": "Weight in grams",
                  "type": "integer"
                }
              },
              "required": [
                "price",
                "weight"
              ],
              "title": "RequestVariant",
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "name",
          "item_type"
        ],
        "title": "UpdateRequestProduct",
        "type": "object"
      },
      "ProductRelations": {
        "properties": {
          "bundles": {
            "items": {
              "properties": {
                "bundle_price_options": {
                  "description": "List of bundle price options",
                  "items": {
                    "properties": {
                      "id": {
                        "description": "Bundle Price Option ID",
                        "type": "integer"
                      },
                      "name": {
                        "description": "Name",
                        "type": "string"
                      },
                      "unique_id": {
                        "description": "Bundle Price Option Unique ID",
                        "type": "string"
                      }
                    },
                    "title": "BundlePriceOptionRelation",
                    "type": "object"
                  },
                  "type": "array"
                },
                "business": {
                  "properties": {
                    "account_holder": {
                      "description": "Name of the account holder",
                      "type": "string"
                    },
                    "email": {
                      "description": "Email address of the business",
                      "format": "email",
                      "type": "string"
                    },
                    "id": {
                      "description": "Business ID",
                      "type": "integer"
                    },
                    "is_banned": {
                      "description": "Is the business banned?",
                      "type": "boolean"
                    },
                    "logo": {
                      "description": "URL to the business logo",
                      "format": "uri",
                      "type": "string"
                    },
                    "unique_id": {
                      "description": "Unique identifier for the business",
                      "type": "string"
                    },
                    "username": {
                      "description": "Username of the business",
                      "type": "string"
                    }
                  },
                  "title": "BusinessSimple",
                  "type": "object"
                },
                "id": {
                  "description": "Bundle ID",
                  "type": "integer"
                },
                "name": {
                  "description": "Name",
                  "type": "string"
                },
                "pages": {
                  "description": "Pages associated with the bundle",
                  "properties": {
                    "all": {
                      "description": "All pages associated with the bundle",
                      "items": {
                        "properties": {
                          "business": {
                            "properties": {
                              "account_holder": {
                                "description": "Name of the account holder",
                                "type": "string"
                              },
                              "email": {
                                "description": "Email address of the business",
                                "format": "email",
                                "type": "string"
                              },
                              "id": {
                                "description": "Business ID",
                                "type": "integer"
                              },
                              "is_banned": {
                                "description": "Is the business banned?",
                                "type": "boolean"
                              },
                              "logo": {
                                "description": "URL to the business logo",
                                "format": "uri",
                                "type": "string"
                              },
                              "unique_id": {
                                "description": "Unique identifier for the business",
                                "type": "string"
                              },
                              "username": {
                                "description": "Username of the business",
                                "type": "string"
                              }
                            },
                            "title": "BusinessSimple",
                            "type": "object"
                          },
                          "id": {
                            "description": "Page ID",
                            "type": "integer"
                          },
                          "name": {
                            "description": "Name of the page",
                            "type": "string"
                          },
                          "slug": {
                            "description": "Slug for the page URL",
                            "type": "string"
                          },
                          "unique_id": {
                            "description": "Unique identifier for the page",
                            "type": "string"
                          }
                        },
                        "title": "PageRelation",
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "will_unpublish": {
                      "description": "Pages that will be unpublished",
                      "items": {
                        "properties": {
                          "business": {
                            "properties": {
                              "account_holder": {
                                "description": "Name of the account holder",
                                "type": "string"
                              },
                              "email": {
                                "description": "Email address of the business",
                                "format": "email",
                                "type": "string"
                              },
                              "id": {
                                "description": "Business ID",
                                "type": "integer"
                              },
                              "is_banned": {
                                "description": "Is the business banned?",
                                "type": "boolean"
                              },
                              "logo": {
                                "description": "URL to the business logo",
                                "format": "uri",
                                "type": "string"
                              },
                              "unique_id": {
                                "description": "Unique identifier for the business",
                                "type": "string"
                              },
                              "username": {
                                "description": "Username of the business",
                                "type": "string"
                              }
                            },
                            "title": "BusinessSimple",
                            "type": "object"
                          },
                          "id": {
                            "description": "Page ID",
                            "type": "integer"
                          },
                          "name": {
                            "description": "Name of the page",
                            "type": "string"
                          },
                          "slug": {
                            "description": "Slug for the page URL",
                            "type": "string"
                          },
                          "unique_id": {
                            "description": "Unique identifier for the page",
                            "type": "string"
                          }
                        },
                        "title": "PageRelation",
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "stores": {
                  "description": "List of stores associated with the bundle",
                  "items": {
                    "properties": {
                      "business": {
                        "properties": {
                          "account_holder": {
                            "description": "Name of the account holder",
                            "type": "string"
                          },
                          "email": {
                            "description": "Email address of the business",
                            "format": "email",
                            "type": "string"
                          },
                          "id": {
                            "description": "Business ID",
                            "type": "integer"
                          },
                          "is_banned": {
                            "description": "Is the business banned?",
                            "type": "boolean"
                          },
                          "logo": {
                            "description": "URL to the business logo",
                            "format": "uri",
                            "type": "string"
                          },
                          "unique_id": {
                            "description": "Unique identifier for the business",
                            "type": "string"
                          },
                          "username": {
                            "description": "Username of the business",
                            "type": "string"
                          }
                        },
                        "title": "BusinessSimple",
                        "type": "object"
                      },
                      "id": {
                        "description": "Store ID",
                        "type": "integer"
                      },
                      "name": {
                        "description": "Store name",
                        "type": "string"
                      },
                      "unique_id": {
                        "description": "Unique identifier for the store",
                        "type": "string"
                      }
                    },
                    "title": "StoreRelation",
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "title": "BundleRelation",
              "type": "object"
            },
            "type": "array"
          },
          "id": {
            "description": "Product ID",
            "type": "integer"
          },
          "name": {
            "description": "Product Name",
            "type": "string"
          },
          "pages": {
            "properties": {
              "all": {
                "items": {
                  "properties": {
                    "business": {
                      "properties": {
                        "account_holder": {
                          "description": "Name of the account holder",
                          "type": "string"
                        },
                        "email": {
                          "description": "Email address of the business",
                          "format": "email",
                          "type": "string"
                        },
                        "id": {
                          "description": "Business ID",
                          "type": "integer"
                        },
                        "is_banned": {
                          "description": "Is the business banned?",
                          "type": "boolean"
                        },
                        "logo": {
                          "description": "URL to the business logo",
                          "format": "uri",
                          "type": "string"
                        },
                        "unique_id": {
                          "description": "Unique identifier for the business",
                          "type": "string"
                        },
                        "username": {
                          "description": "Username of the business",
                          "type": "string"
                        }
                      },
                      "title": "BusinessSimple",
                      "type": "object"
                    },
                    "id": {
                      "description": "Page ID",
                      "type": "integer"
                    },
                    "name": {
                      "description": "Name of the page",
                      "type": "string"
                    },
                    "slug": {
                      "description": "Slug for the page URL",
                      "type": "string"
                    },
                    "unique_id": {
                      "description": "Unique identifier for the page",
                      "type": "string"
                    }
                  },
                  "title": "PageRelation",
                  "type": "object"
                },
                "type": "array"
              },
              "will_unpublish": {
                "items": {
                  "properties": {
                    "business": {
                      "properties": {
                        "account_holder": {
                          "description": "Name of the account holder",
                          "type": "string"
                        },
                        "email": {
                          "description": "Email address of the business",
                          "format": "email",
                          "type": "string"
                        },
                        "id": {
                          "description": "Business ID",
                          "type": "integer"
                        },
                        "is_banned": {
                          "description": "Is the business banned?",
                          "type": "boolean"
                        },
                        "logo": {
                          "description": "URL to the business logo",
                          "format": "uri",
                          "type": "string"
                        },
                        "unique_id": {
                          "description": "Unique identifier for the business",
                          "type": "string"
                        },
                        "username": {
                          "description": "Username of the business",
                          "type": "string"
                        }
                      },
                      "title": "BusinessSimple",
                      "type": "object"
                    },
                    "id": {
                      "description": "Page ID",
                      "type": "integer"
                    },
                    "name": {
                      "description": "Name of the page",
                      "type": "string"
                    },
                    "slug": {
                      "description": "Slug for the page URL",
                      "type": "string"
                    },
                    "unique_id": {
                      "description": "Unique identifier for the page",
                      "type": "string"
                    }
                  },
                  "title": "PageRelation",
                  "type": "object"
                },
                "type": "array"
              }
            },
            "type": "object"
          },
          "stores": {
            "items": {
              "properties": {
                "business": {
                  "properties": {
                    "account_holder": {
                      "description": "Name of the account holder",
                      "type": "string"
                    },
                    "email": {
                      "description": "Email address of the business",
                      "format": "email",
                      "type": "string"
                    },
                    "id": {
                      "description": "Business ID",
                      "type": "integer"
                    },
                    "is_banned": {
                      "description": "Is the business banned?",
                      "type": "boolean"
                    },
                    "logo": {
                      "description": "URL to the business logo",
                      "format": "uri",
                      "type": "string"
                    },
                    "unique_id": {
                      "description": "Unique identifier for the business",
                      "type": "string"
                    },
                    "username": {
                      "description": "Username of the business",
                      "type": "string"
                    }
                  },
                  "title": "BusinessSimple",
                  "type": "object"
                },
                "id": {
                  "description": "Store ID",
                  "type": "integer"
                },
                "name": {
                  "description": "Store name",
                  "type": "string"
                },
                "unique_id": {
                  "description": "Unique identifier for the store",
                  "type": "string"
                }
              },
              "title": "StoreRelation",
              "type": "object"
            },
            "type": "array"
          },
          "variants": {
            "items": {
              "properties": {
                "id": {
                  "description": "Variant ID",
                  "type": "integer"
                },
                "item_type": {
                  "description": "Type of the product item",
                  "enum": [
                    "physical",
                    "digital",
                    "course",
                    "license",
                    "subscription"
                  ],
                  "title": "ItemType",
                  "type": "string"
                },
                "name": {
                  "description": "Variant Name",
                  "type": "string"
                },
                "product_name": {
                  "description": "Product Name",
                  "type": "string"
                }
              },
              "title": "VariantRelation",
              "type": "object"
            },
            "type": "array"
          }
        },
        "title": "ProductRelations",
        "type": "object"
      },
      "ProductPartner": {
        "description": "A partner associated with a product",
        "properties": {
          "affiliate_pro_domains": {
            "description": "Approved affiliate_pro custom domains for this partnership",
            "items": {
              "properties": {
                "business_id": {
                  "description": "Business ID that owns the custom domain",
                  "type": "integer"
                },
                "full_url": {
                  "description": "Full URL of the custom domain",
                  "type": "string"
                },
                "id": {
                  "description": "Unique identifier of the custom domain",
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "affiliate_pro_links": {
            "description": "Affiliate Pro links for partners (product + checkout, includes ap=<store_short_unique_id>)",
            "items": {
              "properties": {
                "checkout_url": {
                  "description": "Affiliate Pro checkout page URL",
                  "type": "string"
                },
                "domain": {
                  "description": "Custom domain for the affiliate pro link",
                  "type": "string"
                },
                "product_url": {
                  "description": "Affiliate Pro product page URL",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "affiliate_status": {
            "description": "Status of the partnership (pending, approved, rejected, banned)",
            "type": "string"
          },
          "approved_at": {
            "description": "Timestamp when partnership was approved",
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "created_at": {
            "description": "Timestamp when the product partner was created",
            "format": "date-time",
            "type": "string"
          },
          "custom_domains": {
            "description": "List of custom domains where the product page can be viewed",
            "items": {
              "properties": {
                "business_id": {
                  "description": "Business ID that owns the custom domain",
                  "type": "integer"
                },
                "full_url": {
                  "description": "Full URL of the custom domain",
                  "type": "string"
                },
                "id": {
                  "description": "Unique identifier of the custom domain",
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "id": {
            "description": "Unique identifier of the product partner",
            "type": "integer"
          },
          "message_to_product_owner": {
            "description": "Message from partner when requesting partnership",
            "nullable": true,
            "type": "string"
          },
          "partner": {
            "properties": {
              "account_holder": {
                "description": "Name of the account holder",
                "type": "string"
              },
              "email": {
                "description": "Email address of the business",
                "format": "email",
                "type": "string"
              },
              "id": {
                "description": "Business ID",
                "type": "integer"
              },
              "is_banned": {
                "description": "Is the business banned?",
                "type": "boolean"
              },
              "logo": {
                "description": "URL to the business logo",
                "format": "uri",
                "type": "string"
              },
              "unique_id": {
                "description": "Unique identifier for the business",
                "type": "string"
              },
              "username": {
                "description": "Username of the business",
                "type": "string"
              }
            },
            "title": "BusinessSimple",
            "type": "object"
          },
          "partnership_type": {
            "description": "Type of partnership (affiliate, affiliate_pro, or reseller)",
            "type": "string"
          },
          "rejected_at": {
            "description": "Timestamp when partnership was rejected",
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "requested_at": {
            "description": "Timestamp when partnership was requested",
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "store_id": {
            "description": "Store ID assigned for affiliate_pro routing",
            "nullable": true,
            "type": "integer"
          }
        },
        "title": "ProductPartner",
        "type": "object"
      },
      "ListProductPartnersResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductPartner"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ],
            "example": true
          },
          "has_next": {
            "default": false,
            "example": false,
            "nullable": false,
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "default": 25,
            "example": 25,
            "nullable": false,
            "type": "integer"
          }
        },
        "additionalProperties": true,
        "description": "Paginated list payload for v3."
      },
      "CreatePartnerRequest": {
        "properties": {
          "partner_unique_id": {
            "description": "Partner Unique ID",
            "type": "string"
          }
        },
        "required": [
          "partner_unique_id"
        ],
        "title": "CreatePartnerRequest",
        "type": "object"
      },
      "ProductKnowledgeItem": {
        "properties": {
          "a": {
            "description": "Answer text (max 3000 chars)",
            "maxLength": 3000,
            "type": "string"
          },
          "id": {
            "description": "Knowledge item ID (UUIDv7)",
            "format": "uuid",
            "type": "string"
          },
          "inserted_at": {
            "description": "Creation timestamp",
            "format": "date-time",
            "type": "string"
          },
          "position": {
            "description": "Display position (0-indexed)",
            "type": "integer"
          },
          "product_id": {
            "description": "Product ID",
            "type": "integer"
          },
          "q": {
            "description": "Question text (max 255 chars)",
            "maxLength": 255,
            "type": "string"
          },
          "updated_at": {
            "description": "Last update timestamp",
            "format": "date-time",
            "type": "string"
          },
          "variant_id": {
            "description": "Variant ID (null for product-level items)",
            "nullable": true,
            "type": "integer"
          }
        },
        "title": "ProductKnowledgeItem",
        "type": "object"
      },
      "ListProductKnowledgeItemsResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductKnowledgeItem"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ],
            "example": true
          },
          "has_next": {
            "default": false,
            "example": false,
            "nullable": false,
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "default": 25,
            "example": 25,
            "nullable": false,
            "type": "integer"
          }
        },
        "additionalProperties": true,
        "description": "Paginated list payload for v3."
      },
      "CreateUpdateProductKnowledgeItemRequest": {
        "properties": {
          "a": {
            "description": "Answer text (max 3000 chars)",
            "maxLength": 3000,
            "type": "string"
          },
          "position": {
            "description": "Display position (0-indexed)",
            "type": "integer"
          },
          "q": {
            "description": "Question text (max 255 chars)",
            "maxLength": 255,
            "type": "string"
          }
        },
        "required": [
          "q",
          "a"
        ],
        "title": "CreateUpdateProductKnowledgeItemRequest",
        "type": "object"
      },
      "ManagingFollowUpChat": {
        "properties": {
          "bundle_id": {
            "description": "Bundle ID associated with the follow-up chat",
            "type": "integer"
          },
          "change_status": {
            "description": "Triggered after order status change to this status",
            "type": "boolean"
          },
          "hours_after": {
            "description": "Hours after which the follow-up chat is sent",
            "type": "integer"
          },
          "id": {
            "description": "Follow-up chat ID",
            "type": "integer"
          },
          "image": {
            "description": "Image URL for the follow-up chat",
            "format": "uri",
            "type": "string"
          },
          "is_default": {
            "description": "Is this a default follow-up chat",
            "type": "boolean"
          },
          "name": {
            "description": "Name of the follow-up chat",
            "type": "string"
          },
          "product_id": {
            "description": "Product ID associated with the follow-up chat",
            "type": "integer"
          },
          "provider": {
            "description": "Provider of the follow-up chat",
            "type": "string"
          },
          "store_id": {
            "description": "Store ID associated with the follow-up chat",
            "type": "integer"
          },
          "text_for_bank_transfer": {
            "description": "Text for bank transfer payments",
            "type": "string"
          },
          "text_for_cod": {
            "description": "Text for cash on delivery payments",
            "type": "string"
          },
          "text_for_epayment": {
            "description": "Text for electronic payments",
            "type": "string"
          },
          "trigger": {
            "description": "Trigger for the follow-up chat",
            "type": "string"
          },
          "wa_gateway_assignation_type": {
            "description": "WhatsApp gateway assignation type",
            "type": "string"
          },
          "wa_integration": {
            "properties": {
              "id": {
                "description": "Whatsapp Integration ID",
                "type": "integer"
              },
              "name": {
                "description": "Name",
                "type": "string"
              },
              "phone_number": {
                "description": "Phone Number",
                "type": "string"
              },
              "provider": {
                "description": "Provider",
                "type": "string"
              }
            },
            "title": "WhatsappIntegration",
            "type": "object"
          }
        },
        "title": "ManagingFollowUpChat",
        "type": "object"
      },
      "ListProductFollowUpChatsResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManagingFollowUpChat"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ],
            "example": true
          },
          "has_next": {
            "default": false,
            "example": false,
            "nullable": false,
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "default": 25,
            "example": 25,
            "nullable": false,
            "type": "integer"
          }
        },
        "additionalProperties": true,
        "description": "Paginated list payload for v3."
      },
      "CreateUpdateFollowUpChatRequest": {
        "properties": {
          "change_status": {
            "description": "Triggered after order status change to this status",
            "type": "boolean"
          },
          "hours_after": {
            "description": "Hours after which the follow up chat is triggered",
            "type": "integer"
          },
          "image": {
            "description": "Image URL for the follow up chat",
            "format": "uri",
            "type": "string"
          },
          "is_default": {
            "description": "Is this a default follow up chat?",
            "type": "boolean"
          },
          "name": {
            "description": "Name of the follow up chat",
            "type": "string"
          },
          "provider": {
            "description": "Provider of the follow up chat",
            "type": "string"
          },
          "text_for_bank_transfer": {
            "description": "Text for bank transfer",
            "type": "string"
          },
          "text_for_cod": {
            "description": "Text for cash on delivery",
            "type": "string"
          },
          "text_for_epayment": {
            "description": "Text for e-payments",
            "type": "string"
          },
          "trigger": {
            "description": "Trigger condition for the follow up chat",
            "type": "string"
          },
          "wa_gateway_assignation_type": {
            "description": "WhatsApp gateway assignation type",
            "type": "string"
          },
          "wa_integration_id": {
            "description": "WhatsApp integration ID",
            "type": "integer"
          }
        },
        "required": [
          "name",
          "provider"
        ],
        "title": "CreateUpdateFollowUpChatRequest",
        "type": "object"
      },
      "Variant": {
        "properties": {
          "cogs": {
            "description": "Cost of Goods Sold",
            "type": "number"
          },
          "price_bt": {
            "description": "Price before tax",
            "type": "number"
          },
          "validity_period_unit": {
            "description": "Unit of the period",
            "enum": [
              "day",
              "week",
              "month",
              "year"
            ],
            "title": "PeriodUnit",
            "type": "string"
          },
          "display": {
            "description": "Display name for the variant",
            "type": "string"
          },
          "option1_value": {
            "description": "Value of the first product option",
            "type": "string"
          },
          "image_configs": {
            "additionalProperties": true,
            "description": "Objects of config for each image in the same variant",
            "type": "object"
          },
          "reseller_price_bt": {
            "description": "Reseller price before tax",
            "type": "number"
          },
          "option2_value": {
            "description": "Value of the second product option",
            "type": "string"
          },
          "reseller_price": {
            "description": "Reseller price of the variant",
            "type": "number"
          },
          "fullname": {
            "description": "Full name of the variant",
            "type": "string"
          },
          "validity_period": {
            "description": "Validity period for one time variants",
            "type": "integer"
          },
          "uuid": {
            "description": "Variant UUID",
            "type": "string"
          },
          "sku": {
            "description": "Stock Keeping Unit",
            "type": "string"
          },
          "digital_product_files": {
            "description": "List of digital product files associated with the variant",
            "items": {
              "properties": {
                "content_type": {
                  "description": "MIME type of the digital product file",
                  "type": "string"
                },
                "id": {
                  "description": "Digital product file primary key",
                  "type": "integer"
                },
                "name": {
                  "description": "File name of the digital product file",
                  "type": "string"
                },
                "size_in_bytes": {
                  "description": "Size of the digital product file in bytes",
                  "type": "integer"
                },
                "url": {
                  "description": "URL to access the digital product file",
                  "format": "uri",
                  "type": "string"
                }
              },
              "title": "DigitalProductFile",
              "type": "object"
            },
            "type": "array"
          },
          "product_name": {
            "description": "Name of the associated product",
            "type": "string"
          },
          "item_type": {
            "description": "Type of the product item",
            "enum": [
              "physical",
              "digital",
              "course",
              "license",
              "subscription"
            ],
            "title": "ItemType",
            "type": "string"
          },
          "pricing_type": {
            "description": "Type of the product pricing",
            "enum": [
              "one_time",
              "recurring"
            ],
            "title": "PricingType",
            "type": "string"
          },
          "self_file_urls": {
            "description": "List of self file URLs associated with the variant",
            "items": {
              "format": "uri",
              "type": "string"
            },
            "type": "array"
          },
          "name": {
            "description": "Full name of the variant",
            "type": "string"
          },
          "id": {
            "description": "Variant primary key",
            "type": "integer"
          },
          "unique_id": {
            "description": "Variant unique identifier",
            "type": "string"
          },
          "cogs_bt": {
            "description": "Cost of Goods Sold before tax",
            "type": "number"
          },
          "currency": {
            "description": "The currency code for the subscription item price.",
            "enum": [
              "IDR"
            ],
            "title": "Currency",
            "type": "string"
          },
          "price": {
            "description": "Price of the variant",
            "type": "number"
          },
          "images": {
            "description": "List of image URLs associated with the variant",
            "items": {
              "format": "uri",
              "type": "string"
            },
            "type": "array"
          },
          "weight": {
            "description": "Weight of the variant in grams",
            "type": "integer"
          },
          "is_checked": {
            "description": "Mark variant as sellable",
            "type": "boolean"
          },
          "interval_count": {
            "description": "Interval count for recurring variants",
            "type": "integer"
          },
          "last_updated_at": {
            "description": "Timestamp when the variant was last updated",
            "format": "date-time",
            "type": "string"
          },
          "option3_value": {
            "description": "Value of the third product option",
            "type": "string"
          },
          "interval": {
            "description": "Unit of the period",
            "enum": [
              "day",
              "week",
              "month",
              "year"
            ],
            "title": "PeriodUnit",
            "type": "string"
          },
          "metadata": {
            "additionalProperties": true,
            "description": "Additional metadata associated with the variant",
            "type": "object"
          },
          "product": {
            "properties": {
              "business": {
                "properties": {
                  "account_holder": {
                    "description": "Name of the account holder",
                    "type": "string"
                  },
                  "email": {
                    "description": "Email address of the business",
                    "format": "email",
                    "type": "string"
                  },
                  "id": {
                    "description": "Business ID",
                    "type": "integer"
                  },
                  "is_banned": {
                    "description": "Is the business banned?",
                    "type": "boolean"
                  },
                  "logo": {
                    "description": "URL to the business logo",
                    "format": "uri",
                    "type": "string"
                  },
                  "unique_id": {
                    "description": "Unique identifier for the business",
                    "type": "string"
                  },
                  "username": {
                    "description": "Username of the business",
                    "type": "string"
                  }
                },
                "title": "BusinessSimple",
                "type": "object"
              },
              "description": {
                "description": "Description",
                "type": "string"
              },
              "display": {
                "description": "Product name for display",
                "type": "string"
              },
              "id": {
                "description": "Product ID",
                "type": "integer"
              },
              "is_inventory": {
                "description": "Is Inventory",
                "type": "boolean"
              },
              "is_multiple": {
                "description": "Is Multiple",
                "type": "boolean"
              },
              "is_product_sharing": {
                "description": "Is Product Sharing",
                "type": "boolean"
              },
              "item_type": {
                "description": "Type of the product item",
                "enum": [
                  "physical",
                  "digital",
                  "course",
                  "license",
                  "subscription"
                ],
                "title": "ItemType",
                "type": "string"
              },
              "item_type_name": {
                "description": "Item Type Name",
                "type": "string"
              },
              "name": {
                "description": "Product Name",
                "type": "string"
              },
              "option1_name": {
                "description": "Option 1 Name",
                "type": "string"
              },
              "option2_name": {
                "description": "Option 2 Name",
                "type": "string"
              },
              "option3_name": {
                "description": "Option 3 Name",
                "type": "string"
              },
              "uuid": {
                "description": "Product UUID",
                "type": "string"
              }
            },
            "title": "Product",
            "type": "object"
          },
          "created_at": {
            "description": "Timestamp when the variant was created",
            "format": "date-time",
            "type": "string"
          },
          "is_editable": {
            "description": "Indicates if the variant is editable",
            "type": "boolean"
          }
        },
        "title": "Variant",
        "type": "object"
      },
      "DigitalProductFile": {
        "properties": {
          "content_type": {
            "description": "MIME type of the digital product file",
            "type": "string"
          },
          "id": {
            "description": "Digital product file primary key",
            "type": "integer"
          },
          "name": {
            "description": "File name of the digital product file",
            "type": "string"
          },
          "size_in_bytes": {
            "description": "Size of the digital product file in bytes",
            "type": "integer"
          },
          "url": {
            "description": "URL to access the digital product file",
            "format": "uri",
            "type": "string"
          }
        },
        "title": "DigitalProductFile",
        "type": "object"
      },
      "ListVariantDigitalProductFilesResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DigitalProductFile"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ],
            "example": true
          },
          "has_next": {
            "default": false,
            "example": false,
            "nullable": false,
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "default": 25,
            "example": 25,
            "nullable": false,
            "type": "integer"
          }
        },
        "additionalProperties": true,
        "description": "Paginated list payload for v3."
      },
      "ProductTaxonomy": {
        "properties": {
          "full_path": {
            "description": "Full Path",
            "type": "string"
          },
          "id": {
            "description": "Taxonomy ID",
            "type": "integer"
          },
          "level_1": {
            "description": "Level 1",
            "type": "string"
          },
          "level_2": {
            "description": "Level 2",
            "type": "string"
          },
          "level_3": {
            "description": "Level 3",
            "type": "string"
          },
          "level_4": {
            "description": "Level 4",
            "type": "string"
          },
          "level_5": {
            "description": "Level 5",
            "type": "string"
          },
          "level_6": {
            "description": "Level 6",
            "type": "string"
          },
          "level_7": {
            "description": "Level 7",
            "type": "string"
          }
        },
        "title": "ProductTaxonomy",
        "type": "object"
      },
      "ListProductTaxonomiesResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductTaxonomy"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ],
            "example": true
          },
          "has_next": {
            "default": false,
            "example": false,
            "nullable": false,
            "type": "boolean"
          },
          "page_size": {
            "default": 25,
            "example": 25,
            "nullable": false,
            "type": "integer"
          }
        },
        "additionalProperties": true,
        "description": "Paginated list payload for v3."
      },
      "BundleList": {
        "properties": {
          "business": {
            "properties": {
              "account_holder": {
                "description": "Name of the account holder",
                "type": "string"
              },
              "email": {
                "description": "Email address of the business",
                "format": "email",
                "type": "string"
              },
              "id": {
                "description": "Business ID",
                "type": "integer"
              },
              "is_banned": {
                "description": "Is the business banned?",
                "type": "boolean"
              },
              "logo": {
                "description": "URL to the business logo",
                "format": "uri",
                "type": "string"
              },
              "unique_id": {
                "description": "Unique identifier for the business",
                "type": "string"
              },
              "username": {
                "description": "Username of the business",
                "type": "string"
              }
            },
            "title": "BusinessSimple",
            "type": "object"
          },
          "created_at": {
            "description": "Creation timestamp",
            "format": "date-time",
            "type": "string"
          },
          "created_by": {
            "properties": {
              "aff_code": {
                "description": "Affiliate code of the user",
                "type": "string"
              },
              "avatar": {
                "description": "URL to user avatar",
                "format": "uri",
                "type": "string"
              },
              "email": {
                "description": "User email",
                "format": "email",
                "type": "string"
              },
              "fullname": {
                "description": "User full name",
                "type": "string"
              },
              "id": {
                "description": "User ID",
                "type": "integer"
              },
              "phone": {
                "description": "User phone number",
                "type": "string"
              }
            },
            "title": "UserSimple",
            "type": "object"
          },
          "custom_id": {
            "description": "Custom Identifier",
            "type": "string"
          },
          "description": {
            "description": "Description",
            "type": "string"
          },
          "display": {
            "description": "Display Name",
            "type": "string"
          },
          "id": {
            "description": "Bundle ID",
            "type": "integer"
          },
          "images": {
            "description": "List of Image URLs",
            "items": {
              "format": "uri",
              "type": "string"
            },
            "type": "array"
          },
          "is_bundle_sharing": {
            "description": "Is Bundle Sharing Enabled",
            "type": "boolean"
          },
          "last_updated_at": {
            "description": "Last update timestamp",
            "format": "date-time",
            "type": "string"
          },
          "last_updated_by": {
            "properties": {
              "aff_code": {
                "description": "Affiliate code of the user",
                "type": "string"
              },
              "avatar": {
                "description": "URL to user avatar",
                "format": "uri",
                "type": "string"
              },
              "email": {
                "description": "User email",
                "format": "email",
                "type": "string"
              },
              "fullname": {
                "description": "User full name",
                "type": "string"
              },
              "id": {
                "description": "User ID",
                "type": "integer"
              },
              "phone": {
                "description": "User phone number",
                "type": "string"
              }
            },
            "title": "UserSimple",
            "type": "object"
          },
          "name": {
            "description": "Name",
            "type": "string"
          },
          "public_name": {
            "description": "Public Name",
            "type": "string"
          },
          "variants_count": {
            "description": "Number of variants in the bundle",
            "type": "integer"
          },
          "weight_bump": {
            "description": "Weight Bump",
            "type": "integer"
          }
        },
        "title": "BundleList",
        "type": "object"
      },
      "ListBundlesResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleList"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ],
            "example": true
          },
          "has_next": {
            "default": false,
            "example": false,
            "nullable": false,
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "default": 25,
            "example": 25,
            "nullable": false,
            "type": "integer"
          }
        },
        "additionalProperties": true,
        "description": "Paginated list payload for v3."
      },
      "BundleCreateRequest": {
        "properties": {
          "bundle_price_options": {
            "description": "List of Bundle Price Options",
            "items": {
              "properties": {
                "name": {
                  "description": "Name",
                  "type": "string"
                },
                "price": {
                  "description": "Price (including tax)",
                  "format": "float",
                  "type": "number"
                },
                "slug": {
                  "description": "Slug",
                  "type": "string"
                }
              },
              "required": [
                "name",
                "price"
              ],
              "title": "BundlePriceOptionRequest",
              "type": "object"
            },
            "type": "array"
          },
          "bundlelines": {
            "description": "List of Bundle Lines",
            "items": {
              "properties": {
                "quantity": {
                  "description": "Quantity of the variant in the bundle line",
                  "type": "integer"
                },
                "variant_id": {
                  "description": "Variant ID",
                  "type": "integer"
                }
              },
              "required": [
                "variant_id",
                "quantity"
              ],
              "title": "BundleLineCreateRequest",
              "type": "object"
            },
            "type": "array"
          },
          "custom_id": {
            "description": "Custom Identifier",
            "type": "string"
          },
          "description": {
            "description": "Description",
            "type": "string"
          },
          "images": {
            "description": "List of Image URLs",
            "items": {
              "format": "uri",
              "type": "string"
            },
            "type": "array"
          },
          "meta_thumbnail": {
            "description": "Meta Thumbnail URL",
            "format": "uri",
            "type": "string"
          },
          "name": {
            "description": "Name",
            "type": "string"
          },
          "public_name": {
            "description": "Public Name",
            "type": "string"
          },
          "rich_description": {
            "description": "Rich Description",
            "type": "string"
          },
          "weight_bump": {
            "description": "Weight Bump",
            "type": "integer"
          }
        },
        "required": [
          "name",
          "public_name"
        ],
        "title": "BundleCreateRequest",
        "type": "object"
      },
      "Bundle": {
        "properties": {
          "bundle_price_options": {
            "description": "List of Bundle Price Options",
            "items": {
              "properties": {
                "form_displays": {
                  "description": "List of form displays associated with the bundle price option",
                  "items": {
                    "properties": {
                      "id": {
                        "description": "Form Display ID",
                        "type": "integer"
                      },
                      "page_display": {
                        "properties": {
                          "id": {
                            "description": "Page Display ID",
                            "type": "integer"
                          }
                        },
                        "title": "ForProductPageDisplay",
                        "type": "object"
                      }
                    },
                    "title": "ForProductFormDisplay",
                    "type": "object"
                  },
                  "type": "array"
                },
                "id": {
                  "description": "Bundle Price Option ID",
                  "type": "integer"
                },
                "name": {
                  "description": "Name",
                  "type": "string"
                },
                "price": {
                  "description": "Price (including tax)",
                  "format": "float",
                  "type": "number"
                },
                "price_bt": {
                  "description": "Price before tax",
                  "format": "float",
                  "type": "number"
                },
                "slug": {
                  "description": "Slug",
                  "type": "string"
                },
                "stores": {
                  "description": "List of stores where the bundle price option is available",
                  "items": {
                    "properties": {
                      "custom_domain": {
                        "properties": {
                          "full_url": {
                            "description": "Full URL",
                            "format": "uri",
                            "type": "string"
                          },
                          "id": {
                            "description": "Custom Domain ID",
                            "type": "integer"
                          },
                          "is_verified": {
                            "description": "Is Verified",
                            "type": "boolean"
                          }
                        },
                        "title": "SimpleCustomDomain",
                        "type": "object"
                      },
                      "id": {
                        "description": "Store ID",
                        "type": "integer"
                      },
                      "name": {
                        "description": "Store name",
                        "type": "string"
                      }
                    },
                    "title": "DomainStore",
                    "type": "object"
                  },
                  "type": "array"
                },
                "unique_id": {
                  "description": "Bundle Price Option Unique ID",
                  "type": "string"
                },
                "upsell_form_displays": {
                  "description": "sell form displays associated with the bundle price option",
                  "items": {
                    "properties": {
                      "id": {
                        "description": "Form Display ID",
                        "type": "integer"
                      },
                      "page_display": {
                        "properties": {
                          "id": {
                            "description": "Page Display ID",
                            "type": "integer"
                          }
                        },
                        "title": "ForProductPageDisplay",
                        "type": "object"
                      }
                    },
                    "title": "ForProductFormDisplay",
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "title": "BundlePriceOptionForBundle",
              "type": "object"
            },
            "type": "array"
          },
          "bundlelines": {
            "description": "List of Bundle Lines with Product details",
            "items": {
              "properties": {
                "id": {
                  "description": "Bundle Line ID",
                  "type": "integer"
                },
                "quantity": {
                  "description": "Quantity of the variant in the bundle line",
                  "type": "integer"
                },
                "subtotal": {
                  "description": "Subtotal price for the bundle line (variant price * quantity)",
                  "format": "decimal",
                  "type": "string"
                },
                "variant": {
                  "properties": {
                    "cogs": {
                      "description": "Cost of Goods Sold",
                      "type": "number"
                    },
                    "price_bt": {
                      "description": "Price before tax",
                      "type": "number"
                    },
                    "validity_period_unit": {
                      "description": "Unit of the period",
                      "enum": [
                        "day",
                        "week",
                        "month",
                        "year"
                      ],
                      "title": "PeriodUnit",
                      "type": "string"
                    },
                    "display": {
                      "description": "Display name for the variant",
                      "type": "string"
                    },
                    "option1_value": {
                      "description": "Value of the first product option",
                      "type": "string"
                    },
                    "image_configs": {
                      "additionalProperties": true,
                      "description": "Objects of config for each image in the same variant",
                      "type": "object"
                    },
                    "reseller_price_bt": {
                      "description": "Reseller price before tax",
                      "type": "number"
                    },
                    "option2_value": {
                      "description": "Value of the second product option",
                      "type": "string"
                    },
                    "reseller_price": {
                      "description": "Reseller price of the variant",
                      "type": "number"
                    },
                    "fullname": {
                      "description": "Full name of the variant",
                      "type": "string"
                    },
                    "validity_period": {
                      "description": "Validity period for one time variants",
                      "type": "integer"
                    },
                    "uuid": {
                      "description": "Variant UUID",
                      "type": "string"
                    },
                    "sku": {
                      "description": "Stock Keeping Unit",
                      "type": "string"
                    },
                    "digital_product_files": {
                      "description": "List of digital product files associated with the variant",
                      "items": {
                        "properties": {
                          "content_type": {
                            "description": "MIME type of the digital product file",
                            "type": "string"
                          },
                          "id": {
                            "description": "Digital product file primary key",
                            "type": "integer"
                          },
                          "name": {
                            "description": "File name of the digital product file",
                            "type": "string"
                          },
                          "size_in_bytes": {
                            "description": "Size of the digital product file in bytes",
                            "type": "integer"
                          },
                          "url": {
                            "description": "URL to access the digital product file",
                            "format": "uri",
                            "type": "string"
                          }
                        },
                        "title": "DigitalProductFile",
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "product_name": {
                      "description": "Name of the associated product",
                      "type": "string"
                    },
                    "item_type": {
                      "description": "Type of the product item",
                      "enum": [
                        "physical",
                        "digital",
                        "course",
                        "license",
                        "subscription"
                      ],
                      "title": "ItemType",
                      "type": "string"
                    },
                    "pricing_type": {
                      "description": "Type of the product pricing",
                      "enum": [
                        "one_time",
                        "recurring"
                      ],
                      "title": "PricingType",
                      "type": "string"
                    },
                    "self_file_urls": {
                      "description": "List of self file URLs associated with the variant",
                      "items": {
                        "format": "uri",
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "name": {
                      "description": "Full name of the variant",
                      "type": "string"
                    },
                    "id": {
                      "description": "Variant primary key",
                      "type": "integer"
                    },
                    "unique_id": {
                      "description": "Variant unique identifier",
                      "type": "string"
                    },
                    "cogs_bt": {
                      "description": "Cost of Goods Sold before tax",
                      "type": "number"
                    },
                    "currency": {
                      "description": "The currency code for the subscription item price.",
                      "enum": [
                        "IDR"
                      ],
                      "title": "Currency",
                      "type": "string"
                    },
                    "price": {
                      "description": "Price of the variant",
                      "type": "number"
                    },
                    "images": {
                      "description": "List of image URLs associated with the variant",
                      "items": {
                        "format": "uri",
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "weight": {
                      "description": "Weight of the variant in grams",
                      "type": "integer"
                    },
                    "is_checked": {
                      "description": "Mark variant as sellable",
                      "type": "boolean"
                    },
                    "interval_count": {
                      "description": "Interval count for recurring variants",
                      "type": "integer"
                    },
                    "last_updated_at": {
                      "description": "Timestamp when the variant was last updated",
                      "format": "date-time",
                      "type": "string"
                    },
                    "option3_value": {
                      "description": "Value of the third product option",
                      "type": "string"
                    },
                    "interval": {
                      "description": "Unit of the period",
                      "enum": [
                        "day",
                        "week",
                        "month",
                        "year"
                      ],
                      "title": "PeriodUnit",
                      "type": "string"
                    },
                    "metadata": {
                      "additionalProperties": true,
                      "description": "Additional metadata associated with the variant",
                      "type": "object"
                    },
                    "product": {
                      "properties": {
                        "business": {
                          "properties": {
                            "account_holder": {
                              "description": "Name of the account holder",
                              "type": "string"
                            },
                            "email": {
                              "description": "Email address of the business",
                              "format": "email",
                              "type": "string"
                            },
                            "id": {
                              "description": "Business ID",
                              "type": "integer"
                            },
                            "is_banned": {
                              "description": "Is the business banned?",
                              "type": "boolean"
                            },
                            "logo": {
                              "description": "URL to the business logo",
                              "format": "uri",
                              "type": "string"
                            },
                            "unique_id": {
                              "description": "Unique identifier for the business",
                              "type": "string"
                            },
                            "username": {
                              "description": "Username of the business",
                              "type": "string"
                            }
                          },
                          "title": "BusinessSimple",
                          "type": "object"
                        },
                        "description": {
                          "description": "Description",
                          "type": "string"
                        },
                        "display": {
                          "description": "Product name for display",
                          "type": "string"
                        },
                        "id": {
                          "description": "Product ID",
                          "type": "integer"
                        },
                        "is_inventory": {
                          "description": "Is Inventory",
                          "type": "boolean"
                        },
                        "is_multiple": {
                          "description": "Is Multiple",
                          "type": "boolean"
                        },
                        "is_product_sharing": {
                          "description": "Is Product Sharing",
                          "type": "boolean"
                        },
                        "item_type": {
                          "description": "Type of the product item",
                          "enum": [
                            "physical",
                            "digital",
                            "course",
                            "license",
                            "subscription"
                          ],
                          "title": "ItemType",
                          "type": "string"
                        },
                        "item_type_name": {
                          "description": "Item Type Name",
                          "type": "string"
                        },
                        "name": {
                          "description": "Product Name",
                          "type": "string"
                        },
                        "option1_name": {
                          "description": "Option 1 Name",
                          "type": "string"
                        },
                        "option2_name": {
                          "description": "Option 2 Name",
                          "type": "string"
                        },
                        "option3_name": {
                          "description": "Option 3 Name",
                          "type": "string"
                        },
                        "uuid": {
                          "description": "Product UUID",
                          "type": "string"
                        }
                      },
                      "title": "Product",
                      "type": "object"
                    },
                    "created_at": {
                      "description": "Timestamp when the variant was created",
                      "format": "date-time",
                      "type": "string"
                    },
                    "is_editable": {
                      "description": "Indicates if the variant is editable",
                      "type": "boolean"
                    }
                  },
                  "title": "Variant",
                  "type": "object"
                }
              },
              "title": "BundleLine",
              "type": "object"
            },
            "type": "array"
          },
          "business": {
            "properties": {
              "account_holder": {
                "description": "Name of the account holder",
                "type": "string"
              },
              "email": {
                "description": "Email address of the business",
                "format": "email",
                "type": "string"
              },
              "id": {
                "description": "Business ID",
                "type": "integer"
              },
              "is_banned": {
                "description": "Is the business banned?",
                "type": "boolean"
              },
              "logo": {
                "description": "URL to the business logo",
                "format": "uri",
                "type": "string"
              },
              "unique_id": {
                "description": "Unique identifier for the business",
                "type": "string"
              },
              "username": {
                "description": "Username of the business",
                "type": "string"
              }
            },
            "title": "BusinessSimple",
            "type": "object"
          },
          "created_at": {
            "description": "Creation timestamp",
            "format": "date-time",
            "type": "string"
          },
          "created_by": {
            "properties": {
              "aff_code": {
                "description": "Affiliate code of the user",
                "type": "string"
              },
              "avatar": {
                "description": "URL to user avatar",
                "format": "uri",
                "type": "string"
              },
              "email": {
                "description": "User email",
                "format": "email",
                "type": "string"
              },
              "fullname": {
                "description": "User full name",
                "type": "string"
              },
              "id": {
                "description": "User ID",
                "type": "integer"
              },
              "phone": {
                "description": "User phone number",
                "type": "string"
              }
            },
            "title": "UserSimple",
            "type": "object"
          },
          "custom_id": {
            "description": "Custom Identifier",
            "type": "string"
          },
          "description": {
            "description": "Description",
            "type": "string"
          },
          "id": {
            "description": "Bundle ID",
            "type": "integer"
          },
          "images": {
            "description": "List of Image URLs",
            "items": {
              "format": "uri",
              "type": "string"
            },
            "type": "array"
          },
          "is_bundle_sharing": {
            "description": "Is Bundle Sharing Enabled",
            "type": "boolean"
          },
          "labels": {
            "description": "List of labels associated with the product",
            "items": {
              "properties": {
                "name": {
                  "description": "Label name",
                  "type": "string"
                }
              },
              "title": "ItemLabel",
              "type": "object"
            },
            "type": "array"
          },
          "last_updated_at": {
            "description": "Last update timestamp",
            "format": "date-time",
            "type": "string"
          },
          "last_updated_by": {
            "properties": {
              "aff_code": {
                "description": "Affiliate code of the user",
                "type": "string"
              },
              "avatar": {
                "description": "URL to user avatar",
                "format": "uri",
                "type": "string"
              },
              "email": {
                "description": "User email",
                "format": "email",
                "type": "string"
              },
              "fullname": {
                "description": "User full name",
                "type": "string"
              },
              "id": {
                "description": "User ID",
                "type": "integer"
              },
              "phone": {
                "description": "User phone number",
                "type": "string"
              }
            },
            "title": "UserSimple",
            "type": "object"
          },
          "meta_thumbnail": {
            "description": "Meta Thumbnail URL",
            "format": "uri",
            "type": "string"
          },
          "name": {
            "description": "Name",
            "type": "string"
          },
          "public_name": {
            "description": "Public Name",
            "type": "string"
          },
          "rich_description": {
            "description": "Rich Description",
            "type": "string"
          },
          "weight_bump": {
            "description": "Weight Bump",
            "type": "integer"
          }
        },
        "title": "Bundle",
        "type": "object"
      },
      "BundleListSimplified": {
        "properties": {
          "bundle_price_options": {
            "description": "List of Bundle Price Options",
            "items": {
              "properties": {
                "id": {
                  "description": "Bundle Price Option ID",
                  "type": "integer"
                },
                "is_owned_by_store": {
                  "description": "Is owned by store",
                  "type": "boolean"
                },
                "name": {
                  "description": "Name",
                  "type": "string"
                },
                "price": {
                  "description": "Price (including tax)",
                  "format": "float",
                  "type": "number"
                },
                "price_bt": {
                  "description": "Price before tax",
                  "format": "float",
                  "type": "number"
                },
                "slug": {
                  "description": "Slug",
                  "type": "string"
                },
                "unique_id": {
                  "description": "Bundle Price Option Unique ID",
                  "type": "string"
                }
              },
              "title": "BundlePriceOptionSimple",
              "type": "object"
            },
            "type": "array"
          },
          "custom_id": {
            "description": "Custom Identifier",
            "type": "string"
          },
          "display": {
            "description": "Display Name",
            "type": "string"
          },
          "id": {
            "description": "Bundle ID",
            "type": "integer"
          },
          "images": {
            "description": "List of Image URLs",
            "items": {
              "format": "uri",
              "type": "string"
            },
            "type": "array"
          },
          "is_bundle_sharing": {
            "description": "Is Bundle Sharing Enabled",
            "type": "boolean"
          },
          "name": {
            "description": "Name",
            "type": "string"
          },
          "public_name": {
            "description": "Public Name",
            "type": "string"
          },
          "weight_bump": {
            "description": "Weight Bump",
            "type": "integer"
          }
        },
        "title": "BundleListSimplified",
        "type": "object"
      },
      "ListBundlesSimplifiedResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleListSimplified"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ],
            "example": true
          },
          "has_next": {
            "default": false,
            "example": false,
            "nullable": false,
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "default": 25,
            "example": 25,
            "nullable": false,
            "type": "integer"
          }
        },
        "additionalProperties": true,
        "description": "Paginated list payload for v3."
      },
      "BundleCount": {
        "properties": {
          "count": {
            "description": "Total number of bundles",
            "type": "integer"
          }
        },
        "title": "BundleCount",
        "type": "object"
      },
      "BundleUpdateRequest": {
        "properties": {
          "bundlelines": {
            "description": "List of Bundle Lines",
            "items": {
              "properties": {
                "quantity": {
                  "description": "Quantity of the variant in the bundle line",
                  "type": "integer"
                },
                "variant_id": {
                  "description": "Variant ID",
                  "type": "integer"
                }
              },
              "required": [
                "variant_id",
                "quantity"
              ],
              "title": "BundleLineCreateRequest",
              "type": "object"
            },
            "type": "array"
          },
          "custom_id": {
            "description": "Custom Identifier",
            "type": "string"
          },
          "description": {
            "description": "Description",
            "type": "string"
          },
          "images": {
            "description": "List of Image URLs",
            "items": {
              "format": "uri",
              "type": "string"
            },
            "type": "array"
          },
          "meta_thumbnail": {
            "description": "Meta Thumbnail URL",
            "format": "uri",
            "type": "string"
          },
          "name": {
            "description": "Name",
            "type": "string"
          },
          "public_name": {
            "description": "Public Name",
            "type": "string"
          },
          "rich_description": {
            "description": "Rich Description",
            "type": "string"
          },
          "weight_bump": {
            "description": "Weight Bump",
            "type": "integer"
          }
        },
        "title": "BundleUpdateRequest",
        "type": "object"
      },
      "BundleRelation": {
        "properties": {
          "bundle_price_options": {
            "description": "List of bundle price options",
            "items": {
              "properties": {
                "id": {
                  "description": "Bundle Price Option ID",
                  "type": "integer"
                },
                "name": {
                  "description": "Name",
                  "type": "string"
                },
                "unique_id": {
                  "description": "Bundle Price Option Unique ID",
                  "type": "string"
                }
              },
              "title": "BundlePriceOptionRelation",
              "type": "object"
            },
            "type": "array"
          },
          "business": {
            "properties": {
              "account_holder": {
                "description": "Name of the account holder",
                "type": "string"
              },
              "email": {
                "description": "Email address of the business",
                "format": "email",
                "type": "string"
              },
              "id": {
                "description": "Business ID",
                "type": "integer"
              },
              "is_banned": {
                "description": "Is the business banned?",
                "type": "boolean"
              },
              "logo": {
                "description": "URL to the business logo",
                "format": "uri",
                "type": "string"
              },
              "unique_id": {
                "description": "Unique identifier for the business",
                "type": "string"
              },
              "username": {
                "description": "Username of the business",
                "type": "string"
              }
            },
            "title": "BusinessSimple",
            "type": "object"
          },
          "id": {
            "description": "Bundle ID",
            "type": "integer"
          },
          "name": {
            "description": "Name",
            "type": "string"
          },
          "pages": {
            "description": "Pages associated with the bundle",
            "properties": {
              "all": {
                "description": "All pages associated with the bundle",
                "items": {
                  "properties": {
                    "business": {
                      "properties": {
                        "account_holder": {
                          "description": "Name of the account holder",
                          "type": "string"
                        },
                        "email": {
                          "description": "Email address of the business",
                          "format": "email",
                          "type": "string"
                        },
                        "id": {
                          "description": "Business ID",
                          "type": "integer"
                        },
                        "is_banned": {
                          "description": "Is the business banned?",
                          "type": "boolean"
                        },
                        "logo": {
                          "description": "URL to the business logo",
                          "format": "uri",
                          "type": "string"
                        },
                        "unique_id": {
                          "description": "Unique identifier for the business",
                          "type": "string"
                        },
                        "username": {
                          "description": "Username of the business",
                          "type": "string"
                        }
                      },
                      "title": "BusinessSimple",
                      "type": "object"
                    },
                    "id": {
                      "description": "Page ID",
                      "type": "integer"
                    },
                    "name": {
                      "description": "Name of the page",
                      "type": "string"
                    },
                    "slug": {
                      "description": "Slug for the page URL",
                      "type": "string"
                    },
                    "unique_id": {
                      "description": "Unique identifier for the page",
                      "type": "string"
                    }
                  },
                  "title": "PageRelation",
                  "type": "object"
                },
                "type": "array"
              },
              "will_unpublish": {
                "description": "Pages that will be unpublished",
                "items": {
                  "properties": {
                    "business": {
                      "properties": {
                        "account_holder": {
                          "description": "Name of the account holder",
                          "type": "string"
                        },
                        "email": {
                          "description": "Email address of the business",
                          "format": "email",
                          "type": "string"
                        },
                        "id": {
                          "description": "Business ID",
                          "type": "integer"
                        },
                        "is_banned": {
                          "description": "Is the business banned?",
                          "type": "boolean"
                        },
                        "logo": {
                          "description": "URL to the business logo",
                          "format": "uri",
                          "type": "string"
                        },
                        "unique_id": {
                          "description": "Unique identifier for the business",
                          "type": "string"
                        },
                        "username": {
                          "description": "Username of the business",
                          "type": "string"
                        }
                      },
                      "title": "BusinessSimple",
                      "type": "object"
                    },
                    "id": {
                      "description": "Page ID",
                      "type": "integer"
                    },
                    "name": {
                      "description": "Name of the page",
                      "type": "string"
                    },
                    "slug": {
                      "description": "Slug for the page URL",
                      "type": "string"
                    },
                    "unique_id": {
                      "description": "Unique identifier for the page",
                      "type": "string"
                    }
                  },
                  "title": "PageRelation",
                  "type": "object"
                },
                "type": "array"
              }
            },
            "type": "object"
          },
          "stores": {
            "description": "List of stores associated with the bundle",
            "items": {
              "properties": {
                "business": {
                  "properties": {
                    "account_holder": {
                      "description": "Name of the account holder",
                      "type": "string"
                    },
                    "email": {
                      "description": "Email address of the business",
                      "format": "email",
                      "type": "string"
                    },
                    "id": {
                      "description": "Business ID",
                      "type": "integer"
                    },
                    "is_banned": {
                      "description": "Is the business banned?",
                      "type": "boolean"
                    },
                    "logo": {
                      "description": "URL to the business logo",
                      "format": "uri",
                      "type": "string"
                    },
                    "unique_id": {
                      "description": "Unique identifier for the business",
                      "type": "string"
                    },
                    "username": {
                      "description": "Username of the business",
                      "type": "string"
                    }
                  },
                  "title": "BusinessSimple",
                  "type": "object"
                },
                "id": {
                  "description": "Store ID",
                  "type": "integer"
                },
                "name": {
                  "description": "Store name",
                  "type": "string"
                },
                "unique_id": {
                  "description": "Unique identifier for the store",
                  "type": "string"
                }
              },
              "title": "StoreRelation",
              "type": "object"
            },
            "type": "array"
          }
        },
        "title": "BundleRelation",
        "type": "object"
      },
      "BundlePartner": {
        "properties": {
          "created_at": {
            "description": "Creation timestamp",
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "description": "Bundle Partner ID",
            "type": "integer"
          },
          "partner": {
            "properties": {
              "account_holder": {
                "description": "Name of the account holder",
                "type": "string"
              },
              "email": {
                "description": "Email address of the business",
                "format": "email",
                "type": "string"
              },
              "id": {
                "description": "Business ID",
                "type": "integer"
              },
              "is_banned": {
                "description": "Is the business banned?",
                "type": "boolean"
              },
              "logo": {
                "description": "URL to the business logo",
                "format": "uri",
                "type": "string"
              },
              "unique_id": {
                "description": "Unique identifier for the business",
                "type": "string"
              },
              "username": {
                "description": "Username of the business",
                "type": "string"
              }
            },
            "title": "BusinessSimple",
            "type": "object"
          }
        },
        "required": [
          "id",
          "partner",
          "created_at"
        ],
        "title": "BundlePartner",
        "type": "object"
      },
      "ListBundlePartnersResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundlePartner"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ],
            "example": true
          },
          "has_next": {
            "default": false,
            "example": false,
            "nullable": false,
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "default": 25,
            "example": 25,
            "nullable": false,
            "type": "integer"
          }
        },
        "additionalProperties": true,
        "description": "Paginated list payload for v3."
      },
      "CreateBundlePartnerRequest": {
        "properties": {
          "partner_unique_id": {
            "description": "Unique identifier of the partner to associate",
            "type": "string"
          }
        },
        "required": [
          "partner_unique_id"
        ],
        "title": "CreateBundlePartnerRequest",
        "type": "object"
      },
      "BundlePriceOption": {
        "properties": {
          "bundle_id": {
            "description": "Bundle ID",
            "type": "integer"
          },
          "id": {
            "description": "Bundle Price Option ID",
            "type": "integer"
          },
          "name": {
            "description": "Name",
            "type": "string"
          },
          "price": {
            "description": "Price (including tax)",
            "format": "float",
            "type": "number"
          },
          "price_bt": {
            "description": "Price before tax",
            "format": "float",
            "type": "number"
          },
          "slug": {
            "description": "Slug",
            "type": "string"
          },
          "stores": {
            "description": "List of stores where the bundle price option is available",
            "items": {
              "properties": {
                "custom_domain": {
                  "properties": {
                    "full_url": {
                      "description": "Full URL",
                      "format": "uri",
                      "type": "string"
                    },
                    "id": {
                      "description": "Custom Domain ID",
                      "type": "integer"
                    },
                    "is_verified": {
                      "description": "Is Verified",
                      "type": "boolean"
                    }
                  },
                  "title": "SimpleCustomDomain",
                  "type": "object"
                },
                "id": {
                  "description": "Store ID",
                  "type": "integer"
                },
                "name": {
                  "description": "Store name",
                  "type": "string"
                }
              },
              "title": "DomainStore",
              "type": "object"
            },
            "type": "array"
          },
          "unique_id": {
            "description": "Bundle Price Option Unique ID",
            "type": "string"
          }
        },
        "title": "BundlePriceOption",
        "type": "object"
      },
      "ListBundlePriceOptionsResponseBody": {
        "type": "object",
        "required": [
          "data",
          "is_paginated"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundlePriceOption"
            }
          },
          "is_paginated": {
            "type": "boolean",
            "enum": [
              true
            ],
            "example": true
          },
          "has_next": {
            "default": false,
            "example": false,
            "nullable": false,
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          },
          "previous_cursor": {
            "nullable": true,
            "type": "string"
          },
          "page_size": {
            "default": 25,
            "example": 25,
            "nullable": false,
            "type": "integer"
          }
        },
        "additionalProperties": true,
        "description": "Paginated list payload for v3."
      },
      "BundlePriceOptionRequest": {
        "properties": {
          "name": {
            "description": "Name",
            "type": "string"
          },
          "price": {
            "description": "Price (including tax)",
            "format": "float",
            "type": "number"
          },
          "slug": {
            "description": "Slug",
            "type": "string"
          }
        },
        "required": [
          "name",
          "price"
        ],
        "title": "BundlePriceOptionRequest",
        "type": "object"
      },
      "BundlePriceOptionExtendedRelation": {
        "properties": {
          "bundle_id": {
            "description": "Bundle ID",
            "type": "integer"
          },
          "id": {
            "description": "Bundle Price Option ID",
            "type": "integer"
          },
          "name": {
            "description": "Name",
            "type": "string"
          },
          "pages": {
            "properties": {
              "all": {
                "items": {
                  "properties": {
                    "business": {
                      "properties": {
                        "account_holder": {
                          "description": "Name of the account holder",
                          "type": "string"
                        },
                        "email": {
                          "description": "Email address of the business",
                          "format": "email",
                          "type": "string"
                        },
                        "id": {
                          "description": "Business ID",
                          "type": "integer"
                        },
                        "is_banned": {
                          "description": "Is the business banned?",
                          "type": "boolean"
                        },
                        "logo": {
                          "description": "URL to the business logo",
                          "format": "uri",
                          "type": "string"
                        },
                        "unique_id": {
                          "description": "Unique identifier for the business",
                          "type": "string"
                        },
                        "username": {
                          "description": "Username of the business",
                          "type": "string"
                        }
                      },
                      "title": "BusinessSimple",
                      "type": "object"
                    },
                    "id": {
                      "description": "Page ID",
                      "type": "integer"
                    },
                    "name": {
                      "description": "Name of the page",
                      "type": "string"
                    },
                    "slug": {
                      "description": "Slug for the page URL",
                      "type": "string"
                    },
                    "unique_id": {
                      "description": "Unique identifier for the page",
                      "type": "string"
                    }
                  },
                  "title": "PageRelation",
                  "type": "object"
                },
                "type": "array"
              },
              "will_unpublish": {
                "items": {
                  "properties": {
                    "business": {
                      "properties": {
                        "account_holder": {
                          "description": "Name of the account holder",
                          "type": "string"
                        },
                        "email": {
                          "description": "Email address of the business",
                          "format": "email",
                          "type": "string"
                        },
                        "id": {
                          "description": "Business ID",
                          "type": "integer"
                        },
                        "is_banned": {
                          "description": "Is the business banned?",
                          "type": "boolean"
                        },
                        "logo": {
                          "description": "URL to the business logo",
                          "format": "uri",
                          "type": "string"
                        },
                        "unique_id": {
                          "description": "Unique identifier for the business",
                          "type": "string"
                        },
                        "username": {
                          "description": "Username of the business",
                          "type": "string"
                        }
                      },
                      "title": "BusinessSimple",
                      "type": "object"
                    },
                    "id": {
                      "description": "Page ID",
                      "type": "integer"
                    },
                    "name": {
                      "description": "Name of the page",
                      "type": "string"
                    },
                    "slug": {
                      "description": "Slug for the page URL",
                      "type": "string"
                    },
                    "unique_id": {
                      "description": "Unique identifier for the page",
                      "type": "string"
                    }
                  },
                  "title": "PageRelation",
                  "type": "object"
                },
                "type": "array"
              }
            },
            "type": "object"
          },
          "price": {
            "description": "Price (including tax)",
            "format": "float",
            "type": "number"
          },
          "price_bt": {
            "description": "Price before tax",
            "format": "float",
            "type": "number"
          },
          "slug": {
            "description": "Slug",
            "type": "string"
          },
          "stores": {
            "description": "List of stores where the bundle price option is available",
            "items": {
              "properties": {
                "business": {
                  "properties": {
                    "account_holder": {
                      "description": "Name of the account holder",
                      "type": "string"
                    },
                    "email": {
                      "description": "Email address of the business",
                      "format": "email",
                      "type": "string"
                    },
                    "id": {
                      "description": "Business ID",
                      "type": "integer"
                    },
                    "is_banned": {
                      "description": "Is the business banned?",
                      "type": "boolean"
                    },
                    "logo": {
                      "description": "URL to the business logo",
                      "format": "uri",
                      "type": "string"
                    },
                    "unique_id": {
                      "description": "Unique identifier for the business",
                      "type": "string"
                    },
                    "username": {
                      "description": "Username of the business",
                      "type": "string"
                    }
                  },
                  "title": "BusinessSimple",
                  "type": "object"
                },
                "id": {
                  "description": "Store ID",
                  "type": "integer"
                },
                "name": {
                  "description": "Store name",
                  "type": "string"
                },
                "unique_id": {
                  "description": "Unique identifier for the store",
                  "type": "string"
                }
              },
              "title": "StoreRelation",
              "type": "object"
            },
            "type": "array"
          },
          "unique_id": {
            "description": "Bundle Price Option Unique ID",
            "type": "string"
          }
        },
        "title": "BundlePriceOptionExtendedRelation",
        "type": "object"
      }
    }
  }
}
