pixdress Cart API

The Cart API from pixdress — 9 operation(s) for cart.

GitHub OpenAPI

Operations 9

GET /cart Cart Page #
POST /api/cart/apply-gift-code Api Cart Apply Gift #
POST /api/cart/remove-gift-code Api Cart Remove Gift #
POST /api/cart/apply-coupon Api Cart Apply Coupon #
POST /api/cart/remove-coupon Api Cart Remove Coupon #
POST /api/cart/add-set Api Cart Add Set #
POST /api/cart/add Api Cart Add #
DELETE /api/cart/remove/{item_id} Api Cart Remove #
GET /api/cart/{item_id}/ansicht/{view} Api Cart Ansicht #

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/pixdress-de:pixdress-de-cart-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

pixdress-de-cart-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: pixdress Cart API
  version: 0.1.0
tags:
- name: Cart
paths:
  /cart:
    get:
      summary: Cart Page
      operationId: cart_page_cart_get
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
      tags:
      - Cart
  /api/cart/apply-gift-code:
    post:
      summary: Api Cart Apply Gift
      description: Validiert Gutschein-Code und speichert ihn als Cookie fuer den Warenkorb.
      operationId: api_cart_apply_gift_api_cart_apply_gift_code_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_api_cart_apply_gift_api_cart_apply_gift_code_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Cart
  /api/cart/remove-gift-code:
    post:
      summary: Api Cart Remove Gift
      description: Entfernt den angewandten Gutschein aus dem Warenkorb.
      operationId: api_cart_remove_gift_api_cart_remove_gift_code_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Cart
  /api/cart/apply-coupon:
    post:
      summary: Api Cart Apply Coupon
      description: Validiert einen Rabattcode (percent | free_shipping) und legt ihn als Cookie ab.
      operationId: api_cart_apply_coupon_api_cart_apply_coupon_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_api_cart_apply_coupon_api_cart_apply_coupon_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Cart
  /api/cart/remove-coupon:
    post:
      summary: Api Cart Remove Coupon
      description: Entfernt den angewandten Rabattcode aus dem Warenkorb.
      operationId: api_cart_remove_coupon_api_cart_remove_coupon_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Cart
  /api/cart/add-set:
    post:
      summary: Api Cart Add Set
      description: 'Legt ALLE Teile eines Sets in den Warenkorb — als normale Zeilen.


        Ein Set ist kein eigenes Produkt (s. config.PRODUCT_SETS): die Teile werden

        ueber eine gemeinsame `set_id` verbunden, den Preisvorteil rechnet

        `berechne_set_rabatt` beim Summieren. Dadurch bleibt Fulfillment, Rechnung

        und Panel-Handling unveraendert — es sind zwei ganz normale Positionen.


        Die Zeilen tragen den EINZELPREIS. Nur so stimmt der Warenkorb, wenn ein

        Teil entfernt wird und das Set zerfaellt; der Vorteil erscheint als eigene

        Rabattzeile statt in einem stillen Mischpreis.'
      operationId: api_cart_add_set_api_cart_add_set_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_api_cart_add_set_api_cart_add_set_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Cart
  /api/cart/add:
    post:
      summary: Api Cart Add
      operationId: api_cart_add_api_cart_add_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_api_cart_add_api_cart_add_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Cart
  /api/cart/remove/{item_id}:
    delete:
      summary: Api Cart Remove
      operationId: api_cart_remove_api_cart_remove__item_id__delete
      parameters:
      - name: item_id
        in: path
        required: true
        schema:
          type: string
          title: Item Id
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Cart
  /api/cart/{item_id}/ansicht/{view}:
    get:
      summary: Api Cart Ansicht
      description: 'Vorschaubild eines Warenkorb-Artikels — aus SEINEM Job, nicht aus dem Shop.


        Bis 09.08.2026 zeigte der Warenkorb `cart_items.front_mockup`. Das ist beim

        Kauf eingefroren worden und stammt bei jedem personalisierten Artikel vom

        ORIGINAL-Design: in /api/cart/add greift der Community-Zweig

        (`cd.mockup_front`) vor dem Job-Zweig, und der personalisierte Job hat zu

        dem Zeitpunkt ohnehin noch keine Mockups. Der Kaeufer sah also im Warenkorb

        das Teil ohne seinen Namen — genau das Bild, das er gerade geaendert hatte.


        Diese Route geht immer vom design_job des Artikels aus und nimmt in dieser

        Reihenfolge:

        1. fertiges Printful-Mockup (mockup_urls) — das schoenste Bild,

        2. sonst lokal gerendertes Sofort-Mockup aus final_panels/base_panels.


        Zwischengespeichert wird NUR, was schon endgueltig ist (aus final_panels).

        Sonst wuerde ein Bild festgeschrieben, das vor dem Hintergrund-Finalizer

        entstanden ist — also wieder ohne Namen.'
      operationId: api_cart_ansicht_api_cart__item_id__ansicht__view__get
      parameters:
      - name: item_id
        in: path
        required: true
        schema:
          type: string
          title: Item Id
      - name: view
        in: path
        required: true
        schema:
          type: string
          title: View
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Cart
components:
  schemas:
    Body_api_cart_add_api_cart_add_post:
      properties:
        product_id:
          type: string
          title: Product Id
        size:
          type: string
          title: Size
          default: M
        customer_name:
          type: string
          title: Customer Name
          default: ''
        tier:
          type: string
          title: Tier
          default: deluxe
        price:
          type: number
          title: Price
        community_design_id:
          type: string
          title: Community Design Id
          default: ''
        design_job_id:
          type: string
          title: Design Job Id
          default: ''
        ptext:
          type: string
          title: Ptext
          default: ''
        pfont:
          type: string
          title: Pfont
          default: bold
        pcolor:
          type: string
          title: Pcolor
          default: '#ffffff'
        pposx:
          type: number
          title: Pposx
          default: 0.5
        pposy:
          type: number
          title: Pposy
          default: 0.5
        pscale:
          type: number
          title: Pscale
          default: 0.5
        ppanel:
          type: string
          title: Ppanel
          default: front
        pclear:
          type: string
          title: Pclear
          default: ''
        ptransforms:
          type: string
          title: Ptransforms
          default: ''
        phem:
          type: string
          title: Phem
          default: ''
      type: object
      required:
      - product_id
      - price
      title: Body_api_cart_add_api_cart_add_post
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_api_cart_add_set_api_cart_add_set_post:
      properties:
        set_key:
          type: string
          title: Set Key
        sizes:
          type: string
          title: Sizes
        community_design_id:
          type: string
          title: Community Design Id
          default: ''
        design_job_id:
          type: string
          title: Design Job Id
          default: ''
        customer_name:
          type: string
          title: Customer Name
          default: ''
      type: object
      required:
      - set_key
      - sizes
      title: Body_api_cart_add_set_api_cart_add_set_post
    Body_api_cart_apply_coupon_api_cart_apply_coupon_post:
      properties:
        code:
          type: string
          title: Code
      type: object
      required:
      - code
      title: Body_api_cart_apply_coupon_api_cart_apply_coupon_post
    Body_api_cart_apply_gift_api_cart_apply_gift_code_post:
      properties:
        code:
          type: string
          title: Code
      type: object
      required:
      - code
      title: Body_api_cart_apply_gift_api_cart_apply_gift_code_post
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError