Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEWS] Zamówienia - zwrócimy informację o odstąpieniu od dostawy / Orders - we will return information about withdrawal from the delivery arrangement agreement #10041

Open
Lukasz-Zurek opened this issue Oct 7, 2024 · 0 comments

Comments

@Lukasz-Zurek
Copy link
Collaborator

Zgodnie z komunikatem, 21 października poszerzymy asortyment dostępny w kategorii Supermarket o kategorię Alkohol. Dostawa rozszerzonego asortymentu będzie usługą dodatkową, więc nie będzie ona częścią umowy sprzedaży. Dlatego klient będzie mógł od niej odstąpić w odrębnym procesie, od momentu opłacenia zamówienia, aż do momentu dostarczenia paczki.

Co wdrożymy?

Od 21 października w odpowiedzi dla:

zwrócimy nowe pole “delivery.cancellation”, gdzie w “date” zwrócimy datę odstąpienia od umowy dostawy. Jeśli w zamówieniu nie doszło do odstąpienia od dostawy, zwrócimy wartość null.

Przykładowy fragment odpowiedzi:

…
{
 "delivery": {
   "address": {},
   "method": {},
   "pickupPoint": {},
   "cost": {},
   "time": {},
   "smart": true,
   "cancellation": {        // null w przypadku braku odstąpienia od dostawy
     "date": "2023-08-08T10:15:30.133Z"
   },
   "calculatedNumberOfPackages": 1
 }
}
…

According to the announcement, on October 21, we will expand the assortment available in the Supermarket category with the Alcohol category. The delivery of the extended assortment will be an additional service, so it will not be a part of the sales contract. Therefore, the customer will be able to withdraw from it in a separate process, from the moment of paying for the order until the moment of delivery of the package.

What will we implement?

From October 21 in response to:

we will return a new field “delivery.cancellation”, where in the “date” field we will return the withdrawal date from the delivery arrangement agreement. If there was no withdrawal from the delivery in the order, we will return null.

Sample response fragment:

…
{
 "delivery": {
   "address": {},
   "method": {},
   "pickupPoint": {},
   "cost": {},
   "time": {},
   "smart": true,
   "cancellation": {        // null  if there was no withdrawal from the delivery in the order
     "date": "2023-08-08T10:15:30.133Z"
   },
   "calculatedNumberOfPackages": 1
 }
}
…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant