Date: Fri, 29 Mar 2024 07:04:45 +0000 (UTC) Message-ID: <1244267725.7.1711695885224@480292d090b5> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_6_1398482172.1711695885224" ------=_Part_6_1398482172.1711695885224 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Dodanie mo=C5=BCliwo=C5=9Bci p=
rzekazywania serwis=C3=B3w SMART przy tworzeniu przesy=C5=82ek inpost_locker_allegro_smart
Zas=C3=B3b Shipment
dla przesy=C5=82ek Allegro Smart p=
osiada takie same atrybuty jak w trybie uproszczonym. Jedyn=C4=85 r=C3=
=B3=C5=BCnic=C4=85 jest parametr cod
:
Parametr |
Typ |
Opis |
Walidacja |
---|---|---|---|
|
Cod |
Warto=C5=9B=C4=87 pobrania. |
Atrybut nie jest wymagany. |
Dost=C4=99p do zasobu wymaga podania prawid=C5=82owego i wa=C5=BCnego access toke= nu.
W przypadku przesy=C5=82ek allegro nie ma ju=C5=BC wymagania wysy=C5=82a=
nia w custom_attributes
parametr=C3=B3w a=
llegro_transaction_id
oraz allegro_user_id
, w=
ystarczy wys=C5=82a=C4=87 kompletny zamaskowany email allegro, e-mail=
b=C4=99dzie mie=C4=87 posta=C4=87 sta=C5=82ykodnadawcy+identyfi=
katortransakcji@allegromail.com
, na przyk=C5=82ad 8awgqyk=
6a5+cub31c122@allegromail.com
.
Paczki z serwisami SMART mo=C5=BCna tworzy=C4=87 jedynie na email z dome= ny allegro:
W przypadku gdy na dany email zosta=C5=82 ju=C5=BC wykorzystany limit SM=
ART, serwis zostanie automatycznie zmieniony na jego odpowiednik bez&n=
bsp;_smart
.
W przypadku podania emaila z domeny allegro i serwisu inpost=
_locker_allegro
, gdy na dany email przys=C5=82uguje klientowi l=
imit SMART, serwis zostanie automatycznie zmieniony na jego odpowiednik ze&=
nbsp;_smart
Poni=C5=BCej przedstawiamy jakich serwis=C3=B3w nale=C5=BCy u=C5=BCy=C4=
=87 dla dost=C4=99pnych metod dostawy:
Metoda dostawy - Allegro Paczkomat=C2=AE 24/7 InPost:
bez Allegro Smart - u=C5=BCywamy serwisu i=
npost_locker_allegro
z Allegro Smart - u=C5=BCywamy serwisu inpost_lo=
cker_allegro
serwis zostanie zmieniony na inpost_locker_allegr=
o_smart
gdy na dany email przys=C5=82uguje klientowi limit SMAR=
T
B=C5=82=C4=99dny serwis dla metody dostawy
W przypadku podania nieodpowiedniego serwisu dla metody dostawy (np. ser=
wisu inpost_locker_standard
dla metody Allegro Paczkomat=C2=AE=
24/7), us=C5=82uga SMART nie b=C4=99dzie dost=C4=99pna.
Przyk=C5=82adowe zapytania dost=C4=99pne s=C4=85 na stronie =
;[1.9.0] Tworzenie przesy=C5=82ki w trybie uproszczonym
Przyk=C5=82adowe zapytanie do tworzenia paczki dla metody dostaw= y - Allegro Paczkomat=C2=AE 24/7 InPost:
curl --= location 'https://api-shipx-pl.easypack24.net/v1/organizations/115/shipment= s' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer eyJhbGciOiJSUzI...' \ --data-raw '{ "sender": { "company_name": "Company_name", "first_name": "first_name", "last_name": "last_name", "email": "test@grupainteger.pl", "phone": "321321321", "address": { "street": "Czerniakowska", "building_number": "87A", "city": "Warszawa", "post_code": "00-718", "country_code": "PL" } }, "receiver": { "company_name": "company_name", "first_name": "first_name", "last_name": "last_name", "email": "kz9576590l+378a831e0@user.allegrogroup.pl", "phone": "888000000" =20 }, "parcels": [ { "template": "medium" } ], "custom_attributes": { "sending_method": "dispatch_order", "target_point": "KRA012" }, "service": "inpost_locker_allegro", "reference": "Numer_zam=C3=B3wienia" }'
W odpowiedzi serwer zwr=C3=B3ci status 201
HTTP/1.= 1 201 CREATED Content-Type: application/json =20 { "href": "https://api-shipx-pl.easypack24.net/v1/organizations/1/shipmen= ts/12280001", "id": 12280001, "status": "created", "tracking_number": null, "return_tracking_number": null, "service": "inpost_locker_allegro_smart", "reference": "Numer_zam=C3=B3wienia", "is_return": false, "application_id": 1070, "created_by_id": null, "external_customer_id": null, "sending_method": "dispatch_order", "end_of_week_collection": false, "comments": null, "mpk": null, "additional_services": [], "custom_attributes": { "target_point": "KRA012", "sending_method": "dispatch_order" }, "cod": { "amount": null, "currency": null }, "insurance": { "amount": 5000, "currency": "PLN" }, "sender": { "id": 24563418, "name": null, "company_name": "Company_name", "first_name": "first_name", "last_name": "last_name", "email": "test@grupainteger.pl", "phone": "321321321", "address": { "id": 23260657, "street": "Czerniakowska", "building_number": "87A", "line1": null, "line2": null, "city": "Warszawa", "post_code": "00-718", "country_code": "PL" } }, "receiver": { "id": 24563417, "name": null, "company_name": "company_name", "first_name": "first_name", "last_name": "last_name", "email": "kz9576590l+378a831e0@user.allegrogroup.pl", "phone": "888000000", "address": null }, "selected_offer": null, "offers": [], "transactions": [], "parcels": [ { "id": 13041562, "identify_number": null, "tracking_number": null, "is_non_standard": false, "template": "medium", "dimensions": { "length": 380.0, "width": 640.0, "height": 190.0, "unit": "mm" }, "weight": { "amount": 25.0, "unit": "kg" } } ], "created_at": "2023-10-25T15:13:40.761+02:00", "updated_at": "2023-10-25T15:13:40.761+02:00" }