Inventory

Insert committed quantities

Changed on

Reserves inventory for a web order before the sale is finalized. Negative commit values can reverse individual committed quantities.

post/CommitQty

Request

  • Base URL: https://api.myposconnect.com/api/v2
  • URL: https://api.myposconnect.com/api/v2/CommitQty
  • Auth: HTTP bearer

Request body

Example request

{
  "OrderedQuantities": [
    {
      "StoreCode": "STORE-001",
      "OrderNumber": "ORDER-EXAMPLE-004",
      "Items": [
        {
          "ProductCode": "SKU-EXAMPLE-001",
          "Quantity": "1",
          "LineNumber": "1"
        },
        {
          "ProductCode": "SKU-EXAMPLE-001",
          "Quantity": "2",
          "LineNumber": "2"
        }
      ]
    },
    {
      "StoreCode": "STORE-001",
      "OrderNumber": "ORDER-EXAMPLE-005",
      "Items": [
        {
          "ProductCode": "SKU-EXAMPLE-002",
          "Quantity": "1",
          "LineNumber": "1"
        }
      ]
    }
  ]
}

Response

Committed quantities inserted.

unknown required

Changes

    • breaking

      added the new required request property

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the response's body type changed from object to no type for status

    • warning

      removed the request property

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      api operation id inventoryCommitmentsCreate was added

    • info

      api tag Inventory added

    • info

      api tag Sales removed