Presscart Order Items API

The Order Items API from Presscart — 2 operation(s) for order items.

GitHub OpenAPI

Operations 3

GET /order-items List all order items #
GET /order-items/{order_item_id} Retrieve an order item #
DELETE /order-items/{order_item_id} Archive an order 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/presscart-com:presscart-com-order-items-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

presscart-com-order-items-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2.9.4
  title: PRESSCART PROD Order Items API
  description: API Documentation
security:
- Bearer: []
tags:
- name: Order Items
paths:
  /order-items:
    get:
      tags:
      - Order Items
      summary: List all order items
      description: Retrieve a list of order items. Admin users can view all items, API keys are restricted to their own team order items.
      parameters:
      - schema:
          type:
          - number
          - 'null'
        required: false
        name: limit
        in: query
      - schema:
          type:
          - number
          - 'null'
        required: false
        name: page
        in: query
      - schema:
          type: string
          enum:
          - asc
          - desc
        required: false
        name: order_by
        in: query
      - schema:
          type: string
        required: false
        name: sort_by
        in: query
      - schema:
          type: string
          enum:
          - 'true'
          - 'false'
        required: false
        name: include_archived
        in: query
      - schema:
          type: string
          enum:
          - 'true'
          - 'false'
        required: false
        name: skip_pagination
        in: query
      - schema:
          type: object
          properties:
            search:
              type: string
            id:
              type: string
            is_publisher_paid:
              type: string
              enum:
              - 'true'
              - 'false'
            is_reseller_paid:
              type: string
              enum:
              - 'true'
              - 'false'
            has_referrer:
              type: string
              enum:
              - 'true'
              - 'false'
            refund_required:
              type: string
              enum:
              - 'true'
              - 'false'
            is_refunded:
              type: string
              enum:
              - 'true'
              - 'false'
            start_date:
              type: string
            end_date:
              type: string
            order_line_item_id:
              type: string
            commission_status:
              type: string
              enum:
              - PAID
              - PENDING
              - CANCELLED
            include_article:
              type: string
              enum:
              - 'true'
              - 'false'
            team_ids:
              type: array
              items:
                type: string
            product_ids:
              type: array
              items:
                type: string
            provider_team_ids:
              type: array
              items:
                type: string
        required: false
        name: filters
        in: query
      responses:
        '200':
          description: Order Items retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  total_pages:
                    type: number
                  current_page:
                    type: number
                  next_page:
                    type:
                    - number
                    - 'null'
                  previous_page:
                    type:
                    - number
                    - 'null'
                  records:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        referrer_id:
                          type:
                          - string
                          - 'null'
                          format: uuid
                        referrer_team_id:
                          type:
                          - string
                          - 'null'
                          format: uuid
                        product_id:
                          type: string
                          format: uuid
                        is_accounting_completed:
                          type:
                          - boolean
                          - 'null'
                        is_publisher_paid:
                          type:
                          - boolean
                          - 'null'
                        is_reseller_paid:
                          type:
                          - boolean
                          - 'null'
                        accounting_completion_date:
                          anyOf:
                          - type:
                            - string
                            - 'null'
                          - type: string
                          - {}
                          example: null
                        publisher_paid_date:
                          anyOf:
                          - type:
                            - string
                            - 'null'
                          - type: string
                          - {}
                          example: null
                        reseller_paid_date:
                          anyOf:
                          - type:
                            - string
                            - 'null'
                          - type: string
                          - {}
                          example: null
                        refund_required:
                          type:
                          - boolean
                          - 'null'
                          example: false
                        is_refunded:
                          type:
                          - boolean
                          - 'null'
                          example: false
                        refund_date:
                          anyOf:
                          - type:
                            - string
                            - 'null'
                          - type: string
                          - {}
                          example: null
                        refund_method:
                          type:
                          - string
                          - 'null'
                          example: null
                        refund_reference:
                          type:
                          - string
                          - 'null'
                          example: null
                        created_at:
                          anyOf:
                          - type:
                            - string
                            - 'null'
                          - type: string
                          - {}
                          example: '2026-11-19T17:30:12.209Z'
                        updated_at:
                          anyOf:
                          - type:
                            - string
                            - 'null'
                          - type: string
                          - {}
                          example: '2026-11-19T17:30:12.209Z'
                        deleted_at:
                          anyOf:
                          - type:
                            - string
                            - 'null'
                          - type: string
                          - {}
                          example: null
                        order_id:
                          type: string
                          format: uuid
                        client_id:
                          type:
                          - string
                          - 'null'
                          format: uuid
                        date_paid:
                          type:
                          - string
                          - 'null'
                        sale_price:
                          type: number
                        product_name:
                          type: string
                        product_price:
                          type: number
                        product_type:
                          type: string
                        article_id:
                          type:
                          - string
                          - 'null'
                          format: uuid
                        article:
                          type:
                          - object
                          - 'null'
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                              example: Caveo cunae deleo adversus sit ars timor.
                            live_url:
                              type:
                              - string
                              - 'null'
                              minLength: 1
                              example: null
                            order_item_id:
                              type: string
                              format: uuid
                            approval_date:
                              anyOf:
                              - type:
                                - string
                                - 'null'
                              - type: string
                              - {}
                              example: null
                            updated_at:
                              anyOf:
                              - type:
                                - string
                                - 'null'
                              - type: string
                              - {}
                              example: '2026-11-19T17:30:12.094Z'
                            published_date:
                              anyOf:
                              - type:
                                - string
                                - 'null'
                              - type: string
                              - {}
                              example: null
                            publish_status:
                              type: string
                              enum:
                              - UNPUBLISH
                              - PUBLISHING
                              - PUBLISHED
                              - PENDING
                              example: UNPUBLISH
                            estimated_publish_date:
                              anyOf:
                              - type:
                                - string
                                - 'null'
                              - type: string
                              - {}
                              example: null
                            campaign:
                              type:
                              - object
                              - 'null'
                              properties:
                                id:
                                  type: string
                                  format: uuid
                                name:
                                  type: string
                                  example: Campaign A
                                profile_id:
                                  type: string
                                  format: uuid
                              required:
                              - id
                              - name
                              - profile_id
                            writer:
                              type:
                              - object
                              - 'null'
                              properties:
                                id:
                                  type: string
                                  format: uuid
                                first_name:
                                  type: string
                                  example: Mozell
                                last_name:
                                  type: string
                                  example: Koepp
                              required:
                              - id
                              - first_name
                              - last_name
                          required:
                          - id
                          - name
                          - live_url
                          - order_item_id
                          - approval_date
                          - updated_at
                          - published_date
                          - publish_status
                          - estimated_publish_date
                          - campaign
                          - writer
                        internal_cost:
                          type:
                          - number
                          - 'null'
                        reseller_price:
                          type:
                          - number
                          - 'null'
                        client:
                          type:
                          - object
                          - 'null'
                          properties:
                            first_name:
                              type: string
                              example: Mozell
                            last_name:
                              type: string
                              example: Koepp
                          required:
                          - first_name
                          - last_name
                        outlet:
                          type:
                          - object
                          - 'null'
                          properties:
                            logo:
                              type:
                              - string
                              - 'null'
                              example: null
                            min_turnaround_time_in_days:
                              type: number
                              minimum: 1
                            max_turnaround_time_in_days:
                              type: number
                              minimum: 1
                          required:
                          - logo
                          - min_turnaround_time_in_days
                          - max_turnaround_time_in_days
                      required:
                      - id
                      - referrer_id
                      - referrer_team_id
                      - product_id
                      - accounting_completion_date
                      - publisher_paid_date
                      - reseller_paid_date
                      - refund_date
                      - refund_method
                      - refund_reference
                      - created_at
                      - updated_at
                      - deleted_at
                      - order_id
                      - client_id
                      - date_paid
                      - sale_price
                      - product_name
                      - product_price
                      - product_type
                      - article_id
                      - article
                      - internal_cost
                      - reseller_price
                      - client
                      - outlet
                  total_records:
                    type: number
                required:
                - total_pages
                - current_page
                - next_page
                - previous_page
                - records
                - total_records
      operationId: getOrderItems
  /order-items/{order_item_id}:
    get:
      tags:
      - Order Items
      summary: Retrieve an order item
      description: Retrieve the details of an order item.
      parameters:
      - schema:
          type: string
          format: uuid
          example: 29a960c0-c751-41fc-b6b2-7316f95ea29e
        required: true
        name: order_item_id
        in: path
      responses:
        '200':
          description: Order Item retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  referrer_id:
                    type:
                    - string
                    - 'null'
                    format: uuid
                  referrer_team_id:
                    type:
                    - string
                    - 'null'
                    format: uuid
                  order_line_item_id:
                    type: string
                    format: uuid
                  product_id:
                    type: string
                    format: uuid
                  campaign_id:
                    type:
                    - string
                    - 'null'
                    format: uuid
                    example: null
                  linked_order_item_id:
                    type:
                    - string
                    - 'null'
                    format: uuid
                    example: null
                  is_accounting_completed:
                    type:
                    - boolean
                    - 'null'
                  is_publisher_paid:
                    type:
                    - boolean
                    - 'null'
                  is_reseller_paid:
                    type:
                    - boolean
                    - 'null'
                  is_add_on:
                    type:
                    - boolean
                    - 'null'
                    example: false
                  accounting_completion_date:
                    anyOf:
                    - type:
                      - string
                      - 'null'
                    - type: string
                    - {}
                    example: null
                  publisher_paid_date:
                    anyOf:
                    - type:
                      - string
                      - 'null'
                    - type: string
                    - {}
                    example: null
                  reseller_paid_date:
                    anyOf:
                    - type:
                      - string
                      - 'null'
                    - type: string
                    - {}
                    example: null
                  refund_required:
                    type:
                    - boolean
                    - 'null'
                    example: false
                  is_refunded:
                    type:
                    - boolean
                    - 'null'
                    example: false
                  refund_date:
                    anyOf:
                    - type:
                      - string
                      - 'null'
                    - type: string
                    - {}
                    example: null
                  refund_method:
                    type:
                    - string
                    - 'null'
                    example: null
                  refund_reference:
                    type:
                    - string
                    - 'null'
                    example: null
                  created_at:
                    anyOf:
                    - type:
                      - string
                      - 'null'
                    - type: string
                    - {}
                    example: '2026-11-19T17:30:12.209Z'
                  updated_at:
                    anyOf:
                    - type:
                      - string
                      - 'null'
                    - type: string
                    - {}
                    example: '2026-11-19T17:30:12.209Z'
                  deleted_at:
                    anyOf:
                    - type:
                      - string
                      - 'null'
                    - type: string
                    - {}
                    example: null
                required:
                - id
                - referrer_id
                - referrer_team_id
                - order_line_item_id
                - product_id
                - campaign_id
                - linked_order_item_id
                - accounting_completion_date
                - publisher_paid_date
                - reseller_paid_date
                - refund_date
                - refund_method
                - refund_reference
                - created_at
                - updated_at
                - deleted_at
      operationId: getOrderItemsByOrderItemId
    delete:
      tags:
      - Order Items
      summary: Archive an order item
      description: Archive an order item.
      parameters:
      - schema:
          type: string
          format: uuid
          example: f7b10244-e07a-4af0-b6ad-706f650fc6c7
        required: true
        name: order_item_id
        in: path
      responses:
        '200':
          description: Order item archived successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  referrer_id:
                    type:
                    - string
                    - 'null'
                    format: uuid
                  referrer_team_id:
                    type:
                    - string
                    - 'null'
                    format: uuid
                  order_line_item_id:
                    type: string
                    format: uuid
                  product_id:
                    type: string
                    format: uuid
                  campaign_id:
                    type:
                    - string
                    - 'null'
                    format: uuid
                    example: null
                  linked_order_item_id:
                    type:
                    - string
                    - 'null'
                    format: uuid
                    example: null
                  is_accounting_completed:
                    type:
                    - boolean
                    - 'null'
                  is_publisher_paid:
                    type:
                    - boolean
                    - 'null'
                  is_reseller_paid:
                    type:
                    - boolean
                    - 'null'
                  is_add_on:
                    type:
                    - boolean
                    - 'null'
                    example: false
                  accounting_completion_date:
                    anyOf:
                    - type:
                      - string
                      - 'null'
                    - type: string
                    - {}
                    example: null
                  publisher_paid_date:
                    anyOf:
                    - type:
                      - string
                      - 'null'
                    - type: string
                    - {}
                    example: null
                  reseller_paid_date:
                    anyOf:
                    - type:
                      - string
                      - 'null'
                    - type: string
                    - {}
                    example: null
                  refund_required:
                    type:
                    - boolean
                    - 'null'
                    example: false
                  is_refunded:
                    type:
                    - boolean
                    - 'null'
                    example: false
                  refund_date:
                    anyOf:
                    - type:
                      - string
                      - 'null'
                    - type: string
                    - {}
                    example: null
                  refund_method:
                    type:
                    - string
                    - 'null'
                    example: null
                  refund_reference:
                    type:
                    - string
                    - 'null'
                    example: null
                  created_at:
                    anyOf:
                    - type:
                      - string
                      - 'null'
                    - type: string
                    - {}
                    example: '2026-11-19T17:30:12.209Z'
                  updated_at:
                    anyOf:
                    - type:
                      - string
                      - 'null'
                    - type: string
                    - {}
                    example: '2026-11-19T17:30:12.209Z'
                  deleted_at:
                    anyOf:
                    - type:
                      - string
                      - 'null'
                    - type: string
                    - {}
                    example: null
                required:
                - id
                - referrer_id
                - referrer_team_id
                - order_line_item_id
                - product_id
                - campaign_id
                - linked_order_item_id
                - accounting_completion_date
                - publisher_paid_date
                - reseller_paid_date
                - refund_date
                - refund_method
                - refund_reference
                - created_at
                - updated_at
                - deleted_at
      operationId: deleteOrderItemsByOrderItemId
components:
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
    ApiKey:
      type: http
      scheme: bearer
      bearerFormat: Presscart API key (pc_…)