openapi: 3.0.2
info:
version: 0.1.0
title: Spreadconnect fulfillment service REST Articles Designs 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: Designs
paths:
/designs/upload:
post:
operationId: uploadDesign
summary: Upload a new design
description: Upload a new design
tags:
- Designs
security:
- access_token: []
requestBody:
required: true
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/DesignUpload'
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
designId:
type: string
description: reusable design id
'400':
description: Bad request
components:
schemas:
DesignUpload:
type: object
properties:
file:
type: bytes
description: the image you wish to upload
url:
type: string
description: we download the image for you
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.