POST api/internalApp/UpdateBulkInventoryItemPrices

Request Information

URI Parameters

None.

Body Parameters

Collection of StockItemPrice
NameDescriptionTypeAdditional information
pkRowId

globally unique identifier

None.

Source

string

None.

SubSource

string

None.

Price

decimal number

None.

UpdateStatus

UpdateStatusType

None.

Tag

string

None.

Rules

Collection of StockItemPricingRule

None.

StockItemId

globally unique identifier

None.

sku

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "pkRowId": "37187eea-31f5-4c69-8365-3bdad4d0e62f",
    "source": "sample string 2",
    "subSource": "sample string 3",
    "price": 4.1,
    "updateStatus": 0,
    "tag": "sample string 5",
    "rules": [
      {
        "$id": "2",
        "pkRowId": 1,
        "fkStockPricingId": "c330b30f-e74f-49df-a351-b79b718be109",
        "type": "sample string 2",
        "lowerBound": 3,
        "value": 4.1
      },
      {
        "$ref": "2"
      }
    ],
    "stockItemId": "8f33bce3-f8f0-42cf-8d4e-45554fd7689f",
    "sku": "sample string 7"
  },
  {
    "$ref": "1"
  }
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}