Znode

POST addons

Creates a new Add-On.

Request Information

» Parameters

Name Description Additional information
model The model of the Add-On.

Define this parameter in the request body.

Request Body Formats

Sample:
	{
  "AccountId": 1,
  "AddOnId": 1,
  "AllowBackOrder": true,
  "BackOrderMessage": "sample string 3",
  "Description": "sample string 4",
  "DisplayOrder": 5,
  "DisplayType": "sample string 6",
  "ExternalApiId": "sample string 7",
  "ExternalId": 1,
  "InStockMessage": "sample string 8",
  "IsOptional": true,
  "LocaleId": 10,
  "Name": "sample string 11",
  "OutOfStockMessage": "sample string 12",
  "PortalId": 1,
  "ProductId": 13,
  "PromptMessage": "sample string 14",
  "Title": "sample string 15",
  "TrackInventory": true,
  "ProductAddOnId": 17,
  "AddOnValues": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "AddOnValueId": 1,
        "AddOnId": 2,
        "Name": "sample string 3",
        "Description": "sample string 4",
        "SKU": "sample string 5",
        "IsDefault": true,
        "QuantityOnHand": 7,
        "DisplayOrder": 8,
        "RetailPrice": 9.0,
        "SalePrice": 1.0,
        "WholesalePrice": 1.0,
        "Weight": 10.0,
        "Height": 1.0,
        "Width": 1.0,
        "Length": 1.0,
        "ShippingRuleTypeId": 1,
        "FreeShippingInd": true,
        "SupplierId": 1,
        "TaxClassId": 12,
        "CustomText": "sample string 13",
        "RecurringBillingInd": true,
        "RecurringBillingInstallmentInd": true,
        "RecurringBillingPeriod": "sample string 16",
        "RecurringBillingFrequency": "sample string 17",
        "RecurringBillingTotalCycles": 18,
        "RecurringBillingInitialAmount": 1.0,
        "ReOrderLevel": 1,
        "UpdateDate": "2018-12-15T02:16:37.9029562-05:00"
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "IsAssociatedAddOnValue": true,
  "AddOnValueName": "sample string 19",
  "UserName": "sample string 20"
}