POST Catlog/ProductInventory/Save

Request Information

URI Parameters

None.

Body Parameters

ProductInventoryViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

ProductId

integer

None.

InventoryMethodType

InventoryMethodType

None.

InventoryMethodTypeId

integer

None.

InventoryMethodTypeName

string

None.

StockQuantity

decimal number

None.

QuantityAdjustment

decimal number

None.

DisplayAvailability

boolean

None.

DisplayStockQuantity

boolean

None.

MinimumStockQuantity

decimal number

None.

LowStockActivityType

LowStockActivityType

None.

LowStockActivityTypeId

integer

None.

LowStockActivityTypeName

string

None.

NotifyForQuantityBelow

integer

None.

ProductAvailabilityRangeType

ProductAvailabilityRangeType

None.

ProductAvailabilityRangeTypeId

integer

None.

ProductAvailabilityRangeTypeName

string

None.

MinimumCartQuantity

decimal number

None.

MaximumCartQuantity

decimal number

None.

AllowedQuantities

decimal number

None.

NotReturnable

boolean

None.

ProductAttributeCombinationId

integer

None.

AttributeCombinationName

string

None.

QuantitySold

integer

None.

ModifiedBy

string

None.

ModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ProductId": 2,
  "InventoryMethodType": 0,
  "InventoryMethodTypeId": 3,
  "InventoryMethodTypeName": "sample string 4",
  "StockQuantity": 5.0,
  "QuantityAdjustment": 6.0,
  "DisplayAvailability": true,
  "DisplayStockQuantity": true,
  "MinimumStockQuantity": 9.0,
  "LowStockActivityType": 0,
  "LowStockActivityTypeId": 10,
  "LowStockActivityTypeName": "sample string 11",
  "NotifyForQuantityBelow": 12,
  "ProductAvailabilityRangeType": 0,
  "ProductAvailabilityRangeTypeId": 13,
  "ProductAvailabilityRangeTypeName": "sample string 14",
  "MinimumCartQuantity": 15.0,
  "MaximumCartQuantity": 16.0,
  "AllowedQuantities": 17.0,
  "NotReturnable": true,
  "ProductAttributeCombinationId": 19,
  "AttributeCombinationName": "sample string 20",
  "QuantitySold": 21,
  "ModifiedBy": "sample string 22",
  "ModifiedDate": "2025-04-26T16:29:14.6167956+01:00"
}

application/xml, text/xml

Sample:
<ProductInventoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Service.Catalog.ViewModel">
  <AllowedQuantities>17</AllowedQuantities>
  <AttributeCombinationName>sample string 20</AttributeCombinationName>
  <DisplayAvailability>true</DisplayAvailability>
  <DisplayStockQuantity>true</DisplayStockQuantity>
  <Id>1</Id>
  <InventoryMethodType>DontTrackInventory</InventoryMethodType>
  <InventoryMethodTypeId>3</InventoryMethodTypeId>
  <InventoryMethodTypeName>sample string 4</InventoryMethodTypeName>
  <LowStockActivityType>Nothing</LowStockActivityType>
  <LowStockActivityTypeId>10</LowStockActivityTypeId>
  <LowStockActivityTypeName>sample string 11</LowStockActivityTypeName>
  <MaximumCartQuantity>16</MaximumCartQuantity>
  <MinimumCartQuantity>15</MinimumCartQuantity>
  <MinimumStockQuantity>9</MinimumStockQuantity>
  <ModifiedBy>sample string 22</ModifiedBy>
  <ModifiedDate>2025-04-26T16:29:14.6167956+01:00</ModifiedDate>
  <NotReturnable>true</NotReturnable>
  <NotifyForQuantityBelow>12</NotifyForQuantityBelow>
  <ProductAttributeCombinationId>19</ProductAttributeCombinationId>
  <ProductAvailabilityRangeType>None</ProductAvailabilityRangeType>
  <ProductAvailabilityRangeTypeId>13</ProductAvailabilityRangeTypeId>
  <ProductAvailabilityRangeTypeName>sample string 14</ProductAvailabilityRangeTypeName>
  <ProductId>2</ProductId>
  <QuantityAdjustment>6</QuantityAdjustment>
  <QuantitySold>21</QuantitySold>
  <StockQuantity>5</StockQuantity>
</ProductInventoryViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.