Cart.com Customer Types API

The Customer Types API from Cart.com — 2 operation(s) for customer types.

Operations 4

GET /customer_types Get Customer Types #
POST /customer_types Create a Customer Type #
PUT /customer_types/{id} Update a Customer Type #
DELETE /customer_types/{id} Delete a Customer 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/cart-com-customer-types-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

cart-com-customer-types-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Online Store Customer Types API
  version: '1.0'
  description: Online Store API
servers:
- url: https://www.yoursite.com/api/v1
  description: ''
security:
- X-AC-Auth-Token: []
tags:
- name: Customer Types
paths:
  /customer_types:
    get:
      summary: Get Customer Types
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  total_count:
                    type: integer
                  customer_types:
                    type: array
                    items:
                      $ref: '#/components/schemas/customer_types'
      operationId: get-customer_types
      description: Gets an array of customer types.
      tags:
      - Customer Types
    post:
      summary: Create a Customer Type
      operationId: post-customer_types
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customer_types'
      tags:
      - Customer Types
      description: Creates a customer type.
      requestBody:
        content:
          application/json:
            schema:
              description: ''
              type: object
              x-examples:
                example-1:
                  id: 1
                  name: Wholesale
                  customer_level: 1
                  description: ''
              properties:
                name:
                  type: string
                  minLength: 1
                customer_level:
                  type: number
                description:
                  type: string
              required:
              - name
            examples:
              Example:
                value:
                  name: wholesale
                  customer_level: 1
                  description: ''
  /customer_types/{id}:
    parameters:
    - schema:
        type: integer
      name: id
      in: path
      required: true
    put:
      summary: Update a Customer Type
      operationId: put-customer_types-id
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customer_types'
      tags:
      - Customer Types
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customer_types'
      description: Updates a customer type.
    delete:
      summary: Delete a Customer Type
      operationId: delete-customer_types-id
      responses:
        '200':
          description: OK
        '404':
          $ref: '#/components/responses/404'
      tags:
      - Customer Types
      description: Deletes a customer type.
components:
  responses:
    '404':
      description: Resource Not Found
      content:
        application/json:
          schema:
            description: Not Found
            type: object
            x-examples:
              example-1:
                status_code: 404
                message: Not Found
                details: No resource found
            properties:
              status_code:
                type: number
              message:
                type: string
              details:
                type: string
          examples: {}
      headers: {}
  schemas:
    customer_types:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        customer_level:
          type: integer
        description:
          type: string
        updated_at:
          type: string
        created_at:
          type: string
  securitySchemes:
    X-AC-Auth-Token:
      name: X-AC-Auth-Token
      type: apiKey
      in: header