{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/resollo-com/json-schema/resollo-com-seller-status-schema.json",
  "title": "SellerStatus",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/resollo-com-openapi.yml#/components/schemas/SellerStatus",
  "type": "object",
  "required": [
    "currency",
    "payment_methods",
    "shipment_methods",
    "plan",
    "plan_expires_at",
    "can_create_products",
    "max_products",
    "listing_count",
    "can_create_auctions",
    "has_payment_method",
    "has_shipment_method",
    "max_images",
    "max_price",
    "ai_credits_remaining",
    "translate_credits_remaining",
    "ai_credits_purchase_url",
    "translate_credits_purchase_url"
  ],
  "properties": {
    "currency": {
      "type": "string",
      "description": "The user's own currency (ISO 4217). Search, product and order endpoints return prices in it when no `currency` is passed -- use it for `price_min`/`price_max` too."
    },
    "payment_methods": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "cash",
          "card",
          "bank",
          "paypal",
          "stripe"
        ]
      },
      "description": "Payment method codes the seller accepts."
    },
    "shipment_methods": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "personal",
          "courier",
          "postal",
          "locker"
        ]
      },
      "description": "Shipment method codes the seller offers."
    },
    "plan": {
      "type": [
        "string",
        "null"
      ],
      "description": "Name of the seller's active subscription plan (e.g. Free, Standard, Commission); null if none is active."
    },
    "plan_expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the active plan ends; null if it has no end date (commission plan) or none is active."
    },
    "can_create_products": {
      "type": "boolean",
      "description": "Whether the seller can create another listing right now (subscription plan limit not reached)."
    },
    "max_products": {
      "type": "integer",
      "description": "Total simultaneous listings the seller's plan allows."
    },
    "listing_count": {
      "type": "integer",
      "description": "The seller's current listings counted against max_products: every non-deleted listing, inactive drafts and closed ones included."
    },
    "can_create_auctions": {
      "type": "boolean"
    },
    "has_payment_method": {
      "type": "boolean",
      "description": "Required before create_product will succeed."
    },
    "has_shipment_method": {
      "type": "boolean",
      "description": "Required before create_product will succeed."
    },
    "max_images": {
      "type": "integer",
      "description": "Max photos per listing the seller's plan allows (the photo picker opened by create_product enforces it)."
    },
    "max_price": {
      "type": [
        "number",
        "null"
      ],
      "description": "Plan price cap, if any. `null` means uncapped."
    },
    "ai_credits_remaining": {
      "type": "integer",
      "description": "Shared credit pool used by create_product's AI autofill + price suggestion (2 credits per successful create_product call) and by the web app's own AI features."
    },
    "translate_credits_remaining": {
      "type": "integer",
      "description": "Separate AI-translation credit pool. create_product never translates; when the seller activates the draft on resollo.com, they can choose to translate it into Resollo's other languages for 1 credit."
    },
    "ai_credits_purchase_url": {
      "type": "string",
      "format": "uri",
      "description": "The seller's resollo.com page (in their language) for buying AI credits. Give it to the seller when ai_credits_remaining is too low for create_product (it needs 2)."
    },
    "translate_credits_purchase_url": {
      "type": "string",
      "format": "uri",
      "description": "The seller's resollo.com page (in their language) for buying translation credits."
    }
  }
}