allegro / allegro-api

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

Question about cancelation for shipment #9614

Open yangcen6 opened 3 months ago

yangcen6 commented 3 months ago

If we use ship with allegro,:

  1. Can we split the order into multiple packages though API?
  2. When the Allegro courier comes to our warehouse to pick up the package, do we need to actively change the status of our order to SENT though /order/checkout-forms/{id}/fulfillment? Or will it be automatically changed after the courier is picked up?
  3. Under what conditions can we not apply to cancel the shipments though /shipment-management/shipments/cancel-commands? For example, under what order status?
Lukasz-Zurek commented 3 months ago
  1. The maximum number of packages included in one shipment is: 10, but applies only to DPD and WE|DO. Another thing - the maximum number of packages for each carrier is: 10. So you can create many packages for one order. These will be separate packages.
  2. Using of this resource is up to you. It will not be automatically changed by Allegro.
  3. There are no dependencies with orders here. Please read our tutorial. There are two situations where you cannot cancel a shipment.
yangcen6 commented 3 months ago
  1. So only these two carriers can split an order into multiple packages? Which endpoint do we need to use to split the packages?
  2. That is to say, even if we use ship with allegro, we must change the status of the order through this endpoint to inform the customer that the order has been shipped out or has been delivered?
  3. Can I cancel the shipment after it's shipped?
Lukasz-Zurek commented 3 months ago
  1. You can split the packages, not order. You can create multiple packages using the resource for creating shipments POST /shipment-management/shipments/create-commands. Please look at the sample request and "packages" section in this guide.
  2. Yes. But please read this tutorial. If the seller has subscription, he can manage some automatic actions here.
  3. You cannot cancel the shipments only in two situations which we have mentioned here.
yangcen6 commented 3 months ago

For example, there are two items A and B in an order, and we want them to be shipped in different packages. We need to call this endpoint POST /shipment-management/shipments/create-commands and pass the relevant information of the two packages in the field package,right?

Lukasz-Zurek commented 3 months ago

If you ship with DPD or WE|DO - it will be possible to provide more than one package in the "packages" section. Other than that - you will have to call POST /shipment-management/shipments/create-commands twice for A and B respectively.

yangcen6 commented 3 months ago

OK,got it, thanks!

yangcen6 commented 2 months ago

If we use ship with allegro and choose dpd or we|do delivery, if we want to separate A and B in an order into two packages, can we directly create two shipments with POST /shipment-management/shipments/create-commands ?

Lukasz-Zurek commented 2 months ago

@yangcen6 Yes, in this situation - if you want to have two different waybills = you should create two shipments using POST /shipment-management/shipments/create-commands.

stale[bot] commented 2 months ago

W tym wątku nie pojawiła się żadna nowa odpowiedź w ciągu 7 dni, dlatego automatycznie oznaczamy go jako przeterminowany. Jeśli w ciągu kolejnych 7 dni nie pojawi się żadna odpowiedź, wątek zostanie zamknięty. Dziękujemy za zaangażowanie w dyskusję i zachęcamy Cię do wypełnienia ankiety dotyczącej naszego wsparcia na forum.


There was no new reply in this thread within 7 days, therefore, we automatically marked it as expired. If no response is received within the next 7 days, this thread will be closed. Thank you for engaging in the discussion. We encourage you to complete our forum support survey.