Spreadshirt Stocks API

Get the available stock on the variants of the created articles.

Operations 3

GET /stock Get available stocks for all variants #
GET /stock/{sku} Get available stock for a certain variant #
GET /stock/productType/{productTypeId} Get available stock for a certain product type #

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/spreadshirt-stocks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

spreadshirt-stocks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 0.1.0
  title: Spreadconnect fulfillment service REST Articles Stocks API
  contact:
    name: Spreadconnect
    email: business@spreadconnect.app
    url: https://www.spreadshop.com/spreadconnect
  x-logo:
    url: https://assets.spod.com/merea/spreadconnect-logo-black.svg
  description: 'With this API you can create products and place orders in the Spreadconnect system.

    This gives you the opportunity to connect any shop system with Spreadconnect.

    '
  termsOfService: https://faq.spod.com/hc/en-us/articles/360020630280
servers:
- url: https://api.spreadconnect.app
tags:
- name: Stocks
  description: 'Get the available stock on the variants of the created articles.

    '
paths:
  /stock:
    get:
      operationId: getStocks
      summary: Get available stocks for all variants
      description: 'Get available stocks for all variants from the point of sale


        The result is a map of variant''s SKUs associated with their stock amount.

        '
      parameters:
      - name: limit
        in: query
        description: '*General pagination option*: defines the number of results to show

          '
        required: false
        schema:
          type: integer
          default: 100
      - name: offset
        in: query
        description: define the offset to be queried.
        required: false
        schema:
          default: 0
          type: integer
      tags:
      - Stocks
      security:
      - access_token: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: object
                    description: stock amount
                    additionalProperties:
                      type: integer
                      description: stock amount
                    example:
                      1059582691-P815A92S89: 256
                  count:
                    type: integer
                    default: 5
                  limit:
                    type: integer
                    default: 100
                  offset:
                    type: integer
  /stock/{sku}:
    get:
      operationId: getStock
      summary: Get available stock for a certain variant
      description: Get available stocks for a certain variant, by its SKU
      tags:
      - Stocks
      security:
      - access_token: []
      parameters:
      - in: path
        name: sku
        description: SKU of the variant
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: integer
        '404':
          description: Variant with given SKU not found
  /stock/productType/{productTypeId}:
    get:
      operationId: getStock
      summary: Get available stock for a certain product type
      description: Get available stocks for a certain product type with all the variants
      tags:
      - Stocks
      security:
      - access_token: []
      parameters:
      - in: path
        name: productTypeId
        description: Product Type ID
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  variants:
                    type: array
                    items:
                      type: object
                      properties:
                        appearanceId:
                          type: string
                          description: appearance of the variant
                        sizeId:
                          type: string
                          description: size of the variant
                        stock:
                          type: integer
                          description: stock of the variant
        '404':
          description: Product Type not found
components:
  securitySchemes:
    access_token:
      type: apiKey
      in: header
      name: X-SPOD-ACCESS-TOKEN
      description: It's necessary to have an authentication token from Spreadconnect. You can generate this token in your Spreadconnect web application. You have to send this token as a header parameter in each request.