Resollo Orders API

The Orders API from Resollo — 1 operation(s) for orders.

GitHub OpenAPI

Operations 1

POST /orders Place an order for a fixed-price listing #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/resollo-com:resollo-com-orders-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

resollo-com-orders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Resollo Agent Orders API
  version: 1.0.0
  description: 'Structured JSON API for AI agents and browser-agent clients to search, inspect,

    (with an explicit, per-user API key) place orders on Resollo marketplace listings on

    a buyer''s behalf, and create new listings on a seller''s behalf from photos. `search_products`/`get_product` are unauthenticated discovery; `place_order` and

    `create_product` are authenticated writes. **`create_product` never generates listing content on the agent''s side.** It takes no

    content at all, not even the photos: it opens Resollo''s photo picker (`upload_url`), where

    the seller picks the photos themselves. Resollo''s own built-in AI (the same pipeline the web listing form''s

    "AI autofill" button uses) analyzes them and generates the title, description,

    category, condition, and a suggested price. The resulting listing is created

    `inactive` and never goes live automatically -- the seller must review and activate

    it themselves via their existing Resollo product-management page before it becomes

    visible or enters moderation. **`place_order` never does payment processing.** Resollo checkout has never routed

    payment through the platform -- sellers are paid off-platform by whatever method

    buyer and seller agree (cash included), and buyer protection is handled through the

    `payment_safety` messaging returned by this endpoint plus Resollo support, not a

    payment gateway. `place_order` creates an order record via the exact same backend

    path the web checkout form uses; it never introduces a payment token, a delegated

    payment authorization, or any payment-preparation step, and it never will -- this is

    a deliberate platform boundary, not a gap to fill in a later phase. Compare this to

    payment-carrying agent-commerce protocols like the Stripe/OpenAI Agentic Commerce

    Protocol or Google''s Agent Payments Protocol: this API deliberately omits their

    payment-credential layer entirely. **`place_order` requires human confirmation.** Its `confirm` field must be `true`,

    and an agent must only ever set it after the user has explicitly approved the order

    having seen the `payment_safety` text this API returns from `search_products` /

    `get_product` (via `place_order`''s own response once the order is placed -- an agent

    should surface the *would-be* payment safety text to the user before calling

    `place_order`, using the same `checkout.paymentSafety.*` copy). An agent must never

    call `place_order` on its own initiative. This API exposes only data that is already publicly readable on the Resollo

    website (via Postgres row-level security) and already published to AI crawlers as

    prose at `/[lang]/products/[id]/llms.txt` and in `Product` JSON-LD on every

    listing page. This API''s value-add over those is a stable, filterable,

    machine-parseable JSON contract with real query parameters and pagination. `search_products` and `get_product` remain unauthenticated, rate-limited per client

    IP. `place_order` requires an `Authorization: Bearer ` header -- a

    user generates this key from their Resollo profile page and gives it to their agent;

    it identifies exactly one Resollo user, and orders placed with it are attributed to

    that user. `place_order` is additionally rate-limited per authenticated key. **This document specs the REST surface only.** The same `agent_api_keys` bearer

    token also authenticates a remote MCP (Model Context Protocol) server at

    `https://resollo.com/api/mcp`, which additionally exposes offer negotiation

    (`offers.make`/`offers.respond`), order-lifecycle tools (`orders.status`,

    `orders.reject`, `orders.checkoutLink` -- the last only ever returns a Stripe checkout

    link, it never charges anything itself), product Q&A/reviews

    (`questions.ask`, `questions.list`, `reviews.list`), a public seller-profile lookup

    (`sellers.get`), and a marketplace taxonomy/metadata reference (`marketplace.info`). Those ten tools are MCP-only -- built on the same underlying business logic as the

    REST endpoints above, but with no REST path of their own, so they are not listed

    under `paths` below.'
  contact:
    url: https://resollo.com
servers:
- url: https://resollo.com/api/agent/v1
  description: Production
security: []
tags:
- name: Orders
paths:
  /orders:
    post:
      operationId: place_order
      summary: Place an order for a fixed-price listing
      security:
      - AgentApiKey: []
      description: 'Creates a reserved order record (state `reserved`) via the same backend path the

        web checkout form uses (see `info.description`). No payment is taken: the buyer

        completes payment later themselves by the chosen `payment_method` (for `stripe`,

        through a Stripe-hosted checkout link). Requires a per-user `AgentApiKey` -- the order is

        attributed to that key''s user. `confirm` must be `true`, and must only be set

        after the user has explicitly approved the order having seen `payment_safety`

        text for the chosen `payment_method`. This endpoint never processes payment.


        `shipment_method` values other than `personal` require `address_key`, which

        must reference one of the buyer''s OWN saved addresses (managed on their Resollo

        profile page) -- this endpoint can never receive a new, agent-supplied address.

        If `address_key` is omitted, the buyer''s profile default address is used when

        one exists.


        Rejects auctions (fixed-price listings only), payment/shipment methods the

        seller doesn''t accept, cash paired with a non-`personal` shipment method,

        commission-plan sellers paired with a non-`stripe` payment method, and

        insufficient stock.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlaceOrderRequest'
      responses:
        '200':
          description: Order created (state `reserved`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlaceOrderResponse'
        '400':
          $ref: '#/components/responses/InvalidRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
      tags:
      - Orders
components:
  responses:
    InvalidRequest:
      description: The request was malformed or referenced an unsupported value (e.g. an unknown currency, an invalid cursor).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: 'Missing, malformed, or unrecognized `Authorization: Bearer` agent API key.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    RateLimited:
      description: Too many requests from this client.
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds to wait before retrying.
        X-RateLimit-Limit:
          schema:
            type: integer
        X-RateLimit-Remaining:
          schema:
            type: integer
        X-RateLimit-Reset:
          schema:
            type: integer
          description: Unix epoch milliseconds when the current window resets.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: Unexpected server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: The product doesn't exist or isn't publicly visible.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    PlaceOrderRequest:
      type: object
      required:
      - product_id
      - payment_method
      - shipment_method
      - confirm
      properties:
        product_id:
          type: string
          format: uuid
        payment_method:
          type: string
          enum:
          - cash
          - card
          - bank
          - paypal
          - stripe
        shipment_method:
          type: string
          enum:
          - personal
          - courier
          - postal
          - locker
        address_key:
          type: string
          description: One of the buyer's own saved address keys (Resollo profile page). Required unless `shipment_method` is `personal`; falls back to the buyer's default address when omitted. Never a raw/new address.
        quantity:
          type: integer
          minimum: 1
          maximum: 20
          default: 1
        comment:
          type: string
          maxLength: 500
        currency:
          type: string
          pattern: ^[A-Za-z]{3}$
          description: Informational only, used solely to detect a currency mismatch worth surfacing to the buyer (`payment_safety.currency_mismatch`). The order itself is always recorded in the listing's native currency.
        confirm:
          type: boolean
          enum:
          - true
          description: MUST be `true`, and only ever set `true` after the user has explicitly approved this order having seen `payment_safety` for `payment_method`. An agent must never set this on its own initiative.
    PaymentSafety:
      type: object
      required:
      - generic
      - method
      - currency_mismatch
      - item_not_as_described
      - dispute_fallback
      properties:
        generic:
          type: string
          description: Platform-wide payment safety framing (Resollo never holds funds).
        method:
          type: string
          description: Safety copy specific to the chosen `payment_method`.
        currency_mismatch:
          type:
          - string
          - 'null'
          description: Present only when `currency` differed from the listing's native currency.
        item_not_as_described:
          type: string
        dispute_fallback:
          type: string
          description: How to reach Resollo support if something goes wrong.
    Money:
      type: object
      required:
      - amount
      - currency
      properties:
        amount:
          type: number
        currency:
          type: string
          description: ISO 4217 currency code.
    PlaceOrderResponse:
      type: object
      required:
      - order_id
      - state
      - product
      - quantity
      - total_price
      - payment_method
      - shipment_method
      - payment_safety
      - created_at
      properties:
        order_id:
          type: string
          format: uuid
        state:
          type: string
          enum:
          - reserved
        product:
          type: object
          required:
          - id
          - name
          - url
          properties:
            id:
              type: string
              format: uuid
            name:
              type: string
            url:
              type: string
              format: uri
        quantity:
          type: integer
        total_price:
          $ref: '#/components/schemas/Money'
        payment_method:
          type: string
          enum:
          - cash
          - card
          - bank
          - paypal
          - stripe
        shipment_method:
          type: string
          enum:
          - personal
          - courier
          - postal
          - locker
        payment_safety:
          $ref: '#/components/schemas/PaymentSafety'
        created_at:
          type: string
          format: date-time
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              enum:
              - invalid_request
              - unauthorized
              - not_found
              - rate_limited
              - internal_error
            message:
              type: string
  securitySchemes:
    AgentApiKey:
      type: http
      scheme: bearer
      description: A per-user API key generated from the Resollo profile page ("AI Agent Access"). Identifies exactly one Resollo user; orders placed with it are attributed to that user.