v1

latestOpenAPI 3.0.0Apache License Version 2.02026-07-24163274903.6 KB
Storage Location Service

saveStorageLocations

saveStorageLocations Implementation Notes

post/storagelocation/v1/saveStorageLocations

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 for the location associated with the storage location.

Example request

{
  "locationCode": "000000",
  "storageLocationDetails": [
    {
      "storageLocationDetailDetails": [
        {
          "centralStorageFlag": "Y",
          "closingIntermediary": "B",
          "closingNonInventory": "B",
          "closingSales": "B",
          "closingStock": "B",
          "locationCode": "000125",
          "secondaryClosingIntermediary": "B",
          "secondaryClosingNonInventory": "B",
          "secondaryClosingSales": "B",
          "secondaryClosingStock": "B",
          "storageCode": "UNASGN",
          "storageName": "Unassigned"
        }
      ]
    }
  ]
}

Response

Success

locationCodestring required

The Code for the location associated with the storage location.

Example response

{
  "locationCode": "000000",
  "storageLocationDetails": [
    {
      "storageLocationDetailDetails": [
        {
          "centralStorageFlag": "Y",
          "closingIntermediary": "B",
          "closingNonInventory": "B",
          "closingSales": "B",
          "closingStock": "B",
          "locationCode": "000125",
          "secondaryClosingIntermediary": "B",
          "secondaryClosingNonInventory": "B",
          "secondaryClosingSales": "B",
          "secondaryClosingStock": "B",
          "storageCode": "UNASGN",
          "storageName": "Unassigned"
        }
      ]
    }
  ]
}