Phasio Customer Cart Controller API

Endpoints for managing customer shopping carts

Operations 5

GET /api/customer/v1/cart List open carts #
POST /api/customer/v1/cart Create a new shopping cart #
PATCH /api/customer/v1/cart/{cartId}/claim Claim shopping cart #
GET /api/customer/v1/cart/{cartId} Get cart by ID #
DELETE /api/customer/v1/cart/{cartId} Soft delete a shopping cart #

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/phasio-customer-cart-controller-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 email required.

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

OpenAPI Specification

phasio-customer-cart-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Phasio Activity Internal Customer Cart Controller API
  description: This is the API documentation for the Phasio application.
  version: '1.0'
servers:
- url: https://m-api.eu.phas.io
  description: Generated server url
security:
- Phasio API Bearer Token: []
tags:
- name: Customer Cart Controller
  description: Endpoints for managing customer shopping carts
paths:
  /api/customer/v1/cart:
    get:
      tags:
      - Customer Cart Controller
      summary: List open carts
      description: Returns all open carts for the current customer organisation
      operationId: getOpenCarts
      responses:
        '200':
          description: List of open carts
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CartResponseDto'
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CartResponseDto'
    post:
      tags:
      - Customer Cart Controller
      summary: Create a new shopping cart
      description: Creates a new empty shopping cart for the current customer
      operationId: create_22
      responses:
        '200':
          description: Cart successfully created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CartResponseDto'
        '400':
          description: Unable to create cart
        '401':
          description: Unauthorized - missing or invalid authentication
  /api/customer/v1/cart/{cartId}/claim:
    patch:
      tags:
      - Customer Cart Controller
      summary: Claim shopping cart
      description: Claims an existing shopping cart for the current customer
      operationId: claim_1
      parameters:
      - name: cartId
        in: path
        description: ID of the cart to update
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: Cart successfully claimed
        '401':
          description: Unauthorized - missing or invalid authentication
        '409':
          description: Conflict - Cart has already been claimed
        '404':
          description: Cart not found
  /api/customer/v1/cart/{cartId}:
    get:
      tags:
      - Customer Cart Controller
      summary: Get cart by ID
      description: Returns a single cart with items for the resume flow
      operationId: getById_13
      parameters:
      - name: cartId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Cart with items
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CartResponseDto'
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CartResponseDto'
        '404':
          description: Cart not found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CartResponseDto'
    delete:
      tags:
      - Customer Cart Controller
      summary: Soft delete a shopping cart
      description: Sets the cart status to DELETED without removing it from the database
      operationId: softDelete
      parameters:
      - name: cartId
        in: path
        description: ID of the cart to soft-delete
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: Cart successfully soft-deleted
        '401':
          description: Unauthorized - missing or invalid authentication
        '404':
          description: Cart not found
components:
  schemas:
    CartResponseDto:
      type: object
      properties:
        cartId:
          type: string
          format: uuid
        cartItemDtos:
          type: array
          items:
            $ref: '#/components/schemas/CartItemDto'
        operatorId:
          type: integer
          format: int64
        customerId:
          type: integer
          format: int64
        customerEmail:
          type: string
        customerPhone:
          type: string
        cartNumber:
          type: integer
          format: int64
        status:
          type: string
          enum:
          - OPEN
          - DELETED
          - CONVERTED
        createdAt:
          type: string
          format: date-time
        lastUpdated:
          type: string
          format: date-time
      required:
      - cartId
      - cartItemDtos
      - createdAt
      - lastUpdated
      - status
    CartItemDto:
      type: object
      properties:
        id:
          type: integer
          format: int64
        partRevisionId:
          type: string
          format: uuid
        partName:
          type: string
        quantity:
          type: integer
        colorId:
          type: integer
          format: int64
        precisionPricesId:
          type: integer
          format: int64
        infillId:
          type: integer
          format: int64
        processPricesId:
          type: string
          format: uuid
        materialPricesId:
          type: integer
          format: int64
        leadTimeId:
          type: string
          format: uuid
        units:
          type: string
          enum:
          - CENTIMETERS
          - MILLIMETERS
          - METRES
          - INCHES
          - FEET
        postProcessingIds:
          type: array
          items:
            type: integer
            format: int64
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
      - id
      - quantity
  securitySchemes:
    Phasio_API_Bearer_Token:
      type: http
      name: Authorization
      in: header
      scheme: bearer
      bearerFormat: JWT