Ciloo Cart API

OAuth 1.0a (HMAC-SHA1) REST API on the ciloo/v1 namespace of a Ciloo brand store. Read, add, update and remove cart items; mint per-customer OAuth credentials from admin credentials; and issue one-hour auto-login tokens that drop a customer straight into the store's cart or order history. Customer records are created and updated through the WooCommerce wc/v3 namespace on the same host. Requests are form-encoded — the provider documents that a JSON content type breaks the signature.

Operations 4

GET /wp-json/ciloo/v1/cart Get cart items #
POST /wp-json/ciloo/v1/cart/add-item Add item to cart #
PUT /wp-json/ciloo/v1/cart/items/{asset_id} Update cart item #
DELETE /wp-json/ciloo/v1/cart/items/{asset_id} Remove cart item #

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/ciloo-cart-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

ciloo-cart-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ciloo Cart API
  version: 2.0.0
  summary: OAuth 1.0a secured REST API for Ciloo brand-store cart, auto-login and customer operations.
  description: The Ciloo Cart API is the custom REST namespace (`ciloo/v1`) exposed by every Ciloo Print brand store for managing a customer's shopping cart, issuing time-limited auto-login tokens into the Ciloo Print Platform, and provisioning per-customer OAuth 1.0a credentials. Customer records themselves are created and updated through the WooCommerce REST API v3 (`wc/v3`) namespace that Ciloo documents alongside the cart namespace. Every operation below is transcribed from the provider's own published reference at https://api.cilooprint.com/ciloo-cart-api-documentation/ and its downloadable Postman collection; no operation, parameter or response has been invented.
  contact:
    name: Ciloo Support
    email: support@ciloo.com
    url: https://api.cilooprint.com/ciloo-cart-api-documentation/
  x-provenance:
    generated: '2026-08-12'
    method: generated
    source:
    - https://api.cilooprint.com/ciloo-cart-api-documentation/
    - collections/ciloo-cart-api.postman_collection.json
    note: Generated faithfully from the provider's published API reference and first-party Postman collection. Ciloo publishes no OpenAPI of its own; every path, method, parameter and example here is copied verbatim from those two provider-published sources.
servers:
- url: https://{store_domain}
  description: A Ciloo brand store. Each customer brand store is its own host — a Ciloo-hosted <tenant>.cilooprint.com subdomain or a customer-owned domain (e.g. store.jacobs.com, hempelstore.com) — and the API lives under /wp-json on that same host. The documentation writes this as "https://your-domain.com/wp-json/ciloo/v1/".
  variables:
    store_domain:
      default: shop.ciloo.com
      description: The hostname of your Ciloo brand store.
tags:
- name: Cart
  description: Cart item read/write operations on the ciloo/v1 namespace.
