TM Forum cancelProductOrder API

Operations for CancelProductOrder Resource

Operations 3

GET /cancelProductOrder TM Forum List or Find CancelProductOrder Objects #
POST /cancelProductOrder TM Forum Creates a CancelProductOrder #
GET /cancelProductOrder/{id} TM Forum Retrieves a CancelProductOrder by ID #

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/tm-forum-cancelproductorder-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

tm-forum-cancelproductorder-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ProductOrdering Cancel Product Order API
  description: "**TMF API Reference : TMF 622 - Product Ordering Management**\n\n** June 2023**\n\nThe Product Ordering API provides a standardized mechanism for placing a product order with all of the necessary order parameters. The API consists of a simple set of operations that interact with CRM/Order Negotiation systems in a consistent manner. A product order is created based on a product offer that is defined in a catalog. The product offer identifies the product or set of products that are available to a customer, and includes characteristics such as pricing, product options and market. This API provide a task based resource to request order cancellation.\n\nThe product order references the product offer and identifies any specific requests made by the customer.\n\n**Product Order resource**\nA Product Order is a type of order which can be used to place an order between a customer and a service provider or between a service provider and a partner and vice versa. Main Product Order attributes are its identifier, state, priority category (mass market, Enterprise, etc.) related dates (start, completion, etc.), related billing account, related parties and order items. Main Order Items (aka order lines) attributes are the ordered offering and product characteristics with the related action to be performed (e.g. add or delete the products), state, location information for delivery, order item price and price alteration.\n\nProduct Order API performs the following operations on product order :\n\n   * Retrieval of a product order or a collection of product orders depending on filter criteria\n   * Partial update of a product order (including updating rules)\n   * Creation of a product order (including default values and creation rules) - The productOrder could be created \n   in draft (the product order requester is not yet ready to submit it and draft order could be freely updated) or requester could\n   ask to an acknowledged state which means that requester submitted the order.\n   * Deletion of product order (for administration purposes)\n   * Notification of events on product order.\n\n**cancelProductOrder resource**\nThis resource is used to request a product order cancellation.\nProduct Order API performs the following operations on CancelProductOrder resource :\n\n   * Retrieval of a cancel product order or a collection of cancel product orders \n   * Creation of a cancel product order \n   * Notification of events on cancel product order.\n\nCopyright © TM Forum 2021. All Rights Reserved\n"
  version: 5.0.0
servers:
- url: https://serverRoot
tags:
- name: cancelProductOrder
  description: Operations for CancelProductOrder Resource
paths:
  /cancelProductOrder:
    get:
      tags:
      - cancelProductOrder
      summary: TM Forum List or Find CancelProductOrder Objects
      description: List or find CancelProductOrder objects
      operationId: listCancelProductOrder
      parameters:
      - $ref: '#/components/parameters/Fields'
      - $ref: '#/components/parameters/Offset'
      - $ref: '#/components/parameters/Limit'
      responses:
        '200':
          $ref: '#/components/responses/200CancelProductOrderArray'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '405':
          $ref: '#/components/responses/405'
        '500':
          $ref: '#/components/responses/500'
        '501':
          $ref: '#/components/responses/501'
        '503':
          $ref: '#/components/responses/503'
    post:
      tags:
      - cancelProductOrder
      summary: TM Forum Creates a CancelProductOrder
      description: This operation creates a CancelProductOrder entity.
      operationId: createCancelProductOrder
      parameters:
      - $ref: '#/components/parameters/Fields'
      requestBody:
        $ref: '#/components/requestBodies/CancelProductOrder_FVO'
      responses:
        '201':
          $ref: '#/components/responses/201CancelProductOrder'
        '202':
          description: Accepted
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '405':
          $ref: '#/components/responses/405'
        '409':
          $ref: '#/components/responses/409'
        '500':
          $ref: '#/components/responses/500'
        '501':
          $ref: '#/components/responses/501'
        '503':
          $ref: '#/components/responses/503'
  /cancelProductOrder/{id}:
    get:
      tags:
      - cancelProductOrder
      summary: TM Forum Retrieves a CancelProductOrder by ID
      description: This operation retrieves a CancelProductOrder entity. Attribute selection enabled for all first level attributes.
      operationId: retrieveCancelProductOrder
      parameters:
      - $ref: '#/components/parameters/Id'
      - $ref: '#/components/parameters/Fields'
      responses:
        '200':
          $ref: '#/components/responses/200CancelProductOrder_Get'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '405':
          $ref: '#/components/responses/405'
        '500':
          $ref: '#/components/responses/500'
        '501':
          $ref: '#/components/responses/501'
        '503':
          $ref: '#/components/responses/503'
