Creates a new Add-On.
Name | Description | Additional information |
---|---|---|
model | The model of the Add-On. |
Define this parameter in the request body. |
{
"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,
"ProductIds": "sample string 14",
"ProductCount": 1,
"PromptMessage": "sample string 15",
"Title": "sample string 16",
"TrackInventory": true,
"ProductAddOnId": 18,
"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.0,
"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",
"CartAddOnDetails": "sample string 14",
"RecurringBillingInd": true,
"RecurringBillingInstallmentInd": true,
"RecurringBillingPeriod": "sample string 17",
"RecurringBillingFrequency": "sample string 18",
"RecurringBillingTotalCycles": 19,
"RecurringBillingInitialAmount": 1.0,
"ReOrderLevel": 1.0,
"UpdateDate": "2025-04-28T02:20:38.5589286+00:00"
},
{
"$ref": "3"
},
{
"$ref": "3"
}
]
},
"IsAssociatedAddOnValue": true,
"AddOnValueName": "sample string 20",
"UserName": "sample string 21"
}