paths:
  /wp-json/ciloo/v1/cart:
    get:
      operationId: getCartItems
      summary: Get cart items
      description: Retrieve all items currently in the customer's shopping cart with detailed metadata.
      tags:
      - Cart
      security:
      - oauth1a: []
      responses:
        '200':
          description: Cart contents for the authenticated customer.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CartResponse'
              examples:
                documented:
                  summary: Example from the Ciloo Cart API reference
                  value:
                    success: true
                    cart_items:
                      asset-business-card-001:
                        quantity: 2
                        filename: premium-business-card.pdf
                        productUid: Business_Card_Premium_001
                        pages: 1
                        url: https://example.com/files/premium-business-card.pdf
                        item_sku: BC-PREM-001
                        product_id: 1234
        '401':
          $ref: '#/components/responses/Unauthorized'
        '400':
          $ref: '#/components/responses/BadRequest'
  /wp-json/ciloo/v1/cart/add-item:
    post:
      operationId: addCartItem
      summary: Add item to cart
      description: Add a new item to the customer's cart with complete product metadata and file information.
      tags:
      - Cart
      security:
      - oauth1a: []
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - asset_id
              - quantity
              - filename
              - productUid
              - pages
              - url
              - item_sku
              properties:
                asset_id:
                  type: string
                  description: Unique identifier for the cart item.
                  examples:
                  - business-card-001
                quantity:
                  type: integer
                  description: Number of items to add.
                  examples:
                  - 2
                filename:
                  type: string
                  description: Original filename.
                  examples:
                  - business-card.pdf
                productUid:
                  type: string
                  description: Product identifier from your system.
                  examples:
                  - Business_Card_001
                pages:
                  type: integer
                  description: Number of pages in the file.
                  examples:
                  - 1
                url:
                  type: string
                  format: uri
                  description: Direct URL to the file.
                  examples:
                  - https://example.com/file.pdf
                item_sku:
                  type: string
                  description: SKU for the item/product.
                  examples:
                  - BC-PREM-001
      responses:
        '200':
          description: Item added to the cart.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /wp-json/ciloo/v1/cart/items/{asset_id}:
    parameters:
    - name: asset_id
      in: path
      required: true
      description: The asset_id of the cart item. Note the provider documents that route parameters are included in the OAuth 1.0a signature base string.
      schema:
        type: string
      examples:
        documented:
          value: business-card-001
    put:
      operationId: updateCartItem
      summary: Update cart item
      description: Modify the quantity of an existing cart item.
      tags:
      - Cart
      security:
      - oauth1a: []
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - quantity
              properties:
                quantity:
                  type: integer
                  description: The new quantity for the cart item.
                  examples:
                  - 5
      responses:
        '200':
          description: Cart item updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
    delete:
      operationId: removeCartItem
      summary: Remove cart item
      description: Completely remove an item from the customer's cart. The provider documents this action as irreversible.
      tags:
      - Cart
      security:
      - oauth1a: []
      responses:
        '200':
          description: Cart item removed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    CartResponse:
      type: object
      properties:
        success:
          type: boolean
        cart_items:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/CartItem'
        meta:
          type: object
          properties:
            total_items:
              type: integer
            last_updated:
              type: string
              format: date-time
    SuccessResponse:
      type: object
      properties:
        success:
          type: boolean
        data:
          type: object
    ErrorResponse:
      type: object
      description: The documented Ciloo error envelope. Note this is a bespoke envelope, not RFC 9457 problem+json.
      properties:
        success:
          type: boolean
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            details:
              type: string
            timestamp:
              type: string
              format: date-time
        debug:
          type: object
          properties:
            request_id:
              type: string
            endpoint:
              type: string
            method:
              type: string
    CartItem:
      type: object
      description: One item in a Ciloo brand-store cart, keyed in responses by its asset_id.
      properties:
        quantity:
          type: integer
        filename:
          type: string
        productUid:
          type: string
        pages:
          type: integer
        url:
          type: string
          format: uri
        item_sku:
          type: string
        product_id:
          type: integer
        added_at:
          type: string
          format: date-time
  responses:
    BadRequest:
      description: Request rejected. Returns the documented error envelope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Authentication failed. The provider documents OAUTH_SIGNATURE_INVALID as by far the most common error (about 80% of reported integration problems).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            documented:
              value:
                success: false
                error:
                  code: OAUTH_SIGNATURE_INVALID
                  message: OAuth signature validation failed
                  details: The provided signature does not match the expected signature
                  timestamp: '2025-08-16T10:30:00Z'
                debug:
                  request_id: req_1692096000_abc123
                  endpoint: /wp-json/ciloo/v1/cart/add-item
                  method: POST
  securitySchemes:
    oauth1a:
      type: http
      scheme: OAuth
      description: 'OAuth 1.0a with the HMAC-SHA1 signature method (RFC 5849 "OAuth" HTTP authentication scheme). Required parameters: oauth_consumer_key, oauth_signature_method=HMAC-SHA1, oauth_timestamp, oauth_nonce, oauth_version=1.0, oauth_signature. Content-Type must be application/x-www-form-urlencoded — the provider documents that a JSON content type causes signature failures. Body parameters are merged into the signature base string for POST and PUT only; path parameters are included. The provider documents that timestamp and nonce values are not validated by the current implementation.'
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic authentication using the consumer key as username and consumer secret as password. Documented as used only by generateCustomerLoginToken.