diff --git a/libs/shared/src/config/getSendMyParcelConfig.ts b/libs/shared/src/config/getSendMyParcelConfig.ts index 43caa52d..c25be9e9 100644 --- a/libs/shared/src/config/getSendMyParcelConfig.ts +++ b/libs/shared/src/config/getSendMyParcelConfig.ts @@ -44,6 +44,10 @@ export const getSendMyParcelConfig = (): PlatformConfiguration => ({ addressFields: [AddressField.PostalCode, AddressField.Street, AddressField.City], shipmentOptions: [ShipmentOptionName.Signature], fakeDelivery: true, + /** + * API returns a 500 error when package_type is passed, even though it's valid for belgie + bpost. + */ + unsupportedParameters: ['package_type'], }, { name: CarrierName.PostNl, diff --git a/libs/shared/src/utils/__snapshots__/getPlatformConfig.spec.ts.snap b/libs/shared/src/utils/__snapshots__/getPlatformConfig.spec.ts.snap index 1506f0b2..bfc0745f 100644 --- a/libs/shared/src/utils/__snapshots__/getPlatformConfig.spec.ts.snap +++ b/libs/shared/src/utils/__snapshots__/getPlatformConfig.spec.ts.snap @@ -37,6 +37,9 @@ exports[`getPlatformConfig > gets config for platform belgie 1`] = ` "signature", ], "subscription": 0, + "unsupportedParameters": [ + "package_type", + ], }, { "deliveryCountries": [