POST ItemBundle/Save

Saves the specified Item Bundle.

Request Information

URI Parameters

None.

Body Parameters

The Item Bundle object.

Item Bundle
NameTypeAdditional informationDescription
ID integer

None.

The identifier.

Active bool

None.

Indicates if this Item Bundle is active

BundleCode string

Required

String length: inclusive between 0 and 15

Short description of the bundle

Description string

Required

String length: inclusive between 0 and 40

Long description of the bundle

ItemBundleItems Collection of Item Bundle Item

None.

List of Item Bundles

CodeAndDescription string

None.

Combined description of item bundle

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Active": true,
  "BundleCode": "sample string 3",
  "Description": "sample string 4",
  "ItemBundleItems": [
    {
      "ID": 1,
      "ItemId": 2,
      "Code": "sample string 3",
      "Description": "sample string 4",
      "Quantity": 6.0,
      "AverageCost": 7.0,
      "BundleCode": "sample string 8",
      "BundleDescription": "sample string 9",
      "PriceListCostExclusive": 10.0,
      "PriceListCostInclusive": 11.0
    },
    {
      "ID": 1,
      "ItemId": 2,
      "Code": "sample string 3",
      "Description": "sample string 4",
      "Quantity": 6.0,
      "AverageCost": 7.0,
      "BundleCode": "sample string 8",
      "BundleDescription": "sample string 9",
      "PriceListCostExclusive": 10.0,
      "PriceListCostInclusive": 11.0
    }
  ],
  "CodeAndDescription": "sample string 3 - sample string 4"
}

Response Information

Resource Description

Returns the saved Item Bundle on success.

Item Bundle
NameTypeAdditional informationDescription
ID integer

None.

The identifier.

Active bool

None.

Indicates if this Item Bundle is active

BundleCode string

Required

String length: inclusive between 0 and 15

Short description of the bundle

Description string

Required

String length: inclusive between 0 and 40

Long description of the bundle

ItemBundleItems Collection of Item Bundle Item

None.

List of Item Bundles

CodeAndDescription string

None.

Combined description of item bundle

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Active": true,
  "BundleCode": "sample string 3",
  "Description": "sample string 4",
  "ItemBundleItems": [
    {
      "ID": 1,
      "ItemId": 2,
      "Code": "sample string 3",
      "Description": "sample string 4",
      "Quantity": 6.0,
      "AverageCost": 7.0,
      "BundleCode": "sample string 8",
      "BundleDescription": "sample string 9",
      "PriceListCostExclusive": 10.0,
      "PriceListCostInclusive": 11.0
    },
    {
      "ID": 1,
      "ItemId": 2,
      "Code": "sample string 3",
      "Description": "sample string 4",
      "Quantity": 6.0,
      "AverageCost": 7.0,
      "BundleCode": "sample string 8",
      "BundleDescription": "sample string 9",
      "PriceListCostExclusive": 10.0,
      "PriceListCostInclusive": 11.0
    }
  ],
  "CodeAndDescription": "sample string 3 - sample string 4"
}