Commit 233f6bd
Fix: DeliveryDate missing from request
ShippingDate isn't a parameter, according to PostNL's Documentation:
- https://developer.postnl.nl/docs/#/http/api-endpoints/checkout-delivery-options/deliverydate/calculate-shipping-date
DeliveryDate parameter only accepts dd-mm-yyyy format, which is the following pattern:
- ^[0-3]\d-[0-1]\d-[1-2]\d{3}$
So I formatted the DateTimeInterface (returned by the getDeliveryDate method) to oblidge by that format.1 parent 8c9d2a5 commit 233f6bd
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
467 | | - | |
| 467 | + | |
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
| |||
0 commit comments