components:
  schemas:
    Error:
      discriminator:
        propertyName: '@type'
        mapping:
          Error: '#/components/schemas/Error'
      allOf:
      - $ref: '#/components/schemas/Extensible'
      - type: object
        required:
        - code
        - reason
        properties:
          code:
            type: string
            description: Application relevant detail, defined in the API or a common list.
          reason:
            type: string
            description: Explanation of the reason for the error which can be shown to a client user.
          message:
            type: string
            description: More details and corrective actions related to the error which can be shown to a client user.
          status:
            type: string
            description: HTTP Error code extension
          referenceError:
            type: string
            description: URI of documentation describing the error.
      description: Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
    TaskStateType:
      enum:
      - acknowledged
      - rejected
      - inProgress
      - cancelled
      - done
      - terminatedWithError
      type: string
      description: Possible values for the state of a task
    Entity:
      type: object
      description: Base entity schema for use in TMForum Open-APIs. Property.
      allOf:
      - $ref: '#/components/schemas/Extensible'
      - $ref: '#/components/schemas/Addressable'
    ProductOrderRef_FVO:
      type: object
      description: A reference to an existing Product Order.
      allOf:
      - $ref: '#/components/schemas/Extensible_FVO'
      - $ref: '#/components/schemas/EntityRef_FVO'
      discriminator:
        propertyName: '@type'
        mapping:
          ProductOrderRef: '#/components/schemas/ProductOrderRef_FVO'
    EntityRef_FVO:
      allOf:
      - $ref: '#/components/schemas/Extensible_FVO'
      - $ref: '#/components/schemas/Addressable_FVO'
      - type: object
        description: Entity reference schema to be use for all entityRef class.
        properties:
          id:
            type: string
            description: The identifier of the referred entity.
          href:
            type: string
            description: The URI of the referred entity.
          name:
            type: string
            description: Name of the referred entity.
          '@referredType':
            type: string
            description: The actual type of the target instance when needed for disambiguation.
        required:
        - id
    Extensible:
      type: object
      description: Base Extensible schema for use in TMForum Open-APIs - When used for in a schema it means that the Entity described by the schema  MUST be extended with the @type
      properties:
        '@type':
          type: string
          description: When sub-classing, this defines the sub-class Extensible name
        '@baseType':
          type: string
          description: When sub-classing, this defines the super-class
        '@schemaLocation':
          type: string
          description: A URI to a JSON-Schema file that defines additional attributes and relationships
      required:
      - '@type'
    Entity_FVO:
      type: object
      description: Base entity schema for use in TMForum Open-APIs. Property.
      allOf:
      - $ref: '#/components/schemas/Extensible_FVO'
      - $ref: '#/components/schemas/Addressable_FVO'
    Extensible_FVO:
      type: object
      description: Base Extensible schema for use in TMForum Open-APIs - When used for in a schema it means that the Entity described by the schema  MUST be extended with the @type
      properties:
        '@type':
          type: string
          description: When sub-classing, this defines the sub-class Extensible name
        '@baseType':
          type: string
          description: When sub-classing, this defines the super-class
        '@schemaLocation':
          type: string
          description: A URI to a JSON-Schema file that defines additional attributes and relationships
      required:
      - '@type'
    Addressable:
      type: object
      description: Base schema for adressable entities
      properties:
        href:
          type: string
          description: Hyperlink reference
        id:
          type: string
          description: unique identifier
    CancelProductOrder_FVO:
      allOf:
      - $ref: '#/components/schemas/Entity_FVO'
      - type: object
        description: Request for cancellation an existing product order
        properties:
          productOrder:
            $ref: '#/components/schemas/ProductOrderRef_FVO'
          requestedCancellationDate:
            type: string
            format: date-time
            description: Date when the submitter wants the order to be cancelled
          cancellationReason:
            type: string
            description: Reason why the order is cancelled.
        required:
        - productOrder
      discriminator:
        propertyName: '@type'
        mapping:
          CancelProductOrder: '#/components/schemas/CancelProductOrder_FVO'
    EntityRef:
      allOf:
      - $ref: '#/components/schemas/Extensible'
      - $ref: '#/components/schemas/Addressable'
      - type: object
        description: Entity reference schema to be use for all entityRef class.
        properties:
          id:
            type: string
            description: The identifier of the referred entity.
          href:
            type: string
            description: The URI of the referred entity.
          name:
            type: string
            description: Name of the referred entity.
          '@referredType':
            type: string
            description: The actual type of the target instance when needed for disambiguation.
        required:
        - id
    Addressable_FVO:
      type: object
      description: Base schema for adressable entities
      properties:
        id:
          type: string
          description: unique identifier
    CancelProductOrder:
      allOf:
      - $ref: '#/components/schemas/Entity'
      - type: object
        description: Request for cancellation an existing product order
        properties:
          productOrder:
            $ref: '#/components/schemas/ProductOrderRef'
          creationDate:
            type: string
            format: date-time
            description: Date and time when the CancelProductOrder was created
          requestedCancellationDate:
            type: string
            format: date-time
            description: Date when the submitter wants the order to be cancelled
          cancellationReason:
            type: string
            description: Reason why the order is cancelled.
          state:
            $ref: '#/components/schemas/TaskStateType'
          effectiveCancellationDate:
            type: string
            format: date-time
            description: Date when the order is cancelled.
      discriminator:
        propertyName: '@type'
        mapping:
          CancelProductOrder: '#/components/schemas/CancelProductOrder'
    ProductOrderRef:
      type: object
      description: A reference to an existing Product Order.
      allOf:
      - $ref: '#/components/schemas/Extensible'
      - $ref: '#/components/schemas/EntityRef'
      discriminator:
        propertyName: '@type'
        mapping:
          ProductOrderRef: '#/components/schemas/ProductOrderRef'
  responses:
    '401':
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '409':
      description: Conflict
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    200CancelProductOrderArray:
      description: Success
      headers:
        X-Total-Count:
          $ref: '#/components/headers/X-Total-Count'
        X-Result-Count:
          $ref: '#/components/headers/X-Result-Count'
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '#/components/schemas/CancelProductOrder'
          examples:
            retrieveCancelProductOrderList:
              $ref: '#/components/examples/retrieveCancelProductOrderList_response'
            retrieveCancelProductOrderListwithFieldsSelection:
              $ref: '#/components/examples/retrieveCancelProductOrderListwithFieldsSelection_response'
    '404':
      description: Not Found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '400':
      description: Bad Request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '500':
      description: Internal Server Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    200CancelProductOrder_Get:
      description: Success
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CancelProductOrder'
          examples:
            retrieveCancelProductOrderById:
              $ref: '#/components/examples/retrieveCancelProductOrderById_response'
    '503':
      description: Service Unavailable
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '405':
      description: Method Not allowed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '403':
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    201CancelProductOrder:
      description: OK/Created
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CancelProductOrder'
          examples:
            CreateCancelProductOrder:
              $ref: '#/components/examples/CreateCancelProductOrder_response'
    '501':
      description: Not Implemented
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  examples:
    CreateCancelProductOrder_response:
      value:
        id: 789-fsds5-kjp
        href: https://host:port/productOrderingManagement/v5/cancelProductOrder/789-fsds5-kjp
        cancellationReason: Duplicate order
        creationDate: '2019-04-30T08:13:59.506Z'
        requestedCancellationDate: '2021-08-30T09:14:46.145Z'
        productOrder:
          id: 45f-98f-ss45
          href: https://host:port/productOrderingManagement/v5/productOrder/45f-98f-ss45
          '@referredType': ProductOrder
          '@type': ProductOrderRef
        state: done
        '@type': CancelProductOrder
      description: POST CancelProductOrder Response Description.
    CreateCancelProductOrder_request:
      value:
        cancellationReason: Duplicate order
        requestedCancellationDate: '2021-08-30T09:14:46.145Z'
        productOrder:
          id: 45f-98f-ss45
          '@referredType': ProductOrder
          '@type': ProductOrderRef
        '@type': CancelProductOrder
      description: POST CancelProductOrder Request Example
    retrieveCancelProductOrderById_response:
      value:
        id: 789-fsds5-kjp
        href: https://host:port/productOrderingManagement/v5/cancelProductOrder/789-fsds5-kjp
        cancellationReason: Duplicate order
        creationDate: '2019-04-30T08:13:59.506Z'
        effectiveCancellationDate: '2021-08-30T11:14:46.145Z'
        requestedCancellationDate: '2021-08-30T09:14:46.145Z'
        productOrder:
          id: 45f-98f-ss45
          href: https://host:port/productOrderingManagement/v5/productOrder/45f-98f-ss45
          '@referredType': ProductOrder
          '@type': ProductOrderRef
        state: done
        '@type': CancelProductOrder
      description: CancelProductOrder representation.
    retrieveCancelProductOrderList_response:
      value:
      - id: 789-fsds5-kjp
        href: https://host:port/productOrderingManagement/v5/cancelProductOrder/789-fsds5-kjp
        cancellationReason: Duplicate order
        creationDate: '2019-04-30T08:13:59.506Z'
        requestedCancellationDate: '2021-08-30T09:14:46.145Z'
        productOrder:
          id: 45f-98f-ss45
          href: https://host:port/productOrderingManagement/v5/productOrder/45f-98f-ss45
          '@referredType': ProductOrder
          '@type': ProductOrderRef
        state: done
        '@type': CancelProductOrder
      description: A collection of CancelProductOrder representation
    retrieveCancelProductOrderListwithFieldsSelection_response:
      value:
      - id: '6987'
        productOrder:
          id: 45f-98f-ss45
          href: https://host:port/productOrderingManagement/v5/productOrder/45f-98f-ss45
          '@type': ProductOrderRef
        '@type': CancelProductOrder
      - id: '7412'
        productOrder:
          id: 45f-789-sdre
          href: https://host:port/productOrderingManagement/v5/productOrder/45f-789-sdre
          '@type': ProductOrderRef
        '@type': CancelProductOrder
      - id: '3214'
        productOrder:
          id: 45f-as4-os3f
          href: https://host:port/productOrderingManagement/v5/productOrder/45f-as4-os3f
          '@type': ProductOrderRef
        '@type': CancelProductOrder
      description: A collection of CancelProductOrder representation with filter selection
  requestBodies:
    CancelProductOrder_FVO:
      description: The CancelProductOrder to be created
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CancelProductOrder_FVO'
          examples:
            CreateCancelProductOrder:
              $ref: '#/components/examples/CreateCancelProductOrder_request'
      required: true
  parameters:
    Id:
      name: id
      required: true
      schema:
        type: string
      in: path
      description: Identifier of the Resource
    Limit:
      name: limit
      in: query
      description: Requested number of resources to be provided in response
      schema:
        type: integer
    Offset:
      name: offset
      in: query
      description: Requested index for start of resources to be provided in response
      schema:
        type: integer
    Fields:
      name: fields
      in: query
      description: Comma-separated properties to be provided in response
      schema:
        type: string
  headers:
    X-Result-Count:
      description: Actual number of items returned in the response body
      schema:
        type: integer
    X-Total-Count:
      description: Total number of items matching criteria
      schema:
        type: integer