SPOD Stock API

The Stock API from SPOD — 2 operation(s) for stock.

OpenAPI Specification

spod-stock-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: SPOD (Spreadconnect) Fulfillment REST Articles Stock API
  version: '1.0'
  description: REST API for SPOD (Spreadshirt Print-On-Demand), now branded Spreadconnect. Create customizable articles from designs, place and manage print-on-demand orders, choose shipping types and track shipments, browse the catalog of product types, check stock, and subscribe to webhook notifications for article, order, and shipment events. All requests are authenticated with a per-account API access token sent in the X-SPOD-ACCESS-TOKEN header. This document is an API Evangelist reference grounded in SPOD's published OpenAPI and developer documentation; verify request/response schemas against the live docs before production use.
  contact:
    name: SPOD
    url: https://www.spod.com
    email: business@spod.com
  termsOfService: https://faq.spod.com/hc/en-us/articles/360020630280
servers:
- url: https://rest.spod.com
  description: Production
- url: https://rest.spreadconnect-staging.app
  description: Staging / test environment
security:
- access_token: []
tags:
- name: Stock
paths:
  /stock:
    get:
      tags:
      - Stock
      operationId: getStocks
      summary: List stock for all variants
      description: Retrieve inventory availability across all product variants.
      responses:
        '200':
          description: Stock across variants.
  /stock/{sku}:
    get:
      tags:
      - Stock
      operationId: getStock
      summary: Get stock for a SKU
      parameters:
      - name: sku
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Stock for the given SKU.
        '404':
          description: SKU not found.
components:
  securitySchemes:
    access_token:
      type: apiKey
      in: header
      name: X-SPOD-ACCESS-TOKEN
      description: Per-account API access token generated in the SPOD / Spreadconnect web application. Send it as a header on every request.