The OrderLineItemChange JSON object is used in the OrderLineItemStatusChange JSON Object to identify the line items and quantities that changed.

Please read the Webhook Overview to understand how the Webhook system works.

- Make sure you're familiar with JSON before continuing.
- The JSON objects are defined using Orderly.  Optional attrs end with a "?" all others are required.

- isodate fields use one of these ISO 8601 format: 2014-01-01T10:30:00.000+01:00, 2014-01-01T10:30:00.000+0100, 2014-01-01T10:30:00.000Z
- Dsco reserves the right to add new attributes at any time so Partners should ensure their validators won't break should this happen

Definition

Object
{
    int dscoItemId;      # The dscoItemId of the changed line item
    int lineNumber?;     # If present, this and dscoItemId uniquely 
                         # identify the line item that changed 
    int quantity;        # The quantity of the line item that changed
};

Example

{
    "dscoItemId": 23424242,
    "lineNumber": 1,
    "quantity": 3
}
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.