Skip to content

Commit

Permalink
feat(API-1552): Add order_id and shipment_reference_identifier to…
Browse files Browse the repository at this point in the history
… `ShipmentStatusChangeEvent`
  • Loading branch information
nickkraakman committed Nov 26, 2024
1 parent 34d2b7e commit b97e95a
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/api-reference/11.webhook-object-definitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,14 @@ The shipment status.
Data type: [string]
This is the shipment barcode.

**shipment_reference_identifier**
Data type: [string]
This is the shipment reference identifier, which can contain the webshop order reference.

**order_id**
Data type: [string]
This is the MyParcel order UUID to which the shipment belongs. Only present if the shipment is part of an <ApiLink to="13_A">Order</ApiLink>.

### 11.B.2 Reference

We send the following headers to your environment:
Expand All @@ -119,7 +127,9 @@ We send the following headers to your environment:
"account_id": 7003,
"shop_id": 1897,
"status": 2,
"barcode": "3SMYPA749883621"
"barcode": "3SMYPA749883621",
"shipment_reference_identifier": "Bol.com nr: 4161412988",
"order_id": "db610547-7434-4f6d-9e13-178b686a94d6"
}
```

Expand All @@ -134,7 +144,9 @@ The above is an example of the ShipmentStatusChangeEvent Object. However, the fo
"account_id": 7003,
"shop_id": 1897,
"status": 2,
"barcode": "3SMYPA749883621"
"barcode": "3SMYPA749883621",
"shipment_reference_identifier": "Bol.com nr: 4161412988",
"order_id": "db610547-7434-4f6d-9e13-178b686a94d6"
}
]
}
Expand Down

0 comments on commit b97e95a

Please sign in to comment.