[NEWS] Zwroty klienckie - dodaliśmy numer przesyłki i nazwę przewoźnika, który dostarcza paczkę / Customer returns - we added the parcel number and the carrier's name that delivers the package
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 244
- Forks
- 40
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
W zwrotach klienckich w tablicy obiektów "**parcels**" dodaliśmy nowe pola "**transportingWaybill**" oraz "**transportingCarrierId**", dzięki czemu otrzymasz informację o numerze przesyłki i identyfikatorze przewoźnika, który fizycznie dostarcza paczkę.
```
...
"parcels": [ // dane przesyłki zwrotnej
{
"createdAt": "2021-07-08T12:13:59.001Z", // data utworzenia przesyłki
"waybill": "AD00R28X72", // numer listu przewozowego
"transportingWaybill": "2171143568953", // numer listu przewozowego od przewoźnika fizycznie dostarczającego paczkę, jeśli jest inny niż w "waybill", w innym wypadku zwrócimy null
"carrierId": "ALLEGRO", // nazwa przewoźnika
"transportingCarrierId": "ORLEN", // nazwa przewoźnika fizycznie dostarczającego paczkę, jeśli jest inny niż w "carrierId", w innym wypadku zwrócimy null
"sender": {
"phoneNumber": "+48600600600". // numer telefonu nadawcy
}
}
],
...
```
**Jakich zasobów dotyczy zmiana?**
- [GET /order/customer-returns](https://developer.allegro.pl/documentation#operation/getCustomerReturns)
- [GET /order/customer-returns/{customerReturnId}](https://developer.allegro.pl/documentation#operation/getCustomerReturnById)
- [POST /order/customer-returns/{customerReturnId}/rejection](https://developer.allegro.pl/documentation/#operation/rejectCustomerReturnRefund)
Więcej informacji o zwrotach klienckich przeczytasz [w naszym poradniku](https://developer.allegro.pl/tutorials/jak-obslugiwac-zamowienia-GRaj0qyvwtR#zwroty-klienckie).
---
In the resources for customer returns in the "**parcels**" object array, we have added new fields "**transportingWaybill**" and "**transportingCarrierId**", so you will get information about the parcel number and the ID of the carrier that physically delivers the parcel.
```
...
"parcels": [ // return shipment data
{
"createdAt": "2021-07-08T12:13:59.001Z", // shipment creation date
"waybill": "AD00R28X72", // waybill number
"transportingWaybill": "2171143568953", // the waybill number from the carrier physically delivering the package if different from "waybill", otherwise return null
"carrierId": "ALLEGRO", // carrier name
"transportingCarrierId": "ORLEN", // the name of the carrier physically delivering the package if different than in "carrierId", otherwise we return null
"sender": {
"phoneNumber": "+48600600600". // sender's phone number
}
}
],
...
```
**What resources are affected by the change?**
- [GET /order/customer-returns](https://developer.allegro.pl/documentation#operation/getCustomerReturns)
- [GET /order/customer-returns/{customerReturnId}](https://developer.allegro.pl/documentation#operation/getCustomerReturnById)
- [POST /order/customer-returns/{customerReturnId}/rejection](https://developer.allegro.pl/documentation/#operation/rejectCustomerReturnRefund)
You can read more about customer returns in our [tutorial](https://developer.allegro.pl/tutorials/process-orders-PgPMlWDr8Cv#customer-returns).
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.