---
updatedAt: 2026-07-01T09:00:09.000Z
agentTools:
  siteIndex: https://developer.n-able.com/llms.txt
  projectIndex: https://developer.n-able.com/n-able-billing-api/llms.txt
---

# Create subscription

Create subscription for client without trial.

This endpoint allows the user to create a Product subscription for a customer that does not have a trial of the product. If they do have a trial, please refer to the Convert trial endpoint.

The quantities given in the order will be the committed quantities. Pricing is applied based on the volume pricing for each product. Overage will be charged at the same price as the committed quantities.

The Contract\_Term is given in years and will create a long term committed contract on the account. Valid inputs are 0, 1, 2, 3

<Callout icon="📘" theme="info">
  This Process is Asynchronous and should be used in conjunction with a callback listener or the Tenant Status API.
</Callout>

<Callout icon="🚧" theme="warn">
  The responses specified in this document are the responses sent to the callback URL.
</Callout>

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "01",
    "title": "Partner Provisioning API",
    "description": "This collection allows distributors to administer their accounts and create trials and contracts."
  },
  "paths": {
    "/CreateSubscription": {
      "post": {
        "tags": [
          "Subscription Management"
        ],
        "summary": "Create subscription",
        "description": "Create subscription for client without trial.",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": true,
            "description": "API key retrieved from developer portal. Required for authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "User-Agent",
            "required": true,
            "description": "Identifies the client application making the request. When scripting or calling this API programmatically, specify a custom User-Agent, as default User-Agents (e.g. those set automatically by HTTP libraries or tools like curl) may be blocked for security purposes.",
            "example": "PSAIntegrationClient/1.0",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Content-Length",
            "required": true,
            "description": "The size of the request body, in bytes.",
            "example": 0,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "Disti_SFID",
                  "MSP_SFID",
                  "MSP_Contact_Id",
                  "ProductId",
                  "Services"
                ],
                "properties": {
                  "Disti_SFID": {
                    "type": "string"
                  },
                  "MSP_SFID": {
                    "type": "string"
                  },
                  "MSP_Contact_Id": {
                    "type": "string"
                  },
                  "Opportunity ID": {
                    "type": "string"
                  },
                  "Contract_Term": {
                    "type": "string"
                  },
                  "ProductId": {
                    "type": "string"
                  },
                  "Disti_Internal_Reseller_ID": {
                    "type": "string"
                  },
                  "CallbackToken": {
                    "type": "string"
                  },
                  "CallbackURL": {
                    "type": "string"
                  },
                  "Services": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "PID": {
                          "type": "string"
                        },
                        "Service_ID": {
                          "type": "string"
                        },
                        "Quantity": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful request. Request will be processed asynchronously and a response will be sent to the callback URL provided.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "OverallStatus": {
                      "type": "string"
                    },
                    "OrderID": {
                      "type": "string"
                    },
                    "ContractID": {
                      "type": "string"
                    },
                    "ContractEndDate": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "default": {
            "$ref": "#/components/responses/default"
          }
        }
      }
    }
  },
  "security": [
    {
      "apikey": []
    }
  ],
  "tags": [
    {
      "name": "Subscription Management",
      "description": "Endpoints for subscription management - create a new subscription or convert an existing trial into a subscription."
    }
  ],
  "servers": [
    {
      "url": "https://prod-nableboomi.n-able.com:443/ws/rest/V3/Channel_UP_API"
    }
  ],
  "components": {
    "responses": {
      "401": {
        "description": "Unauthorized request",
        "content": {
          "*/*": {
            "schema": {
              "type": "object",
              "properties": {
                "OverallStatus": {
                  "type": "string"
                },
                "Message": {
                  "type": "object",
                  "properties": {
                    "StatusCode": {
                      "type": "string",
                      "example": "401"
                    },
                    "StatusMsg": {
                      "type": "string",
                      "example": "Unauthorized"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "403": {
        "description": "Forbidden Request - There may be invalid fields in the request.",
        "content": {
          "*/*": {
            "schema": {
              "type": "string"
            }
          }
        }
      },
      "404": {
        "description": "No Data found. Please verify input parameters.",
        "content": {
          "*/*": {
            "schema": {
              "type": "object",
              "properties": {
                "OverallStatus": {
                  "type": "string"
                },
                "Message": {
                  "type": "object",
                  "properties": {
                    "StatusCode": {
                      "type": "string",
                      "example": "404"
                    },
                    "StatusMsg": {
                      "type": "string",
                      "example": "No data found"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "429": {
        "description": "Too many requests in a short amount of time.",
        "content": {
          "*/*": {
            "schema": {
              "type": "string"
            }
          }
        }
      },
      "500": {
        "description": "Internal Server Error - This generic error message appears when an unexpected condition was encountered and a more specific message is not suitable.",
        "content": {
          "*/*": {
            "schema": {
              "type": "string"
            }
          }
        }
      },
      "default": {
        "description": "Something went wrong during the processing. Check StatusMsg to know more.",
        "content": {
          "*/*": {
            "schema": {
              "type": "object",
              "properties": {
                "OverallStatus": {
                  "type": "string"
                },
                "Message": {
                  "type": "object",
                  "properties": {
                    "StatusCode": {
                      "type": "string",
                      "example": "404"
                    },
                    "StatusMsg": {
                      "type": "string",
                      "example": "No data found"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "apikey": {
        "type": "apiKey",
        "name": "x-api-Key",
        "in": "header"
      }
    }
  }
}
```