{
  "info": {
    "name": "Freeport Seller API",
    "description": "One API for every lane and every kind of seller software.\n\nThis collection is made from the OpenAPI document (version 2026-09-09) by the docs build, and holds a request for each of its 78 operations, in a folder for each tag.\n\n**Set up.** Requests go to `{{baseUrl}}`, which starts as the sandbox. Put a key in the `apiKey` variable: a key that starts `fp_test_` works on the sandbox only, and one that starts `fp_live_` on production only (https://api.freeport.gg). To go live, change `baseUrl` and `apiKey` together. No key is stored in this file, and Postman keeps a variable's value on your machine unless you choose to share it.\n\n**Not in here.** Webhook deliveries are sent to you, so they have no request; their headers and bodies are in the reference under Events. A key set to signed requests needs the signature headers, which this collection does not work out; see the Signing guide.\n\nGuides and reference: https://docs.freeport.gg",
    "version": "2026-09-09",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "Meta",
      "description": "The document, and the key looking at it.",
      "item": [
        {
          "name": "This document",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/openapi.json",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "openapi.json"
              ]
            },
            "description": "No key needed.\n\nReference: https://docs.freeport.gg/#get-v1-openapi-json",
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        },
        {
          "name": "Is this key alive, what can it do, where are its limits",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/ping",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "ping"
              ]
            },
            "description": "Any key. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-ping"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Account",
      "description": "The seller behind the key.",
      "item": [
        {
          "name": "Your balance",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/me/balance",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "me",
                "balance"
              ]
            },
            "description": "Summed from the ledger, never stored: what is spendable now, and what is still held while orders complete and the payout hold runs.\n\nScope `account:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-me-balance"
          },
          "response": []
        },
        {
          "name": "What moved your balance",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/balance/transactions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "balance",
                "transactions"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true,
                  "description": "Up to 200 characters."
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true,
                  "description": "From 1 to 200. Default 50."
                }
              ]
            },
            "description": "Your balance as a list, newest first, in the shape of Stripe's balance transactions: one line to a ledger entry on your available and pending accounts, with `amount`, `fee`, `net`, `status`, `available_on`, `created` and the `source` order or withdrawal. The lines add up to `GET /v1/me/balance`. Read only, and under `payouts:read` with the withdrawals.\n\nScope `payouts:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-balance-transactions"
          },
          "response": []
        },
        {
          "name": "Your withdrawals",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/withdrawals",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "withdrawals"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true,
                  "description": "Up to 200 characters."
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true,
                  "description": "From 1 to 200. Default 50."
                }
              ]
            },
            "description": "The same list as the Payouts page, newest first: what you asked for, the fee, what you receive, where it goes (masked) and what became of each request. Read only: a withdrawal is asked for on the Payouts page, never with a key. Needs `payouts:read`, which `full` carries and a key minted before it existed does not.\n\nScope `payouts:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-withdrawals"
          },
          "response": []
        },
        {
          "name": "What an order would cost",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/fees/quote?category=currency&subtotal=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "fees",
                "quote"
              ],
              "query": [
                {
                  "key": "category",
                  "value": "currency",
                  "description": "One of currency, item, account, service, topup, giftcard."
                },
                {
                  "key": "subtotal",
                  "value": ""
                },
                {
                  "key": "currency",
                  "value": "",
                  "disabled": true,
                  "description": "One of GBP, EUR, USD, AUD, CAD, CHF, CZK, DKK, HKD, HUF, JPY, NOK, PLN, RON, SEK, SGD."
                },
                {
                  "key": "game",
                  "value": "",
                  "disabled": true,
                  "description": "1 to 64 characters."
                }
              ]
            },
            "description": "Priced by the same resolver as checkout: the SafeHarbour fee the lane publishes, which the buyer pays, and the seller fee at your own rank, both before any coupon. A buyer’s own coupon can lower the SafeHarbour fee at checkout, and a commission coupon granted to you lowers the seller fee when an order is paid. A tool pricing across marketplaces wants this before it lists, not after the first sale.\n\nAny key. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-fees-quote"
          },
          "response": []
        },
        {
          "name": "The seller behind the key",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/me",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "me"
              ]
            },
            "description": "Scope `account:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-me"
          },
          "response": []
        },
        {
          "name": "Holiday mode on or off",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/me",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "me"
              ]
            },
            "description": "Holiday mode hides every listing at once: the switch a farm flips when the deliverers go home.\n\nScope `account:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nOptional fields: `holiday_mode`, `presence`.\n\nReference: https://docs.freeport.gg/#patch-v1-me"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Catalog",
      "description": "Games, lanes, realms and packages, by id and slug.",
      "item": [
        {
          "name": "Every active game",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "",
                "disabled": true,
                "description": "The ETag from the previous answer. A match is a 304 with no body."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/catalog/games",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "catalog",
                "games"
              ]
            },
            "description": "Any key. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-catalog-games"
          },
          "response": []
        },
        {
          "name": "One game: lanes, realms with faction, packages, vocabulary",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "",
                "disabled": true,
                "description": "The ETag from the previous answer. A match is a 304 with no body."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/catalog/games/:slug",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "catalog",
                "games",
                ":slug"
              ],
              "variable": [
                {
                  "key": "slug",
                  "value": ""
                }
              ]
            },
            "description": "Any key. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-catalog-games-slug"
          },
          "response": []
        },
        {
          "name": "Your names to our ids",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"game\": \"<game>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/catalog/resolve",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "catalog",
                "resolve"
              ]
            },
            "description": "Ranks games, categories and servers against the names you keep. A named faction is decisive on a realm. Never creates anything.\n\nAny key. Spends the `reads` budget (600 a minute for a new seller).\n\nRequired fields: `game`. Optional fields: `category`, `server`, `faction`.\n\nReference: https://docs.freeport.gg/#post-v1-catalog-resolve"
          },
          "response": []
        },
        {
          "name": "Games, lanes, realms and packages added or renamed since a moment",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/catalog/changes",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "catalog",
                "changes"
              ],
              "query": [
                {
                  "key": "since",
                  "value": "",
                  "disabled": true,
                  "description": "Format date-time."
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true,
                  "description": "1 to 400 characters."
                },
                {
                  "key": "limit",
                  "value": "200",
                  "disabled": true,
                  "description": "From 1 to 500. Default 200."
                }
              ]
            },
            "description": "Send since for the first page, then the cursor it returns until it is null: the cursor continues the walk exactly, through rows that share one moment. next_since is a moment a later walk can start from without missing a row: it never points inside a group of rows sharing one moment, so that walk may repeat a few rows and cannot skip any.\n\nAny key. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-catalog-changes"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Listings",
      "description": "Your stock on the shelf.",
      "item": [
        {
          "name": "Your listings",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/listings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "listings"
              ],
              "query": [
                {
                  "key": "status",
                  "value": "",
                  "disabled": true,
                  "description": "One of draft, active, paused, removed."
                },
                {
                  "key": "game",
                  "value": "",
                  "disabled": true,
                  "description": "1 to 64 characters."
                },
                {
                  "key": "external_id",
                  "value": "",
                  "disabled": true,
                  "description": "1 to 120 characters."
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true,
                  "description": "Up to 200 characters."
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true,
                  "description": "From 1 to 200. Default 50."
                }
              ]
            },
            "description": "Scope `listings:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-listings"
          },
          "response": []
        },
        {
          "name": "Create a listing",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"game\": \"<game>\",\n  \"category\": \"<category>\",\n  \"price\": \"<price>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/listings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "listings"
              ]
            },
            "description": "Game, category, server and package by our id or our slug. The title is generated when absent. Refused with 403 `payments_not_set_up` until the account’s payments are set up, and with 403 `selling_restricted` in a category the account is restricted in.\n\nScope `listings:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nRequired fields: `game`, `category`, `price`. Optional fields: `server`, `package`, `title`, `tiers`, `description`, `currency`, `unit_label`, `price_per_qty`, `min_qty`, `max_qty`, `stock_qty`, `low_stock_alert_qty`, `delivery_eta_minutes`, `attributes`, `external_id`, `status`.\n\nReference: https://docs.freeport.gg/#post-v1-listings"
          },
          "response": []
        },
        {
          "name": "Create or replace the whole line by your own id for it",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"game\": \"<game>\",\n  \"category\": \"<category>\",\n  \"price\": \"<price>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/listings/by-external-id/:externalId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "listings",
                "by-external-id",
                ":externalId"
              ],
              "variable": [
                {
                  "key": "externalId",
                  "value": ""
                }
              ]
            },
            "description": "The body is the whole line, as a sheet line is: the state of the listing under this external id is created or replaced (RFC 9110, section 9.3.4), so a cap or an alert left out is cleared. Creates on first sight, replaces after. A listing never moves to another game, category, server or package: that is a new external id. To change only some fields, use `PATCH` on the same path.\n\nScope `listings:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nRequired fields: `game`, `category`, `price`. Optional fields: `server`, `package`, `title`, `tiers`, `description`, `currency`, `unit_label`, `price_per_qty`, `min_qty`, `max_qty`, `stock_qty`, `low_stock_alert_qty`, `delivery_eta_minutes`, `attributes`, `external_id`, `status`.\n\nReference: https://docs.freeport.gg/#put-v1-listings-by-external-id-externalid"
          },
          "response": []
        },
        {
          "name": "Change some fields by your own id for the line",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/listings/by-external-id/:externalId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "listings",
                "by-external-id",
                ":externalId"
              ],
              "variable": [
                {
                  "key": "externalId",
                  "value": ""
                }
              ]
            },
            "description": "Changes the fields sent and leaves the rest, exactly as `PATCH /v1/listings/{id}` does, on the listing you keep under this external id. It never creates: an external id that is not yours answers 404 `not_found`, as one that does not exist does. `stock_qty` cannot be `null`: stock is not a field that can be removed, so `null` is refused with 400 `validation_failed` naming it. Leave it out to keep the stock, or send a count.\n\nScope `listings:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nOptional fields: `title`, `tiers`, `description`, `price`, `currency`, `unit_label`, `price_per_qty`, `min_qty`, `max_qty`, `stock_qty`, `low_stock_alert_qty`, `delivery_eta_minutes`, `attributes`, `external_id`, `status`.\n\nReference: https://docs.freeport.gg/#patch-v1-listings-by-external-id-externalid"
          },
          "response": []
        },
        {
          "name": "One listing",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/listings/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "listings",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Scope `listings:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-listings-id"
          },
          "response": []
        },
        {
          "name": "Change price, stock, status or anything else",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/listings/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "listings",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Changes the fields sent and leaves the rest. `stock_qty` cannot be `null`: stock is not a field that can be removed, so `null` is refused with 400 `validation_failed` naming it. Leave it out to keep the stock, or send a count.\n\nScope `listings:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nOptional fields: `title`, `tiers`, `description`, `price`, `currency`, `unit_label`, `price_per_qty`, `min_qty`, `max_qty`, `stock_qty`, `low_stock_alert_qty`, `delivery_eta_minutes`, `attributes`, `external_id`, `status`.\n\nReference: https://docs.freeport.gg/#patch-v1-listings-id"
          },
          "response": []
        },
        {
          "name": "Replace the volume ladder",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"tiers\": [\n    {\n      \"min_qty\": 2,\n      \"price\": \"<price>\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/listings/:id/tiers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "listings",
                ":id",
                "tiers"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Up to three rungs, each starting above the one before and cheaper than it; the listing's own price is the price at its minimum order. Checkout picks the rung an order's quantity reaches and freezes that unit price on the order. An empty list clears the ladder.\n\nScope `listings:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nRequired fields: `tiers`.\n\nReference: https://docs.freeport.gg/#put-v1-listings-id-tiers"
          },
          "response": []
        },
        {
          "name": "The code vault, counted",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/listings/:id/codes",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "listings",
                ":id",
                "codes"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "How many codes a gift-card or top-up listing holds, by state. Never the codes themselves.\n\nScope `listings:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-listings-id-codes"
          },
          "response": []
        },
        {
          "name": "Stock codes",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"codes\": [\n    \"<codes>\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/listings/:id/codes",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "listings",
                ":id",
                "codes"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Up to a thousand a call, encrypted at rest. A code already in the vault is a duplicate and not stocked twice; one withdrawn earlier comes back. Stock rises by what was added. From then on an order on this listing is accepted and delivered the moment it is paid, with the codes attached for the buyer; a vault short of the order quantity leaves that order for you to deliver by hand.\n\nScope `listings:write`. Spends the `bulk` budget (20 a minute for a new seller).\n\nRequired fields: `codes`.\n\nReference: https://docs.freeport.gg/#post-v1-listings-id-codes"
          },
          "response": []
        },
        {
          "name": "Take unsold codes off the shelf",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/listings/:id/codes/withdraw",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "listings",
                ":id",
                "codes",
                "withdraw"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "The codes named, or every unsold one when none are. Stock falls by the same count.\n\nScope `listings:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nOptional fields: `codes`.\n\nReference: https://docs.freeport.gg/#post-v1-listings-id-codes-withdraw"
          },
          "response": []
        },
        {
          "name": "How many logins an account listing holds",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/listings/:id/login",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "listings",
                ":id",
                "login"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "How many logins are stored on an account listing for delivery at payment, and when the newest was written. Never a login itself.\n\nScope `listings:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-listings-id-login"
          },
          "response": []
        },
        {
          "name": "Replace the stored logins with one",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"account_username\": \"<account_username>\",\n  \"account_password\": \"<account_password>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/listings/:id/login",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "listings",
                ":id",
                "login"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Removes every login stored on the listing and stores this one, encrypted at rest, and sets the listing’s stock to 1. The game account’s username and password, and the email account’s when you include it (both or neither), with a note. To store several, use `POST /v1/listings/{id}/logins`.\n\nScope `listings:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nRequired fields: `account_username`, `account_password`. Optional fields: `email_username`, `email_password`, `note`.\n\nReference: https://docs.freeport.gg/#put-v1-listings-id-login"
          },
          "response": []
        },
        {
          "name": "Remove the stored logins",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/listings/:id/login",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "listings",
                ":id",
                "login"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Removes every login stored on the listing, and as many from its stock. Orders on this listing wait for you to hand the account over again.\n\nScope `listings:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#delete-v1-listings-id-login"
          },
          "response": []
        },
        {
          "name": "Store account logins",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"logins\": [\n    {\n      \"account_username\": \"<account_username>\",\n      \"account_password\": \"<account_password>\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/listings/:id/logins",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "listings",
                ":id",
                "logins"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Up to 1000 logins a call, each encrypted at rest, in the shape `PUT /v1/listings/{id}/login` takes. An account already stored on the listing, by its username, is skipped and counted under `duplicates`. The listing’s stock follows its stored logins: the first logins stored set it to their number, and more add to it. An order is accepted and delivered the moment it is paid when the listing holds a login for every account it buys, each in its handover for the buyer, and those logins leave the listing. An order the stored logins do not cover is left for you to deliver by hand.\n\nScope `listings:write`. Spends the `bulk` budget (20 a minute for a new seller).\n\nRequired fields: `logins`.\n\nReference: https://docs.freeport.gg/#post-v1-listings-id-logins"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Orders",
      "description": "The order feed and the three moves a seller makes.",
      "item": [
        {
          "name": "Your orders, or everything that moved since a moment",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/orders",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders"
              ],
              "query": [
                {
                  "key": "state",
                  "value": "",
                  "disabled": true,
                  "description": "One of paid, accepted, delivering, delivered, completed, disputed, refunded, partially_refunded, cancelled, expired."
                },
                {
                  "key": "updated_since",
                  "value": "",
                  "disabled": true,
                  "description": "Format date-time."
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true,
                  "description": "Up to 200 characters."
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true,
                  "description": "From 1 to 200. Default 50."
                }
              ]
            },
            "description": "Without `updated_since`: newest change first. With it: a feed, oldest first, that you walk forward with the cursor.\n\nScope `orders:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-orders"
          },
          "response": []
        },
        {
          "name": "Has anything moved",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "",
                "disabled": true,
                "description": "The ETag from the previous answer. A match is a 304 with no body."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/orders/changes",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                "changes"
              ]
            },
            "description": "Send back the ETag as If-None-Match. A 304 costs no database work, so poll at the pace in Poll-Interval with a clear conscience.\n\nScope `orders:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-orders-changes"
          },
          "response": []
        },
        {
          "name": "One order",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Scope `orders:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-orders-id"
          },
          "response": []
        },
        {
          "name": "The order's timeline",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/events",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "events"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Scope `orders:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-orders-id-events"
          },
          "response": []
        },
        {
          "name": "Take the order",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/accept",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "accept"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Starts the delivery window from the listing's quoted time.\n\nScope `orders:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#post-v1-orders-id-accept"
          },
          "response": []
        },
        {
          "name": "Mark delivered",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/deliver",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "deliver"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Refused with `credentials_required` on an account order without a handover.\n\nScope `orders:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#post-v1-orders-id-deliver"
          },
          "response": []
        },
        {
          "name": "Decline a paid order",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"reason\": \"no_stock\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/decline",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "decline"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "The hold on the buyer’s card is released, so they are not charged. A decline counts against your reliability as an order you could not fill, whatever the reason; it does not count as an order left unanswered, which is what pauses your listings. `reason` is kept with the order, and `no_stock` also pauses the listing until you publish it again.\n\nScope `orders:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nRequired fields: `reason`. Optional fields: `note`.\n\nReference: https://docs.freeport.gg/#post-v1-orders-id-decline"
          },
          "response": []
        },
        {
          "name": "The account handover",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"account_username\": \"<account_username>\",\n  \"account_password\": \"<account_password>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/credentials",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "credentials"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Stored encrypted, readable by the buyer of this order alone. Never put a password in the chat.\n\nScope `orders:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nRequired fields: `account_username`, `account_password`. Optional fields: `email_username`, `email_password`, `note`.\n\nReference: https://docs.freeport.gg/#post-v1-orders-id-credentials"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Chat",
      "description": "The thread with the buyer.",
      "item": [
        {
          "name": "The thread with the buyer",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/messages",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "messages"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Scope `chat:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-orders-id-messages"
          },
          "response": []
        },
        {
          "name": "Send a message",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"body\": \"<body>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/messages",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "messages"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "The same contact detection as the site. Warnings come back to you; the message still goes.\n\nScope `chat:write`. Spends the `chat` budget (30 a minute for a new seller).\n\nRequired fields: `body`.\n\nReference: https://docs.freeport.gg/#post-v1-orders-id-messages"
          },
          "response": []
        },
        {
          "name": "Send a screenshot",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "file",
                  "type": "file",
                  "src": [],
                  "description": "The image. PNG, JPEG or WebP, 3 MB or less."
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/messages/image",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "messages",
                "image"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Proof of delivery at the moment it happens, which is what most disputes turn on. One PNG, JPEG or WebP of 3 MB or less, as `multipart/form-data` in a part named `file`. The bytes decide the type, never the filename or the declared content type, and every image is re-encoded before it is stored. It carries no `Idempotency-Key`: a repeat is a second picture in the thread. Video goes on a dispute statement as a link.\n\nScope `chat:write`. Spends the `chat` budget (30 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#post-v1-orders-id-messages-image"
          },
          "response": []
        },
        {
          "name": "Read one image from the thread",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/messages/image/:file",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "messages",
                "image",
                ":file"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                },
                {
                  "key": "file",
                  "value": "",
                  "description": "The `image` value from a message."
                }
              ]
            },
            "description": "The bytes of an image a message carries, by the `image` name on that message: yours or the buyer’s. Only on an order you sold, and only a name that belongs to that order’s thread.\n\nScope `chat:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-orders-id-messages-image-file"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Disputes",
      "description": "A dispute, answered and settled from your own software. Alone you can only give up your own side: refund in full. Anything between takes both of you.",
      "item": [
        {
          "name": "The disputes on your orders",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/disputes",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "disputes"
              ],
              "query": [
                {
                  "key": "state",
                  "value": "",
                  "disabled": true,
                  "description": "One of open, resolved, withdrawn."
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true,
                  "description": "Up to 200 characters."
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true,
                  "description": "From 1 to 200. Default 50."
                }
              ]
            },
            "description": "Newest first. `state=open` is the queue to work: each row says who has to answer, by when, whether they have, and the offer on the table.\n\nScope `disputes:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-disputes"
          },
          "response": []
        },
        {
          "name": "One order's dispute",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/dispute",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "dispute"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Both statements, every offer and how it ended. 404 `no_dispute` when the order never had one.\n\nScope `disputes:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-orders-id-dispute"
          },
          "response": []
        },
        {
          "name": "What a settlement would do",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/dispute/quote?buyer_refund=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "dispute",
                "quote"
              ],
              "query": [
                {
                  "key": "buyer_refund",
                  "value": ""
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "The split for a figure, from the same arithmetic that posts it if the figure is agreed. Refused with `not_a_settlement` at nothing and at the whole total: those two are the buyer releasing the payment and you refunding in full.\n\nScope `disputes:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-orders-id-dispute-quote"
          },
          "response": []
        },
        {
          "name": "Put your side on the record",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"body\": \"<body>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/dispute/statements",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "dispute",
                "statements"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "What happened and when, for the buyer and for the person who decides if you two cannot. Added, never edited or removed; up to ten. `links` carries up to three https addresses of evidence held elsewhere, which is where video goes: YouTube, Streamable, Medal, Twitch, Vimeo, Imgur, Gyazo, Lightshot, Steam, Google Drive, Dropbox, OneDrive or iCloud. Anywhere else is refused with 400 `invalid_evidence_link`. Screenshots can also go in the order chat. Answering inside `respond_by` is what keeps \"did not answer\" off your side of the record.\n\nScope `disputes:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nRequired fields: `body`. Optional fields: `links`.\n\nReference: https://docs.freeport.gg/#post-v1-orders-id-dispute-statements"
          },
          "response": []
        },
        {
          "name": "Refund the buyer in full",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/dispute/concede",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "dispute",
                "concede"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Always yours to do, because the only money it moves is money you were claiming. The whole total goes back to the buyer, you keep nothing from the order, the stock returns to the listing, and it is recorded as your concession rather than as a dispute decided against you. It cannot be undone. `order.dispute_resolved` and `order.refunded` follow.\n\nScope `disputes:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nOptional fields: `note`.\n\nReference: https://docs.freeport.gg/#post-v1-orders-id-dispute-concede"
          },
          "response": []
        },
        {
          "name": "Propose a settlement",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"buyer_refund\": \"<buyer_refund>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/dispute/offers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "dispute",
                "offers"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "A figure that goes back to the buyer; you keep the rest, less fees. It replaces any offer standing, from either side, and moves no money until the buyer accepts that same figure. Five offers a side. While it stands the buyer can accept it at any moment, so offer what you mean.\n\nScope `disputes:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nRequired fields: `buyer_refund`. Optional fields: `note`.\n\nReference: https://docs.freeport.gg/#post-v1-orders-id-dispute-offers"
          },
          "response": []
        },
        {
          "name": "Accept the buyer's offer",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"buyer_refund\": \"<buyer_refund>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/dispute/offers/:offerId/accept",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "dispute",
                "offers",
                ":offerId",
                "accept"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                },
                {
                  "key": "offerId",
                  "value": "",
                  "description": "The offer's id, from `standing_offer`."
                }
              ]
            },
            "description": "Send the `buyer_refund` you are agreeing to. If the offer on the table is no longer that one (replaced, withdrawn, a different figure) the answer is 409 `offer_changed` and nothing moves: read the dispute again. On success the money moves at once and cannot be undone.\n\nScope `disputes:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nRequired fields: `buyer_refund`.\n\nReference: https://docs.freeport.gg/#post-v1-orders-id-dispute-offers-offerid-accept"
          },
          "response": []
        },
        {
          "name": "Decline the buyer's offer",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/dispute/offers/:offerId/decline",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "dispute",
                "offers",
                ":offerId",
                "decline"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                },
                {
                  "key": "offerId",
                  "value": "",
                  "description": "The offer's id, from `standing_offer`."
                }
              ]
            },
            "description": "The dispute stays open, and a person decides it if nothing else is agreed.\n\nScope `disputes:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#post-v1-orders-id-dispute-offers-offerid-decline"
          },
          "response": []
        },
        {
          "name": "Take your offer back",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/orders/:id/dispute/offers/:offerId/withdraw",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "orders",
                ":id",
                "dispute",
                "offers",
                ":offerId",
                "withdraw"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                },
                {
                  "key": "offerId",
                  "value": "",
                  "description": "The id of an offer you made."
                }
              ]
            },
            "description": "Only while it stands. An offer the buyer already accepted has moved the money.\n\nScope `disputes:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#post-v1-orders-id-dispute-offers-offerid-withdraw"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Boosting",
      "description": "Your price curves on the services the platform standardises.",
      "item": [
        {
          "name": "The services a game standardises",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/boost-templates?game=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "boost-templates"
              ],
              "query": [
                {
                  "key": "game",
                  "value": "",
                  "description": "1 to 64 characters."
                }
              ]
            },
            "description": "Every boost template for one game, with the knobs a curve prices: a range or number option takes a per-unit rate, a choice option takes basis points per value, a flags option takes basis points per extra you offer. `offer_id` is your curve on it, if you have one.\n\nAny key. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-boost-templates"
          },
          "response": []
        },
        {
          "name": "Your curves",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/boost-offers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "boost-offers"
              ]
            },
            "description": "Scope `listings:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-boost-offers"
          },
          "response": []
        },
        {
          "name": "Publish or replace your curve on a template",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"pricing\": {\n    \"base\": \"<base>\"\n  },\n  \"eta_hours\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/boost-offers/:template",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "boost-offers",
                ":template"
              ],
              "variable": [
                {
                  "key": "template",
                  "value": "",
                  "description": "The template id (btp_...) as GET /v1/boost-templates returns it. The slug is not accepted here."
                }
              ]
            },
            "description": "One curve per template: a second call replaces it and sets it active. Every rate must name an option the template defines. The cheapest configuration the curve prices is the \"from\" price on the hub and must be above zero. Prices are decimal USD.\n\nScope `listings:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nRequired fields: `pricing`, `eta_hours`.\n\nReference: https://docs.freeport.gg/#put-v1-boost-offers-template"
          },
          "response": []
        },
        {
          "name": "Pause or resume a curve",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"status\": \"active\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/boost-offers/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "boost-offers",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Pausing is always allowed. Resuming is starting to sell again, which a suspended account cannot do.\n\nScope `listings:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nRequired fields: `status`.\n\nReference: https://docs.freeport.gg/#patch-v1-boost-offers-id"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Stock syncs",
      "description": "A whole sheet of stock, landed as one decision.",
      "item": [
        {
          "name": "Up to a thousand lines in one call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"lines\": [\n    {\n      \"game\": \"<game>\",\n      \"category\": \"<category>\",\n      \"price\": \"<price>\",\n      \"external_id\": \"<external_id>\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/listings/batch",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "listings",
                "batch"
              ]
            },
            "description": "The sync engine in merge mode, opened, staged and committed for you. Answers at once with a result per line for the staging; poll the sync for the result per line of the apply.\n\nScope `listings:write`. Spends the `bulk` budget (20 a minute for a new seller).\n\nRequired fields: `lines`.\n\nReference: https://docs.freeport.gg/#post-v1-listings-batch"
          },
          "response": []
        },
        {
          "name": "Your last fifty syncs",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/stock/syncs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "stock",
                "syncs"
              ]
            },
            "description": "Scope `listings:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-stock-syncs"
          },
          "response": []
        },
        {
          "name": "Open a sync",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/stock/syncs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "stock",
                "syncs"
              ]
            },
            "description": "Replace mode pauses every listing with an external id the sync does not mention; merge mode touches only the lines sent. An open sync expires after an hour.\n\nScope `listings:write`. Spends the `bulk` budget (20 a minute for a new seller).\n\nOptional fields: `mode`.\n\nReference: https://docs.freeport.gg/#post-v1-stock-syncs"
          },
          "response": []
        },
        {
          "name": "One sync, with its summary once committed",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/stock/syncs/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "stock",
                "syncs",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Scope `listings:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-stock-syncs-id"
          },
          "response": []
        },
        {
          "name": "Stage up to a thousand lines",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"lines\": [\n    {\n      \"game\": \"<game>\",\n      \"category\": \"<category>\",\n      \"price\": \"<price>\",\n      \"external_id\": \"<external_id>\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/stock/syncs/:id/lines",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "stock",
                "syncs",
                ":id",
                "lines"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Each line is validated on its own and its game, category, server and package resolved; a bad line is reported here and counted as failed at commit, and the rest go on. The same external id staged again keeps the later line.\n\nScope `listings:write`. Spends the `bulk` budget (20 a minute for a new seller).\n\nRequired fields: `lines`.\n\nReference: https://docs.freeport.gg/#put-v1-stock-syncs-id-lines"
          },
          "response": []
        },
        {
          "name": "The lines, with the result each got",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/stock/syncs/:id/lines",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "stock",
                "syncs",
                ":id",
                "lines"
              ],
              "query": [
                {
                  "key": "action",
                  "value": "",
                  "disabled": true,
                  "description": "One of created, updated, unchanged, paused, failed."
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true,
                  "description": "Up to 64 characters."
                },
                {
                  "key": "limit",
                  "value": "200",
                  "disabled": true,
                  "description": "From 1 to 500. Default 200."
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Scope `listings:read`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-stock-syncs-id-lines"
          },
          "response": []
        },
        {
          "name": "Apply the sync",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/stock/syncs/:id/commit",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "stock",
                "syncs",
                ":id",
                "commit"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Returns at once; the worker applies it in short transactions, recounts your catalog pages once, and stamps a result on every line.\n\nScope `listings:write`. Spends the `bulk` budget (20 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#post-v1-stock-syncs-id-commit"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Webhooks",
      "description": "Where events go, signed, retried, logged.",
      "item": [
        {
          "name": "Your endpoints",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "webhooks"
              ]
            },
            "description": "Scope `webhooks:manage`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-webhooks"
          },
          "response": []
        },
        {
          "name": "Add an endpoint",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"url\": \"<url>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "webhooks"
              ]
            },
            "description": "HTTPS only, to a public address, and to port 443 only: a URL that names any other port is refused as `unsafe_url`. Up to five per account. An empty `events` list subscribes to everything. The secret is in this one response and nowhere else.\n\nScope `webhooks:manage`. Spends the `writes` budget (120 a minute for a new seller).\n\nRequired fields: `url`. Optional fields: `events`, `label`.\n\nReference: https://docs.freeport.gg/#post-v1-webhooks"
          },
          "response": []
        },
        {
          "name": "One endpoint",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "webhooks",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Scope `webhooks:manage`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-webhooks-id"
          },
          "response": []
        },
        {
          "name": "Change the URL, the events, the label, or re-enable it",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "webhooks",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Scope `webhooks:manage`. Spends the `writes` budget (120 a minute for a new seller).\n\nOptional fields: `url`, `events`, `label`, `status`.\n\nReference: https://docs.freeport.gg/#patch-v1-webhooks-id"
          },
          "response": []
        },
        {
          "name": "Remove an endpoint and its delivery log",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "webhooks",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Scope `webhooks:manage`. Spends the `writes` budget (120 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#delete-v1-webhooks-id"
          },
          "response": []
        },
        {
          "name": "Send a ping through the real pipeline",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks/:id/test",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "webhooks",
                ":id",
                "test"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Scope `webhooks:manage`. Spends the `writes` budget (120 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#post-v1-webhooks-id-test"
          },
          "response": []
        },
        {
          "name": "New secret, with a day of overlap",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks/:id/rotate-secret",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "webhooks",
                ":id",
                "rotate-secret"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Deliveries carry two signatures for 24 hours, one with each secret, so the receiver can be switched over without a gap.\n\nScope `webhooks:manage`. Spends the `writes` budget (120 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#post-v1-webhooks-id-rotate-secret"
          },
          "response": []
        },
        {
          "name": "The delivery log",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks/:id/deliveries",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "webhooks",
                ":id",
                "deliveries"
              ],
              "query": [
                {
                  "key": "status",
                  "value": "",
                  "disabled": true,
                  "description": "One of pending, succeeded, failed, exhausted."
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true,
                  "description": "Up to 200 characters."
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true,
                  "description": "From 1 to 200. Default 50."
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Scope `webhooks:manage`. Spends the `reads` budget (600 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#get-v1-webhooks-id-deliveries"
          },
          "response": []
        },
        {
          "name": "Send a delivery again, now",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks/:id/deliveries/:deliveryId/replay",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "webhooks",
                ":id",
                "deliveries",
                ":deliveryId",
                "replay"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                },
                {
                  "key": "deliveryId",
                  "value": ""
                }
              ]
            },
            "description": "Scope `webhooks:manage`. Spends the `writes` budget (120 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#post-v1-webhooks-id-deliveries-deliveryid-replay"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Sandbox",
      "description": "The synthetic buyer, on the sandbox only.",
      "item": [
        {
          "name": "Buy from yourself",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"listing_id\": \"<listing_id>\",\n  \"quantity\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/sandbox/orders",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sandbox",
                "orders"
              ]
            },
            "description": "The synthetic buyer places and pays for an order on one of your listings through the real checkout, so `order.paid` reaches your endpoint by the production path. Then accept and deliver it as you would any order, and drive the buyer from the routes below. Sandbox only.\n\nScope `orders:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nRequired fields: `listing_id`, `quantity`. Optional fields: `character_name`, `player_id`, `zone_id`.\n\nReference: https://docs.freeport.gg/#post-v1-sandbox-orders"
          },
          "response": []
        },
        {
          "name": "The buyer confirms delivery",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sandbox/orders/:id/confirm",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sandbox",
                "orders",
                ":id",
                "confirm"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Scope `orders:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#post-v1-sandbox-orders-id-confirm"
          },
          "response": []
        },
        {
          "name": "The buyer cancels an order you have not accepted, once 30 minutes have passed since payment, and their held payment is released",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sandbox/orders/:id/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sandbox",
                "orders",
                ":id",
                "cancel"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Scope `orders:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#post-v1-sandbox-orders-id-cancel"
          },
          "response": []
        },
        {
          "name": "The buyer opens a dispute",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/sandbox/orders/:id/dispute",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sandbox",
                "orders",
                ":id",
                "dispute"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Scope `orders:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nOptional fields: `reason_code`, `detail`.\n\nReference: https://docs.freeport.gg/#post-v1-sandbox-orders-id-dispute"
          },
          "response": []
        },
        {
          "name": "The buyer puts their side on the record",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"body\": \"<body>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/sandbox/orders/:id/dispute/statements",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sandbox",
                "orders",
                ":id",
                "dispute",
                "statements"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "The buyer's half of a dispute lives at your own dispute routes with `/sandbox` in front, so you can rehearse all of one: `order.dispute_updated` reaches your endpoint by the production path. Sandbox only.\n\nScope `disputes:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nRequired fields: `body`. Optional fields: `links`.\n\nReference: https://docs.freeport.gg/#post-v1-sandbox-orders-id-dispute-statements"
          },
          "response": []
        },
        {
          "name": "The buyer proposes a settlement",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"buyer_refund\": \"<buyer_refund>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/sandbox/orders/:id/dispute/offers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sandbox",
                "orders",
                ":id",
                "dispute",
                "offers"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Scope `disputes:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nRequired fields: `buyer_refund`. Optional fields: `note`.\n\nReference: https://docs.freeport.gg/#post-v1-sandbox-orders-id-dispute-offers"
          },
          "response": []
        },
        {
          "name": "The buyer accepts your offer",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"buyer_refund\": \"<buyer_refund>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/sandbox/orders/:id/dispute/offers/:offerId/accept",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sandbox",
                "orders",
                ":id",
                "dispute",
                "offers",
                ":offerId",
                "accept"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                },
                {
                  "key": "offerId",
                  "value": "",
                  "description": "The id of an offer you made."
                }
              ]
            },
            "description": "Scope `disputes:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nRequired fields: `buyer_refund`.\n\nReference: https://docs.freeport.gg/#post-v1-sandbox-orders-id-dispute-offers-offerid-accept"
          },
          "response": []
        },
        {
          "name": "The buyer declines your offer",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sandbox/orders/:id/dispute/offers/:offerId/decline",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sandbox",
                "orders",
                ":id",
                "dispute",
                "offers",
                ":offerId",
                "decline"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                },
                {
                  "key": "offerId",
                  "value": "",
                  "description": "The id of an offer you made."
                }
              ]
            },
            "description": "Scope `disputes:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#post-v1-sandbox-orders-id-dispute-offers-offerid-decline"
          },
          "response": []
        },
        {
          "name": "The buyer takes their offer back",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sandbox/orders/:id/dispute/offers/:offerId/withdraw",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sandbox",
                "orders",
                ":id",
                "dispute",
                "offers",
                ":offerId",
                "withdraw"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                },
                {
                  "key": "offerId",
                  "value": "",
                  "description": "The id of the buyer's offer."
                }
              ]
            },
            "description": "Scope `disputes:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#post-v1-sandbox-orders-id-dispute-offers-offerid-withdraw"
          },
          "response": []
        },
        {
          "name": "The buyer drops the dispute and releases the payment",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sandbox/orders/:id/dispute/release",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sandbox",
                "orders",
                ":id",
                "dispute",
                "release"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "The one move that is only ever the buyer's: you are paid as if they had confirmed the delivery. `order.dispute_resolved` and `order.completed` follow.\n\nScope `disputes:write`. Spends the `writes` budget (120 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#post-v1-sandbox-orders-id-dispute-release"
          },
          "response": []
        },
        {
          "name": "Wipe your slate",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true,
                "description": "Any string you choose, up to 200 characters. A repeat within a day gets the first response back with `Idempotent-Replayed: true`, and the write never runs twice. A first response too large to keep is replayed under its original status with `Idempotent-Body: omitted` and the `ReplayedWithoutBody` schema in place of the body: the write completed, so read the resource for its current state. A repeat while the first is running is a 409 `idempotency_in_progress`. If the first attempt ended in a 5xx, or never reported its outcome, the repeat is a 409 `idempotency_outcome_unknown`: the write may have landed before the failure, so check whether it did, then use a new key. A 4xx refusal releases the key, so a corrected request runs under it. A key that is empty or longer than 200 characters is a 400 `idempotency_key_invalid`. If the key cannot be checked the request is refused with 503 `idempotency_unavailable`: send it again with the same key."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sandbox/reset",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sandbox",
                "reset"
              ]
            },
            "description": "Listings off the shelf, syncs and deliveries gone, the outbox cleared. Keys and endpoints stay; orders stay, because the ledger under them is append-only.\n\nScope `account:write`. Spends the `bulk` budget (20 a minute for a new seller).\n\nReference: https://docs.freeport.gg/#post-v1-sandbox-reset"
          },
          "response": []
        }
      ]
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://sandbox-api.freeport.gg",
      "type": "string",
      "description": "Where every request goes. It starts as the sandbox. To go live, set it to the value of productionUrl and apiKey to a live key."
    },
    {
      "key": "sandboxUrl",
      "value": "https://sandbox-api.freeport.gg",
      "type": "string",
      "description": "The sandbox. It accepts fp_test_ keys and no others."
    },
    {
      "key": "productionUrl",
      "value": "https://api.freeport.gg",
      "type": "string",
      "description": "Production. It accepts fp_live_ keys and no others."
    },
    {
      "key": "apiKey",
      "value": "",
      "type": "string",
      "description": "Your key, from Selling, then Integrations. Put it in the current value on your own machine and leave the initial value empty."
    }
  ]
}