Sample array format payloads
The events can be delivered as one JSON array of JSON objects for the following new event formats:
- Change events
- Snapshot events
productAvailability.v2- The sample array format for
productAvailability.v2is as follows:[ { "type": "productAvailability.v2", "id": "d7156e16-b30d-3141-9b5a-fcb6ca62c2a0", "time": "2021-05-17T00:00:07.131Z", "specversion": "1.0", "datacontenttype": "application/json", "data": { "productId": "book", "segment": null, "segmentType": null, "unitOfMeasure": "EACH", "productClass": "USED", "deliveryMethod": "SHP", "shipNode": "store-NoDG", "tenantId": "tenant1", "computeTs": "2021-05-17T00:00:06.009Z", "currentAvailability": { "toTs": "2021-05-18T00:00:01.000Z", "availableQuantity": 10.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "demandQuantity": 0.0, "thresholdLevel": 0, "reservedQuantity": 0.0, "consumedSafetyQuantity": 0.0, "supplyQuantity": 10.0, "fulfillmentAllowed": true }, "futureAvailability": [ { "toTs": "2021-08-16T00:00:01.000Z", "availableQuantity": 19.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "demandQuantity": 0.0, "reservedQuantity": 0.0, "consumedSafetyQuantity": 0.0, "supplyQuantity": 19.0, "fulfillmentAllowed": true, "fromTs": "2021-05-18T00:00:00.000Z" }, { "toTs": "2021-08-19T00:00:01.000Z", "availableQuantity": 9.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "demandQuantity": 0.0, "reservedQuantity": 0.0, "consumedSafetyQuantity": 0.0, "supplyQuantity": 9.0, "fulfillmentAllowed": true, "fromTs": "2021-08-16T00:00:00.000Z" } ] } }, { "type": "productAvailability.v2", "id": "7b449b8c-ba13-4b21-976e-4ae4b0052c57", "time": "2021-05-17T00:00:07.132Z", "specversion": "1.0", "datacontenttype": "application/json", "data": { "productId": "shelf", "segment": null, "segmentType": null, "unitOfMeasure": "EACH", "productClass": "NEW", "deliveryMethod": "PICK", "shipNode": "store-DG", "tenantId": "tenant1", "computeTs": "2021-05-17T00:00:06.010Z", "currentAvailability": { "toTs": "2021-05-18T00:00:01.000Z", "availableQuantity": 20.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "demandQuantity": 0.0, "thresholdLevel": 0, "reservedQuantity": 0.0, "supplyQuantity": 20.0, "consumedSafetyQuantity": 0.0, "fulfillmentAllowed": true }, "futureAvailability": [ { "toTs": "2021-08-16T00:00:01.000Z", "availableQuantity": 8.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "demandQuantity": 0.0, "reservedQuantity": 0.0, "consumedSafetyQuantity": 0.0, "supplyQuantity": 8.0, "fulfillmentAllowed": true, "fromTs": "2021-05-18T00:00:00.000Z" }, { "toTs": "2021-08-19T00:00:01.000Z", "availableQuantity": 12.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "demandQuantity": 0.0, "reservedQuantity": 0.0, "consumedSafetyQuantity": 0.0, "supplyQuantity": 12.0, "fulfillmentAllowed": true, "fromTs": "2021-08-16T00:00:00.000Z" } ] } } ] dgAvailabilityChange.v2- The sample array format for
dgAvailabilityChange.v2is as follows:[ { "type": "dgAvailabilityChange.v2", "id": "3e9fe720-497f-422c-aeb5-76b73f3f9075", "time": "2020-01-01T00:00:00.449Z", "specversion": "1.0", "datacontenttype": "application/json", "data": { "tenantId": "tenant1", "productId": "PLATE", "segment": null, "segmentType": null, "unitOfMeasure": "EACH", "productClass": "CLASS_1", "deliveryMethod": "SHP", "distributionGroupId": "WEB", "computeTs": "2020-01-01T00:00:00.430Z", "currentAvailability": { "toTs": "2020-02-01T00:00:01.000Z", "availableQuantity": 10.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "thresholdLevel": 2, "reservedQuantity": 10.0, "consumedSafetyQuantity": 0.0, "fulfillmentAllowed": true }, "futureAvailability": [ { "toTs": "2020-04-01T00:00:00.000Z", "availableQuantity": 4.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "reservedQuantity": 0.0, "consumedSafetyQuantity": 0.0, "fulfillmentAllowed": true, "fromTs": "2020-03-01T00:00:00.000Z" }, { "toTs": "2500-01-01T00:00:00.000Z", "availableQuantity": 8.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "reservedQuantity": 0.0, "consumedSafetyQuantity": 0.0, "fulfillmentAllowed": true, "fromTs": "2020-04-01T00:00:00.000Z" } ] } }, { "type": "dgAvailabilityChange.v2", "id": "170ffb65-e208-4582-9c8e-062a6d75cbe2", "time": "2020-01-01T00:00:00.449Z", "specversion": "1.0", "datacontenttype": "application/json", "data": { "tenantId": "tenant1", "productId": "BOWL", "segment": null, "segmentType": null, "unitOfMeasure": "EACH", "productClass": "CLASS_2", "deliveryMethod": "PICK", "distributionGroupId": "WEB", "computeTs": "2020-01-01T00:00:00.430Z", "currentAvailability": { "toTs": "2020-02-01T00:00:01.000Z", "availableQuantity": 6.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "thresholdLevel": 2, "reservedQuantity": 6.0, "consumedSafetyQuantity": 0.0, "fulfillmentAllowed": true }, "futureAvailability": [ { "toTs": "2020-04-01T00:00:00.000Z", "availableQuantity": 3.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "reservedQuantity": 0.0, "consumedSafetyQuantity": 0.0, "fulfillmentAllowed": true, "fromTs": "2020-03-01T00:00:00.000Z" }, { "toTs": "2500-01-01T00:00:00.000Z", "availableQuantity": 6.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "reservedQuantity": 0.0, "consumedSafetyQuantity": 0.0, "fulfillmentAllowed": true, "fromTs": "2020-04-01T00:00:00.000Z" } ] } }, { "type": "dgAvailabilityChange.v2", "id": "1ed96610-6744-4e19-9a27-d8a729499f58", "time": "2020-01-01T00:00:00.450Z", "specversion": "1.0", "datacontenttype": "application/json", "data": { "tenantId": "tenant1", "productId": "CUP", "segment": null, "segmentType": null, "unitOfMeasure": "EACH", "productClass": "CLASS_3", "deliveryMethod": "SHP", "distributionGroupId": "Stores", "computeTs": "2020-01-01T00:00:00.442Z", "currentAvailability": { "toTs": "2020-02-01T00:00:01.000Z", "availableQuantity": 5.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "thresholdLevel": 2, "reservedQuantity": 5.0, "consumedSafetyQuantity": 0.0, "fulfillmentAllowed": true }, "futureAvailability": [ { "toTs": "2020-04-01T00:00:00.000Z", "availableQuantity": 2.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "reservedQuantity": 0.0, "consumedSafetyQuantity": 0.0, "fulfillmentAllowed": true, "fromTs": "2020-03-01T00:00:00.000Z" }, { "toTs": "2500-01-01T00:00:00.000Z", "availableQuantity": 4.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "reservedQuantity": 0.0, "consumedSafetyQuantity": 0.0, "fulfillmentAllowed": true, "fromTs": "2020-04-01T00:00:00.000Z" } ] } }, { "type": "dgAvailabilityChange.v2", "id": "42676e84-ad33-446e-bf37-9775d1feb746", "time": "2020-01-01T00:00:00.450Z", "specversion": "1.0", "datacontenttype": "application/json", "data": { "tenantId": "tenant1", "productId": "PLATE", "segment": null, "segmentType": null, "unitOfMeasure": "EACH", "productClass": "CLASS_1", "deliveryMethod": "PICK", "distributionGroupId": "Stores", "computeTs": "2020-01-01T00:00:00.442Z", "currentAvailability": { "toTs": "2020-02-01T00:00:01.000Z", "availableQuantity": 12.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "thresholdLevel": 2, "reservedQuantity": 5.0, "consumedSafetyQuantity": 0.0, "fulfillmentAllowed": true }, "futureAvailability": [ { "toTs": "2020-04-01T00:00:00.000Z", "availableQuantity": 20.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "reservedQuantity": 0.0, "consumedSafetyQuantity": 0.0, "fulfillmentAllowed": true, "fromTs": "2020-03-01T00:00:00.000Z" }, { "toTs": "2500-01-01T00:00:00.000Z", "availableQuantity": 16.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "reservedQuantity": 0.0, "consumedSafetyQuantity": 0.0, "fulfillmentAllowed": true, "fromTs": "2020-04-01T00:00:00.000Z" } ] } } ] productAvailabilitySnapshot.v2- The sample array format for
productAvailabilitySnapshot.v2is as follows:[ { "datacontenttype": "application/json", "id": "2f7b4cde-98ad-41e7-a2ee-f7bf67dcb917", "specversion": "1.0", "time": "2020-05-21T00:00:00.000Z", "type": "productAvailabilitySnapshot.v2", "data": { "computeTs": "2020-05-21T00:00:00.000Z", "currentAvailability": { "availableQuantity": 0.0, "consumedSafetyQuantity": 0.0, "demandQuantity": 0.0, "fulfillmentAllowed": true, "reservedQuantity": 0.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "supplyQuantity": 0.0, "thresholdLevel": 3, "toTs": "2500-01-01T00:00:00.000Z" }, "deliveryMethod": "PICK", "futureAvailability": [], "productClass": "NEW", "productId": "PLATE", "segment": "ONLINE", "segmentType": "Channel", "shipNode": "store-BostonMA", "snapshotId": "b80dd32a-74b5-4a00-ac4e-987e3658ebde", "tenantId": "tenant1", "unitOfMeasure": "EACH" } }, { "datacontenttype": "application/json", "id": "5fc0c141-70b2-42e5-81eb-70dc68fd075c", "specversion": "1.0", "time": "2020-05-21T00:00:00.000Z", "type": "productAvailabilitySnapshot.v2", "data": { "computeTs": "2020-05-21T00:00:00.000Z", "currentAvailability": { "availableQuantity": 14.0, "consumedSafetyQuantity": 0.0, "demandQuantity": 0.0, "fulfillmentAllowed": true, "reservedQuantity": 0.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "supplyQuantity": 0.0, "thresholdLevel": 3, "toTs": "2500-01-01T00:00:00.000Z" }, "deliveryMethod": "SHP", "futureAvailability": [], "productClass": "NEW", "productId": "PLATE", "segment": "STORE", "segmentType": "Channel", "shipNode": "store-NewYorkNY", "snapshotId": "b80dd32a-74b5-4a00-ac4e-987e3658ebde", "tenantId": "tenant1", "unitOfMeasure": "EACH" } }, { "datacontenttype": "application/json", "id": "0817e5d4-3cf2-4176-a73e-5b769e408f08", "specversion": "1.0", "time": "2020-05-21T00:00:00.000Z", "type": "productAvailabilitySnapshot.v2", "data": { "computeTs": "2020-05-21T00:00:00.000Z", "currentAvailability": { "availableQuantity": 23.0, "consumedSafetyQuantity": 0.0, "demandQuantity": 0.0, "fulfillmentAllowed": true, "reservedQuantity": 0.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "supplyQuantity": 0.0, "thresholdLevel": 3, "toTs": "2500-01-01T00:00:00.000Z" }, "deliveryMethod": "PICK", "futureAvailability": [], "productClass": "NEW", "productId": "BOWL", "segment": "STORE", "segmentType": "Channel", "shipNode": "store-NewYorkNY", "snapshotId": "b80dd32a-74b5-4a00-ac4e-987e3658ebde", "tenantId": "tenant1", "unitOfMeasure": "EACH" } }, { "datacontenttype": "application/json", "id": "0e3b4b89-585c-4e83-abc4-667625d175aa", "specversion": "1.0", "time": "2020-05-21T00:00:00.000Z", "type": "productAvailabilitySnapshot.v2", "data": { "snapshotId": "b80dd32a-74b5-4a00-ac4e-987e3658ebde", "tenantId": "tenant1" } } ] dgAvailabilitySnapshot.v2- The sample array format for
dgAvailabilitySnapshot.v2is as follows:[ { "datacontenttype": "application/json", "id": "6855018f-564e-4832-a174-b33c6db395c8", "specversion": "1.0", "time": "2020-05-21T00:00:00.435Z", "type": "dgAvailabilitySnapshot.v2", "data": { "computeTs": "2020-05-21T00:00:00.000Z", "currentAvailability": { "availableQuantity": 10.0, "consumedSafetyQuantity": 0.0, "fulfillmentAllowed": true, "reservedQuantity": 0.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "thresholdLevel": 0, "toTs": "2500-01-01T00:00:00.000Z" }, "deliveryMethod": "PICK", "distributionGroup": "DG1", "distributionGroupId": "DG1", "futureAvailability": [], "productClass": "NEW", "productId": "PLATE", "segment": "ONLINE", "segmentType": "Channel", "snapshotId": "0817e5d4-3cf2-4176-a73e-5b769e408f08", "tenantId": "tenant1", "unitOfMeasure": "EACH" } }, { "datacontenttype": "application/json", "id": "2881625c-f499-4dd3-ba30-4d01b690215a", "specversion": "1.0", "time": "2020-05-21T00:00:00.000Z", "type": "dgAvailabilitySnapshot.v2", "data": { "computeTs": "2020-05-21T00:00:00.000Z", "currentAvailability": { "availableQuantity": 15.0, "consumedSafetyQuantity": 0.0, "fulfillmentAllowed": true, "reservedQuantity": 0.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "thresholdLevel": 0, "toTs": "2500-01-01T00:00:00.000Z" }, "deliveryMethod": "SHP", "distributionGroup": "DG2", "distributionGroupId": "DG2", "futureAvailability": [], "productClass": "USED", "productId": "BOWL", "segment": "STORE", "segmentType": "Channel", "snapshotId": "0817e5d4-3cf2-4176-a73e-5b769e408f08", "tenantId": "tenant1", "unitOfMeasure": "EACH" } }, { "datacontenttype": "application/json", "id": "7c19acc0-52e9-4bd1-926e-f6871f351161", "specversion": "1.0", "time": "2020-05-21T00:00:00.000Z", "type": "dgAvailabilitySnapshot.v2", "data": { "snapshotId": "0817e5d4-3cf2-4176-a73e-5b769e408f08", "tenantId": "tenant1" } } ] demandChange- The sample array format for
demandChangeis as follows:[ { "datacontenttype": "application/json", "id": "339565bd-b658-4bef-9e4c-f97e9902b821", "specversion": "1.0", "time": "2023-12-20T00:00:00.146Z", "type": "demandChange", "data": { "adjustmentReason": "PROCESS", "baseType": "OPEN_ORDER", "cancelDate": "2023-12-27T00:00:00.000Z", "changedQuantity": 7.0, "itemId": "PLATE", "minShipByDate": "1900-01-01T00:00:00.000Z", "productClass": "CLASS_1", "quantity": 14.0, "reference": null, "referenceType": null, "segment": "STORE", "segmentType": "CHANNEL", "shipDate": "2023-12-20T00:00:00.000Z", "shipNode": "store-BostonMA", "tagNumber": null, "type": "OPEN_ORDER", "unitOfMeasure": "EACH", "updatedTs": "2023-12-20T00:00:00.121Z" } }, { "datacontenttype": "application/json", "id": "83195738-29e7-4500-a1e2-d24c18a985e0", "specversion": "1.0", "time": "2023-12-20T00:00:0.782Z", "type": "demandChange", "data": { "adjustmentReason": "PROCESS", "baseType": "SCHEDULED", "cancelDate": "2023-12-27T00:00:00.000Z", "changedQuantity": 12.0, "itemId": "CUP", "minShipByDate": "1900-01-01T00:00:00.000Z", "productClass": "CLASS_2", "quantity": 18.0, "reference": null, "referenceType": null, "segment": "ONLINE", "segmentType": "CHANNEL", "shipDate": "2023-12-21T00:00:00.000Z", "shipNode": "store-NewYorkNY", "tagNumber": null, "type": "SCHEDULED", "unitOfMeasure": "CASE", "updatedTs": "2023-12-20T00:00:00.647Z" } } ] supplyChange.v2- The sample array format for
supplyChange.v2is as follows:[ { "datacontenttype": "application/json", "id": "8dcac116-8885-45a2-bb86-c85b1f825ec9", "specversion": "1.0", "time": "2023-12-20T00:00:00.541Z", "type": "supplyChange.v2", "data": { "adjustmentReason": "RECEIPT", "baseType": "ONHAND", "changedQuantity": 12.0, "eta": "2023-12-01T00:00:00.000Z", "itemId": "PLATE", "lineReference": null, "productClass": "CLASS_1", "quantity": 24.0, "reference": null, "referenceType": null, "segment": null, "segmentType": null, "shipByDate": "2023-12-30T00:00:00.000Z", "shipNode": "store-BostonMA", "tagNumber": null, "tenantId": "tenant1", "type": "ONHAND", "unitOfMeasure": "EACH", "updatedTs": "2023-12-20T00:00:00.488Z" } }, { "datacontenttype": "application/json", "id": "2984420e-2360-4045-98cf-03cf1a43d98a", "specversion": "1.0", "time": "2023-12-20T00:00:02.812Z", "type": "supplyChange.v2", "data": { "adjustmentReason": "RECEIPT", "baseType": "ALLOCATED", "changedQuantity": 12.0, "eta": "2023-12-01T00:00:00.000Z", "itemId": "BOWL", "lineReference": null, "productClass": "CLASS_2", "quantity": 12.0, "reference": null, "referenceType": null, "segment": null, "segmentType": null, "shipByDate": "2023-12-30T00:00:00.000Z", "shipNode": "store-NewYorkNY", "tagNumber": null, "tenantId": "tenant1", "type": "ALLOCATED", "unitOfMeasure": "EACH", "updatedTs": "2023-12-20T00:00:02.647Z" } } ] demandSnapshot- The sample array format for
demandSnapshotis as follows:[ { "datacontenttype": "application/json", "id": "262050d3-5e79-4792-a012-9b56a928dada", "specversion": "1.0", "time": "2023-12-21T00:00:03.517Z", "type": "demandSnapshot", "data": { "fetchTs": "2023-12-21T00:00:00.00Z", "snapshotId": "7a0288c5-64e2-4ac5-b06b-4dcce37360fa", "tenantId": "tenant1" } }, { "datacontenttype": "application/json", "id": "a2f1561e-2d81-47f2-847f-a192cf49c714", "specversion": "1.0", "time": "2023-12-21T00:00:02.617Z", "type": "demandSnapshot", "data": { "baseType": "ALLOCATED", "cancelDate": "2500-01-01T00:00:00.000Z", "fetchTs": "2023-12-21T00:00:00.00Z", "itemId": "TV", "minShipByDate": "1900-01-01T00:00:00.000Z", "productClass": "NEW", "quantity": 10.0, "reference": null, "referenceType": null, "segment": "InStore", "segmentType": "Sale", "shipDate": "2500-01-01T05:00:00.000Z", "shipNode": "Matrix-Store-003", "snapshotId": "7a0288c5-64e2-4ac5-b06b-4dcce37360fa", "tagNumber": "A", "tenantId": "tenant1", "type": "ALLOCATED", "unitOfMeasure": "EACH", "updatedTs": "2023-12-20T17:24:37.325Z" } }, { "datacontenttype": "application/json", "id": "2988ca02-bfeb-4b0b-a7a7-f80a7243bb8b", "specversion": "1.0", "time": "2023-12-21T00:00:02.517Z", "type": "demandSnapshot", "data": { "baseType": "ONHAND", "cancelDate": "2500-01-01T00:00:00.000Z", "fetchTs": "2023-12-21T00:00:00.00Z", "itemId": "Sound System", "minShipByDate": "1900-01-01T00:00:00.000Z", "productClass": "USED", "quantity": 3.0, "reference": null, "referenceType": null, "segment": "ONLINE", "segmentType": "Sale", "shipDate": "2500-01-01T05:00:00.000Z", "shipNode": "Matrix-Store-004", "snapshotId": "7a0288c5-64e2-4ac5-b06b-4dcce37360fa", "tagNumber": "B", "tenantId": "tenant1", "type": "ONHAND", "unitOfMeasure": "EACH", "updatedTs": "2023-12-20T17:12:19.176Z" } } ] supplySnapshot- The sample array format for
supplySnapshotis as follows:[ { "datacontenttype": "application/json", "id": "8f82d294-e252-42ec-b28c-f550025e8a5b", "specversion": "1.0", "time": "2023-12-21T00:00:04.137Z", "type": "supplySnapshot", "data": { "fetchTs": "2023-12-21T00:00:03.817Z", "snapshotId": "a9f01dea-474f-4011-a48d-c8ec240811a6", "tenantId": "tenant1" } }, { "datacontenttype": "application/json", "id": "5c22e4ea-42bc-4ad9-967c-f6e8b4e6f9ca", "specversion": "1.0", "time": "2023-12-21T00:00:03.718Z", "type": "supplySnapshot", "data": { "baseType": "PO_PLACED", "eta": "1900-01-01T05:00:00.000Z", "fetchTs": "2023-12-21T00:00:03.517Z", "itemId": "TV", "lineReference": null, "productClass": "NEW", "quantity": 10.0, "reference": null, "referenceType": null, "segment": "InStore", "segmentType": "Sale", "shipByDate": "2500-01-01T05:00:00.000Z", "shipNode": "Matrix-Store-003", "snapshotId": "a9f01dea-474f-4011-a48d-c8ec240811a6", "tagNumber": "A", "tenantId": "tenant1", "type": "PO_PLACED", "unitOfMeasure": "EACH", "updatedTs": "2023-12-20T12:36:19.176Z" } }, { "datacontenttype": "application/json", "id": "baebec85-7550-4605-911e-88a20b0fb16d", "specversion": "1.0", "time": "2023-12-21T00:00:04.127Z", "type": "supplySnapshot", "data": { "baseType": "ALLOCATED", "eta": "1900-01-01T05:00:00.000Z", "fetchTs": "2023-12-21T00:00:03.917Z", "itemId": "Sound System", "lineReference": null, "productClass": "NEW", "quantity": 5.0, "reference": null, "referenceType": null, "segment": "ONLINE", "segmentType": "Sale", "shipByDate": "2500-01-01T05:00:00.000Z", "shipNode": "Matrix-Store-004", "snapshotId": "a9f01dea-474f-4011-a48d-c8ec240811a6", "tagNumber": "B", "tenantId": "tenant1", "type": "ALLOCATED", "unitOfMeasure": "EACH", "updatedTs": "2023-12-20T19:27:12.136Z" } } ] availableSupplyChange.v2- The sample array format for
availableSupplyChange.v2is as follows:[ { "datacontenttype": "application/json", "id": "677f4062-0f67-40e7-9fe5-ee82d6e0b566", "specversion": "1.0", "tenantid": "tenant1", "time": "2023-12-20T00:00:00.426Z", "type": "availableSupplyChange.v2", "data": { "availableSupplies": [ { "availableQuantity": 14.0, "consumedSafetyQuantity": 0.0, "demandQuantity": 0.0, "fromTs": "2023-12-01T00:00:00.000Z", "fulfillmentAllowed": true, "reservedQuantity": 0.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "supplyQuantity": 14.0, "toTs": "2023-12-30T00:00:01.000Z" }, { "availableQuantity": 8.0, "consumedSafetyQuantity": 0.0, "demandQuantity": 5.0, "fromTs": "2023-12-10T00:00:00.000Z", "fulfillmentAllowed": true, "reservedQuantity": 0.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "supplyQuantity": 13.0, "toTs": "2024-01-10T00:00:01.000Z" } ], "computeTs": "2023-12-20T00:00:00.424Z", "deliveryMethod": "PICK", "productClass": "CLASS_2", "productId": "BOWL", "segment": null, "segmentType": null, "shipNode": "store-NewYorkNY", "tenantId": "tenant1", "thresholdLevel": "0", "unitOfMeasure": "EACH" } }, { "datacontenttype": "application/json", "id": "83081ffd-70df-4a79-a375-3b15f9aadc73", "specversion": "1.0", "tenantid": "tenant1", "time": "2023-12-20T00:00:00.426Z", "type": "availableSupplyChange.v2", "data": { "availableSupplies": [ { "availableQuantity": 12.0, "consumedSafetyQuantity": 0.0, "demandQuantity": 0.0, "fromTs": "2023-12-01T00:00:00.000Z", "fulfillmentAllowed": true, "reservedQuantity": 0.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "supplyQuantity": 12.0, "toTs": "2023-12-30T00:00:01.000Z" }, { "availableQuantity": 3.0, "consumedSafetyQuantity": 0.0, "demandQuantity": 7.0, "fromTs": "2023-12-10T00:00:00.000Z", "fulfillmentAllowed": true, "reservedQuantity": 0.0, "shortageQuantity": 0.0, "demandShortage": 0.0, "reservationShortage": 0.0, "safetyShortage": 0.0, "supplyQuantity": 10.0, "toTs": "2024-01-10T00:00:01.000Z" } ], "computeTs": "2023-12-20T00:00:00.424Z", "deliveryMethod": "SHP", "productClass": "CLASS_1", "productId": "PLATE", "segment": null, "segmentType": null, "shipNode": "store-BostonMA", "tenantId": "tenant1", "thresholdLevel": "0", "unitOfMeasure": "EACH" } } ] - dgAvailabilitySnapshot
- The sample array format for
dgAvailabilitySnapshotis as follows:[ { "datacontenttype": "application/json", "id": "ae1bb648-2b02-3391-8b3d-53b181512096", "specversion": "1.0", "time": "2020-05-21T00:00:00.326Z", "type": "dgAvailabilitySnapshot", "data": { "computeTs": "2020-05-21T00:00:00.087Z", "deliveryMethod": "PICK", "distributionGroup": "STORE", "earliestFutureAvailableDate": "2020-05-23T00:00:00.000Z", "earliestOnhandAvailableDate": "2020-05-21T00:00:00.307Z", "futureAvailableQuantity": 10.0, "futureSafetyQuantityWithheld": 0.0, "latestFutureAvailableDate": "2020-05-23T00:00:00.000Z", "latestOnhandAvailableDate": "2020-05-21T00:00:00.307Z", "onhandAvailableQuantity": 8.0, "onhandSafetyQuantityWithheld": 0.0, "productClass": "NEW", "productID": "BOWL", "segment": "InStore", "segmentType": "Channel", "snapshotId": "8f0f2c54-284c-4ca8-8f75-200be10b8b19", "tenantId": "tenant1", "thresholdLevel": "1", "thresholdType": "REALTIME_ONHAND", "totalAvailableQuantity": 18.0, "totalReservedQuantityWithheld": 2.0, "totalSafetyQuantityWithheld": 0.0, "totalShortageQuantity": 0.0, "unitOfMeasure": "EACH" } }, { "datacontenttype": "application/json", "id": "2c950c81-cb1c-313f-910e-380711f21495", "specversion": "1.0", "time": "2020-05-21T00:00:00.327Z", "type": "dgAvailabilitySnapshot", "data": { "computeTs": "2020-05-21T00:00:00.085Z", "deliveryMethod": "SHP", "distributionGroup": "WEB", "earliestFutureAvailableDate": "2020-05-23T00:00:00.000Z", "earliestOnhandAvailableDate": "2020-05-21T00:00:00.316Z", "futureAvailableQuantity": 11.0, "futureSafetyQuantityWithheld": 0.0, "latestFutureAvailableDate": "2020-05-23T00:00:00.000Z", "latestOnhandAvailableDate": "2020-05-21T00:00:00.316Z", "onhandAvailableQuantity": 17.0, "onhandSafetyQuantityWithheld": 0.0, "productClass": "NEW", "productID": "PLATE", "segment": "ONLINE", "segmentType": "Channel", "snapshotId": "8f0f2c54-284c-4ca8-8f75-200be10b8b19", "tenantId": "tenant1", "thresholdLevel": "1", "thresholdType": "REALTIME_ONHAND", "totalAvailableQuantity": 28.0, "totalReservedQuantityWithheld": 4.0, "totalSafetyQuantityWithheld": 0.0, "totalShortageQuantity": 0.0, "unitOfMeasure": "EACH" } }, { "datacontenttype": "application/json", "id": "736af2e8-86c0-3ccf-a134-79854ab0b6c6", "specversion": "1.0", "time": "2020-05-21T00:00:00.328Z", "type": "dgAvailabilitySnapshot", "data": { "snapshotId": "8f0f2c54-284c-4ca8-8f75-200be10b8b19", "tenantId": "tenant1" } } ]