allegro / allegro-api

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

Create a shipment by API #9290

Closed Liritt closed 5 months ago

Liritt commented 5 months ago

Hello,

Among the required informations to create a shipment, we have to give image Does it mean that we have to put our return address that is given in our return policy ?

Also, image This ask us a state when the customer is from US or Canada, but we do not get this information when importing order, same with the street number. How can we get these informations ? Informations given when importing orders : image which does not include "state" or "street number".

Thanks

PrzemyslawLukanowski commented 5 months ago

Hello,

Does it mean that we have to put our return address that is given in our return policy ?

It doesn't need to be the same address, you can use any sender address, we don't validate whether it's the same as defined in the return policy.

This ask us a state when the customer is from US or Canada, but we do not get this information when importing order, same with the street number. How can we get these information ?

Unfortunately, you need to provide state field on your side. A street number is included in the order details along with the street name in the "street" field - you need to separate number also on your own.

Liritt commented 5 months ago

So for a US customer we have to manually check his address and put his corresponding state ?

PrzemyslawLukanowski commented 5 months ago

Yes, exactly.

Liritt commented 5 months ago

Ok thanks, and where can we get our generated allegro email ?

PrzemyslawLukanowski commented 5 months ago

Allegro receiver email is returned in the order details via GET /order/checkout-forms and GET /order/checkout-forms/{id}, field buyer.email.

Liritt commented 5 months ago

Oh, my bad I didn't see that the email for the sender did not need to be an Allegro one.