Search Results for

    Show / Hide Table of Contents

    Class SubmitOrderPackageEvent

    ID: "SubmitOrderPackageEvent" This event occurs whenever a package is ready to be submitted to logistics providers for fulfillment. It is important to note the following:

    • There is no trigger event for package creation. This is by design because package creation is part of the order submission process—often created before the order is fully finalized. For this purpose, we wait until the order is finalized to send out package notifications.
    • This event is also triggered if a package is split. The event will not trigger for the parent package but any packages created due to the split.
    • This event may trigger before the package is submitted to a logistics provider. The package synchronization process occurs once every 90 minutes unless triggered manually. Because this event triggers directly after an order is finalized and runs independently of the package synchronization process, the timespan between when the event was triggered and when the package synchronization process submits the package for fulfillment may then be as long as 90 minutes.

    You may submit a package during the normal order finalization process within the Web Office and Corporate Admin and the Create Customer Order Public API endpoint.

    The split package process is available through the Split Package endpoint. There is currently no way to split a package via Corporate Admin.

    Create Customer Order API Split Package API Event Sample>>:

    {
       "OrderNumber":2,
       "PackageId":1,
       "PackageStatus":"Submitted",
       "WarehouseId":1,
       "ShipMethodId":1,
       "TrackingNumber":null,
       "Carrier":"",
       "ShipByDateUtc":"2021-10-12T18:21:31Z",
       "ShippedDateUtc":null,
       "EventDateUtc":"2021-10-12T18:21:36.1218815Z",
       "EventCategory":"OrderEvents",
       "EventType":"SubmitOrderPackageEvent",
    }
    Inheritance
    System.Object
    EventBase
    OrderPackageEventBase
    SubmitOrderPackageEvent
    Inherited Members
    OrderPackageEventBase.OrderNumber
    OrderPackageEventBase.PackageId
    OrderPackageEventBase.PackageStatus
    OrderPackageEventBase.WarehouseId
    OrderPackageEventBase.ShipMethodId
    OrderPackageEventBase.TrackingNumber
    OrderPackageEventBase.Carrier
    OrderPackageEventBase.ShipByDateUtc
    OrderPackageEventBase.ShippedDateUtc
    EventBase.EventType
    EventBase.EventDateUtc
    Namespace: DirectScale.Disco.Extension.EventModels
    Assembly: DirectScale.Disco.Extension.Abstractions.dll
    Syntax
    public class SubmitOrderPackageEvent : OrderPackageEventBase

    Constructors

    SubmitOrderPackageEvent()

    Declaration
    public SubmitOrderPackageEvent()
    In This Article
    Back to top Copyright © 2022 DirectScale
    Generated by DocFX