NEXTDC Discount API

The discount API from NEXTDC — 2 operation(s) for discount.

Operations 2

DELETE /v1/discount/{discount_guid} Delete a discount code 🔐 #
POST /v1/discount Create a discount code 🔐 #

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/nextdc:nextdc-discount-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

nextdc-discount-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nextdc Discount API
  version: '1'
  description: 'Operations tagged discount across 2 of this provider''s published API definitions: axon-swagger.json, nextdc-axon-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://sandbox-api.axonvx.com/api/biz2
tags:
- name: Discount
paths:
  /v1/discount/{discount_guid}:
    delete:
      operationId: bizApiDiscountsRemoveDiscountCode
      tags:
      - Discount
      parameters:
      - name: discount_guid
        description: Discount code guid
        in: path
        required: true
        schema:
          type: string
      summary: Delete a discount code 🔐
      description: ''
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
      security:
      - api_key: []
    servers:
    - url: https://sandbox-api.axonvx.com/api/biz2
  /v1/discount:
    post:
      operationId: bizApiDiscountsCreateDiscountCodeResource
      tags:
      - Discount
      summary: Create a discount code 🔐
      description: ''
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
      security:
      - api_key: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DiscountDetailsInfo'
        description: "code_string  \ndescription  \npublic  \nvalid_from  \nvalid_until  \nlimit_price_point  \nlimit_discount_code  \nfor_units  \ninstall_fee  \nunit_price  \ninstall_discount  \nunit_discount  \nprice_points_ids  \ncompanies_ids  \n"
        required: true
    servers:
    - url: https://sandbox-api.axonvx.com/api/biz2
components:
  schemas:
    DiscountDetailsInfo:
      properties:
        code_string:
          type: string
          description: $code_string Discount code string
          maximum: 50
        description:
          type: string
          description: $description Discount code description
          maximum: 255
        public:
          type: boolean
          description: $public TRUE - Any company can use FALSE - Restrict to companies
        valid_from:
          type: string
          description: $valid_from Valid from datetime ISO8601
        valid_until:
          type: string
          description: $valid_until Valid until datetime ISO8601 (optional)
        limit_price_point:
          type: integer
          format: int64
          description: $limit_price_point Number of times a discount code can be used on a particular price point for any given customer (optional)
          minimum: 1
        limit_discount_code:
          type: integer
          format: int64
          description: $limit_discount_code Number of times a discount code can be used per company (optional)
          minimum: 1
        for_units:
          type: integer
          format: int64
          description: $for_units Number of months to discount (optional)
          minimum: 1
        install_fee:
          type: string
          description: $install_fee Reduction in install fee - can be negative to increase the price (optional)
        unit_price:
          type: string
          description: $unit_price Reduction in recurring unit price - can be negative to increase the price (optional)
        install_discount:
          type: integer
          format: int64
          description: $install_discount Percentage reduction of install price, integer value 0-100 (optional)
          minimum: 1
          maximum: 100
        unit_discount:
          type: integer
          format: int64
          description: $unit_discount Percentage reduction of unit price, integer value 0-100 (optional)
          minimum: 1
          maximum: 100
        price_points_ids:
          type: array
          items:
            type: integer
          description: $price_points_ids Array of price points ids
        companies_ids:
          type: array
          items:
            type: string
          description: $companies_ids Array of companies ids (required if public set to false)
      required:
      - code_string
      - description
      - public
      - valid_from
      - price_points_ids
  securitySchemes:
    api_key:
      type: apiKey
      name: api_key
      in: query
x-refined-from:
- axon-swagger.json
- nextdc-axon-openapi.yml