openapi: 3.1.0
info:
  contact:
    email: integration@gearment.com
    name: Support Integration
  termsOfService: https://gearment.com/integration/api-terms-of-service.html
  title: Gearment API integration
  version: 1.0.0
  description: >-
    ### Overview


    Welcome to the Gearment Print-On-Demand (POD) Seller API!

    This API enables seamless integration between your stores, applications, and
    the Gearment platform.

    With our API, you can:


    - Manage products and variants


    - Sync inventory


    - Create and manage orders


    - Track fulfillment status


    This documentation will guide you through authentication, rate limits, and
    how to start using the API.


    > **Production API URL:**

    > https://api.gearment.com/integration-handler

    >

    > **Sandbox API URL:**

    > https://api.gearmentinc.com/integration-handler


    ### Authentication


    All API requests must be authenticated with an API Key. Unauthorized
    requests will be rejected.


    **How to obtain your API Key**


    1. Navigate to your **Team Settings** inside the Gearment platform.

    2. Click on **Developer Settings**.

    3. Request and generate your **API Key**.


    > ⚠️ Important:

    > Keep your API key secure. Do not share it publicly or embed it directly in
    client-side applications.

    > If your API Key is compromised, immediately revoke it and generate a new
    one.


    ### Using API Key


    Include your API key in the request headers:


    > **X-Gearment-Client-Key**: Your_Gearment_Client_Key

    >

    > **X-Gearment-Client-Secret**: Your_Gearment_Client_Secret"


    ### Rate Limiting


    To ensure stable service for all users, the Gearment API enforces rate
    limiting.


    | Rate Limit Type  | Value |

    | ------------- |-------------|

    | Requests      | 100 requests per 10 seconds, Block for 1 minute     |

    | Retry-After   | If exceeded, Retry-After header will indicate when you can
    retry     |


    If you exceed the rate limit, the API will respond with:


    ```bash

    json{
      "error": {
        "code": 429,
        "message": "Rate limit exceeded. Please retry later."
      }
    }

    ```


    **Best Practices:**


    - Implement exponential backoff retries for 429 errors.

    - Monitor your API usage.

    - Optimize your integrations to avoid unnecessary requests (e.g., batch
    updates when possible).
servers:
  - url: https://apiv2.gearment.com/integration-handler
    description: Production Server
  - url: https://api.gearmentinc.com/integration-handler
    description: Sandbox Server
tags:
  - name: api.webhook.v1.VendorWebhookAPI
    description: >-
      VendorWebhookAPI provide an abstraction to all of read and write data
      access for webhook businesses
    x-displayName: Version 3
  - name: api.webhook.v1.LegacyVendorWebhookAPI
    description: >-
      LegacyVendorWebhookAPI provide an abstraction to support the legacy api
      call format
    x-displayName: Version 2
  - name: api.order.v1.VendorOrderAPI
    description: >-
      VendorOrderAPI provide an abstraction to all of read and write data access
      for order businesses
    x-displayName: Version 3
  - name: api.order.v1.LegacyVendorOrderAPI
    description: >-
      LegacyVendorOrderAPI provide an abstraction to support the legacy api call
      format
    x-displayName: Version 2
  - name: api.catalog.v1.VendorCatalogAPI
    description: >-
      VendorCatalogAPI provide an abstraction to all of read data access for
      catalog businesses
    x-displayName: Version 3
  - name: api.catalog.v1.LegacyVendorCatalogAPI
    description: >-
      LegacyVendorCatalogAPI provide an abstraction to support the legacy api
      call format
    x-displayName: Version 2
