allegro / allegro-api

Issue tracker and wiki for Allegro REST API
https://developer.allegro.pl/
213 stars 39 forks source link

Question about /order/checkout-forms/${id}/fulfillment #9873

Open sskaigit opened 2 weeks ago

sskaigit commented 2 weeks ago

After modifying the order status (/order/checkout-forms/${id}/fulfillment), immediately check the order details interface (/order/checkout-forms/${id}) and find that the status is still new. Can this problem be solved ?

  1. "traceId":"b4290a5c657cd9e9", /order/checkout-forms/${id}
  2. "traceId":"b2781f7bc11a4a49", /order/checkout-forms/${id}/fulfillment
  3. "traceId":"4c5b5e7186dafa63", /order/checkout-forms/${id}
Lukasz-Zurek commented 2 weeks ago

@sskaigit I see that you have changed fulfillment status at: 2024-09-13 09:41:26.587 to status READY_FOR_SHIPMENT, but later you have changed it again, at: 2024-09-13 10:00:02.895 to status NEW.

sskaigit commented 2 weeks ago

yes, I am trying to reproduce this issue

Lukasz-Zurek commented 2 weeks ago

@sskaigit Right now in your order details we return a correct NEW status. If you want to change the status back to READY_FOR_SHIPMENT and it won't be updated in the order details - please let me know.

sskaigit commented 2 weeks ago

Also, will the updatedAt of the order change after modifying the status?

sskaigit commented 2 weeks ago

How long does it take to retrieve the latest status through the order interface ( /order/checkout-forms/${id}) after updating the status (/order/checkout-forms/${id}/fulfillment)

Lukasz-Zurek commented 2 weeks ago

Also, will the updatedAt of the order change after modifying the status?

No.

How long does it take to retrieve the latest status through the order interface ( /order/checkout-forms/${id}) after updating the status (/order/checkout-forms/${id}/fulfillment)

It should be retrieved immediately.

sskaigit commented 6 days ago

Will the shipment or customer confirmation of receipt modify the order status?

Lukasz-Zurek commented 4 days ago

The order status will be modified only by any of order status change. Here are possible statuses: