Page tree


Knowledge Base


Feedback

Have a suggestion for the Armor Knowledge Base?

Send a message to
kb@armor.com.









Overview

The Create New Subscriptions API submits a subscription order.

You can use the Get Available Storage API to find the storage SKU (SKU). 

Sample Request

POST https://api.armor.com/orders/subscriptions
{
"sku":"DB-SQL-EXPRESS-2012",
"quantity":1
}

Input


The following table describes the different parts of this API call: 

API Call / URLMethod / Type

/orders/subscriptions

POST


The following table describes the parameter (or parameters) for this API call: 

ParameterDescriptionRequired or optionalTypeExample
skuThe product identifier for the requested productRequiredStringDB-SQL-EXPRESS-2012
QuantityThe quantity of product to order

Required


Integer1

Sample Return

StatusResponse
200
{
 "id": 33,
 "accountId": 2,
 "status": "submitted",
 "dateCreated": "2015-01-07T02:00:00.000Z"
 "subscriptions": [{
      "location": null,
           "sku": "DB-SQL-EXPRESS-2012",
           "quantity": 1,
      "accountId": 2
   }]
}  
400
 Invalid Request