Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@myparcel-eslint/eslint-config-prettier": "^1.2.3",
"@myparcel-eslint/eslint-config-prettier-typescript": "^1.2.4",
"@myparcel-eslint/eslint-config-prettier-typescript-vue": "^1.2.6",
"@myparcel/constants": "2.3.0",
"@myparcel/constants": "2.5.0",
"@tsconfig/node18": "^18.2.2",
"@types/flat": "^5.0.2",
"@types/lodash-es": "^4.17.6",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 16 additions & 1 deletion src/api-reference/04.data-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,22 @@ Platform name

Carrier id

<DataTypeDefinition values="1,2,3,4,5,9,10,11,12,13,14" example="1 (PostNL),2 (bpost. Only available on sendmyparcel.be),3 (CheapCargo/pallets),4 (DPD),9 (DHL For You),10 (DHL Parcel Connect),11 (DHL Europlus),12 (UPS Standard. Only available on MyParcel.nl), 13 (UPS Express Saver. Only available on MyParcel.nl), 14 (GLS. Only available on MyParcel.nl)" />
<DataTypeDefinition
values="1,2,3,4,5,9,10,11,12,13,14,15,16"
example="
1 (PostNL),
2 (bpost. Only available on sendmyparcel.be),
3 (CheapCargo/pallets),
4 (DPD),
9 (DHL For You),
10 (DHL Parcel Connect),
11 (DHL Europlus),
12 (UPS Standard. Only available on MyParcel.nl),
13 (UPS Express Saver. Only available on MyParcel.nl),
14 (GLS. Only available on MyParcel.nl),
15 (BRT),
16 (Trunkrs)
" />

## coordinates

Expand Down
20 changes: 15 additions & 5 deletions src/api-reference/06.shipments.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ for <DataType type="package-type" id="1" />.

#### only_recipient

Deliver the package only at address of the intended recipient. This option is
required for Morning and Evening delivery types.
Deliver the package only at address of the intended recipient.

#### signature

Expand Down Expand Up @@ -204,9 +203,20 @@ shipment to Belgium and the tracked option is not available.

#### receipt_code

Also known as 'Ontvangstcode'. The recipient receives a code via email that must be confirmed upon delivery.
Only available for PostNL shipments.
Requires insurance and recipient email address.
Also known as 'Ontvangstcode'. The recipient receives a code via email or SMS that must be confirmed upon delivery.
Only available for <DataType type="carrier" name="postnl" /> and <DataType type="carrier" name="trunkrs" />.

For <DataType type="carrier" name="postnl" /> this requires insurance and recipient email address.

#### fresh_food

The shipment contains fresh food and requires special handling such as cooled transport and/or same-day delivery. Only
available for <DataType type="carrier" name="trunkrs" />

#### frozen

The shipment contains frozen items and requires special handling such as cooled transport, same-day delivery and/or a
maximum amount of time outside the freezer. Only available for <DataType type="carrier" name="trunkrs"/>

### 6.A.4 Examples

Expand Down
10 changes: 10 additions & 0 deletions src/api-reference/07.shipment-related-object-definitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,16 @@ Data type: [boolean]
Required: No.
The package will be delivered on a Saturday

**fresh_food**
Data type: [boolean]
Required: No.
The shipment contains fresh food and requires special handling

**frozen**
Data type: [boolean]
Required: No.
The shipment contains frozen items and requires special handling

### 7.C.2 Example

::: expand h4: Parcel with only_recipient, signature, return, age_check and €100,– insurance
Expand Down
16 changes: 16 additions & 0 deletions src/nl/backoffice/14.trunkrs-eigen-contracten-activeren.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Trunkrs contract activeren
---

## Inleiding

Activeer op een simpele manier Trunkrs-contracten in de MyParcel MyContracts omgeving.

### Stappen

Om een contract voor Trunkrs in te laden, dien je de volgende stappen uit te voeren:

1. Neem contact op met Trunkrs en vraag om de volgende gegevens:
- API key
2. Vul de bovenstaande gegevens in, op de [MyParcel backoffice MyContracts](https://backoffice.myparcel.nl/settings/account/orders-shipping) pagina.
<MPImg src="/backoffice/trunkrs/trunkrs-instellingen.png" alt="Trunkrs instellingen in MyParcel backoffice" />
20 changes: 20 additions & 0 deletions src/nl/backoffice/15.brt-eigen-contracten-activeren.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: BRT contract activeren
---

## Inleiding

Activeer op een simpele manier BRT-contracten in de MyParcel MyContracts omgeving.

### Stappen

Om een contract voor BRT in te laden, dien je de volgende stappen uit te voeren:

1. Neem contact op met BRT en vraag om de volgende gegevens:
- User id
- Password
- PUDO API Key
- Departure depot
- Customer code
2. Vul de bovenstaande gegevens in, op de [MyParcel backoffice MyContracts](https://backoffice.myparcel.nl/settings/account/orders-shipping) pagina.
<MPImg src="/backoffice/brt/brt-instellingen.png" alt="BRT instellingen in MyParcel backoffice" />
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -937,12 +937,12 @@ __metadata:
languageName: node
linkType: hard

"@myparcel/constants@npm:2.3.0":
version: 2.3.0
resolution: "@myparcel/constants@npm:2.3.0"
"@myparcel/constants@npm:2.5.0":
version: 2.5.0
resolution: "@myparcel/constants@npm:2.5.0"
dependencies:
"@myparcel/ts-utils": ^1.7.0
checksum: d2faf8c7555f3538dd5458b463b8143e030124d48734a886db7e469f2bf15c4c8d34a870293ac7652099609ecabfc70c06ec306ae8626953a27f7e247c42b625
checksum: e642c3694d62aff878a1a6585485efecab5de68e156318da1e15eb1c924381d641347fe2d529479100ce40e7b7833e32f2e541c4c708634f1f71ee9472a56400
languageName: node
linkType: hard

Expand All @@ -956,7 +956,7 @@ __metadata:
"@myparcel-eslint/eslint-config-prettier": ^1.2.3
"@myparcel-eslint/eslint-config-prettier-typescript": ^1.2.4
"@myparcel-eslint/eslint-config-prettier-typescript-vue": ^1.2.6
"@myparcel/constants": 2.3.0
"@myparcel/constants": 2.5.0
"@tsconfig/node18": ^18.2.2
"@types/flat": ^5.0.2
"@types/lodash-es": ^4.17.6
Expand Down