paths:
  /api/v3/webhooks:
    get:
      tags:
        - api.webhook.v1.VendorWebhookAPI
      summary: List Webhook
      operationId: api.webhook.v1.VendorWebhookAPI.VendorListWebhook
      parameters:
        - name: filter.webhook_ids
          in: query
          schema:
            type: array
            items:
              type: string
            title: webhook_ids
        - name: filter.topics
          in: query
          schema:
            type: array
            items:
              $ref: '#/components/schemas/api.webhook.v1.VendorWebhook.Topic'
            title: topics
        - name: filter.statuses
          in: query
          schema:
            type: array
            items:
              $ref: '#/components/schemas/api.webhook.v1.VendorWebhook.Status'
            title: statuses
        - name: filter.versions
          in: query
          schema:
            type: array
            items:
              $ref: '#/components/schemas/api.webhook.v1.VendorWebhook.Version'
            title: versions
        - name: paging.page
          in: query
          schema:
            type: integer
            title: page
            format: int32
        - name: paging.limit
          in: query
          schema:
            type: integer
            title: limit
            format: int32
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.webhook.v1.VendorListWebhookResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
    post:
      tags:
        - api.webhook.v1.VendorWebhookAPI
      summary: Create Webhook
      operationId: api.webhook.v1.VendorWebhookAPI.VendorCreateWebhook
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/api.webhook.v1.VendorCreateWebhookRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/api.webhook.v1.VendorCreateWebhookResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v3/webhooks/{webhook_id}:
    delete:
      tags:
        - api.webhook.v1.VendorWebhookAPI
      summary: Delete Webhook
      operationId: api.webhook.v1.VendorWebhookAPI.VendorDeleteWebhook
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/api.webhook.v1.VendorDeleteWebhookResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v2/webhooks:
    post:
      tags:
        - api.webhook.v1.LegacyVendorWebhookAPI
      summary: Create Webhook
      operationId: api.webhook.v1.LegacyVendorWebhookAPI.LegacyVendorCreateWebhook
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/api.webhook.v1.LegacyVendorCreateWebhookRequest
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/api.webhook.v1.LegacyVendorCreateWebhookResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v3/orders:
    get:
      tags:
        - api.order.v1.VendorOrderAPI
      summary: List Order
      operationId: api.order.v1.VendorOrderAPI.VendorListOrder
      parameters:
        - name: filter.order_ids
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: order_ids
        - name: filter.statuses
          in: query
          schema:
            type: array
            items:
              $ref: '#/components/schemas/api.order.v1.VendorOrderStatus'
            title: statuses
        - name: filter.created_methods
          in: query
          schema:
            type: array
            items:
              $ref: '#/components/schemas/api.order.v1.VendorCreatedMethod'
            title: created_methods
        - name: filter.created_at_min.seconds
          in: query
          description: |-
            Represents seconds of UTC time since Unix epoch
             1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
             9999-12-31T23:59:59Z inclusive.
          schema:
            type:
              - integer
              - string
            title: seconds
            format: int64
            description: |-
              Represents seconds of UTC time since Unix epoch
               1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
               9999-12-31T23:59:59Z inclusive.
        - name: filter.created_at_min.nanos
          in: query
          description: >-
            Non-negative fractions of a second at nanosecond resolution.
            Negative
             second values with fractions must still have non-negative nanos values
             that count forward in time. Must be from 0 to 999,999,999
             inclusive.
          schema:
            type: integer
            title: nanos
            format: int32
            description: >-
              Non-negative fractions of a second at nanosecond resolution.
              Negative
               second values with fractions must still have non-negative nanos values
               that count forward in time. Must be from 0 to 999,999,999
               inclusive.
        - name: filter.payment_status
          in: query
          description: For API Legacy
          schema:
            type: array
            items:
              $ref: '#/components/schemas/api.order.v1.VendorOrderPaymentStatus'
            title: payment_status
            description: For API Legacy
        - name: paging.page
          in: query
          schema:
            type: integer
            title: page
            format: int32
        - name: paging.limit
          in: query
          schema:
            type: integer
            title: limit
            format: int32
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.order.v1.VendorListOrderResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v3/orders/draft:
    get:
      tags:
        - api.order.v1.VendorOrderAPI
      summary: List Order Draft
      operationId: api.order.v1.VendorOrderAPI.VendorListOrderDraft
      parameters:
        - name: filter.order_ids
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: order_ids
        - name: filter.statuses
          in: query
          schema:
            type: array
            items:
              $ref: '#/components/schemas/api.order.v1.VendorOrderDraftStatus'
            title: statuses
        - name: filter.created_methods
          in: query
          schema:
            type: array
            items:
              $ref: '#/components/schemas/api.order.v1.VendorCreatedMethod'
            title: created_methods
        - name: filter.created_at_min.seconds
          in: query
          description: |-
            Represents seconds of UTC time since Unix epoch
             1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
             9999-12-31T23:59:59Z inclusive.
          schema:
            type:
              - integer
              - string
            title: seconds
            format: int64
            description: |-
              Represents seconds of UTC time since Unix epoch
               1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
               9999-12-31T23:59:59Z inclusive.
        - name: filter.created_at_min.nanos
          in: query
          description: >-
            Non-negative fractions of a second at nanosecond resolution.
            Negative
             second values with fractions must still have non-negative nanos values
             that count forward in time. Must be from 0 to 999,999,999
             inclusive.
          schema:
            type: integer
            title: nanos
            format: int32
            description: >-
              Non-negative fractions of a second at nanosecond resolution.
              Negative
               second values with fractions must still have non-negative nanos values
               that count forward in time. Must be from 0 to 999,999,999
               inclusive.
        - name: paging.page
          in: query
          schema:
            type: integer
            title: page
            format: int32
        - name: paging.limit
          in: query
          schema:
            type: integer
            title: limit
            format: int32
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.order.v1.VendorListOrderDraftResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
    post:
      tags:
        - api.order.v1.VendorOrderAPI
      summary: Create Order Draft
      operationId: api.order.v1.VendorOrderAPI.VendorCreateOrderDraft
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/api.order.v1.VendorCreateOrderDraftRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/api.order.v1.VendorCreateOrderDraftResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v3/orders/draft/labeled:
    post:
      tags:
        - api.order.v1.VendorOrderAPI
      summary: Create Order Draft With Label
      operationId: api.order.v1.VendorOrderAPI.VendorCreateOrderDraftWithLabel
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/api.order.v1.VendorCreateOrderDraftWithLabelRequest
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/api.order.v1.VendorCreateOrderDraftWithLabelResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v3/orders/price:
    post:
      tags:
        - api.order.v1.VendorOrderAPI
      summary: Get Price Quote
      operationId: api.order.v1.VendorOrderAPI.VendorGetPriceQuote
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/api.order.v1.VendorGetPriceQuoteRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.order.v1.VendorGetPriceQuoteResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v3/orders/draft/line-items:
    patch:
      tags:
        - api.order.v1.VendorOrderAPI
      summary: Update Order Draft Line Items
      operationId: api.order.v1.VendorOrderAPI.VendorUpdateOrderDraftLineItems
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/api.order.v1.VendorUpdateOrderDraftLineItemsRequest
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/api.order.v1.VendorUpdateOrderDraftLineItemsResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v3/orders/{order_id}:
    get:
      tags:
        - api.order.v1.VendorOrderAPI
      summary: Get Order
      operationId: api.order.v1.VendorOrderAPI.VendorGetOrder
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.order.v1.VendorGetOrderResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v3/orders/draft/{order_id}:
    get:
      tags:
        - api.order.v1.VendorOrderAPI
      summary: Get Order Draft
      operationId: api.order.v1.VendorOrderAPI.VendorGetOrderDraft
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.order.v1.VendorGetOrderDraftResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v2/orders/price:
    post:
      tags:
        - api.order.v1.LegacyVendorOrderAPI
      summary: Vendor Get Price Quote
      operationId: api.order.v1.LegacyVendorOrderAPI.LegacyVendorGetPriceQuote
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/api.order.v1.LegacyVendorGetPriceQuoteRequest
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/api.order.v1.LegacyVendorGetPriceQuoteResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v2/orders/draft:
    post:
      tags:
        - api.order.v1.LegacyVendorOrderAPI
      summary: Vendor Create Order Draft
      operationId: api.order.v1.LegacyVendorOrderAPI.LegacyVendorCreateOrderDraft
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/api.order.v1.LegacyVendorCreateOrderDraftRequest
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/api.order.v1.LegacyVendorCreateOrderDraftResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v2/orders/draft/labeled:
    post:
      tags:
        - api.order.v1.LegacyVendorOrderAPI
      summary: Create Order Draft With Label
      operationId: api.order.v1.LegacyVendorOrderAPI.LegacyVendorCreateOrderDraftWithLabel
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/api.order.v1.LegacyVendorCreateOrderDraftWithLabelRequest
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/api.order.v1.LegacyVendorCreateOrderDraftWithLabelResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v2/orders:
    get:
      tags:
        - api.order.v1.LegacyVendorOrderAPI
      summary: List Order
      operationId: api.order.v1.LegacyVendorOrderAPI.LegacyVendorListOrder
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/api.order.v1.LegacyVendorListOrderRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/api.order.v1.LegacyVendorListOrderResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v2/orders/draft/line-items:
    post:
      tags:
        - api.order.v1.LegacyVendorOrderAPI
      summary: Update Order Draft Line Items
      operationId: api.order.v1.LegacyVendorOrderAPI.LegacyVendorUpdateOrderDraftLineItems
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/api.order.v1.LegacyVendorUpdateOrderDraftLineItemsRequest
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/api.order.v1.LegacyVendorUpdateOrderDraftLineItemsResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v2/orders/{order_id}:
    get:
      tags:
        - api.order.v1.LegacyVendorOrderAPI
      summary: Get Order
      operationId: api.order.v1.LegacyVendorOrderAPI.LegacyVendorGetOrder
      parameters:
        - name: order_id
          in: path
          required: true
          schema:
            type: string
            title: order_id
            maxLength: 255
            minLength: 1
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                credentials:
                  title: credentials
                  maxLength: 255
                  minLength: 1
                  $ref: '#/components/schemas/common.type.v1.LegacyCredentials'
                order_id:
                  type: string
                  title: order_id
                  maxLength: 255
                  minLength: 1
              title: LegacyVendorGetOrderRequest
              additionalProperties: false
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.order.v1.LegacyVendorGetOrderResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v3/catalog:
    get:
      tags:
        - api.catalog.v1.VendorCatalogAPI
      summary: List Catalog
      operationId: api.catalog.v1.VendorCatalogAPI.VendorListCatalog
      parameters:
        - name: filter.product_ids
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: product_ids
        - name: filter.search_text
          in: query
          schema:
            type: string
            title: search_text
            maxLength: 100
        - name: paging.page
          in: query
          schema:
            type: integer
            title: page
            format: int32
        - name: paging.limit
          in: query
          schema:
            type: integer
            title: limit
            format: int32
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.catalog.v1.VendorListCatalogResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v3/catalog/variants:
    get:
      tags:
        - api.catalog.v1.VendorCatalogAPI
      summary: List Catalog Variant
      operationId: api.catalog.v1.VendorCatalogAPI.VendorListCatalogVariant
      parameters:
        - name: filter.product_ids
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: product_ids
        - name: filter.variant_ids
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: variant_ids
        - name: filter.skus
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: skus
        - name: filter.sizes
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: sizes
        - name: filter.size_codes
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: size_codes
        - name: filter.colors
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: colors
        - name: filter.color_codes
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: color_codes
        - name: filter.stock_labels
          in: query
          schema:
            type: array
            items:
              $ref: >-
                #/components/schemas/api.catalog.v1.VendorCatalogVariantStockLabel
            title: stock_labels
        - name: filter.search_text
          in: query
          schema:
            type: string
            title: search_text
        - name: filter.legacy_variant_ids
          in: query
          schema:
            type: array
            items:
              type: integer
              format: int32
            title: legacy_variant_ids
        - name: paging.page
          in: query
          schema:
            type: integer
            title: page
            format: int32
        - name: paging.limit
          in: query
          schema:
            type: integer
            title: limit
            format: int32
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/api.catalog.v1.VendorListCatalogVariantResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v3/catalog/variants/stock:
    get:
      tags:
        - api.catalog.v1.VendorCatalogAPI
      summary: Get Catalog Stock Status
      operationId: api.catalog.v1.VendorCatalogAPI.VendorGetCatalogStockStatus
      parameters:
        - name: filter.product_ids
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: product_ids
        - name: filter.variant_ids
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: variant_ids
        - name: filter.skus
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: skus
        - name: filter.sizes
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: sizes
        - name: filter.size_codes
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: size_codes
        - name: filter.colors
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: colors
        - name: filter.color_codes
          in: query
          schema:
            type: array
            items:
              type: string
              maxLength: 100
              minLength: 1
            title: color_codes
        - name: filter.stock_labels
          in: query
          schema:
            type: array
            items:
              $ref: >-
                #/components/schemas/api.catalog.v1.VendorCatalogVariantStockLabel
            title: stock_labels
        - name: filter.search_text
          in: query
          schema:
            type: string
            title: search_text
        - name: filter.legacy_variant_ids
          in: query
          schema:
            type: array
            items:
              type: integer
              format: int32
            title: legacy_variant_ids
        - name: paging.page
          in: query
          schema:
            type: integer
            title: page
            format: int32
        - name: paging.limit
          in: query
          schema:
            type: integer
            title: limit
            format: int32
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/api.catalog.v1.VendorListCatalogVariantResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v2/catalog:
    post:
      tags:
        - api.catalog.v1.LegacyVendorCatalogAPI
      summary: List Catalog Variant
      operationId: api.catalog.v1.LegacyVendorCatalogAPI.LegacyVendorListCatalogVariant
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/api.catalog.v1.LegacyVendorListCatalogVariantRequest
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/api.catalog.v1.LegacyVendorListCatalogVariantResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
  /api/v2/catalog/variants:
    post:
      tags:
        - api.catalog.v1.LegacyVendorCatalogAPI
      summary: List Catalog Stock Status
      operationId: api.catalog.v1.LegacyVendorCatalogAPI.LegacyVendorListCatalogStockStatus
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/api.catalog.v1.LegacyVendorListCatalogStockStatusRequest
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/api.catalog.v1.LegacyVendorListCatalogStockStatusResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security: []
components:
  schemas:
    api.webhook.v1.VendorWebhook.Status:
      type: string
      title: Status
      enum:
        - STATUS_UNKNOWN
        - 0
        - STATUS_ALL
        - 1
        - STATUS_ACTIVE
        - 2
        - STATUS_INACTIVE
        - 3
    api.webhook.v1.VendorWebhook.Topic:
      type: string
      title: Topic
      enum:
        - TOPIC_UNKNOWN
        - 0
        - TOPIC_ALL
        - 1
        - TOPIC_ORDER_COMPLETED
        - 2
        - TOPIC_ORDER_CANCELLED
        - 3
        - TOPIC_TRACKING_ORDER_UPDATED
        - 4
        - TOPIC_ORDER_ON_HOLD
        - 5
        - TOPIC_SHIPPING_ADDRESS_VERIFIED
        - 6
        - TOPIC_SHIPPING_ADDRESS_UNVERIFIED
        - 7
        - TOPIC_PRODUCT_OUT_OF_STOCK
        - 8
    api.webhook.v1.VendorWebhook.Version:
      type: string
      title: Version
      enum:
        - VERSION_UNKNOWN
        - 0
        - VERSION_ALL
        - 1
        - VERSION_V1
        - 2
        - VERSION_V3
        - 3
    api.webhook.v1.LegacyVendorCreateWebhookRequest:
      type: object
      properties:
        topic:
          type: string
          title: topic
          enum:
            - orders_completed
            - orders_canceled
            - tracking_updated
            - shipping_address_unverified
        address:
          type: string
          title: address
          maxLength: 2048
          minLength: 1
          format: uri
        api_key:
          type: string
          title: api_key
          maxLength: 255
          minLength: 1
        api_signature:
          type: string
          title: api_signature
          maxLength: 255
          minLength: 1
      title: LegacyVendorCreateWebhookRequest
      additionalProperties: false
    api.webhook.v1.LegacyVendorCreateWebhookResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        result:
          title: result
          $ref: '#/components/schemas/api.webhook.v1.VendorWebhook.Legacy'
      title: LegacyVendorCreateWebhookResponse
      additionalProperties: false
    api.webhook.v1.VendorCreateWebhookRequest:
      type: object
      properties:
        status:
          title: status
          $ref: '#/components/schemas/api.webhook.v1.VendorWebhook.Status'
        topic:
          title: topic
          $ref: '#/components/schemas/api.webhook.v1.VendorWebhook.Topic'
        name:
          type: string
          title: name
          maxLength: 255
        version:
          title: version
          $ref: '#/components/schemas/api.webhook.v1.VendorWebhook.Version'
        delivery_url:
          type: string
          title: delivery_url
          maxLength: 2048
          minLength: 1
          format: uri
      title: VendorCreateWebhookRequest
      additionalProperties: false
    api.webhook.v1.VendorCreateWebhookResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        data:
          title: data
          $ref: '#/components/schemas/api.webhook.v1.VendorWebhook'
      title: VendorCreateWebhookResponse
      additionalProperties: false
    api.webhook.v1.VendorDeleteWebhookRequest:
      type: object
      title: VendorDeleteWebhookRequest
      additionalProperties: false
    api.webhook.v1.VendorDeleteWebhookResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        data:
          title: data
          $ref: '#/components/schemas/api.webhook.v1.VendorWebhook'
      title: VendorDeleteWebhookResponse
      additionalProperties: false
    api.webhook.v1.VendorListWebhookRequest:
      type: object
      properties:
        filter:
          title: filter
          $ref: '#/components/schemas/api.webhook.v1.VendorWebhook.Filter'
        paging:
          title: paging
          $ref: '#/components/schemas/common.type.v1.Paging'
      title: VendorListWebhookRequest
      additionalProperties: false
    api.webhook.v1.VendorListWebhookResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        paging:
          title: paging
          $ref: '#/components/schemas/common.type.v1.PagingResponse'
        data:
          type: array
          items:
            $ref: '#/components/schemas/api.webhook.v1.VendorWebhook'
          title: data
      title: VendorListWebhookResponse
      additionalProperties: false
    api.webhook.v1.VendorWebhook:
      type: object
      properties:
        webhook_id:
          type: string
          title: webhook_id
          maxLength: 255
          minLength: 1
        topic:
          title: topic
          $ref: '#/components/schemas/api.webhook.v1.VendorWebhook.Topic'
        status:
          title: status
          $ref: '#/components/schemas/api.webhook.v1.VendorWebhook.Status'
        delivery_url:
          type: string
          title: delivery_url
          maxLength: 2048
          minLength: 1
          format: uri
        version:
          title: version
          $ref: '#/components/schemas/api.webhook.v1.VendorWebhook.Version'
        created_at:
          title: created_at
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        updated_at:
          title: updated_at
          $ref: '#/components/schemas/google.protobuf.Timestamp'
      title: VendorWebhook
      additionalProperties: false
    api.webhook.v1.VendorWebhook.Filter:
      type: object
      properties:
        webhook_ids:
          type: array
          items:
            type: string
          title: webhook_ids
        topics:
          type: array
          items:
            $ref: '#/components/schemas/api.webhook.v1.VendorWebhook.Topic'
          title: topics
        statuses:
          type: array
          items:
            $ref: '#/components/schemas/api.webhook.v1.VendorWebhook.Status'
          title: statuses
        versions:
          type: array
          items:
            $ref: '#/components/schemas/api.webhook.v1.VendorWebhook.Version'
          title: versions
      title: Filter
      additionalProperties: false
    api.webhook.v1.VendorWebhook.Legacy:
      type: object
      properties:
        id:
          exclusiveMinimum: 0
          type: integer
          title: id
          format: int32
        topic:
          type: string
          title: topic
          enum:
            - orders_completed
            - orders_canceled
            - tracking_updated
            - shipping_address_unverified
        address:
          type: string
          title: address
          maxLength: 2048
          minLength: 1
          format: uri
        created_at:
          type: string
          title: created_at
        updated_at:
          type: string
          title: updated_at
      title: Legacy
      additionalProperties: false
    common.type.v1.LegacyCredentials:
      type: object
      properties:
        api_key:
          type: string
          title: api_key
          maxLength: 255
          minLength: 1
        api_signature:
          type: string
          title: api_signature
          maxLength: 255
          minLength: 1
      title: LegacyCredentials
      additionalProperties: false
    common.type.v1.Paging:
      type: object
      properties:
        page:
          type: integer
          title: page
          format: int32
        limit:
          type: integer
          title: limit
          format: int32
      title: Paging
      additionalProperties: false
    common.type.v1.PagingResponse:
      type: object
      properties:
        total:
          type:
            - integer
            - string
          title: total
          format: int64
        total_page:
          type: integer
          title: total_page
          format: int32
        page:
          type: integer
          title: page
          format: int32
        limit:
          type: integer
          title: limit
          format: int32
      title: PagingResponse
      additionalProperties: false
    google.protobuf.Timestamp:
      type: string
      format: date-time
      description: >-
        A Timestamp represents a point in time independent of any time zone or
        local
         calendar, encoded as a count of seconds and fractions of seconds at
         nanosecond resolution. The count is relative to an epoch at UTC midnight on
         January 1, 1970, in the proleptic Gregorian calendar which extends the
         Gregorian calendar backwards to year one.

         All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
         second table is needed for interpretation, using a [24-hour linear
         smear](https://developers.google.com/time/smear).

         The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
         restricting to that range, we ensure that we can convert to and from [RFC
         3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

         # Examples

         Example 1: Compute Timestamp from POSIX `time()`.

             Timestamp timestamp;
             timestamp.set_seconds(time(NULL));
             timestamp.set_nanos(0);

         Example 2: Compute Timestamp from POSIX `gettimeofday()`.

             struct timeval tv;
             gettimeofday(&tv, NULL);

             Timestamp timestamp;
             timestamp.set_seconds(tv.tv_sec);
             timestamp.set_nanos(tv.tv_usec * 1000);

         Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

             FILETIME ft;
             GetSystemTimeAsFileTime(&ft);
             UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;

             // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
             // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
             Timestamp timestamp;
             timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
             timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

         Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

             long millis = System.currentTimeMillis();

             Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
                 .setNanos((int) ((millis % 1000) * 1000000)).build();

         Example 5: Compute Timestamp from Java `Instant.now()`.

             Instant now = Instant.now();

             Timestamp timestamp =
                 Timestamp.newBuilder().setSeconds(now.getEpochSecond())
                     .setNanos(now.getNano()).build();

         Example 6: Compute Timestamp from current time in Python.

             timestamp = Timestamp()
             timestamp.GetCurrentTime()

         # JSON Mapping

         In JSON format, the Timestamp type is encoded as a string in the
         [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
         format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
         where {year} is always expressed using four digits while {month}, {day},
         {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
         seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
         are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
         is required. A proto3 JSON serializer should always use UTC (as indicated by
         "Z") when printing the Timestamp type and a proto3 JSON parser should be
         able to accept both UTC and other timezones (as indicated by an offset).

         For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
         01:30 UTC on January 15, 2017.

         In JavaScript, one can convert a Date object to this format using the
         standard
         [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
         method. In Python, a standard `datetime.datetime` object can be converted
         to this format using
         [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
         the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
         the Joda Time's [`ISODateTimeFormat.dateTime()`](
         http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
         ) to obtain a formatter capable of generating timestamps in this format.
    connect-protocol-version:
      type: number
      title: Connect-Protocol-Version
      enum:
        - 1
      description: Define the version of the Connect protocol
      const: 1
    connect-timeout-header:
      type: number
      title: Connect-Timeout-Ms
      description: Define the timeout, in ms
    connect.error:
      type: object
      properties:
        code:
          type: string
          examples:
            - not_found
          enum:
            - canceled
            - unknown
            - invalid_argument
            - deadline_exceeded
            - not_found
            - already_exists
            - permission_denied
            - resource_exhausted
            - failed_precondition
            - aborted
            - out_of_range
            - unimplemented
            - internal
            - unavailable
            - data_loss
            - unauthenticated
          description: >-
            The status code, which should be an enum value of
            [google.rpc.Code][google.rpc.Code].
        message:
          type: string
          description: >-
            A developer-facing error message, which should be in English. Any
            user-facing error message should be localized and sent in the
            [google.rpc.Status.details][google.rpc.Status.details] field, or
            localized by the client.
        detail:
          $ref: '#/components/schemas/google.protobuf.Any'
      title: Connect Error
      additionalProperties: true
      description: >-
        Error type returned by Connect:
        https://connectrpc.com/docs/go/errors/#http-representation
    google.protobuf.Any:
      type: object
      properties:
        type:
          type: string
        value:
          type: string
          format: binary
        debug:
          type: object
          additionalProperties: true
      additionalProperties: true
      description: >-
        Contains an arbitrary serialized message along with a @type that
        describes the type of the serialized message.
    api.order.v1.VendorAddress.Type:
      type: string
      title: Type
      enum:
        - TYPE_UNKNOWN
        - 0
        - TYPE_ALL
        - 1
        - TYPE_SHIP_FROM
        - 2
        - TYPE_SHIP_TO
        - 3
        - TYPE_BILL_TO
        - 4
        - TYPE_RETURN
        - 5
        - TYPE_BILLING
        - 6
    api.order.v1.VendorCreatedMethod:
      type: string
      title: VendorCreatedMethod
      enum:
        - VENDOR_CREATED_METHOD_UNKNOWN
        - 0
        - VENDOR_CREATED_METHOD_ALL
        - 1
        - VENDOR_CREATED_METHOD_SYNC
        - 2
        - VENDOR_CREATED_METHOD_MANUAL
        - 3
        - VENDOR_CREATED_METHOD_API
        - 4
        - VENDOR_CREATED_METHOD_IMPORT
        - 5
        - VENDOR_CREATED_METHOD_LABEL
        - 6
    api.order.v1.VendorFulfillmentPriority:
      type: string
      title: VendorFulfillmentPriority
      enum:
        - VENDOR_FULFILLMENT_PRIORITY_UNKNOWN
        - 0
        - VENDOR_FULFILLMENT_PRIORITY_ALL
        - 1
        - VENDOR_FULFILLMENT_PRIORITY_NORMAL
        - 2
        - VENDOR_FULFILLMENT_PRIORITY_RUSH
        - 3
    api.order.v1.VendorFulfillmentVendor:
      type: string
      title: VendorFulfillmentVendor
      enum:
        - VENDOR_FULFILLMENT_VENDOR_UNKNOWN
        - 0
        - VENDOR_FULFILLMENT_VENDOR_ALL
        - 1
        - VENDOR_FULFILLMENT_VENDOR_GEARMENT
        - 2
        - VENDOR_FULFILLMENT_VENDOR_AMAZON
        - 3
    api.order.v1.VendorGiftMessage.Type:
      type: string
      title: Type
      enum:
        - TYPE_UNKNOWN
        - 0
        - TYPE_CUSTOM_IMAGE
        - 1
        - TYPE_UPLOAD_IMAGE
        - 2
    api.order.v1.VendorOrderCancelStatus:
      type: string
      title: VendorOrderCancelStatus
      enum:
        - VENDOR_ORDER_CANCEL_STATUS_ALL
        - 0
        - VENDOR_ORDER_CANCEL_STATUS_UNKNOWN
        - 1
        - VENDOR_ORDER_CANCEL_STATUS_NOT_REQUESTED
        - 2
        - VENDOR_ORDER_CANCEL_STATUS_REQUESTED
        - 3
        - VENDOR_ORDER_CANCEL_STATUS_PROCESSING
        - 4
        - VENDOR_ORDER_CANCEL_STATUS_CANCELED
        - 5
        - VENDOR_ORDER_CANCEL_STATUS_PARTIALLY_CANCELED
        - 6
        - VENDOR_ORDER_CANCEL_STATUS_RETURN_REQUESTED
        - 7
        - VENDOR_ORDER_CANCEL_STATUS_RETURNED
        - 8
        - VENDOR_ORDER_CANCEL_STATUS_RETURN_REJECTED
        - 9
        - VENDOR_ORDER_CANCEL_STATUS_REJECTED
        - 10
        - VENDOR_ORDER_CANCEL_STATUS_FAILED
        - 11
    api.order.v1.VendorOrderDraftStatus:
      type: string
      title: VendorOrderDraftStatus
      enum:
        - VENDOR_ORDER_DRAFT_STATUS_UNKNOWN
        - 0
        - VENDOR_ORDER_DRAFT_STATUS_ALL
        - 1
        - VENDOR_ORDER_DRAFT_STATUS_DRAFT
        - 2
        - VENDOR_ORDER_DRAFT_STATUS_AWAITING_CHECKOUT
        - 3
        - VENDOR_ORDER_DRAFT_STATUS_CHECKED_OUT
        - 4
        - VENDOR_ORDER_DRAFT_STATUS_DELETED
        - 5
        - VENDOR_ORDER_DRAFT_STATUS_ARCHIVED
        - 6
    api.order.v1.VendorOrderPaymentStatus:
      type: string
      title: VendorOrderPaymentStatus
      enum:
        - VENDOR_ORDER_PAYMENT_STATUS_UNKNOWN
        - 0
        - VENDOR_ORDER_PAYMENT_STATUS_ALL
        - 1
        - VENDOR_ORDER_PAYMENT_STATUS_PENDING
        - 2
        - VENDOR_ORDER_PAYMENT_STATUS_SUCCESS
        - 3
        - VENDOR_ORDER_PAYMENT_STATUS_FAILED
        - 4
        - VENDOR_ORDER_PAYMENT_STATUS_EXPIRED
        - 5
        - VENDOR_ORDER_PAYMENT_STATUS_SUCCESS_PARTIALLY
        - 6
    api.order.v1.VendorOrderRefundStatus:
      type: string
      title: VendorOrderRefundStatus
      enum:
        - VENDOR_ORDER_REFUND_STATUS_ALL
        - 0
        - VENDOR_ORDER_REFUND_STATUS_UNKNOWN
        - 1
        - VENDOR_ORDER_REFUND_STATUS_NOT_REQUESTED
        - 2
        - VENDOR_ORDER_REFUND_STATUS_NOT_APPLICABLE
        - 3
        - VENDOR_ORDER_REFUND_STATUS_REQUESTED
        - 4
        - VENDOR_ORDER_REFUND_STATUS_PROCESSING
        - 5
        - VENDOR_ORDER_REFUND_STATUS_REFUNDED
        - 6
        - VENDOR_ORDER_REFUND_STATUS_PARTIALLY_REFUNDED
        - 7
        - VENDOR_ORDER_REFUND_STATUS_RETURN_REFUND_REQUESTED
        - 8
        - VENDOR_ORDER_REFUND_STATUS_RETURN_REFUNDED
        - 9
        - VENDOR_ORDER_REFUND_STATUS_REJECTED
        - 10
        - VENDOR_ORDER_REFUND_STATUS_FAILED
        - 11
    api.order.v1.VendorOrderStatus:
      type: string
      title: VendorOrderStatus
      enum:
        - VENDOR_ORDER_STATUS_UNKNOWN
        - 0
        - VENDOR_ORDER_STATUS_ALL
        - 1
        - VENDOR_ORDER_STATUS_AWAITING_PAYMENT
        - 2
        - VENDOR_ORDER_STATUS_PAYMENT_FAILED
        - 3
        - VENDOR_ORDER_STATUS_AWAITING_FULFILLMENT
        - 4
        - VENDOR_ORDER_STATUS_IN_PRODUCTION
        - 5
        - VENDOR_ORDER_STATUS_PACKED
        - 6
        - VENDOR_ORDER_STATUS_SHIPPED
        - 7
        - VENDOR_ORDER_STATUS_CANCELLED
        - 8
        - VENDOR_ORDER_STATUS_ON_HOLD
        - 9
    api.order.v1.VendorPrintingOption.PrintLocationCode:
      type: string
      title: PrintLocationCode
      enum:
        - PRINT_LOCATION_CODE_UNKNOWN
        - 0
        - PRINT_LOCATION_CODE_WHOLE
        - 1
        - PRINT_LOCATION_CODE_FRONT
        - 2
        - PRINT_LOCATION_CODE_BACK
        - 3
        - PRINT_LOCATION_CODE_LEFT_SLEEVE
        - 4
        - PRINT_LOCATION_CODE_RIGHT_SLEEVE
        - 5
        - PRINT_LOCATION_CODE_POCKET
        - 6
    api.order.v1.VendorProductMatchingStatus:
      type: string
      title: VendorProductMatchingStatus
      enum:
        - VENDOR_PRODUCT_MATCHING_STATUS_UNKNOWN
        - 0
        - VENDOR_PRODUCT_MATCHING_STATUS_ALL
        - 1
        - VENDOR_PRODUCT_MATCHING_STATUS_MATCHED
        - 2
        - VENDOR_PRODUCT_MATCHING_STATUS_UNMATCHED
        - 3
    api.order.v1.VendorPurchaseTrackingConfig:
      type: string
      title: VendorPurchaseTrackingConfig
      enum:
        - VENDOR_PURCHASE_TRACKING_TIME_UNSPECIFIED
        - 0
        - VENDOR_PURCHASE_TRACKING_TIME_DEFAULT
        - 1
        - VENDOR_PURCHASE_TRACKING_TIME_IMMEDIATELY_AFTER_THE_PAYMENT_TIME
        - 2
        - VENDOR_PURCHASE_TRACKING_TIME_ONCE_ALL_ITEMS_ARE_PRINTED
        - 3
        - VENDOR_PURCHASE_TRACKING_TIME_WITHIN_A_SPECIFIC_NUMBER_OF_DAY
        - 4
    api.order.v1.VendorShippingOption.Method:
      type: string
      title: Method
      enum:
        - METHOD_UNKNOWN
        - 0
        - METHOD_ALL
        - 1
        - METHOD_STANDARD
        - 2
        - METHOD_GROUND
        - 3
        - METHOD_FAST_SHIP
        - 4
        - METHOD_STAMP
        - 5
    api.order.v1.VendorShippingVerificationStatus:
      type: string
      title: VendorShippingVerificationStatus
      enum:
        - VENDOR_SHIPPING_VERIFICATION_STATUS_UNKNOWN
        - 0
        - VENDOR_SHIPPING_VERIFICATION_STATUS_ALL
        - 1
        - VENDOR_SHIPPING_VERIFICATION_STATUS_PENDING
        - 2
        - VENDOR_SHIPPING_VERIFICATION_STATUS_CONSTRAINT_INVALID
        - 3
        - VENDOR_SHIPPING_VERIFICATION_STATUS_CONSTRAINT_VALID
        - 4
        - VENDOR_SHIPPING_VERIFICATION_STATUS_ADDRESS_UNVERIFIED
        - 5
        - VENDOR_SHIPPING_VERIFICATION_STATUS_ADDRESS_VERIFIED
        - 6
    api.order.v1.VendorStockLabel:
      type: string
      title: VendorStockLabel
      enum:
        - VENDOR_STOCK_LABEL_UNKNOWN
        - 0
        - VENDOR_STOCK_LABEL_IN_STOCK
        - 1
        - VENDOR_STOCK_LABEL_OUT_OF_STOCK
        - 2
        - VENDOR_STOCK_LABEL_AT_RISK
        - 3
        - VENDOR_STOCK_LABEL_DISCONTINUED
        - 4
    api.order.v1.VendorTrackingType:
      type: string
      title: VendorTrackingType
      enum:
        - TRACKING_TYPE_UNSPECIFIED
        - 0
        - TRACKING_TYPE_PRIMARY
        - 1
        - TRACKING_TYPE_SECONDARY
        - 2
        - TRACKING_TYPE_OUTDATED
        - 3
    common.platform.v1.MarketplacePlatform:
      type: string
      title: MarketplacePlatform
      enum:
        - MARKETPLACE_PLATFORM_UNSPECIFIED
        - 0
        - MARKETPLACE_PLATFORM_ALL
        - 1
        - MARKETPLACE_PLATFORM_EBAY
        - 2
        - MARKETPLACE_PLATFORM_AMAZON
        - 3
        - MARKETPLACE_PLATFORM_SHOPIFY
        - 4
        - MARKETPLACE_PLATFORM_WOOCOMMERCE
        - 5
        - MARKETPLACE_PLATFORM_ETSY
        - 6
        - MARKETPLACE_PLATFORM_SHOPBASE
        - 7
        - MARKETPLACE_PLATFORM_GEARMENT
        - 8
        - MARKETPLACE_PLATFORM_ORDERDESK
        - 9
        - MARKETPLACE_PLATFORM_TIKTOKSHOP
        - 10
        - MARKETPLACE_PLATFORM_POSHMARK
        - 11
        - MARKETPLACE_PLATFORM_PRESTASHOP
        - 12
        - MARKETPLACE_PLATFORM_INKGO
        - 13
        - MARKETPLACE_PLATFORM_WISH
        - 14
        - MARKETPLACE_PLATFORM_BIGCOMMERCE
        - 15
    api.order.v1.LegacyItem:
      type: object
      properties:
        order_item_id:
          type: integer
          title: order_item_id
          format: int32
        item_subtotal:
          type: string
          title: item_subtotal
        item_total:
          type: string
          title: item_total
        style:
          type: string
          title: style
        size:
          type: string
          title: size
        color:
          type: string
          title: color
        quantity:
          type: string
          title: quantity
        product_name:
          type: string
          title: product_name
        product_sku:
          type: string
          title: product_sku
        product_sku1:
          type: string
          title: product_sku1
        availability_status:
          type: string
          title: availability_status
      title: LegacyItem
      additionalProperties: false
    api.order.v1.LegacyTracking:
      type: object
      properties:
        tracking_number:
          type: string
          title: tracking_number
        tracking_company:
          type: string
          title: tracking_company
        link_tracking:
          type: string
          title: link_tracking
        product_type:
          type: string
          title: product_type
        date_created:
          type: string
          title: date_created
        new_tracking:
          type: string
          title: new_tracking
      title: LegacyTracking
      additionalProperties: false
    api.order.v1.LegacyVendorCreateOrderDraftRequest:
      type: object
      properties:
        order_id:
          type: string
          title: order_id
          maxLength: 255
        external_id:
          type: string
          title: external_id
          maxLength: 255
        store_id:
          type: string
          title: store_id
          maxLength: 255
        agree_at_risk:
          title: agree_at_risk
          $ref: '#/components/schemas/google.protobuf.BoolValue'
        shipping_email:
          type: string
          title: shipping_email
          maxLength: 255
        shipping_name:
          type: string
          title: shipping_name
          maxLength: 255
          minLength: 1
        shipping_phone:
          type: string
          title: shipping_phone
          maxLength: 255
        shipping_company_name:
          type: string
          title: shipping_company_name
          maxLength: 255
        shipping_address1:
          type: string
          title: shipping_address1
          maxLength: 255
          minLength: 1
        shipping_address2:
          type: string
          title: shipping_address2
          maxLength: 255
        shipping_province_code:
          type: string
          title: shipping_province_code
          maxLength: 255
        shipping_city:
          type: string
          title: shipping_city
          maxLength: 255
          minLength: 1
        shipping_zipcode:
          type: string
          title: shipping_zipcode
          maxLength: 255
          minLength: 1
        shipping_country_code:
          type: string
          title: shipping_country_code
          maxLength: 255
          minLength: 1
        shipping_method:
          type: integer
          title: shipping_method
          maximum: 3
          format: int32
        gift_message_body:
          type: string
          title: gift_message_body
          maxLength: 1000
        ioss_number:
          type: string
          title: ioss_number
          maxLength: 255
        ioss_number_total:
          type: number
          title: ioss_number_total
          format: float
        tax_number:
          type: string
          title: tax_number
          maxLength: 255
        order_tax_number:
          type: number
          title: order_tax_number
          format: float
        line_items:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.LegacyVendorLineItemCreationParams
          title: line_items
          maxItems: 1000
          minItems: 1
        api_key:
          type: string
          title: api_key
          maxLength: 255
          minLength: 1
        api_signature:
          type: string
          title: api_signature
          maxLength: 255
          minLength: 1
      title: LegacyVendorCreateOrderDraftRequest
      additionalProperties: false
    api.order.v1.LegacyVendorCreateOrderDraftResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        result:
          title: result
          $ref: '#/components/schemas/api.order.v1.LegacyVendorCreationResult'
      title: LegacyVendorCreateOrderDraftResponse
      additionalProperties: false
    api.order.v1.LegacyVendorCreateOrderDraftWithLabelRequest:
      type: object
      properties:
        order_id:
          type: string
          title: order_id
          maxLength: 255
        store_id:
          type: string
          title: store_id
          maxLength: 255
        agree_at_risk:
          title: agree_at_risk
          $ref: '#/components/schemas/google.protobuf.BoolValue'
        shipping_service_type:
          type: string
          title: shipping_service_type
          maxLength: 255
          minLength: 1
        shipping_label_link:
          type: string
          title: shipping_label_link
          maxLength: 1000
          minLength: 1
        gift_message_body:
          type: string
          title: gift_message_body
          maxLength: 1000
        line_items:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.LegacyVendorLineItemCreationParams
          title: line_items
          maxItems: 1000
          minItems: 1
        api_key:
          type: string
          title: api_key
          maxLength: 255
          minLength: 1
        api_signature:
          type: string
          title: api_signature
          maxLength: 255
          minLength: 1
      title: LegacyVendorCreateOrderDraftWithLabelRequest
      additionalProperties: false
    api.order.v1.LegacyVendorCreateOrderDraftWithLabelResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        result:
          title: result
          $ref: '#/components/schemas/api.order.v1.LegacyVendorCreationResult'
      title: LegacyVendorCreateOrderDraftWithLabelResponse
      additionalProperties: false
    api.order.v1.LegacyVendorCreationResult:
      type: object
      properties:
        id:
          type: integer
          title: id
          format: int32
        name:
          type: string
          title: name
      title: LegacyVendorCreationResult
      additionalProperties: false
    api.order.v1.LegacyVendorGetOrderRequest:
      type: object
      properties:
        order_id:
          type: string
          title: order_id
          maxLength: 255
          minLength: 1
        api_key:
          type: string
          title: api_key
          maxLength: 255
          minLength: 1
        api_signature:
          type: string
          title: api_signature
          maxLength: 255
          minLength: 1
      title: LegacyVendorGetOrderRequest
      additionalProperties: false
    api.order.v1.LegacyVendorGetOrderResponse:
      type: object
      properties:
        result:
          title: result
          $ref: '#/components/schemas/api.order.v1.LegacyVendorOrder'
        status:
          type: string
          title: status
        message:
          type: string
          title: message
      title: LegacyVendorGetOrderResponse
      additionalProperties: false
    api.order.v1.LegacyVendorGetPriceQuoteRequest:
      type: object
      properties:
        store_id:
          type: string
          title: store_id
        shipping_email:
          type: string
          title: shipping_email
        shipping_name:
          type: string
          title: shipping_name
          maxLength: 30
          minLength: 1
        shipping_phone:
          type: string
          title: shipping_phone
        shipping_company_name:
          type: string
          title: shipping_company_name
        shipping_address1:
          type: string
          title: shipping_address1
          maxLength: 300
          minLength: 1
        shipping_address2:
          type: string
          title: shipping_address2
        shipping_province_code:
          type: string
          title: shipping_province_code
        shipping_city:
          type: string
          title: shipping_city
          maxLength: 30
          minLength: 1
        shipping_zipcode:
          exclusiveMinimum: 0
          type: integer
          title: shipping_zipcode
          maximum: 10000000
          format: int32
        shipping_country_code:
          type: string
          title: shipping_country_code
          maxLength: 30
          minLength: 1
        shipping_method:
          type: integer
          title: shipping_method
          maximum: 10
          format: int32
        line_items:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.LegacyVendorGetPriceQuoteRequest.LineItem
          title: line_items
        api_key:
          type: string
          title: api_key
          maxLength: 255
          minLength: 1
        api_signature:
          type: string
          title: api_signature
          maxLength: 255
          minLength: 1
      title: LegacyVendorGetPriceQuoteRequest
      additionalProperties: false
    api.order.v1.LegacyVendorGetPriceQuoteRequest.LineItem:
      type: object
      properties:
        variant_id:
          exclusiveMinimum: 0
          type: integer
          title: variant_id
          maximum: 100000
          format: int32
        quantity:
          exclusiveMinimum: 0
          type: integer
          title: quantity
          format: int32
        side:
          type: string
          title: side
        design_link:
          type: string
          title: design_link
        design_link_back:
          type: string
          title: design_link_back
      title: LineItem
      additionalProperties: false
    api.order.v1.LegacyVendorGetPriceQuoteResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        data:
          title: data
          $ref: >-
            #/components/schemas/api.order.v1.LegacyVendorGetPriceQuoteResponse.PriceCalculation
      title: LegacyVendorGetPriceQuoteResponse
      additionalProperties: false
    api.order.v1.LegacyVendorGetPriceQuoteResponse.PriceCalculation:
      type: object
      properties:
        total:
          type: number
          title: total
          format: float
        sub_total:
          type: number
          title: sub_total
          format: float
        tax:
          type: number
          title: tax
          format: float
        shipping_fee:
          type: number
          title: shipping_fee
          format: float
        gift_message_fee:
          type: number
          title: gift_message_fee
          format: float
        handle_fee:
          type: number
          title: handle_fee
          format: float
        total_discount:
          type: number
          title: total_discount
          format: float
        currency:
          type: string
          title: currency
      title: PriceCalculation
      additionalProperties: false
    api.order.v1.LegacyVendorLineItemCreationParams:
      type: object
      properties:
        variant_id:
          exclusiveMinimum: 0
          type: integer
          title: variant_id
          format: int32
        product_name:
          type: string
          title: product_name
          maxLength: 255
        product_style:
          type: string
          title: product_style
          maxLength: 255
        product_sku:
          type: string
          title: product_sku
          maxLength: 255
        quantity:
          exclusiveMinimum: 0
          type: integer
          title: quantity
          maximum: 1000
          format: int32
        barcode_link:
          type: string
          title: barcode_link
          maxLength: 1000
        designs:
          title: designs
          $ref: >-
            #/components/schemas/api.order.v1.LegacyVendorLineItemCreationParams.Designs
      title: LegacyVendorLineItemCreationParams
      additionalProperties: false
    api.order.v1.LegacyVendorLineItemCreationParams.Designs:
      type: object
      properties:
        front:
          type: string
          title: front
          maxLength: 1000
        pocket:
          type: string
          title: pocket
          maxLength: 1000
        back:
          type: string
          title: back
          maxLength: 1000
        whole:
          type: string
          title: whole
          maxLength: 1000
        left_sleeve:
          type: string
          title: left_sleeve
          maxLength: 1000
        right_sleeve:
          type: string
          title: right_sleeve
          maxLength: 1000
      title: Designs
      additionalProperties: false
    api.order.v1.LegacyVendorLineItemUpdateParams:
      type: object
      properties:
        order_item_id:
          exclusiveMinimum: 0
          type: integer
          title: order_item_id
          format: int32
        variant_id:
          exclusiveMinimum: 0
          type: integer
          title: variant_id
          format: int32
        quantity:
          exclusiveMinimum: 0
          type: integer
          title: quantity
          maximum: 1000
          format: int32
        design_link:
          title: design_link
          $ref: '#/components/schemas/google.protobuf.StringValue'
        design_link_back:
          title: design_link_back
          $ref: '#/components/schemas/google.protobuf.StringValue'
      title: LegacyVendorLineItemUpdateParams
      additionalProperties: false
    api.order.v1.LegacyVendorListOrderRequest:
      type: object
      properties:
        order_status:
          type: string
          title: order_status
          maxLength: 255
          minLength: 1
        payment_status:
          type: string
          title: payment_status
          maxLength: 255
          minLength: 1
        created_at_min:
          type: string
          title: created_at_min
          maxLength: 255
          minLength: 1
        created_at_max:
          type: string
          title: created_at_max
          maxLength: 255
          minLength: 1
        page:
          type: integer
          title: page
          format: int32
        limit:
          type: integer
          title: limit
          format: int32
        api_key:
          type: string
          title: api_key
          maxLength: 255
          minLength: 1
        api_signature:
          type: string
          title: api_signature
          maxLength: 255
          minLength: 1
      title: LegacyVendorListOrderRequest
      additionalProperties: false
    api.order.v1.LegacyVendorListOrderResponse:
      type: object
      properties:
        paging:
          title: paging
          $ref: '#/components/schemas/common.type.v1.LegacyPagingResponse'
        result:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.LegacyVendorOrder'
          title: result
        status:
          type: string
          title: status
        message:
          type: string
          title: message
      title: LegacyVendorListOrderResponse
      additionalProperties: false
    api.order.v1.LegacyVendorOrder:
      type: object
      properties:
        ord_id:
          type: integer
          title: ord_id
          format: int32
        order_number:
          type: string
          title: order_number
        external_id:
          type: string
          title: external_id
        ord_time:
          type: string
          title: ord_time
        ord_payment_at:
          type: string
          title: ord_payment_at
        ord_subtotal:
          type: string
          title: ord_subtotal
        ord_fee_shipping:
          type: string
          title: ord_fee_shipping
        ord_tax:
          type: string
          title: ord_tax
        ord_total:
          type: string
          title: ord_total
        verify_address:
          type: string
          title: verify_address
        fulfillment_notes:
          type: string
          title: fulfillment_notes
        ord_status:
          type: string
          title: ord_status
        ord_completed_time:
          type: string
          title: ord_completed_time
        is_approve:
          type: string
          title: is_approve
        ord_archive:
          type: string
          title: ord_archive
        ord_payment_status:
          type: string
          title: ord_payment_status
        ord_ioss_number:
          type: string
          title: ord_ioss_number
        ord_ioss_number_total:
          type: string
          title: ord_ioss_number_total
        trackings:
          title: trackings
          $ref: '#/components/schemas/api.order.v1.LegacyTracking'
        items:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.LegacyItem'
          title: items
      title: LegacyVendorOrder
      additionalProperties: false
    api.order.v1.LegacyVendorUpdateOrderDraftLineItemsRequest:
      type: object
      properties:
        order_id:
          exclusiveMinimum: 0
          type: integer
          title: order_id
          format: int32
        line_items:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.LegacyVendorLineItemUpdateParams'
          title: line_items
          maxItems: 1000
          minItems: 1
        api_key:
          type: string
          title: api_key
          maxLength: 255
          minLength: 1
        api_signature:
          type: string
          title: api_signature
          maxLength: 255
          minLength: 1
      title: LegacyVendorUpdateOrderDraftLineItemsRequest
      additionalProperties: false
    api.order.v1.LegacyVendorUpdateOrderDraftLineItemsResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        result:
          title: result
          $ref: >-
            #/components/schemas/api.order.v1.LegacyVendorUpdateOrderDraftLineItemsResponse.Data
      title: LegacyVendorUpdateOrderDraftLineItemsResponse
      additionalProperties: false
    api.order.v1.LegacyVendorUpdateOrderDraftLineItemsResponse.Data:
      type: object
      properties:
        id:
          type: integer
          title: id
          format: int32
      title: Data
      additionalProperties: false
    api.order.v1.VendorAddress:
      type: object
      properties:
        first_name:
          type: string
          title: first_name
          maxLength: 255
          minLength: 1
        last_name:
          type: string
          title: last_name
          maxLength: 255
          minLength: 1
        company:
          type: string
          title: company
          maxLength: 255
        contact_pronoun:
          type: string
          title: contact_pronoun
          maxLength: 255
        street_1:
          type: string
          title: street_1
          maxLength: 255
          minLength: 1
        street_2:
          type: string
          title: street_2
          maxLength: 255
        state_code:
          type: string
          title: state_code
          maxLength: 255
        state_name:
          type: string
          title: state_name
          maxLength: 255
        city:
          type: string
          title: city
          maxLength: 255
          minLength: 1
        zip_code:
          type: string
          title: zip_code
          maxLength: 255
          minLength: 1
        country_code:
          type: string
          title: country_code
          maxLength: 255
          minLength: 1
        country_name:
          type: string
          title: country_name
          maxLength: 255
        phone_no:
          type: string
          title: phone_no
          maxLength: 255
        email:
          type: string
          title: email
          maxLength: 255
        type:
          title: type
          $ref: '#/components/schemas/api.order.v1.VendorAddress.Type'
      title: VendorAddress
      additionalProperties: false
    api.order.v1.VendorBillingOption:
      type: object
      properties:
        ioss_number:
          type: string
          title: ioss_number
          maxLength: 255
        ioss_value:
          title: ioss_value
          $ref: '#/components/schemas/common.type.v1.Money'
        tax_number:
          type: string
          title: tax_number
          maxLength: 255
        tax_value:
          title: tax_value
          $ref: '#/components/schemas/common.type.v1.Money'
      title: VendorBillingOption
      additionalProperties: false
    api.order.v1.VendorCancelReason:
      type: object
      properties:
        reason_id:
          type: string
          title: reason_id
        display_name:
          type: string
          title: display_name
        custom_reason:
          type: string
          title: custom_reason
      title: VendorCancelReason
      additionalProperties: false
    api.order.v1.VendorCreateOrderDraftRequest:
      type: object
      properties:
        data:
          title: data
          $ref: >-
            #/components/schemas/api.order.v1.VendorOrderDraftManualCreationParams
      title: VendorCreateOrderDraftRequest
      additionalProperties: false
    api.order.v1.VendorCreateOrderDraftResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        data:
          title: data
          $ref: '#/components/schemas/api.order.v1.VendorOrderDraft'
      title: VendorCreateOrderDraftResponse
      additionalProperties: false
    api.order.v1.VendorCreateOrderDraftWithLabelRequest:
      type: object
      properties:
        data:
          title: data
          $ref: >-
            #/components/schemas/api.order.v1.VendorOrderDraftWithLabelCreationParams
      title: VendorCreateOrderDraftWithLabelRequest
      additionalProperties: false
    api.order.v1.VendorCreateOrderDraftWithLabelResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        data:
          title: data
          $ref: '#/components/schemas/api.order.v1.VendorOrderDraft'
      title: VendorCreateOrderDraftWithLabelResponse
      additionalProperties: false
    api.order.v1.VendorFulfillmentOption:
      type: object
      properties:
        purchase_tracking_config:
          title: purchase_tracking_config
          $ref: '#/components/schemas/api.order.v1.VendorPurchaseTrackingConfig'
      title: VendorFulfillmentOption
      additionalProperties: false
    api.order.v1.VendorGetOrderDraftRequest:
      type: object
      title: VendorGetOrderDraftRequest
      additionalProperties: false
    api.order.v1.VendorGetOrderDraftResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        data:
          title: data
          $ref: '#/components/schemas/api.order.v1.VendorOrderDraft'
      title: VendorGetOrderDraftResponse
      additionalProperties: false
    api.order.v1.VendorGetOrderRequest:
      type: object
      title: VendorGetOrderRequest
      additionalProperties: false
    api.order.v1.VendorGetOrderResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        data:
          title: data
          $ref: '#/components/schemas/api.order.v1.VendorOrder'
      title: VendorGetOrderResponse
      additionalProperties: false
    api.order.v1.VendorGetPriceQuoteRequest:
      type: object
      properties:
        order_platform:
          type: string
          title: order_platform
        billing:
          title: billing
          $ref: >-
            #/components/schemas/api.order.v1.VendorOrderPriceCalculation.Billing
        shipping:
          title: shipping
          $ref: >-
            #/components/schemas/api.order.v1.VendorOrderPriceCalculation.Shipping
        line_items:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.VendorOrderPriceCalculation.LineItem
          title: line_items
        gift_messages:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.VendorOrderPriceCalculation.GiftMessage
          title: gift_messages
      title: VendorGetPriceQuoteRequest
      additionalProperties: false
    api.order.v1.VendorGetPriceQuoteResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        data:
          title: data
          $ref: >-
            #/components/schemas/api.order.v1.VendorOrderPriceCalculation.OrderPriceQuote
      title: VendorGetPriceQuoteResponse
      additionalProperties: false
    api.order.v1.VendorGiftMessage:
      type: object
      properties:
        order_id:
          type: string
          title: order_id
        gift_message_id:
          type: string
          title: gift_message_id
        type:
          title: type
          $ref: '#/components/schemas/api.order.v1.VendorGiftMessage.Type'
        content:
          type: string
          title: content
        avatar_url:
          type: string
          title: avatar_url
        gift_message_name:
          type: string
          title: gift_message_name
      title: VendorGiftMessage
      additionalProperties: false
    api.order.v1.VendorLineItem:
      type: object
      properties:
        order_id:
          type: string
          title: order_id
        quantity:
          type: integer
          title: quantity
          minimum: 1
          format: int32
        printing_options:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorPrintingOption'
          title: printing_options
        origin_options:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorLineItem.OriginOption'
          title: origin_options
        fulfillment_option:
          title: fulfillment_option
          $ref: '#/components/schemas/api.order.v1.VendorLineItem.FulfillmentOption'
        variant:
          title: variant
          $ref: '#/components/schemas/api.order.v1.VendorLineItem.Variant'
        product:
          title: product
          $ref: '#/components/schemas/api.order.v1.VendorLineItem.Product'
        item_price:
          title: item_price
          $ref: '#/components/schemas/common.type.v1.Money'
        line_tax:
          title: line_tax
          $ref: '#/components/schemas/common.type.v1.Money'
        line_fee:
          title: line_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        line_discount:
          title: line_discount
          $ref: '#/components/schemas/common.type.v1.Money'
        line_subtotal:
          title: line_subtotal
          $ref: '#/components/schemas/common.type.v1.Money'
        line_total:
          title: line_total
          $ref: '#/components/schemas/common.type.v1.Money'
        line_item_id:
          type: string
          title: line_item_id
      title: VendorLineItem
      additionalProperties: false
    api.order.v1.VendorLineItem.FulfillmentOption:
      type: object
      properties:
        barcode_url:
          type: string
          title: barcode_url
      title: FulfillmentOption
      additionalProperties: false
    api.order.v1.VendorLineItem.OriginOption:
      type: object
      properties:
        name:
          type: string
          title: name
        key:
          type: string
          title: key
        value:
          type: string
          title: value
      title: OriginOption
      additionalProperties: false
    api.order.v1.VendorLineItem.Product:
      type: object
      properties:
        product_id:
          type: string
          title: product_id
        name:
          type: string
          title: name
        description:
          type: string
          title: description
        images:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorLineItem.ProductImage'
          title: images
        print_locations:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.VendorLineItem.ProductPrintLocation
          title: print_locations
      title: Product
      additionalProperties: false
    api.order.v1.VendorLineItem.ProductImage:
      type: object
      properties:
        url:
          type: string
          title: url
        tag:
          type: string
          title: tag
      title: ProductImage
      additionalProperties: false
    api.order.v1.VendorLineItem.ProductPrintLocation:
      type: object
      properties:
        code:
          type: string
          title: code
        name:
          type: string
          title: name
        location_id:
          type: integer
          title: location_id
          format: int32
      title: ProductPrintLocation
      additionalProperties: false
    api.order.v1.VendorLineItem.Short:
      type: object
      properties:
        order_id:
          type: string
          title: order_id
        quantity:
          type: integer
          title: quantity
          minimum: 1
          format: int32
        printing_options:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorPrintingOption'
          title: printing_options
        origin_options:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.VendorLineItem.Short.OriginOption
          title: origin_options
        fulfillment_option:
          title: fulfillment_option
          $ref: >-
            #/components/schemas/api.order.v1.VendorLineItem.Short.FulfillmentOption
        variant:
          title: variant
          $ref: '#/components/schemas/api.order.v1.VendorLineItem.Short.Variant'
        product:
          title: product
          $ref: '#/components/schemas/api.order.v1.VendorLineItem.Short.Product'
        id:
          type:
            - integer
            - string
          title: id
          format: int64
        line_total:
          title: line_total
          $ref: '#/components/schemas/common.type.v1.Money'
        line_item_id:
          type: string
          title: line_item_id
      title: Short
      additionalProperties: false
    api.order.v1.VendorLineItem.Short.FulfillmentOption:
      type: object
      properties:
        barcode_url:
          type: string
          title: barcode_url
      title: FulfillmentOption
      additionalProperties: false
    api.order.v1.VendorLineItem.Short.OriginOption:
      type: object
      properties:
        name:
          type: string
          title: name
        key:
          type: string
          title: key
        value:
          type: string
          title: value
      title: OriginOption
      additionalProperties: false
    api.order.v1.VendorLineItem.Short.Product:
      type: object
      properties:
        product_id:
          type: string
          title: product_id
        name:
          type: string
          title: name
        description:
          type: string
          title: description
        images:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.VendorLineItem.Short.ProductImage
          title: images
        print_locations:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.VendorLineItem.Short.ProductPrintLocation
          title: print_locations
      title: Product
      additionalProperties: false
    api.order.v1.VendorLineItem.Short.ProductImage:
      type: object
      properties:
        url:
          type: string
          title: url
        tag:
          type: string
          title: tag
      title: ProductImage
      additionalProperties: false
    api.order.v1.VendorLineItem.Short.ProductPrintLocation:
      type: object
      properties:
        code:
          type: string
          title: code
        name:
          type: string
          title: name
        location_id:
          type: integer
          title: location_id
          format: int32
      title: ProductPrintLocation
      additionalProperties: false
    api.order.v1.VendorLineItem.Short.Variant:
      type: object
      properties:
        variant_id:
          type: string
          title: variant_id
        legacy_id:
          type:
            - integer
            - string
          title: legacy_id
          format: int64
        sku:
          type: string
          title: sku
        name:
          type: string
          title: name
        description:
          type: string
          title: description
        option_1:
          type: string
          title: option_1
        option_2:
          type: string
          title: option_2
        option_3:
          type: string
          title: option_3
        option_1_name:
          type: string
          title: option_1_name
        option_2_name:
          type: string
          title: option_2_name
        price:
          title: price
          $ref: '#/components/schemas/common.type.v1.Money'
        price_gm:
          title: price_gm
          $ref: '#/components/schemas/common.type.v1.Money'
        images:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.VendorLineItem.Short.ProductImage
          title: images
        stock_label:
          title: stock_label
          $ref: '#/components/schemas/api.order.v1.VendorStockLabel'
      title: Variant
      additionalProperties: false
    api.order.v1.VendorLineItem.Variant:
      type: object
      properties:
        variant_id:
          type: string
          title: variant_id
        legacy_id:
          type:
            - integer
            - string
          title: legacy_id
          format: int64
        sku:
          type: string
          title: sku
        name:
          type: string
          title: name
        description:
          type: string
          title: description
        option_1:
          type: string
          title: option_1
        option_2:
          type: string
          title: option_2
        option_3:
          type: string
          title: option_3
        option_1_name:
          type: string
          title: option_1_name
        option_2_name:
          type: string
          title: option_2_name
        price:
          title: price
          $ref: '#/components/schemas/common.type.v1.Money'
        price_gm:
          title: price_gm
          $ref: '#/components/schemas/common.type.v1.Money'
        images:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorLineItem.ProductImage'
          title: images
        stock_label:
          title: stock_label
          $ref: '#/components/schemas/api.order.v1.VendorStockLabel'
      title: Variant
      additionalProperties: false
    api.order.v1.VendorListOrderDraftRequest:
      type: object
      properties:
        filter:
          title: filter
          $ref: '#/components/schemas/api.order.v1.VendorOrderDraftFilter'
        paging:
          title: paging
          $ref: '#/components/schemas/common.type.v1.Paging'
      title: VendorListOrderDraftRequest
      additionalProperties: false
    api.order.v1.VendorListOrderDraftResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        paging:
          title: paging
          $ref: '#/components/schemas/common.type.v1.PagingResponse'
        data:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorOrderDraft.Short'
          title: data
      title: VendorListOrderDraftResponse
      additionalProperties: false
    api.order.v1.VendorListOrderRequest:
      type: object
      properties:
        filter:
          title: filter
          $ref: '#/components/schemas/api.order.v1.VendorOrderFilter'
        paging:
          title: paging
          $ref: '#/components/schemas/common.type.v1.Paging'
      title: VendorListOrderRequest
      additionalProperties: false
    api.order.v1.VendorListOrderResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        paging:
          title: paging
          $ref: '#/components/schemas/common.type.v1.PagingResponse'
        data:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorOrder.Short'
          title: data
      title: VendorListOrderResponse
      additionalProperties: false
    api.order.v1.VendorOrder:
      type: object
      properties:
        order_id:
          type: string
          title: order_id
        store_id:
          type: string
          title: store_id
        team_id:
          type: string
          title: team_id
        created_method:
          title: created_method
          $ref: '#/components/schemas/api.order.v1.VendorCreatedMethod'
        order_platform:
          title: order_platform
          $ref: '#/components/schemas/common.platform.v1.MarketplacePlatform'
        platform_ref:
          type: string
          title: platform_ref
        fulfillment_vendor:
          title: fulfillment_vendor
          $ref: '#/components/schemas/api.order.v1.VendorFulfillmentVendor'
        vendor_ref:
          type: string
          title: vendor_ref
        priority:
          title: priority
          $ref: '#/components/schemas/api.order.v1.VendorFulfillmentPriority'
        fulfillment_option:
          title: fulfillment_option
          $ref: '#/components/schemas/api.order.v1.VendorFulfillmentOption'
        shipping_option:
          title: shipping_option
          $ref: '#/components/schemas/api.order.v1.VendorShippingOption'
        billing_option:
          title: billing_option
          $ref: '#/components/schemas/api.order.v1.VendorBillingOption'
        shipping_labels:
          type: array
          items:
            type: string
          title: shipping_labels
        order_date:
          title: order_date
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        approved_at:
          title: approved_at
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        paid_at:
          title: paid_at
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        order_status:
          title: order_status
          $ref: '#/components/schemas/api.order.v1.VendorOrderStatus'
        primary_package_id:
          type: string
          title: primary_package_id
        primary_shipment_id:
          type: string
          title: primary_shipment_id
        is_label_attached:
          type: boolean
          title: is_label_attached
        order_subtotal:
          title: order_subtotal
          $ref: '#/components/schemas/common.type.v1.Money'
        order_tax:
          title: order_tax
          $ref: '#/components/schemas/common.type.v1.Money'
        order_fee:
          title: order_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        order_discount:
          title: order_discount
          $ref: '#/components/schemas/common.type.v1.Money'
        order_total:
          title: order_total
          $ref: '#/components/schemas/common.type.v1.Money'
        order_redeem:
          title: order_redeem
          $ref: '#/components/schemas/common.type.v1.Money'
        paid_total:
          title: paid_total
          $ref: '#/components/schemas/common.type.v1.Money'
        paid_needed:
          title: paid_needed
          $ref: '#/components/schemas/common.type.v1.Money'
        tracking_no:
          type: string
          title: tracking_no
        created_at:
          title: created_at
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        updated_at:
          title: updated_at
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        line_items:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorOrderLineItem'
          title: line_items
        store_name:
          type: string
          title: store_name
        addresses:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorAddress'
          title: addresses
        stages:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorProcessingStage'
          title: stages
        order_gift_message_fee:
          title: order_gift_message_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        order_shipping_fee:
          title: order_shipping_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        order_handle_fee:
          title: order_handle_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        order_surcharge:
          title: order_surcharge
          $ref: '#/components/schemas/common.type.v1.Money'
        order_rush_fee:
          title: order_rush_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        order_thank_card_fee:
          title: order_thank_card_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        order_trackings:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorOrderTracking'
          title: order_trackings
        gift_messages:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorGiftMessage'
          title: gift_messages
        refund_status:
          title: refund_status
          $ref: '#/components/schemas/api.order.v1.VendorOrderRefundStatus'
        cancel_status:
          title: cancel_status
          $ref: '#/components/schemas/api.order.v1.VendorOrderCancelStatus'
        order_priority:
          type: string
          title: order_priority
        fulfillment_order_id:
          type: string
          title: fulfillment_order_id
        transaction_info:
          title: transaction_info
          $ref: '#/components/schemas/api.order.v1.VendorTransactionInfo'
        cancel_reason:
          title: cancel_reason
          $ref: '#/components/schemas/api.order.v1.VendorCancelReason'
        refunded_total:
          title: refunded_total
          $ref: '#/components/schemas/common.type.v1.Money'
        user_id:
          type: string
          title: user_id
      title: VendorOrder
      additionalProperties: false
    api.order.v1.VendorOrder.Short:
      type: object
      properties:
        order_id:
          type: string
          title: order_id
        store_id:
          type: string
          title: store_id
        store_name:
          type: string
          title: store_name
        team_id:
          type: string
          title: team_id
        created_method:
          title: created_method
          $ref: '#/components/schemas/api.order.v1.VendorCreatedMethod'
        order_platform:
          title: order_platform
          $ref: '#/components/schemas/common.platform.v1.MarketplacePlatform'
        platform_ref:
          type: string
          title: platform_ref
        shipping_labels:
          type: array
          items:
            type: string
          title: shipping_labels
        order_date:
          title: order_date
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        approved_at:
          title: approved_at
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        paid_at:
          title: paid_at
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        order_status:
          title: order_status
          $ref: '#/components/schemas/api.order.v1.VendorOrderStatus'
        order_subtotal:
          title: order_subtotal
          $ref: '#/components/schemas/common.type.v1.Money'
        order_shipping_fee:
          title: order_shipping_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        order_gift_message_fee:
          title: order_gift_message_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        order_tax:
          title: order_tax
          $ref: '#/components/schemas/common.type.v1.Money'
        order_total:
          title: order_total
          $ref: '#/components/schemas/common.type.v1.Money'
        fulfillment_option:
          title: fulfillment_option
          $ref: '#/components/schemas/api.order.v1.VendorFulfillmentOption'
        shipping_option:
          title: shipping_option
          $ref: '#/components/schemas/api.order.v1.VendorShippingOption'
        billing_option:
          title: billing_option
          $ref: '#/components/schemas/api.order.v1.VendorBillingOption'
        line_items:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorOrderLineItem.Short'
          title: line_items
        tracking_number:
          type: string
          title: tracking_number
        tracking_link:
          type: string
          title: tracking_link
        tracking_company:
          type: string
          title: tracking_company
        tracking_product_type:
          type: string
          title: tracking_product_type
        tracking_date_created:
          title: tracking_date_created
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        tracking_type:
          type: string
          title: tracking_type
        payment_status:
          title: payment_status
          $ref: '#/components/schemas/api.order.v1.VendorOrderPaymentStatus'
        fulfilment_order:
          type: string
          title: fulfilment_order
        shipped_at:
          title: shipped_at
          $ref: '#/components/schemas/google.protobuf.Timestamp'
      title: Short
      additionalProperties: false
    api.order.v1.VendorOrderDraft:
      type: object
      properties:
        order_id:
          type: string
          title: order_id
        team_id:
          type: string
          title: team_id
        store_id:
          type: string
          title: store_id
        store_name:
          type: string
          title: store_name
        platform_ref:
          type: string
          title: platform_ref
        order_platform:
          title: order_platform
          $ref: '#/components/schemas/common.platform.v1.MarketplacePlatform'
        import_id:
          type: string
          title: import_id
        pull_id:
          type: string
          title: pull_id
        request_id:
          type: string
          title: request_id
        created_method:
          title: created_method
          $ref: '#/components/schemas/api.order.v1.VendorCreatedMethod'
        fulfillment_vendor:
          title: fulfillment_vendor
          $ref: '#/components/schemas/api.order.v1.VendorFulfillmentVendor'
        priority:
          title: priority
          $ref: '#/components/schemas/api.order.v1.VendorFulfillmentPriority'
        fulfillment_option:
          title: fulfillment_option
          $ref: '#/components/schemas/api.order.v1.VendorFulfillmentOption'
        shipping_option:
          title: shipping_option
          $ref: '#/components/schemas/api.order.v1.VendorShippingOption'
        billing_option:
          title: billing_option
          $ref: '#/components/schemas/api.order.v1.VendorBillingOption'
        order_date:
          title: order_date
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        status:
          title: status
          $ref: '#/components/schemas/api.order.v1.VendorOrderDraftStatus'
        order_tracking_code:
          type: string
          title: order_tracking_code
        shipping_labels:
          type: array
          items:
            type: string
          title: shipping_labels
        is_label_attached:
          type: boolean
          title: is_label_attached
        shipping_verification_status:
          title: shipping_verification_status
          $ref: '#/components/schemas/api.order.v1.VendorShippingVerificationStatus'
        product_matching_status:
          title: product_matching_status
          $ref: '#/components/schemas/api.order.v1.VendorProductMatchingStatus'
        is_shipping_verification_bypassed:
          type: boolean
          title: is_shipping_verification_bypassed
        is_approved:
          type: boolean
          title: is_approved
        approved_at:
          title: approved_at
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        origin_draft_id:
          type: string
          title: origin_draft_id
        origin_order_id:
          type: string
          title: origin_order_id
        addresses:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorAddress'
          title: addresses
        line_items:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorLineItem'
          title: line_items
        gift_messages:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorGiftMessage'
          title: gift_messages
        legacy_external_id:
          type: string
          title: legacy_external_id
          description: for oms order's external id
        fulfilment_order:
          type: string
          title: fulfilment_order
        payment_status:
          type: string
          title: payment_status
        order_subtotal:
          title: order_subtotal
          $ref: '#/components/schemas/common.type.v1.Money'
        order_shipping_fee:
          title: order_shipping_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        order_handle_fee:
          title: order_handle_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        order_tax:
          title: order_tax
          $ref: '#/components/schemas/common.type.v1.Money'
        order_fee:
          title: order_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        order_discount:
          title: order_discount
          $ref: '#/components/schemas/common.type.v1.Money'
        order_total:
          title: order_total
          $ref: '#/components/schemas/common.type.v1.Money'
        verify_address:
          title: verify_address
          $ref: '#/components/schemas/api.order.v1.VendorShippingVerificationStatus'
        print_option:
          title: print_option
          $ref: '#/components/schemas/api.order.v1.VendorPrintingOption'
      title: VendorOrderDraft
      additionalProperties: false
    api.order.v1.VendorOrderDraft.Short:
      type: object
      properties:
        order_id:
          type: string
          title: order_id
        team_id:
          type: string
          title: team_id
        store_id:
          type: string
          title: store_id
        store_name:
          type: string
          title: store_name
        reference_id:
          type: string
          title: reference_id
        order_platform:
          title: order_platform
          $ref: '#/components/schemas/common.platform.v1.MarketplacePlatform'
        import_id:
          type: string
          title: import_id
        pull_id:
          type: string
          title: pull_id
        request_id:
          type: string
          title: request_id
        created_method:
          title: created_method
          $ref: '#/components/schemas/api.order.v1.VendorCreatedMethod'
        fulfillment_vendor:
          title: fulfillment_vendor
          $ref: '#/components/schemas/api.order.v1.VendorFulfillmentVendor'
        priority:
          title: priority
          $ref: '#/components/schemas/api.order.v1.VendorFulfillmentPriority'
        fulfillment_option:
          title: fulfillment_option
          $ref: '#/components/schemas/api.order.v1.VendorFulfillmentOption'
        shipping_option:
          title: shipping_option
          $ref: '#/components/schemas/api.order.v1.VendorShippingOption'
        billing_option:
          title: billing_option
          $ref: '#/components/schemas/api.order.v1.VendorBillingOption'
        order_date:
          title: order_date
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        status:
          title: status
          $ref: '#/components/schemas/api.order.v1.VendorOrderDraftStatus'
        order_tracking_code:
          type: string
          title: order_tracking_code
        shipping_labels:
          type: array
          items:
            type: string
          title: shipping_labels
        is_label_attached:
          type: boolean
          title: is_label_attached
        shipping_verification_status:
          title: shipping_verification_status
          $ref: '#/components/schemas/api.order.v1.VendorShippingVerificationStatus'
        product_matching_status:
          title: product_matching_status
          $ref: '#/components/schemas/api.order.v1.VendorProductMatchingStatus'
        is_shipping_verification_bypassed:
          type: boolean
          title: is_shipping_verification_bypassed
        is_approved:
          type: boolean
          title: is_approved
        approved_at:
          title: approved_at
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        origin_draft_id:
          type: string
          title: origin_draft_id
        origin_order_id:
          type: string
          title: origin_order_id
        addresses:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorAddress'
          title: addresses
        line_items:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorLineItem.Short'
          title: line_items
        gift_messages:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorGiftMessage'
          title: gift_messages
        legacy_external_id:
          type: string
          title: legacy_external_id
          description: for oms order's external id
        fulfilment_order:
          type: string
          title: fulfilment_order
        payment_status:
          type: string
          title: payment_status
        order_total:
          title: order_total
          $ref: '#/components/schemas/common.type.v1.Money'
        verify_address:
          title: verify_address
          $ref: '#/components/schemas/api.order.v1.VendorShippingVerificationStatus'
      title: Short
      additionalProperties: false
    api.order.v1.VendorOrderDraftCreationParams.LineItem:
      type: object
      properties:
        variant_id:
          type: string
          title: variant_id
        legacy_id:
          type:
            - integer
            - string
          title: legacy_id
          format: int64
        quantity:
          exclusiveMinimum: 0
          type: integer
          title: quantity
          maximum: 1000
          format: int32
        printing_options:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.VendorOrderDraftCreationParams.PrintingOption
          title: printing_options
          minItems: 1
        barcode_url:
          type: string
          title: barcode_url
          maxLength: 1000
      title: LineItem
      additionalProperties: false
      description: >+
        Exactly one of 'variant_id' or 'legacy_id' must be set:

        ```

        !(this.variant_id != '' && this.legacy_id != 0) && (this.variant_id !=
        '' || this.legacy_id != 0)

        ```


        A line item must include at least one printing option with location_code
        front or back:

        ```

        this.printing_options.exists(  o,  o.location_code ==
        api.order.v1.VendorPrintingOption.PrintLocationCode.PRINT_LOCATION_CODE_FRONT
        ||  o.location_code ==
        api.order.v1.VendorPrintingOption.PrintLocationCode.PRINT_LOCATION_CODE_BACK)

        ```

    api.order.v1.VendorOrderDraftCreationParams.PrintingOption:
      type: object
      properties:
        location_code:
          title: location_code
          $ref: >-
            #/components/schemas/api.order.v1.VendorPrintingOption.PrintLocationCode
        url:
          type: string
          title: url
          maxLength: 1000
      title: PrintingOption
      additionalProperties: false
    api.order.v1.VendorOrderDraftFilter:
      type: object
      properties:
        order_ids:
          type: array
          items:
            type: string
            maxLength: 100
            minLength: 1
          title: order_ids
        statuses:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorOrderDraftStatus'
          title: statuses
        created_methods:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorCreatedMethod'
          title: created_methods
        created_at_min:
          title: created_at_min
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        created_at_max:
          title: created_at_max
          $ref: '#/components/schemas/google.protobuf.Timestamp'
      title: VendorOrderDraftFilter
      additionalProperties: false
    api.order.v1.VendorOrderDraftManualCreationParams:
      type: object
      properties:
        reference_id:
          type: string
          title: reference_id
          maxLength: 255
        platform:
          title: platform
          $ref: '#/components/schemas/common.platform.v1.MarketplacePlatform'
        store_id:
          type: string
          title: store_id
          maxLength: 255
        agree_at_risk:
          title: agree_at_risk
          $ref: '#/components/schemas/google.protobuf.BoolValue'
        address:
          title: address
          $ref: '#/components/schemas/api.order.v1.VendorAddress'
        shipping_method:
          title: shipping_method
          $ref: '#/components/schemas/api.order.v1.VendorShippingOption.Method'
        billing_option:
          title: billing_option
          $ref: '#/components/schemas/api.order.v1.VendorBillingOption'
        gift_message_body:
          type: string
          title: gift_message_body
          maxLength: 1000
        line_items:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.VendorOrderDraftCreationParams.LineItem
          title: line_items
          maxItems: 1000
          minItems: 1
      title: VendorOrderDraftManualCreationParams
      additionalProperties: false
    api.order.v1.VendorOrderDraftUpdateParams.LineItem:
      type: object
      properties:
        line_item_id:
          type: string
          title: line_item_id
        variant_id:
          type: string
          title: variant_id
        legacy_id:
          type:
            - integer
            - string
          title: legacy_id
          format: int64
        quantity:
          exclusiveMinimum: 0
          type: integer
          title: quantity
          maximum: 1000
          format: int32
        printing_options:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.VendorOrderDraftCreationParams.PrintingOption
          title: printing_options
          minItems: 1
        barcode_url:
          type: string
          title: barcode_url
          maxLength: 1000
      title: LineItem
      additionalProperties: false
      description: >+
        Exactly one of 'variant_id' or 'legacy_id' must be set:

        ```

        !(this.variant_id != '' && this.legacy_id != 0) && (this.variant_id !=
        '' || this.legacy_id != 0)

        ```


        A line item must include at least one printing option with location_code
        front or back:

        ```

        this.printing_options.exists(  o,  o.location_code ==
        api.order.v1.VendorPrintingOption.PrintLocationCode.PRINT_LOCATION_CODE_FRONT
        ||  o.location_code ==
        api.order.v1.VendorPrintingOption.PrintLocationCode.PRINT_LOCATION_CODE_BACK)

        ```

    api.order.v1.VendorOrderDraftWithLabelCreationParams:
      type: object
      properties:
        reference_id:
          type: string
          title: reference_id
          maxLength: 255
        platform:
          title: platform
          $ref: '#/components/schemas/common.platform.v1.MarketplacePlatform'
        store_id:
          type: string
          title: store_id
          maxLength: 255
        agree_at_risk:
          title: agree_at_risk
          $ref: '#/components/schemas/google.protobuf.BoolValue'
        shipping_label_urls:
          type: array
          items:
            type: string
            maxLength: 1000
            minLength: 1
            minItems: 1
          title: shipping_label_urls
          minItems: 1
        gift_message_body:
          type: string
          title: gift_message_body
          maxLength: 1000
        line_items:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.VendorOrderDraftCreationParams.LineItem
          title: line_items
          maxItems: 1000
          minItems: 1
      title: VendorOrderDraftWithLabelCreationParams
      additionalProperties: false
    api.order.v1.VendorOrderFilter:
      type: object
      properties:
        order_ids:
          type: array
          items:
            type: string
            maxLength: 100
            minLength: 1
          title: order_ids
        statuses:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorOrderStatus'
          title: statuses
        created_methods:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorCreatedMethod'
          title: created_methods
        created_at_min:
          title: created_at_min
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        created_at_max:
          title: created_at_max
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        payment_status:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorOrderPaymentStatus'
          title: payment_status
          description: For API Legacy
      title: VendorOrderFilter
      additionalProperties: false
    api.order.v1.VendorOrderLineItem:
      type: object
      properties:
        variant_id:
          type: string
          title: variant_id
        quantity:
          type:
            - integer
            - string
          title: quantity
          minimum: 1
          format: int64
        printing_options:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorPrintingOption'
          title: printing_options
        seller_variant_id:
          type: string
          title: seller_variant_id
        product_id:
          type: string
          title: product_id
        option_1:
          type: string
          title: option_1
        option_2:
          type: string
          title: option_2
        product_name:
          type: string
          title: product_name
        item_price:
          title: item_price
          $ref: '#/components/schemas/common.type.v1.Money'
        line_tax:
          title: line_tax
          $ref: '#/components/schemas/common.type.v1.Money'
        line_fee:
          title: line_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        line_discount:
          title: line_discount
          $ref: '#/components/schemas/common.type.v1.Money'
        line_subtotal:
          title: line_subtotal
          $ref: '#/components/schemas/common.type.v1.Money'
        line_total:
          title: line_total
          $ref: '#/components/schemas/common.type.v1.Money'
        variant_name:
          type: string
          title: variant_name
        product_url:
          type: string
          title: product_url
        variant_sku:
          type: string
          title: variant_sku
        product_type_name:
          type: string
          title: product_type_name
      title: VendorOrderLineItem
      additionalProperties: false
    api.order.v1.VendorOrderLineItem.Short:
      type: object
      properties:
        quantity:
          type: integer
          title: quantity
          minimum: 1
          format: int32
        printing_options:
          type: array
          items:
            $ref: '#/components/schemas/api.order.v1.VendorPrintingOption'
          title: printing_options
        seller_variant_id:
          type: string
          title: seller_variant_id
        product_id:
          type: string
          title: product_id
        product_name:
          type: string
          title: product_name
        item_price:
          title: item_price
          $ref: '#/components/schemas/common.type.v1.Money'
        line_tax:
          title: line_tax
          $ref: '#/components/schemas/common.type.v1.Money'
        line_fee:
          title: line_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        line_discount:
          title: line_discount
          $ref: '#/components/schemas/common.type.v1.Money'
        line_subtotal:
          title: line_subtotal
          $ref: '#/components/schemas/common.type.v1.Money'
        line_total:
          title: line_total
          $ref: '#/components/schemas/common.type.v1.Money'
        fulfillment_option:
          title: fulfillment_option
          $ref: >-
            #/components/schemas/api.order.v1.VendorOrderLineItem.Short.FulfillmentOption
        product_url:
          type: string
          title: product_url
        product_sku:
          type: string
          title: product_sku
        variant:
          title: variant
          $ref: '#/components/schemas/api.order.v1.VendorOrderLineItem.Short.Variant'
        order_id:
          type: string
          title: order_id
        line_item_id:
          type: string
          title: line_item_id
      title: Short
      additionalProperties: false
    api.order.v1.VendorOrderLineItem.Short.FulfillmentOption:
      type: object
      properties:
        barcode_url:
          type: string
          title: barcode_url
      title: FulfillmentOption
      additionalProperties: false
    api.order.v1.VendorOrderLineItem.Short.Variant:
      type: object
      properties:
        variant_id:
          type: string
          title: variant_id
        variant_name:
          type: string
          title: variant_name
        legacy_id:
          type:
            - integer
            - string
          title: legacy_id
          format: int64
        sku:
          type: string
          title: sku
        name:
          type: string
          title: name
        description:
          type: string
          title: description
        option_1:
          type: string
          title: option_1
        option_2:
          type: string
          title: option_2
        option_3:
          type: string
          title: option_3
        option_1_name:
          type: string
          title: option_1_name
        option_2_name:
          type: string
          title: option_2_name
        option_3_name:
          type: string
          title: option_3_name
        stock_label:
          title: stock_label
          $ref: '#/components/schemas/api.order.v1.VendorStockLabel'
      title: Variant
      additionalProperties: false
    api.order.v1.VendorOrderPriceCalculation.Address:
      type: object
      properties:
        method:
          type: string
          title: method
        state_code:
          type: string
          title: state_code
        country_code:
          type: string
          title: country_code
      title: Address
      additionalProperties: false
    api.order.v1.VendorOrderPriceCalculation.Billing:
      type: object
      properties:
        ioss_number:
          type: string
          title: ioss_number
        tax_number:
          type: string
          title: tax_number
      title: Billing
      additionalProperties: false
    api.order.v1.VendorOrderPriceCalculation.FeePriceQuote:
      type: object
      properties:
        order_id:
          type: string
          title: order_id
        line_item_id:
          type: string
          title: line_item_id
        fee_code:
          type: string
          title: fee_code
        amount:
          title: amount
          $ref: '#/components/schemas/common.type.v1.Money'
      title: FeePriceQuote
      additionalProperties: false
    api.order.v1.VendorOrderPriceCalculation.GiftMessage:
      type: object
      properties:
        gift_message_id:
          type: string
          title: gift_message_id
          maxLength: 30
          minLength: 1
        content:
          type: string
          title: content
          maxLength: 300
      title: GiftMessage
      additionalProperties: false
    api.order.v1.VendorOrderPriceCalculation.Label:
      type: object
      properties:
        url:
          type: string
          title: url
      title: Label
      additionalProperties: false
    api.order.v1.VendorOrderPriceCalculation.LineItem:
      type: object
      properties:
        variant_id:
          type: string
          title: variant_id
          maxLength: 30
          minLength: 1
        quantity:
          exclusiveMinimum: 0
          type: integer
          title: quantity
          format: int32
        print_locations:
          type: array
          items:
            type: string
          title: print_locations
      title: LineItem
      additionalProperties: false
    api.order.v1.VendorOrderPriceCalculation.LineItemPriceQuote:
      type: object
      properties:
        line_sub_total:
          title: line_sub_total
          $ref: '#/components/schemas/common.type.v1.Money'
        line_tax:
          title: line_tax
          $ref: '#/components/schemas/common.type.v1.Money'
        line_fee:
          title: line_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        line_discount:
          title: line_discount
          $ref: '#/components/schemas/common.type.v1.Money'
        line_total:
          title: line_total
          $ref: '#/components/schemas/common.type.v1.Money'
        item_price:
          title: item_price
          $ref: '#/components/schemas/common.type.v1.Money'
        item_fee:
          title: item_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        item_discount:
          title: item_discount
          $ref: '#/components/schemas/common.type.v1.Money'
        item_quantity:
          type: integer
          title: item_quantity
          format: int32
        unit_base_price:
          title: unit_base_price
          $ref: '#/components/schemas/common.type.v1.Money'
      title: LineItemPriceQuote
      additionalProperties: false
    api.order.v1.VendorOrderPriceCalculation.OrderPriceQuote:
      type: object
      properties:
        order_shipping_fee:
          title: order_shipping_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        order_fee:
          title: order_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        order_tax:
          title: order_tax
          $ref: '#/components/schemas/common.type.v1.Money'
        order_sub_total:
          title: order_sub_total
          $ref: '#/components/schemas/common.type.v1.Money'
        order_total:
          title: order_total
          $ref: '#/components/schemas/common.type.v1.Money'
        order_discount:
          title: order_discount
          $ref: '#/components/schemas/common.type.v1.Money'
        line_items:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.VendorOrderPriceCalculation.LineItemPriceQuote
          title: line_items
        fees:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.VendorOrderPriceCalculation.FeePriceQuote
          title: fees
        order_gift_message_fee:
          title: order_gift_message_fee
          $ref: '#/components/schemas/common.type.v1.Money'
        order_handle_fee:
          title: order_handle_fee
          $ref: '#/components/schemas/common.type.v1.Money'
      title: OrderPriceQuote
      additionalProperties: false
    api.order.v1.VendorOrderPriceCalculation.Shipping:
      type: object
      properties:
        address:
          title: address
          $ref: >-
            #/components/schemas/api.order.v1.VendorOrderPriceCalculation.Address
        label:
          title: label
          $ref: '#/components/schemas/api.order.v1.VendorOrderPriceCalculation.Label'
      title: Shipping
      additionalProperties: false
    api.order.v1.VendorOrderTracking:
      type: object
      properties:
        tracking_no:
          type: string
          title: tracking_no
        tracking_updated_at:
          title: tracking_updated_at
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        carrier:
          type: string
          title: carrier
        service:
          type: string
          title: service
        type:
          type: string
          title: type
        label_file:
          title: label_file
          $ref: '#/components/schemas/common.type.v1.File'
        tracking_type:
          title: tracking_type
          $ref: '#/components/schemas/api.order.v1.VendorTrackingType'
        tracking_url:
          type: string
          title: tracking_url
      title: VendorOrderTracking
      additionalProperties: false
    api.order.v1.VendorPrintingOption:
      type: object
      properties:
        print_location_code:
          title: print_location_code
          $ref: >-
            #/components/schemas/api.order.v1.VendorPrintingOption.PrintLocationCode
        design_url:
          type: string
          title: design_url
      title: VendorPrintingOption
      additionalProperties: false
    api.order.v1.VendorProcessingStage:
      type: object
      properties:
        stage_id:
          type: string
          title: stage_id
        stage_name:
          type: string
          title: stage_name
        stage_started_at:
          title: stage_started_at
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        stage_completed_at:
          title: stage_completed_at
          $ref: '#/components/schemas/google.protobuf.Timestamp'
        is_completed:
          type: boolean
          title: is_completed
      title: VendorProcessingStage
      additionalProperties: false
    api.order.v1.VendorShippingOption:
      type: object
      properties:
        method:
          title: method
          $ref: '#/components/schemas/api.order.v1.VendorShippingOption.Method'
      title: VendorShippingOption
      additionalProperties: false
    api.order.v1.VendorTransactionInfo:
      type: object
      properties:
        txn_id:
          type: string
          title: txn_id
        team_id:
          type: string
          title: team_id
        method_code:
          type: string
          title: method_code
        method_icon_urls:
          type: string
          title: method_icon_urls
        list_invoice_detail:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.VendorTransactionInfo.VendorInvoiceInfo
          title: list_invoice_detail
      title: VendorTransactionInfo
      additionalProperties: false
    api.order.v1.VendorTransactionInfo.VendorInvoiceInfo:
      type: object
      properties:
        invoice_id:
          type: string
          title: invoice_id
        order_id:
          type: string
          title: order_id
        variant_name:
          type: string
          title: variant_name
        quantity:
          type:
            - integer
            - string
          title: quantity
          format: int64
        shipping_service:
          type: string
          title: shipping_service
        tracking_number:
          type: string
          title: tracking_number
        product_image_url:
          type: string
          title: product_image_url
        line_total:
          title: line_total
          $ref: '#/components/schemas/common.type.v1.Money'
      title: VendorInvoiceInfo
      additionalProperties: false
    api.order.v1.VendorUpdateOrderDraftLineItemsRequest:
      type: object
      properties:
        order_id:
          type: string
          title: order_id
          maxLength: 255
          minLength: 1
        line_items:
          type: array
          items:
            $ref: >-
              #/components/schemas/api.order.v1.VendorOrderDraftUpdateParams.LineItem
          title: line_items
          maxItems: 1000
          minItems: 1
      title: VendorUpdateOrderDraftLineItemsRequest
      additionalProperties: false
    api.order.v1.VendorUpdateOrderDraftLineItemsResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        data:
          title: data
          $ref: >-
            #/components/schemas/api.order.v1.VendorUpdateOrderDraftLineItemsResponse.Data
      title: VendorUpdateOrderDraftLineItemsResponse
      additionalProperties: false
    api.order.v1.VendorUpdateOrderDraftLineItemsResponse.Data:
      type: object
      properties:
        order_id:
          type: string
          title: order_id
      title: Data
      additionalProperties: false
    common.type.v1.File:
      type: object
      properties:
        file_name:
          type: string
          title: file_name
          maxLength: 1000
        file_path:
          type: string
          title: file_path
          maxLength: 1000
        file_url:
          type: string
          title: file_url
          maxLength: 1000
        file_id:
          type: string
          title: file_id
          maxLength: 2048
      title: File
      additionalProperties: false
    common.type.v1.LegacyPagingResponse:
      type: object
      properties:
        total:
          type:
            - integer
            - string
          title: total
          format: int64
        total_page:
          type: integer
          title: total_page
          format: int32
        offset:
          type: integer
          title: offset
          format: int32
        limit:
          type: integer
          title: limit
          format: int32
      title: LegacyPagingResponse
      additionalProperties: false
    common.type.v1.Money:
      type: object
      properties:
        currency_code:
          type: string
          title: currency_code
          description: The three-letter currency code defined in ISO 4217.
        units:
          type:
            - integer
            - string
          title: units
          format: int64
          description: |-
            The whole units of the amount.
             For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
        nanos:
          type: integer
          title: nanos
          format: int32
          description: |-
            Number of nano (10^-9) units of the amount.
             The value must be between -999,999,999 and +999,999,999 inclusive.
             If `units` is positive, `nanos` must be positive or zero.
             If `units` is zero, `nanos` can be positive, zero, or negative.
             If `units` is negative, `nanos` must be negative or zero.
             For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
      title: Money
      additionalProperties: false
      description: Represents an amount of money with its currency type.
    google.protobuf.BoolValue:
      type: boolean
      description: |-
        Wrapper message for `bool`.

         The JSON representation for `BoolValue` is JSON `true` and `false`.

         Not recommended for use in new APIs, but still useful for legacy APIs and
         has no plan to be removed.
    google.protobuf.StringValue:
      type: string
      description: |-
        Wrapper message for `string`.

         The JSON representation for `StringValue` is JSON string.

         Not recommended for use in new APIs, but still useful for legacy APIs and
         has no plan to be removed.
    api.catalog.v1.VendorCatalogVariantStockLabel:
      type: string
      title: VendorCatalogVariantStockLabel
      enum:
        - VENDOR_CATALOG_VARIANT_STOCK_LABEL_UNKNOWN
        - 0
        - VENDOR_CATALOG_VARIANT_STOCK_LABEL_IN_STOCK
        - 1
        - VENDOR_CATALOG_VARIANT_STOCK_LABEL_OUT_OF_STOCK
        - 2
        - VENDOR_CATALOG_VARIANT_STOCK_LABEL_OUT_OF_STOCK_5D
        - 3
        - VENDOR_CATALOG_VARIANT_STOCK_LABEL_DISCONTINUED
        - 4
        - VENDOR_CATALOG_VARIANT_STOCK_LABEL_ALL
        - 5
    api.catalog.v1.LegacyVendorCatalog:
      type: object
      properties:
        product_name:
          type: string
          title: product_name
        product_id:
          type: string
          title: product_id
        product_img:
          type: string
          title: product_img
        print_areas:
          type: array
          items:
            type: string
          title: print_areas
        variants:
          type: array
          items:
            $ref: '#/components/schemas/api.catalog.v1.LegacyVendorCatalogVariant'
          title: variants
      title: LegacyVendorCatalog
      additionalProperties: false
    api.catalog.v1.LegacyVendorCatalogVariant:
      type: object
      properties:
        variant_id:
          type: string
          title: variant_id
        name:
          type: string
          title: name
        size:
          type: string
          title: size
        color:
          type: string
          title: color
        hex_color_code:
          type: string
          title: hex_color_code
        price:
          type: string
          title: price
        extra_price:
          type: string
          title: extra_price
        net_price:
          type: number
          title: net_price
          format: float
        availability_status:
          type: string
          title: availability_status
        status:
          type: string
          title: status
      title: LegacyVendorCatalogVariant
      additionalProperties: false
    api.catalog.v1.LegacyVendorListCatalogStockStatusRequest:
      type: object
      properties:
        type:
          type: string
          title: type
        page:
          type: integer
          title: page
          format: int32
        limit:
          type: integer
          title: limit
          format: int32
        api_key:
          type: string
          title: api_key
          maxLength: 255
          minLength: 1
        api_signature:
          type: string
          title: api_signature
          maxLength: 255
          minLength: 1
      title: LegacyVendorListCatalogStockStatusRequest
      additionalProperties: false
    api.catalog.v1.LegacyVendorListCatalogStockStatusResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        paging:
          title: paging
          $ref: '#/components/schemas/common.type.v1.LegacyPagingResponse'
        result:
          type: array
          items:
            $ref: '#/components/schemas/api.catalog.v1.LegacyVendorCatalogVariant'
          title: result
      title: LegacyVendorListCatalogStockStatusResponse
      additionalProperties: false
    api.catalog.v1.LegacyVendorListCatalogVariantRequest:
      type: object
      properties:
        page:
          type: integer
          title: page
          format: int32
        limit:
          type: integer
          title: limit
          format: int32
        api_key:
          type: string
          title: api_key
          maxLength: 255
          minLength: 1
        api_signature:
          type: string
          title: api_signature
          maxLength: 255
          minLength: 1
      title: LegacyVendorListCatalogVariantRequest
      additionalProperties: false
    api.catalog.v1.LegacyVendorListCatalogVariantResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        paging:
          title: paging
          $ref: '#/components/schemas/common.type.v1.LegacyPagingResponse'
        result:
          type: array
          items:
            $ref: '#/components/schemas/api.catalog.v1.LegacyVendorCatalog'
          title: result
      title: LegacyVendorListCatalogVariantResponse
      additionalProperties: false
    api.catalog.v1.VendorCatalog:
      type: object
      properties:
        product_id:
          type: string
          title: product_id
        product_name:
          type: string
          title: product_name
        product_avatar_url:
          type: string
          title: product_avatar_url
        print_locations:
          type: array
          items:
            $ref: '#/components/schemas/api.catalog.v1.VendorCatalogPrintLocation'
          title: print_locations
        variants:
          type: array
          items:
            $ref: '#/components/schemas/api.catalog.v1.VendorCatalogVariant'
          title: variants
      title: VendorCatalog
      additionalProperties: false
    api.catalog.v1.VendorCatalogFilter:
      type: object
      properties:
        product_ids:
          type: array
          items:
            type: string
            maxLength: 100
            minLength: 1
          title: product_ids
        search_text:
          type: string
          title: search_text
          maxLength: 100
      title: VendorCatalogFilter
      additionalProperties: false
    api.catalog.v1.VendorCatalogPrintLocation:
      type: object
      properties:
        code:
          type: string
          title: code
        name:
          type: string
          title: name
        location_id:
          type: integer
          title: location_id
          format: int32
      title: VendorCatalogPrintLocation
      additionalProperties: false
    api.catalog.v1.VendorCatalogVariant:
      type: object
      properties:
        variant_id:
          type: string
          title: variant_id
        name:
          type: string
          title: name
        size:
          type: string
          title: size
        color:
          type: string
          title: color
        hex_color_code:
          type: string
          title: hex_color_code
        price:
          title: price
          $ref: '#/components/schemas/common.type.v1.Money'
        recommended_price:
          title: recommended_price
          $ref: '#/components/schemas/common.type.v1.Money'
        extra_price:
          title: extra_price
          $ref: '#/components/schemas/common.type.v1.Money'
        stock_label:
          title: stock_label
          $ref: '#/components/schemas/api.catalog.v1.VendorCatalogVariantStockLabel'
        product:
          title: product
          $ref: '#/components/schemas/api.catalog.v1.VendorCatalog'
        legacy_variant_id:
          type: integer
          title: legacy_variant_id
          format: int32
      title: VendorCatalogVariant
      additionalProperties: false
    api.catalog.v1.VendorCatalogVariantFilter:
      type: object
      properties:
        product_ids:
          type: array
          items:
            type: string
            maxLength: 100
            minLength: 1
          title: product_ids
        variant_ids:
          type: array
          items:
            type: string
            maxLength: 100
            minLength: 1
          title: variant_ids
        skus:
          type: array
          items:
            type: string
            maxLength: 100
            minLength: 1
          title: skus
        sizes:
          type: array
          items:
            type: string
            maxLength: 100
            minLength: 1
          title: sizes
        size_codes:
          type: array
          items:
            type: string
            maxLength: 100
            minLength: 1
          title: size_codes
        colors:
          type: array
          items:
            type: string
            maxLength: 100
            minLength: 1
          title: colors
        color_codes:
          type: array
          items:
            type: string
            maxLength: 100
            minLength: 1
          title: color_codes
        stock_labels:
          type: array
          items:
            $ref: '#/components/schemas/api.catalog.v1.VendorCatalogVariantStockLabel'
          title: stock_labels
        search_text:
          type: string
          title: search_text
        legacy_variant_ids:
          type: array
          items:
            type: integer
            format: int32
          title: legacy_variant_ids
      title: VendorCatalogVariantFilter
      additionalProperties: false
    api.catalog.v1.VendorListCatalogRequest:
      type: object
      properties:
        filter:
          title: filter
          $ref: '#/components/schemas/api.catalog.v1.VendorCatalogFilter'
        paging:
          title: paging
          $ref: '#/components/schemas/common.type.v1.Paging'
      title: VendorListCatalogRequest
      additionalProperties: false
    api.catalog.v1.VendorListCatalogResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        paging:
          title: paging
          $ref: '#/components/schemas/common.type.v1.PagingResponse'
        data:
          type: array
          items:
            $ref: '#/components/schemas/api.catalog.v1.VendorCatalog'
          title: data
      title: VendorListCatalogResponse
      additionalProperties: false
    api.catalog.v1.VendorListCatalogVariantRequest:
      type: object
      properties:
        filter:
          title: filter
          $ref: '#/components/schemas/api.catalog.v1.VendorCatalogVariantFilter'
        paging:
          title: paging
          $ref: '#/components/schemas/common.type.v1.Paging'
      title: VendorListCatalogVariantRequest
      additionalProperties: false
    api.catalog.v1.VendorListCatalogVariantResponse:
      type: object
      properties:
        status:
          type: string
          title: status
        message:
          type: string
          title: message
        paging:
          title: paging
          $ref: '#/components/schemas/common.type.v1.PagingResponse'
        data:
          type: array
          items:
            $ref: '#/components/schemas/api.catalog.v1.VendorCatalogVariant'
          title: data
      title: VendorListCatalogVariantResponse
      additionalProperties: false
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      in: header
      name: Authorization
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    CookieAuth:
      type: apiKey
      scheme: bearer
      in: cookie
      name: accessToken
x-tagGroups:
  - name: Webhook
    tags:
      - api.webhook.v1.VendorWebhookAPI
      - api.webhook.v1.LegacyVendorWebhookAPI
  - name: Order
    tags:
      - api.order.v1.VendorOrderAPI
      - api.order.v1.LegacyVendorOrderAPI
  - name: Catalog
    tags:
      - api.catalog.v1.VendorCatalogAPI
      - api.catalog.v1.LegacyVendorCatalogAPI
