Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
{
    "consolidationType": "STORE",
    "inventories": [
        {
            "consolidatedQuantity": "36",
            "consolidatedMinExpiry": "2020-10-16",
            "channelSkuCode": "302",
            "channelSerialNo": "456",
            "listingId": "lis1"105,
            "quantity": 30,
            "minExpiry": "2020-10-16",
            "locationCode": "loc1",
            "consolidationType": "STORE"
        },
        {
            "consolidatedQuantity": "30",
            "consolidatedMinExpiry": "2020-10-16",
            "channelSkuCode": "301",
            "channelSerialNo": "457",
            "listingId": "lis1"106,
            "consolidationType": "STORE"
            "quantity": 30,
            "minExpiry": "2020-10-16",
            "locationCode": "loc1",
            "consolidationType": "STORE"
        }
    ]
}

...

Parameter Name

Data Type

Description

Mandatory

consolidationType

String

Possible values:

ALL, STORE

  • ALL means consolidated inventory includes both store and warehouse inventory

  • STORE means consolidated inventory includes only store inventory

yes

inventories

Object[]

List of inventories to be updated

Yes

inventories.consolidatedQuantity

Integer

Aggregated quantity across all fulfilment locations

(In case of consolidationType STORE, aggregated quantity across all stores, whereas in case of ALL, aggregated quantity across all stores and warehouses)

Yes

inventories.consolidatedMinExpiry

String

Minimum expiry date of the item across all fulfilment locations

No

inventories.channelSkuCode

String

Code used by channel to identify an SKU

Yes

inventories.channelSerialNo

String

Additional code by channel to identify an SKU

No

inventories.listingId

StringInteger

The listing id corresponding to the inventory

yes

inventories.quantity

Integer

Absolute quantity available for sale in Omni system in location which has triggered the event

No

inventories.minExpiry

String

Minimum expiry date of the item guaranteed by Assure

No

inventories.locationCode

String

location which has triggered the inventory change event

Yes

inventories.consolidationType

String

Possible values: ALL,STORE
ALL includes both store and warehouse type fulfilment locations whereas, STORE includes only store type fulfilment locations

Yes

...

Code Block
languagejson
{
    "failureList": [
        {
            "quantity": 30,
            "channelSkuCode": "302",
            "channelSerialNo": "456",
            "minExpiry": "2020-10-16",
            "consolidatedQuantity": "26",
            "consolidatedMinExpiry": "2020-10-16",
            "locationCode": "loc1",
            "listingId": "lis1"105,
            "consolidationType": "STORE"
        }
    ],
    "successList": [
        {
            "quantity": 30,
            "channelSkuCode": "301",
            "channelSerialNo": "457",
            "minExpiry": "2020-10-16",
            "consolidatedQuantity": "26",
            "consolidatedMinExpiry": "2020-10-16",
            "locationCode": "loc1",
            "listingId": "lis1"106,
            "consolidationType": "STORE"
        }
    ]
}

...