v1

latestOpenAPI 3.0.0Apache License Version 2.02026-07-24163274903.6 KB
Inventory Service

saveInventoryValueAdjustments

Create a new inventory value adjustment entry. Update an inventory value adjustment entry.

post/inventory/inventoryvalueadjustment/v1/saveInventoryValueAdjustments

Headers

authenticationtokenstring required

Secure token for API authentication.

passwordstring required

Password for the Crunchtime Application User.

sitenamestring required

Crunchtime site identifier. (test or production)

useridstring required

User ID for the Crunchtime Application User.

X-B3-TraceIdstring

Optional trace identifier for troubleshooting.

Request body

locationCodestring required

The Code that identifies the Location in Crunchtime.

Example request

{
  "inventoryValueAdjustmentDetails": [
    {
      "inventoryValueAdjustmentDetailDetails": [
        {
          "adjustmentValue": 99.99,
          "comments": "Inventory Cost Correction",
          "conditionalGl": "GL",
          "productCode": "0025369",
          "qualitativeJudgment": "Cost Correction",
          "receivingQuantity": 9
        }
      ],
      "inventoryValueAdjustmentHeaderDetails": {
        "locationCode": "EMFR01",
        "source": "NC"
      }
    }
  ],
  "locationCode": "000122"
}

Response

Success

object required