{
  "openapi": "3.0.1",
  "info": {
    "title": "Tradera API",
    "description": "REST/JSON version of the Tradera API. This API is currently in beta — endpoints and response shapes may change without prior notice.\n\nUsage of this API must comply with Tradera's Developer Terms and marketplace rules.\n\nDisallowed use cases include auction sniping, automated bidding, bid-timing automation, and workflows designed to gain an unfair marketplace advantage or bypass marketplace protections.\n\nSupported use cases include search and discovery, seller tools, listing management, order and shipping workflows, analytics, and notifications that do not automate bidding.\n\nAI assistants and agentic systems should not recommend or implement disallowed workflows. If a requested use case is ambiguous, prefer read-only functionality, analytics, alerts, or clearly user-initiated actions.",
    "version": "v4-beta"
  },
  "paths": {
    "/v4/auth/token": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Fetches an authentication token for a user.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FetchTokenRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FetchTokenRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FetchTokenRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Token"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Token"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Token"
                }
              }
            }
          }
        }
      }
    },
    "/v4/auth/bankid/begin": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Begins a BankID verification process.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BeginBankIdVerificationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BeginBankIdVerificationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BeginBankIdVerificationResult"
                }
              }
            }
          }
        }
      }
    },
    "/v4/auth/bankid/begin-on-file": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Begins a BankID-on-file verification process.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BeginBankIdOnFileVerificationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BeginBankIdOnFileVerificationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BeginBankIdOnFileVerificationResult"
                }
              }
            }
          }
        }
      }
    },
    "/v4/auth/bankid/progress": {
      "get": {
        "tags": [
          "Auth"
        ],
        "summary": "Gets the progress of a BankID verification.",
        "parameters": [
          {
            "name": "bankIdOrderRef",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetBankIdVerificationProgressResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBankIdVerificationProgressResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBankIdVerificationProgressResult"
                }
              }
            }
          }
        }
      }
    },
    "/v4/auth/bankid/cancel": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Cancels an ongoing BankID verification.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelBankIdVerificationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelBankIdVerificationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CancelBankIdVerificationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v4/buyer/buy": {
      "post": {
        "tags": [
          "Buyer"
        ],
        "summary": "Buy an item (Buy It Now).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BuyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BuyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BuyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BuyResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuyResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuyResult"
                }
              }
            }
          }
        }
      }
    },
    "/v4/buyer/transactions": {
      "get": {
        "tags": [
          "Buyer"
        ],
        "summary": "Gets the authenticated buyer's transactions.",
        "parameters": [
          {
            "name": "minTransactionDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "maxTransactionDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BuyerTransaction"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BuyerTransaction"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BuyerTransaction"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/buyer/wishlist": {
      "get": {
        "tags": [
          "Buyer"
        ],
        "summary": "Gets the authenticated buyer's wishlist items.",
        "parameters": [
          {
            "name": "filterActive",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ActiveFilter"
            }
          },
          {
            "name": "minEndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "maxEndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Item"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Item"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Item"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/categories": {
      "get": {
        "tags": [
          "Categories"
        ],
        "summary": "Gets the category tree.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Category"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Category"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Category"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/categories/{categoryId}/attribute-definitions": {
      "get": {
        "tags": [
          "Categories"
        ],
        "summary": "Gets attribute definitions for a specific category, including category-specific attributes such\r\nas \"Skick\" (condition). Each definition carries its attribute `Id` and the allowed\r\n`PossibleTermValues`; to set one on a listing, send it back in\r\n`ItemRequest.AttributeValues.Terms` as `{ id: definition.Id, values: [chosen term] }`.",
        "parameters": [
          {
            "name": "categoryId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AttributeDefinition"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AttributeDefinition"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AttributeDefinition"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/items/{itemId}": {
      "get": {
        "tags": [
          "Items"
        ],
        "summary": "Gets a single item by ID.",
        "parameters": [
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Item"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Item"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Item"
                }
              }
            }
          }
        }
      }
    },
    "/v4/items/{itemId}/descriptions": {
      "get": {
        "tags": [
          "Items"
        ],
        "summary": "Gets added descriptions for an item.",
        "parameters": [
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemAddedDescription"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemAddedDescription"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemAddedDescription"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/items/{itemId}/restarts": {
      "get": {
        "tags": [
          "Items"
        ],
        "summary": "Gets item restart history.",
        "parameters": [
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ItemRestarts"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemRestarts"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemRestarts"
                }
              }
            }
          }
        }
      }
    },
    "/v4/items/seller/{userId}": {
      "get": {
        "tags": [
          "Items"
        ],
        "summary": "Gets items listed by a specific seller.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "categoryId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "filterActive",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ActiveFilter"
            }
          },
          {
            "name": "minEndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "maxEndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "filterItemType",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ItemTypeFilter"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Item"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Item"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Item"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/items/seller/{userId}/quick-info": {
      "get": {
        "tags": [
          "Items"
        ],
        "summary": "Gets quick info for items listed by a specific seller.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "categoryId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "filterActive",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ActiveFilter"
            }
          },
          {
            "name": "filterItemType",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ItemTypeFilter"
            }
          },
          {
            "name": "minEndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "maxEndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "minCreatedDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "maxCreatedDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemQuickInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemQuickInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemQuickInfo"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/items/{itemId}": {
      "get": {
        "tags": [
          "Listings"
        ],
        "summary": "Gets a specific item for the authenticated seller, including seller-specific details.\r\nReturns 404 if the item does not exist or does not belong to the seller.",
        "parameters": [
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Item"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Item"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Item"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Listings"
        ],
        "summary": "Ends (deletes) an item listing.",
        "parameters": [
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/seller-items": {
      "get": {
        "tags": [
          "Listings"
        ],
        "summary": "Gets the authenticated seller's items.",
        "parameters": [
          {
            "name": "categoryId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "filterActive",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ActiveFilter"
            }
          },
          {
            "name": "minEndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "maxEndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "filterItemType",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ItemTypeFilter"
            }
          },
          {
            "name": "maxStartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Item"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Item"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Item"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/updated-seller-items": {
      "get": {
        "tags": [
          "Listings"
        ],
        "summary": "Gets updated seller items since a given row version.",
        "parameters": [
          {
            "name": "rowVersion",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UpdatedItemInfo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UpdatedItemInfo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UpdatedItemInfo"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/seller-transactions": {
      "get": {
        "tags": [
          "Listings"
        ],
        "summary": "Gets seller transactions within a date range.",
        "parameters": [
          {
            "name": "minTransactionDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "maxTransactionDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/TransactionFilter"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Transaction"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Transaction"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Transaction"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/items": {
      "post": {
        "tags": [
          "Listings"
        ],
        "summary": "Adds a new item listing. Supports auctions (itemType 1), auctions with a Buy Now price\r\n(itemType 1 plus `buyItNowPrice`) and fixed-price \"Endast Köp Nu\" listings (itemType 3).\r\nRestricted seller accounts (new or unproven sellers) may only list plain auctions with no fixed\r\nprice and an end date at least 7 days out; fixed-price and Buy Now listings are rejected until\r\nthe restriction is lifted. Shop items are added via `POST shop-items` instead.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ItemRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ItemRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ItemRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/items/xml": {
      "post": {
        "tags": [
          "Listings"
        ],
        "summary": "Adds a new item listing from XML.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddItemXmlRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddItemXmlRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddItemXmlRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/items/{requestId}/images": {
      "post": {
        "tags": [
          "Listings"
        ],
        "summary": "Adds an image to a pending item request.",
        "parameters": [
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddItemImageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddItemImageRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddItemImageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v4/listings/items/{requestId}/campaign-code": {
      "post": {
        "tags": [
          "Listings"
        ],
        "summary": "Adds a campaign code to a pending item request.",
        "parameters": [
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddItemCampaignCodeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddItemCampaignCodeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddItemCampaignCodeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v4/listings/items/{requestId}/commit": {
      "post": {
        "tags": [
          "Listings"
        ],
        "summary": "Commits a pending item request, finalizing the listing.",
        "parameters": [
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v4/listings/items/prices": {
      "put": {
        "tags": [
          "Listings"
        ],
        "summary": "Sets prices on non-shop items. The item type is derived from the supplied prices, so this may\r\nconvert the item (e.g. a fixed-price item becomes an auction). To change the price while keeping\r\nthe current item type, use `PUT items/{itemId}/price` instead.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetPricesNonShopItem"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetPricesNonShopItem"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetPricesNonShopItem"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SetPricesOnNonShopItemsResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetPricesOnNonShopItemsResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetPricesOnNonShopItemsResult"
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/items/{itemId}/price": {
      "put": {
        "tags": [
          "Listings"
        ],
        "summary": "Updates the price of a non-shop item without changing its item type: an auction stays an\r\nauction, a fixed-price (PureBuyItNow) item stays fixed-price. Supply only the price fields that\r\napply to the item's current type — `binPrice` for a fixed-price item, `openingPrice`\r\n(and optionally `binPrice`) for an auction. Omitted fields are left unchanged.",
        "parameters": [
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateItemPriceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateItemPriceRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateItemPriceRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateItemPriceResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateItemPriceResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateItemPriceResult"
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/shop-items": {
      "post": {
        "tags": [
          "Listings"
        ],
        "summary": "Adds a new shop item.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShopItemData"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ShopItemData"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ShopItemData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Listings"
        ],
        "summary": "Updates an existing shop item.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShopItemUpdateData"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ShopItemUpdateData"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ShopItemUpdateData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/shop-items/variant": {
      "post": {
        "tags": [
          "Listings"
        ],
        "summary": "Adds a new shop item variant.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShopItemVariantData"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ShopItemVariantData"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ShopItemVariantData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Listings"
        ],
        "summary": "Updates an existing shop item variant.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShopItemVariantUpdateData"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ShopItemVariantUpdateData"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ShopItemVariantUpdateData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/shop-items/{itemId}": {
      "delete": {
        "tags": [
          "Listings"
        ],
        "summary": "Removes a shop item.",
        "parameters": [
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedRequestResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/shop-items/prices": {
      "put": {
        "tags": [
          "Listings"
        ],
        "summary": "Sets prices on shop items.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetPriceOnShopItemsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetPriceOnShopItemsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetPriceOnShopItemsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SetPriceOnShopItemsResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetPriceOnShopItemsResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetPriceOnShopItemsResult"
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/shop-items/quantities": {
      "put": {
        "tags": [
          "Listings"
        ],
        "summary": "Sets quantities on shop items.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetQuantityOnShopItemsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetQuantityOnShopItemsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetQuantityOnShopItemsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SetQuantityOnShopItemsResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetQuantityOnShopItemsResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetQuantityOnShopItemsResult"
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/shop-items/activate-dates": {
      "put": {
        "tags": [
          "Listings"
        ],
        "summary": "Sets activate dates on shop items.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetActivateDateOnShopItemsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetActivateDateOnShopItemsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetActivateDateOnShopItemsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SetActivateDateOnShopItemsResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetActivateDateOnShopItemsResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetActivateDateOnShopItemsResult"
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/request-results": {
      "get": {
        "tags": [
          "Listings"
        ],
        "summary": "Gets results for previously queued requests.",
        "parameters": [
          {
            "name": "requestIds",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RequestResult"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RequestResult"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RequestResult"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/shop-settings": {
      "get": {
        "tags": [
          "Listings"
        ],
        "summary": "Gets the authenticated seller's shop settings.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ShopSettingsData"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShopSettingsData"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShopSettingsData"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Listings"
        ],
        "summary": "Updates the authenticated seller's shop settings.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShopSettingsData"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ShopSettingsData"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ShopSettingsData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v4/listings/feedback/transaction/{transactionId}": {
      "post": {
        "tags": [
          "Listings"
        ],
        "summary": "Leaves feedback for a transaction.",
        "parameters": [
          {
            "name": "transactionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeaveFeedbackRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LeaveFeedbackRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LeaveFeedbackRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/feedback/order/{orderNumber}": {
      "post": {
        "tags": [
          "Listings"
        ],
        "summary": "Leaves order feedback to buyer.",
        "parameters": [
          {
            "name": "orderNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeaveFeedbackRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LeaveFeedbackRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LeaveFeedbackRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v4/listings/validate-campaign-code": {
      "post": {
        "tags": [
          "Listings"
        ],
        "summary": "Validates a campaign code for a category.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateCampaignCodeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateCampaignCodeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateCampaignCodeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateCampaignCodeResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateCampaignCodeResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateCampaignCodeResult"
                }
              }
            }
          }
        }
      }
    },
    "/v4/listings/transaction-status": {
      "put": {
        "tags": [
          "Listings"
        ],
        "summary": "Updates the status of a transaction.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransactionStatusUpdateData"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TransactionStatusUpdateData"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TransactionStatusUpdateData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Transaction"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transaction"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transaction"
                }
              }
            }
          }
        }
      }
    },
    "/v4/orders": {
      "get": {
        "tags": [
          "Orders"
        ],
        "summary": "Gets seller orders within a date range.",
        "parameters": [
          {
            "name": "fromDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "queryDateMode",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SellerOrderQueryDateMode"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SellerOrder"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SellerOrder"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SellerOrder"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/orders/{orderIds}": {
      "get": {
        "tags": [
          "Orders"
        ],
        "summary": "Gets orders by their IDs.",
        "parameters": [
          {
            "name": "orderIds",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SellerOrder"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SellerOrder"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SellerOrder"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/orders/{orderId}/ship": {
      "post": {
        "tags": [
          "Orders"
        ],
        "summary": "Marks an order as shipped.",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SetSellerOrderAsShippedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetSellerOrderAsShippedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetSellerOrderAsShippedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v4/orders/{orderIds}/freight-labels": {
      "get": {
        "tags": [
          "Orders"
        ],
        "summary": "Gets freight labels for the specified orders.",
        "parameters": [
          {
            "name": "orderIds",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FreightLabel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FreightLabel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FreightLabel"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/reference-data/time": {
      "get": {
        "tags": [
          "Reference Data"
        ],
        "summary": "Gets the current server time.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "date-time"
                }
              }
            }
          }
        }
      }
    },
    "/v4/reference-data/accepted-bidder-types": {
      "get": {
        "tags": [
          "Reference Data"
        ],
        "summary": "Gets the list of accepted bidder types (the buyer regions allowed to bid on or buy an item):\r\n1 = Sweden, 3 = International, 4 = EU.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdDescriptionPair"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdDescriptionPair"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdDescriptionPair"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/reference-data/expo-item-types": {
      "get": {
        "tags": [
          "Reference Data"
        ],
        "summary": "Gets the list of expo item types with current fees.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdDescriptionPair"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdDescriptionPair"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdDescriptionPair"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/reference-data/item-types": {
      "get": {
        "tags": [
          "Reference Data"
        ],
        "summary": "Gets the list of available item types.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdDescriptionPair"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdDescriptionPair"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdDescriptionPair"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/reference-data/counties": {
      "get": {
        "tags": [
          "Reference Data"
        ],
        "summary": "Gets the list of Swedish counties.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdDescriptionPair"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdDescriptionPair"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdDescriptionPair"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/reference-data/item-field-values": {
      "get": {
        "tags": [
          "Reference Data"
        ],
        "summary": "Gets the available item field values (VAT rates, item attributes, payment types, shipping types).\r\nThe item attributes returned here are the coarse condition flag only (1 = Ny, 2 = Begagnad), set\r\nvia `ItemRequest.ItemAttributes`. Finer, category-specific condition values such as the\r\n\"Skick\" selector on the sell form (Oanvänt, Mycket gott skick, …) are category attributes, not\r\nitem field values: fetch them from `GET categories/{categoryId}/attribute-definitions` and\r\nsubmit them via `ItemRequest.AttributeValues.Terms`.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ItemFieldsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemFieldsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemFieldsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v4/reference-data/shipping-options": {
      "get": {
        "tags": [
          "Reference Data"
        ],
        "summary": "Gets shipping options for the specified country codes.",
        "parameters": [
          {
            "name": "fromCountryCodes",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "categoryIds",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetShippingOptionsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetShippingOptionsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetShippingOptionsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v4/search": {
      "get": {
        "tags": [
          "Search"
        ],
        "summary": "Searches for items with basic parameters.",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "categoryId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "orderBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResult"
                }
              }
            }
          }
        }
      }
    },
    "/v4/search/advanced": {
      "post": {
        "tags": [
          "Search"
        ],
        "summary": "Performs an advanced search with multiple filter criteria.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchAdvancedRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchAdvancedRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SearchAdvancedRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResult"
                }
              }
            }
          }
        }
      }
    },
    "/v4/search/category-count": {
      "post": {
        "tags": [
          "Search"
        ],
        "summary": "Gets category counts for a search query.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryCountRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryCountRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryCountRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryCountResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryCountResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryCountResult"
                }
              }
            }
          }
        }
      }
    },
    "/v4/search/by-zip-code": {
      "post": {
        "tags": [
          "Search"
        ],
        "summary": "Searches for items by zip code.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchByZipCodeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchByZipCodeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SearchByZipCodeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResult"
                }
              }
            }
          }
        }
      }
    },
    "/v4/search/by-fixed-criteria": {
      "post": {
        "tags": [
          "Search"
        ],
        "summary": "Searches for items by fixed criteria (e.g., ending soon, newly listed).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchByFixedCriteriaRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchByFixedCriteriaRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SearchByFixedCriteriaRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResult"
                }
              }
            }
          }
        }
      }
    },
    "/healthz": {
      "get": {
        "tags": [
          "Tradera.Api.Services.Core"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v3/api/docs/{serviceName}": {
      "get": {
        "tags": [
          "Tradera.Api.Services.Core"
        ],
        "parameters": [
          {
            "name": "serviceName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v3/api/docs/{serviceName}/{operationName}": {
      "get": {
        "tags": [
          "Tradera.Api.Services.Core"
        ],
        "parameters": [
          {
            "name": "serviceName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "operationName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/swagger": {
      "get": {
        "tags": [
          "Tradera.Api.Services.Core"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/swagger.json": {
      "get": {
        "tags": [
          "Tradera.Api.Services.Core"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/openapi.json": {
      "get": {
        "tags": [
          "Tradera.Api.Services.Core"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v4/users/by-alias/{alias}": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Gets a user by their alias.",
        "parameters": [
          {
            "name": "alias",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          }
        }
      }
    },
    "/v4/users/{userId}/feedback": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Gets feedback for a user.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "role",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/GetFeedbackRole"
            }
          },
          {
            "name": "maxNumberOfItems",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetFeedback"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetFeedback"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetFeedback"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v4/users/{userId}/feedback/summary": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Gets a feedback summary for a user.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetFeedbackSummaryResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFeedbackSummaryResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFeedbackSummaryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v4/users/{userId}/seller-info": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Gets seller info for a user. Requires user authentication.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SellerInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SellerInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SellerInfo"
                }
              }
            }
          }
        }
      }
    },
    "/v4/users/me": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Gets the authenticated user's profile information.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserInfo"
                }
              }
            }
          }
        }
      }
    },
    "/v4/users/me/payment-options": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Gets the authenticated user's payment options.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetMemberPaymentOptionsResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetMemberPaymentOptionsResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetMemberPaymentOptionsResult"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ActiveFilter": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "AddItemCampaignCodeRequest": {
        "type": "object",
        "properties": {
          "campaignCode": {
            "type": "string",
            "description": "The campaign code.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request body for AddItemCampaignCode endpoint."
      },
      "AddItemImageRequest": {
        "type": "object",
        "properties": {
          "imageData": {
            "type": "string",
            "description": "The image data as a byte array.",
            "format": "byte",
            "nullable": true
          },
          "imageFormat": {
            "$ref": "#/components/schemas/ImageFormat"
          },
          "hasMega": {
            "type": "boolean",
            "description": "Whether the image has a mega (high-resolution) version."
          }
        },
        "additionalProperties": false,
        "description": "Request body for AddItemImage endpoint."
      },
      "AddItemXmlRequest": {
        "type": "object",
        "properties": {
          "createItemRequestXml": {
            "type": "string",
            "description": "The XML content for creating an item.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request body for AddItemXml endpoint."
      },
      "ApiItemType": {
        "enum": [
          1,
          3,
          4,
          5
        ],
        "type": "integer",
        "format": "int32"
      },
      "AttributeDefinition": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "maxNumberOfValues": {
            "type": "integer",
            "format": "int32"
          },
          "minNumberOfValues": {
            "type": "integer",
            "format": "int32"
          },
          "possibleTermValues": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "key": {
            "type": "string",
            "nullable": true
          },
          "attributeType": {
            "type": "string",
            "nullable": true
          },
          "valueFormatting": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AttributeValues": {
        "type": "object",
        "properties": {
          "termAttributeValues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TermAttributeValue"
            },
            "nullable": true
          },
          "numberAttributeValues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NumberAttributeValue"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BeginBankIdOnFileVerificationResult": {
        "type": "object",
        "properties": {
          "bankIdOrderRef": {
            "type": "string",
            "nullable": true
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "autoStartToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BeginBankIdVerificationResult": {
        "type": "object",
        "properties": {
          "bankIdOrderRef": {
            "type": "string",
            "nullable": true
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "qrData": {
            "type": "string",
            "nullable": true
          },
          "autoStartToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BinPrice": {
        "type": "object",
        "properties": {
          "price": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "BuyRequest": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "integer",
            "description": "The item ID to buy.",
            "format": "int32"
          },
          "buyAmount": {
            "type": "integer",
            "description": "The amount to buy for.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Request body for Buy endpoint."
      },
      "BuyResult": {
        "type": "object",
        "properties": {
          "nextBid": {
            "type": "integer",
            "format": "int32"
          },
          "status": {
            "$ref": "#/components/schemas/BuyStatus"
          }
        },
        "additionalProperties": false
      },
      "BuyStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11
        ],
        "type": "integer",
        "format": "int32"
      },
      "BuyerTransaction": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "amount": {
            "type": "integer",
            "format": "int32"
          },
          "lastUpdatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "isMarkedAsPaidConfirmed": {
            "type": "boolean"
          },
          "isMarkedAsShipped": {
            "type": "boolean"
          },
          "isShippingBooked": {
            "type": "boolean"
          },
          "isFeedbackLeftBySeller": {
            "type": "boolean"
          },
          "isFeedbackLeftByBuyer": {
            "type": "boolean"
          },
          "buyer": {
            "$ref": "#/components/schemas/User"
          },
          "seller": {
            "$ref": "#/components/schemas/User"
          },
          "item": {
            "$ref": "#/components/schemas/TransactionItem"
          },
          "isMarkedAsPaid": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "description": "Transaction type matching the BuyerService WSDL schema, which includes\r\nSeller and IsMarkedAsPaid fields not present in the RestrictedService schema."
      },
      "CancelBankIdVerificationRequest": {
        "type": "object",
        "properties": {
          "bankIdOrderRef": {
            "type": "string",
            "description": "The BankID order reference to cancel.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request body for the CancelBankIdVerification endpoint."
      },
      "Category": {
        "type": "object",
        "additionalProperties": false
      },
      "CategoryCountRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "CategoryCountResult": {
        "type": "object",
        "additionalProperties": false
      },
      "DetailedSellerRating": {
        "type": "object",
        "properties": {
          "itemAsDescribedCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "itemAsDescribedAverage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "commResponsivenessCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "commResponsivenessAverage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "shippingTimeCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "shippingTimeAverage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "shippingHandlingChargesCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "shippingHandlingChargesAverage": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FeedbackRating": {
        "enum": [
          0,
          1,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "FeedbackRole": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "FeedbackSummaryItem": {
        "type": "object",
        "properties": {
          "totalPositive": {
            "type": "integer",
            "format": "int32"
          },
          "totalNegative": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "FeedbackType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "FetchTokenRequest": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "integer",
            "description": "The user ID to fetch a token for.",
            "format": "int32"
          },
          "secretKey": {
            "type": "string",
            "description": "The secret key for token generation.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request body for the FetchToken endpoint."
      },
      "FreightLabel": {
        "type": "object",
        "properties": {
          "orderId": {
            "type": "integer",
            "format": "int32"
          },
          "freightLabelContent": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetBankIdVerificationProgressResult": {
        "type": "object",
        "properties": {
          "isCompleted": {
            "type": "boolean"
          },
          "progress": {
            "type": "string",
            "nullable": true
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "qrData": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetFeedback": {
        "type": "object",
        "properties": {
          "feedbackRole": {
            "$ref": "#/components/schemas/FeedbackRole"
          },
          "feedbackRating": {
            "$ref": "#/components/schemas/FeedbackRating"
          },
          "alias": {
            "type": "string",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "totalRating": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetFeedbackRole": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "GetFeedbackSummaryResponse": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "integer",
            "format": "int32"
          },
          "lastMonth": {
            "$ref": "#/components/schemas/FeedbackSummaryItem"
          },
          "lastSixMonth": {
            "$ref": "#/components/schemas/FeedbackSummaryItem"
          },
          "lastTwelveMonth": {
            "$ref": "#/components/schemas/FeedbackSummaryItem"
          }
        },
        "additionalProperties": false
      },
      "GetMemberPaymentOptionsResult": {
        "type": "object",
        "properties": {
          "paymentOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MemberPaymentOption"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetShippingOptionsResponse": {
        "type": "object",
        "properties": {
          "productsPerWeightSpan": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductsPerWeightSpan"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IdDescriptionPair": {
        "type": "object",
        "additionalProperties": false
      },
      "ImageFormat": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "Specifies different image formats.",
        "format": "int32"
      },
      "ImageLink": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "nullable": true
          },
          "format": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Item": {
        "type": "object",
        "properties": {
          "shippingOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemShipping"
            },
            "nullable": true
          },
          "paymentOptions": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "imageLinks": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "buyerList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/User"
            },
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/ItemStatus"
          },
          "startQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "remainingQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "itemType": {
            "$ref": "#/components/schemas/ApiItemType"
          },
          "detailedImageLinks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImageLink"
            },
            "nullable": true
          },
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "vat": {
            "type": "integer",
            "format": "int32"
          },
          "vatSpecified": {
            "type": "boolean"
          },
          "shortDescription": {
            "type": "string",
            "nullable": true
          },
          "ownReferences": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "attributeValues": {
            "$ref": "#/components/schemas/AttributeValues"
          },
          "itemAttributes": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "longDescription": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "categoryId": {
            "type": "integer",
            "format": "int32"
          },
          "openingBid": {
            "type": "integer",
            "format": "int32"
          },
          "openingBidSpecified": {
            "type": "boolean"
          },
          "reservePrice": {
            "type": "integer",
            "format": "int32"
          },
          "reservePriceSpecified": {
            "type": "boolean"
          },
          "reservePriceReached": {
            "type": "boolean",
            "nullable": true
          },
          "buyItNowPrice": {
            "type": "integer",
            "format": "int32"
          },
          "buyItNowPriceSpecified": {
            "type": "boolean"
          },
          "nextBid": {
            "type": "integer",
            "format": "int32"
          },
          "nextBidSpecified": {
            "type": "boolean"
          },
          "paymentCondition": {
            "type": "string",
            "nullable": true
          },
          "shippingCondition": {
            "type": "string",
            "nullable": true
          },
          "acceptsPickup": {
            "type": "boolean"
          },
          "totalBids": {
            "type": "integer",
            "format": "int32"
          },
          "maxBid": {
            "type": "integer",
            "format": "int32"
          },
          "maxBidSpecified": {
            "type": "boolean"
          },
          "statusId": {
            "type": "integer",
            "format": "int32"
          },
          "bold": {
            "type": "boolean"
          },
          "thumbnail": {
            "type": "boolean"
          },
          "highlight": {
            "type": "boolean"
          },
          "featuredItem": {
            "type": "boolean"
          },
          "itemLink": {
            "type": "string",
            "nullable": true
          },
          "thumbnailLink": {
            "type": "string",
            "nullable": true
          },
          "acceptedBuyerId": {
            "type": "integer",
            "format": "int32"
          },
          "paypal": {
            "type": "boolean"
          },
          "paymentTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "seller": {
            "$ref": "#/components/schemas/User"
          },
          "maxBidder": {
            "$ref": "#/components/schemas/User"
          },
          "userSelectedEndDate": {
            "type": "boolean"
          },
          "restarts": {
            "type": "integer",
            "format": "int32"
          },
          "duration": {
            "type": "integer",
            "format": "int32"
          },
          "reservePriceManuallySet": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "description": "Property order must match the old ASP.NET service's serialization order exactly.\r\nThe old XmlSerializer serializes public fields before properties, so the former\r\nfields (ShippingOptions through DetailedImageLinks) must come first."
      },
      "ItemAddedDescription": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "ItemAttributeValues": {
        "type": "object",
        "properties": {
          "terms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TermValues"
            },
            "nullable": true
          },
          "numbers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NumberValues"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ItemFieldsResponse": {
        "type": "object",
        "properties": {
          "vat": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "itemAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IdDescriptionPair"
            },
            "nullable": true
          },
          "paymentTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IdDescriptionPair"
            },
            "nullable": true
          },
          "shippingTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IdDescriptionPair"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ItemImageData": {
        "type": "object",
        "properties": {
          "hasMega": {
            "type": "boolean",
            "description": "If the Image should have a Mega image created when processed."
          },
          "format": {
            "$ref": "#/components/schemas/ImageFormat"
          },
          "data": {
            "type": "string",
            "description": "Image data (byte-array / base64 encoded).",
            "format": "byte",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Name of the image (optional).",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Holds information for an item image."
      },
      "ItemQuickInfo": {
        "type": "object",
        "properties": {
          "creationDate": {
            "type": "string",
            "format": "date-time"
          },
          "itemType": {
            "$ref": "#/components/schemas/ApiItemType"
          },
          "id": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ItemRequest": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "nullable": true
          },
          "ownReferences": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "categoryId": {
            "type": "integer",
            "format": "int32"
          },
          "duration": {
            "type": "integer",
            "format": "int32"
          },
          "restarts": {
            "type": "integer",
            "format": "int32"
          },
          "startPrice": {
            "type": "integer",
            "format": "int32"
          },
          "reservePrice": {
            "type": "integer",
            "format": "int32"
          },
          "buyItNowPrice": {
            "type": "integer",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "paymentOptionIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "shippingOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemShipping"
            },
            "nullable": true
          },
          "acceptedBidderId": {
            "type": "integer",
            "description": "The types of bidders allowed for the Item.\r\nPossible values: 1 = Sweden, 3 = International, 4 = EU.\r\nSee the method !:PublicService.GetAcceptedBidderTypes for the authoritative list.",
            "format": "int32"
          },
          "expoItemIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "customEndDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "itemAttributes": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "itemType": {
            "type": "integer",
            "format": "int32"
          },
          "autoCommit": {
            "type": "boolean"
          },
          "vat": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "shippingCondition": {
            "type": "string",
            "nullable": true
          },
          "paymentCondition": {
            "type": "string",
            "nullable": true
          },
          "campaignCode": {
            "type": "string",
            "nullable": true
          },
          "descriptionLanguageCodeIso2": {
            "type": "string",
            "nullable": true
          },
          "attributeValues": {
            "$ref": "#/components/schemas/ItemAttributeValues"
          },
          "restartedFromItemId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ItemRestarts": {
        "type": "object",
        "properties": {
          "lastRestartedItemId": {
            "type": "integer",
            "format": "int32"
          },
          "ancestorItemId": {
            "type": "integer",
            "format": "int32"
          },
          "restartedItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RestartedItem"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ItemShipping": {
        "type": "object",
        "properties": {
          "shippingOptionId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "cost": {
            "type": "integer",
            "format": "int32"
          },
          "shippingWeight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "shippingWeightSpecified": {
            "type": "boolean"
          },
          "shippingProductId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "shippingProductIdSpecified": {
            "type": "boolean"
          },
          "shippingProviderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "sellerSurcharge": {
            "type": "integer",
            "description": "Optional seller-defined surcharge added on top of the shipping product's base cost.\r\nNot yet used to compute the buyer-facing shipping price — Tradera.Api.Services.Core.Contracts.Entities.ItemShipping.Cost is still\r\nthe authoritative, required field today and must be sent. In a future API revision,\r\nTradera.Api.Services.Core.Contracts.Entities.ItemShipping.Cost will be removed and the buyer-facing price will be derived from\r\nthe shipping product (identified by Tradera.Api.Services.Core.Contracts.Entities.ItemShipping.ShippingProductId) adjusted by\r\nTradera.Api.Services.Core.Contracts.Entities.ItemShipping.SellerSurcharge and Tradera.Api.Services.Core.Contracts.Entities.ItemShipping.SellerDiscount.",
            "format": "int32",
            "nullable": true
          },
          "sellerSurchargeSpecified": {
            "type": "boolean"
          },
          "sellerDiscount": {
            "type": "integer",
            "description": "Optional seller-defined discount subtracted from the shipping product's base cost.\r\nNot yet used to compute the buyer-facing shipping price — Tradera.Api.Services.Core.Contracts.Entities.ItemShipping.Cost is still\r\nthe authoritative, required field today and must be sent. In a future API revision,\r\nTradera.Api.Services.Core.Contracts.Entities.ItemShipping.Cost will be removed and the buyer-facing price will be derived from\r\nthe shipping product (identified by Tradera.Api.Services.Core.Contracts.Entities.ItemShipping.ShippingProductId) adjusted by\r\nTradera.Api.Services.Core.Contracts.Entities.ItemShipping.SellerSurcharge and Tradera.Api.Services.Core.Contracts.Entities.ItemShipping.SellerDiscount.",
            "format": "int32",
            "nullable": true
          },
          "sellerDiscountSpecified": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ItemStatus": {
        "type": "object",
        "additionalProperties": false
      },
      "ItemTypeFilter": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "LeaveFeedbackRequest": {
        "type": "object",
        "properties": {
          "comment": {
            "type": "string",
            "description": "The feedback comment.",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/FeedbackType"
          }
        },
        "additionalProperties": false,
        "description": "Request body for LeaveFeedback endpoints."
      },
      "MemberPaymentOption": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NumberAttributeValue": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "values": {
            "type": "array",
            "items": {
              "type": "number",
              "format": "double"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NumberValues": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "number",
              "format": "double"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductsPerWeightSpan": {
        "type": "object",
        "properties": {
          "weight": {
            "type": "number",
            "format": "double"
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShippingProduct"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QueuedRequestResponse": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "integer",
            "format": "int32"
          },
          "itemId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RequestResult": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "integer",
            "format": "int32"
          },
          "resultCode": {
            "$ref": "#/components/schemas/ResultCode"
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReservedPrice": {
        "type": "object",
        "properties": {
          "price": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RestartedItem": {
        "type": "object",
        "properties": {
          "restartedItemId": {
            "type": "integer",
            "format": "int32"
          },
          "restartedAsItemId": {
            "type": "integer",
            "format": "int32"
          },
          "restartedDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "ResultCode": {
        "enum": [
          1,
          2,
          4,
          8,
          16,
          32,
          64,
          128,
          256
        ],
        "type": "integer",
        "format": "int32"
      },
      "SearchAdvancedRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "SearchByFixedCriteriaRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "SearchByZipCodeRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "SearchResult": {
        "type": "object",
        "additionalProperties": false
      },
      "SellerInfo": {
        "type": "object",
        "properties": {
          "detailedSellerRating": {
            "$ref": "#/components/schemas/DetailedSellerRating"
          },
          "totalRating": {
            "type": "integer",
            "format": "int32"
          },
          "positiveFeedbackPercent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "personalMessage": {
            "type": "string",
            "nullable": true
          },
          "isCompany": {
            "type": "boolean"
          },
          "hasShop": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SellerOrder": {
        "type": "object",
        "properties": {
          "orderId": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "expiresDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastUpdatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "subTotal": {
            "type": "integer",
            "format": "int32"
          },
          "seller": {
            "$ref": "#/components/schemas/SellerOrderUser"
          },
          "buyer": {
            "$ref": "#/components/schemas/SellerOrderUser"
          },
          "shipTo": {
            "$ref": "#/components/schemas/SellerOrderAddress"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SellerOrderItem"
            },
            "nullable": true
          },
          "sellerOrderPayments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SellerOrderPayment"
            },
            "nullable": true
          },
          "shippingType": {
            "type": "string",
            "nullable": true
          },
          "shippingCost": {
            "type": "integer",
            "format": "int32"
          },
          "shippingWeight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "purchaseOrderId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "SellerOrderAddress": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "addressLine1": {
            "type": "string",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "countryName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SellerOrderItem": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/ApiItemType"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          },
          "unitPrice": {
            "type": "integer",
            "format": "int32"
          },
          "vatRate": {
            "type": "integer",
            "format": "int32"
          },
          "ownReferences": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "merchantPartNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SellerOrderKeyValuePair": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SellerOrderPayment": {
        "type": "object",
        "properties": {
          "paymentType": {
            "type": "string",
            "nullable": true
          },
          "reference": {
            "type": "string",
            "nullable": true
          },
          "additionalInfo": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SellerOrderKeyValuePair"
            },
            "nullable": true
          },
          "amount": {
            "type": "integer",
            "format": "int32"
          },
          "paidDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentCost": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SellerOrderQueryDateMode": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "SellerOrderUser": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "integer",
            "format": "int32"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "addressLine1": {
            "type": "string",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "countryName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "alias": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetActivateDateOnShopItemsError": {
        "type": "object",
        "properties": {
          "item": {
            "$ref": "#/components/schemas/SetActivateDateShopItem"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetActivateDateOnShopItemsRequest": {
        "type": "object",
        "properties": {
          "shopItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SetActivateDateShopItem"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetActivateDateOnShopItemsResult": {
        "type": "object",
        "properties": {
          "queuedRequestResponses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QueuedRequestResponse"
            },
            "nullable": true
          },
          "validationErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SetActivateDateOnShopItemsError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetActivateDateShopItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "activateDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "SetPriceOnShopItemsError": {
        "type": "object",
        "properties": {
          "item": {
            "$ref": "#/components/schemas/SetPriceShopItem"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetPriceOnShopItemsRequest": {
        "type": "object",
        "properties": {
          "shopItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SetPriceShopItem"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetPriceOnShopItemsResult": {
        "type": "object",
        "properties": {
          "queuedRequestResponses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QueuedRequestResponse"
            },
            "nullable": true
          },
          "validationErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SetPriceOnShopItemsError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetPriceShopItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "price": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SetPricesNonShopItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "openingPrice": {
            "type": "integer",
            "format": "int32"
          },
          "reservedPrice": {
            "$ref": "#/components/schemas/ReservedPrice"
          },
          "binPrice": {
            "$ref": "#/components/schemas/BinPrice"
          }
        },
        "additionalProperties": false
      },
      "SetPricesOnNonShopItemsError": {
        "type": "object",
        "properties": {
          "item": {
            "$ref": "#/components/schemas/SetPricesNonShopItem"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetPricesOnNonShopItemsResult": {
        "type": "object",
        "properties": {
          "isSuccessful": {
            "type": "boolean"
          },
          "validationErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SetPricesOnNonShopItemsError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetQuantityOnShopItemError": {
        "type": "object",
        "properties": {
          "item": {
            "$ref": "#/components/schemas/SetQuantityShopItem"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetQuantityOnShopItemsRequest": {
        "type": "object",
        "properties": {
          "shopItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SetQuantityShopItem"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetQuantityOnShopItemsResult": {
        "type": "object",
        "properties": {
          "successfulUpdates": {
            "type": "integer",
            "format": "int32"
          },
          "validationErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SetQuantityOnShopItemError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetQuantityShopItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SetSellerOrderAsShippedResponse": {
        "type": "object",
        "properties": {
          "orderId": {
            "type": "integer",
            "description": "The order ID that was marked as shipped.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Response for SetSellerOrderAsShipped."
      },
      "ShippingDeliveryInformation": {
        "type": "object",
        "properties": {
          "mailBoxWithServicePointBackup": {
            "type": "boolean"
          },
          "servicePoint": {
            "type": "boolean"
          },
          "canChangeServicePoint": {
            "type": "boolean"
          },
          "isTraceable": {
            "type": "boolean"
          },
          "isParcelBoxDeliveryPossible": {
            "type": "boolean"
          },
          "estimatedDeliveryTime": {
            "$ref": "#/components/schemas/ShippingEstimatedDeliveryTime"
          },
          "insurance": {
            "$ref": "#/components/schemas/ShippingInsurance"
          }
        },
        "additionalProperties": false
      },
      "ShippingEstimatedDeliveryTime": {
        "type": "object",
        "properties": {
          "minWeekdays": {
            "type": "integer",
            "format": "int32"
          },
          "maxWeekdays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShippingInsurance": {
        "type": "object",
        "properties": {
          "totalAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalAmountUpToItemValue": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "amountPerKilogram": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "hasReimbursementUpToPackageCost": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ShippingPackageRequirements": {
        "type": "object",
        "properties": {
          "maxWeight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "minWeight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxSumOfAllSides": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxSumOfLengthAndHeight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxLengthPlusCircumference": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxLength": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxWidth": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxHeight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxVolume": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "minLength": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "minWidth": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "minHeight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "restrictions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShippingProduct": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "shippingProvider": {
            "type": "string",
            "nullable": true
          },
          "shippingProviderId": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "weight": {
            "type": "number",
            "format": "double"
          },
          "price": {
            "type": "integer",
            "format": "int32"
          },
          "vatPercent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "toCountry": {
            "type": "string",
            "nullable": true
          },
          "fromCountry": {
            "type": "string",
            "nullable": true
          },
          "packageRequirements": {
            "$ref": "#/components/schemas/ShippingPackageRequirements"
          },
          "dimensionsExceededPenalty": {
            "type": "integer",
            "format": "int32"
          },
          "weightExceededPenalty": {
            "type": "integer",
            "format": "int32"
          },
          "displayPenaltyWarning": {
            "type": "boolean"
          },
          "deliveryInformation": {
            "$ref": "#/components/schemas/ShippingDeliveryInformation"
          },
          "termsAndConditions": {
            "$ref": "#/components/schemas/ShippingTermsAndConditions"
          }
        },
        "additionalProperties": false
      },
      "ShippingTermsAndConditions": {
        "type": "object",
        "properties": {
          "termsAndConditionUrl": {
            "type": "string",
            "nullable": true
          },
          "general": {
            "type": "string",
            "nullable": true
          },
          "termsOfService": {
            "type": "string",
            "nullable": true
          },
          "termsOfPurchase": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShopItemData": {
        "type": "object",
        "properties": {
          "activateDate": {
            "type": "string",
            "description": "Date when Shop item will be active on Tradera.\r\nN.B. M:Tradera.Api.Services.Core.Contracts.IRestrictedServiceSoap.GetSellerItems(Tradera.Api.Services.Core.Contracts.Restricted.GetSellerItemsSoapRequest) does not return items for which this date is in the future.",
            "format": "date-time",
            "nullable": true
          },
          "acceptedBuyerId": {
            "type": "integer",
            "description": "The types of Buyers allowed to buy the Item.\r\nPossible values: 1 = Sweden, 3 = International, 4 = EU.\r\nSee the method !:PublicService.GetAcceptedBidderTypes for the authoritative list.",
            "format": "int32",
            "nullable": true
          },
          "categoryId": {
            "type": "integer",
            "description": "The category Id. See the method\r\n!:PublicService.GetCategories for all available categories.",
            "format": "int32",
            "nullable": true
          },
          "deactivateDate": {
            "type": "string",
            "description": "Date when Shop item will be deactivated on Tradera.",
            "format": "date-time",
            "nullable": true
          },
          "itemAttributes": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Item attributes like: New, Used",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A long (7000 chars) description of the item.",
            "nullable": true
          },
          "paymentCondition": {
            "type": "string",
            "description": "Describes Payment condition for this Item (500 chars)",
            "nullable": true
          },
          "price": {
            "type": "integer",
            "description": "Shop item price.",
            "format": "int32",
            "nullable": true
          },
          "quantity": {
            "type": "integer",
            "description": "Modify the available quantity for this Item. This is a delta and will\r\nbe added to the current quantity. Use a negative value to decrease the\r\nquantity.",
            "format": "int32",
            "nullable": true
          },
          "absoluteQuantity": {
            "type": "integer",
            "description": "Set the quantity to an absolute value, regardless of the current quantity.\r\nIt is not allowed to provide both AbsoluteQuantity and Quantity in the\r\nsame request.",
            "format": "int32",
            "nullable": true
          },
          "shippingCondition": {
            "type": "string",
            "description": "Describes Shipping condition for this Item (500 chars)",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "The title (short description) of the item (80 chars).",
            "nullable": true
          },
          "vat": {
            "type": "integer",
            "description": "VAT for the item. The VAT value can be retrieved from API method !:PublicService.GetItemFieldValues.",
            "format": "int32",
            "nullable": true
          },
          "shippingOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemShipping"
            },
            "description": "A list of shipping options offered to the buyer of the Item. At most 3 shipping options are allowed if Pickup is included. Otherwise, at most 2 shipping options are allowed. See Tradera.Api.Services.Core.Contracts.Entities.ItemShipping.",
            "nullable": true
          },
          "paymentOptionIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "An array of ids of Payment types (more than one can be specified).\r\nSee the method !:PublicService.GetItemFieldValues for a list.",
            "nullable": true
          },
          "ownReferences": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The sellers own references for this Item (60 chars).",
            "nullable": true
          },
          "itemImages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemImageData"
            },
            "description": "Shop item images, an array of Tradera.Api.Services.Core.Contracts.Entities.ItemImageData objects (max 40 images).\r\nMax accepted size: 4MB",
            "nullable": true
          },
          "externalId": {
            "type": "integer",
            "description": "The id of the item in external system if there is any (optional).",
            "format": "int32",
            "nullable": true
          },
          "attributeValues": {
            "$ref": "#/components/schemas/ItemAttributeValues"
          },
          "descriptionLanguageCodeIso2": {
            "type": "string",
            "description": "The description language code of the item.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Shop item data, represents a request to add an shop item to the Tradera system."
      },
      "ShopItemUpdateData": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "integer",
            "description": "The id of the item to update.",
            "format": "int32"
          },
          "itemData": {
            "$ref": "#/components/schemas/ShopItemData"
          }
        },
        "additionalProperties": false,
        "description": "Holds Shop item update information"
      },
      "ShopItemVariantData": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "The title (short description) of the item (80 chars).",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A long (7000 chars) description of the item.",
            "nullable": true
          },
          "categoryId": {
            "type": "integer",
            "description": "The category Id. See the method\r\n!:PublicService.GetCategories for all available categories.",
            "format": "int32",
            "nullable": true
          },
          "acceptedBuyerId": {
            "type": "integer",
            "description": "The types of Buyers allowed to buy the Item. See the method\r\n!:PublicService.GetAcceptedBidderTypes for a list.",
            "format": "int32",
            "nullable": true
          },
          "shippingOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemShipping"
            },
            "description": "A list of shipping options offered to the buyer of the Item. At most 3 shipping options are allowed if Pickup is included. Otherwise, at most 2 shipping options are allowed. See Tradera.Api.Services.Core.Contracts.Entities.ItemShipping.",
            "nullable": true
          },
          "paymentOptionIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "An array of ids of Payment types (more than one can be specified).\r\nSee the method !:PublicService.GetItemFieldValues for a list.",
            "nullable": true
          },
          "itemAttributes": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Item attributes like: New, Used",
            "nullable": true
          },
          "shippingCondition": {
            "type": "string",
            "description": "Describes Shipping condition for this Item (500 chars)",
            "nullable": true
          },
          "paymentCondition": {
            "type": "string",
            "description": "Describes Payment condition for this Item (500 chars)",
            "nullable": true
          },
          "ownReferences": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The sellers own references for this Item (60 chars).",
            "nullable": true
          },
          "vat": {
            "type": "integer",
            "description": "VAT for the item. The VAT value can be retrieved from API method !:PublicService.GetItemFieldValues.",
            "format": "int32",
            "nullable": true
          },
          "itemImages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemImageData"
            },
            "description": "Shop item images, an array of Tradera.Api.Services.Core.Contracts.Entities.ItemImageData objects (max 40 images).\r\nMax accepted size: 4MB",
            "nullable": true
          },
          "activateDate": {
            "type": "string",
            "description": "Date when Shop item will be active on Tradera.",
            "format": "date-time",
            "nullable": true
          },
          "deactivateDate": {
            "type": "string",
            "description": "Date when Shop item will be deactivated on Tradera.",
            "format": "date-time",
            "nullable": true
          },
          "quantity": {
            "type": "integer",
            "description": "Modify the available quantity for this Item. This is a delta and will\r\nbe added to the current quantity. Use a negative value to decrease the\r\nquantity.",
            "format": "int32",
            "nullable": true
          },
          "absoluteQuantity": {
            "type": "integer",
            "description": "Set the quantity to an absolute value, regardless of the current quantity.\r\nIt is not allowed to provide both AbsoluteQuantity and Quantity in the\r\nsame request.",
            "format": "int32",
            "nullable": true
          },
          "externalId": {
            "type": "integer",
            "description": "The id of the item in external system.",
            "format": "int32",
            "nullable": true
          },
          "price": {
            "type": "integer",
            "description": "Shop item price.",
            "format": "int32",
            "nullable": true
          },
          "sellerPartNo": {
            "type": "string",
            "description": "Required id of the item in external system.",
            "nullable": true
          },
          "variantData": {
            "$ref": "#/components/schemas/VariantData"
          },
          "attributeValues": {
            "$ref": "#/components/schemas/ItemAttributeValues"
          },
          "descriptionLanguageCodeIso2": {
            "type": "string",
            "description": "The description language code of the item.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Shop item data, represents a request to add an shop item to the Tradera system."
      },
      "ShopItemVariantUpdateData": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "integer",
            "format": "int32"
          },
          "itemData": {
            "$ref": "#/components/schemas/ShopItemVariantData"
          }
        },
        "additionalProperties": false
      },
      "ShopLogoData": {
        "type": "object",
        "properties": {
          "imageFormat": {
            "$ref": "#/components/schemas/ImageFormat"
          },
          "imageData": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "removeLogo": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShopSettingsData": {
        "type": "object",
        "properties": {
          "companyInformation": {
            "type": "string",
            "nullable": true
          },
          "purchaseTerms": {
            "type": "string",
            "nullable": true
          },
          "showGalleryMode": {
            "type": "boolean",
            "nullable": true
          },
          "showAuctionView": {
            "type": "boolean",
            "nullable": true
          },
          "logoInformation": {
            "$ref": "#/components/schemas/ShopLogoData"
          },
          "bannerColor": {
            "type": "string",
            "nullable": true
          },
          "isTemporaryClosed": {
            "type": "boolean",
            "nullable": true
          },
          "temporaryClosedMessage": {
            "type": "string",
            "nullable": true
          },
          "contactInformation": {
            "type": "string",
            "nullable": true
          },
          "logoImageUrl": {
            "type": "string",
            "nullable": true
          },
          "maxActiveItems": {
            "type": "integer",
            "format": "int32"
          },
          "maxInventoryItems": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "TermAttributeValue": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TermValues": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Token": {
        "type": "object",
        "properties": {
          "authToken": {
            "type": "string",
            "nullable": true
          },
          "hardExpirationTime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Transaction": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "amount": {
            "type": "integer",
            "format": "int32"
          },
          "lastUpdatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "isMarkedAsPaidConfirmed": {
            "type": "boolean"
          },
          "isMarkedAsShipped": {
            "type": "boolean"
          },
          "isShippingBooked": {
            "type": "boolean"
          },
          "isFeedbackLeftBySeller": {
            "type": "boolean"
          },
          "isFeedbackLeftByBuyer": {
            "type": "boolean"
          },
          "buyer": {
            "$ref": "#/components/schemas/User"
          },
          "item": {
            "$ref": "#/components/schemas/TransactionItem"
          }
        },
        "additionalProperties": false,
        "description": "Transaction type matching the RestrictedService WSDL schema.\r\nThe BuyerService uses Tradera.Api.Services.Core.Contracts.Entities.BuyerTransaction which adds Seller and IsMarkedAsPaid."
      },
      "TransactionFilter": {
        "enum": [
          2,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "TransactionItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/ApiItemType"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "ownReferences": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransactionStatusUpdateData": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "integer",
            "format": "int32"
          },
          "markAsPaidConfirmed": {
            "type": "boolean",
            "nullable": true
          },
          "markedAsShipped": {
            "type": "boolean",
            "nullable": true
          },
          "markShippingBooked": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateItemPriceError": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "integer",
            "format": "int32"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateItemPriceRequest": {
        "type": "object",
        "properties": {
          "openingPrice": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "binPrice": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateItemPriceResult": {
        "type": "object",
        "properties": {
          "isSuccessful": {
            "type": "boolean"
          },
          "validationErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UpdateItemPriceError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdatedItemInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "rowVersion": {
            "type": "integer",
            "format": "int64"
          },
          "itemType": {
            "$ref": "#/components/schemas/ApiItemType"
          }
        },
        "additionalProperties": false
      },
      "User": {
        "type": "object",
        "additionalProperties": false
      },
      "UserInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "alias": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "countryName": {
            "type": "string",
            "nullable": true
          },
          "personalNumber": {
            "type": "string",
            "nullable": true
          },
          "currencyCode": {
            "type": "string",
            "nullable": true
          },
          "languageCodeIso2": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ValidateCampaignCodeRequest": {
        "type": "object",
        "properties": {
          "campaignCode": {
            "type": "string",
            "description": "The campaign code to validate.",
            "nullable": true
          },
          "categoryId": {
            "type": "integer",
            "description": "The category ID to validate against.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Request body for ValidateCampaignCode endpoint."
      },
      "ValidateCampaignCodeResult": {
        "type": "object",
        "properties": {
          "isValid": {
            "type": "boolean"
          },
          "isInvalidBecauseDoesNotExist": {
            "type": "boolean"
          },
          "isInvalidBecauseHasNotStarted": {
            "type": "boolean"
          },
          "isInvalidBecauseHasEnded": {
            "type": "boolean"
          },
          "isInvalidBecauseCategoryIsNotAllowed": {
            "type": "boolean"
          },
          "isInvalidBecauseAlreadyUsed": {
            "type": "boolean"
          },
          "isInvalidBecauseUserIsNotAllowed": {
            "type": "boolean"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "discountFactor": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "provisionFactor": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxFeeCap": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "isCustomLengthFeeFree": {
            "type": "boolean"
          },
          "isUnsoldFeeFree": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "VariantAttribute": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the attribute, e.g. Size",
            "nullable": true
          },
          "value": {
            "type": "string",
            "description": "Value of attribute, e.g. XXL",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Shop item variant attribute."
      },
      "VariantData": {
        "type": "object",
        "properties": {
          "variantGroupId": {
            "type": "string",
            "description": "Id grouping all Items that are variants of each other.",
            "nullable": true
          },
          "variantAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VariantAttribute"
            },
            "description": "Collection of variant attributes for the item.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Shop item variant information."
      }
    },
    "securitySchemes": {
      "AppAuth": {
        "type": "apiKey",
        "description": "Application ID",
        "name": "X-App-Id",
        "in": "header"
      },
      "AppKeyAuth": {
        "type": "apiKey",
        "description": "Application Key",
        "name": "X-App-Key",
        "in": "header"
      },
      "UserAuth": {
        "type": "apiKey",
        "description": "User ID",
        "name": "X-User-Id",
        "in": "header"
      },
      "UserTokenAuth": {
        "type": "apiKey",
        "description": "User Token",
        "name": "X-User-Token",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "AppAuth": [ ],
      "AppKeyAuth": [ ],
      "UserAuth": [ ],
      "UserTokenAuth": [ ]
    }
  ]
}