allegro / allegro/allegro-api

[NEWS] Udostępniliśmy zasoby do obsługi One Fulfillment by Allegro / We have introduced resources for managing One Fulfillment by Allegro

未關閉
#5,667 0 則留言 0 個 reaction 已指派 1 人 已被 @PrzemyslawLukanowski 認領 在 GitHub 檢視
News
主要語言
沒有語言資料
星號
244
分支
40
PR 合併指標
30 天內沒有已合併 PR

描述

One Fulfillment by Allegro to usługa kompleksowej obsługi logistycznej dla e-commerce. W ramach niej sprzedawcy wyślą do centrum logistycznego Allegro swoje towary, a my zajmiemy się ich przechowywaniem oraz obsługą zamówień i zapytań posprzedażowych ich klientów.

Więcej informacji o One Fulfillment by Allegro oraz o tym, jak z skorzystać z tej usługi, znajdziesz na [naszej stronie](https://allegro.pl/kampania/fulfillment).

**Co dodaliśmy?**

1. Nowe endpointy, dzięki którym możesz:
* pobrać listę produktów, które możesz dodać do awizo (awizo to zbiór informacji o produktach zapakowanych w kartony, które następnie wyślesz do naszego magazynu) - [GET /fulfillment/available-products](https://developer.allegro.pl/documentation/#operation/getAvailableProducts).
* zarządzać awizo:
* [POST /fulfillment/advance-ship-notices](https://developer.allegro.pl/documentation/#operation/createAdvanceShipNotice) - utwórz szkic awizo,
* [GET /fulfillment/advance-ship-notices](https://developer.allegro.pl/documentation/#operation/getAdvanceShipNotices) - pobierz listę utworzonych wcześniej awizo,
* [GET /fulfillment/advance-ship-notices/{id}](https://developer.allegro.pl/documentation/#operation/getAdvanceShipNotice) - pobierz informacje o wskazanym awizo,
* [PUT /fulfillment/advance-ship-notices/{id}](https://developer.allegro.pl/documentation/#operation/updateAdvanceShipNotice) - uzupełnij dane wskazanego awizo,
* [DELETE /fulfillment/advance-ship-notices/{id}](https://developer.allegro.pl/documentation/#operation/deleteAdvanceShipNotice) - usuń wskazane awizo,
* [PUT /fulfillment/create-labels-commands/{command-id}](https://developer.allegro.pl/documentation/#operation/createLabelsCommand) - wygeneruj oznaczenia na kartony,
* [GET /fulfillment/create-labels-commands/{command-id}](https://developer.allegro.pl/documentation/#operation/getLabelCommand) - sprawdź status wykonania zadania wygenerowania oznaczeń na kartony,
* [GET /fulfillment/advance-ship-notices/{id}/labels](https://developer.allegro.pl/documentation/#operation/getAdvanceShipNoticeLabels) - pobierz oznaczenia na kartony,
* [PUT /fulfillment/submit-commands/{command-id}](https://developer.allegro.pl/documentation/#operation/submitCommand) - zakończ edycję i wyślij awizo,
* [GET /fulfillment/submit-commands/{command-id}](https://developer.allegro.pl//documentation/#operation/getSubmitCommand) - sprawdź status wysyłki awizo,
* [GET /fulfillment/advance-ship-notices/{id}/receiving-state](https://developer.allegro.pl//documentation/#operation/getAdvanceShipNoticeReceivingState) - sprawdź w czasie rzeczywistym postęp odbioru awizo przez magazyn.
* pobrać listę dostępnych produktów na magazynie wraz z liczbą sztuk - [GET /fulfillment/stock](https://developer.allegro.pl//documentation/#operation/getFulfillmentStock).
2. W odpowiedzi dla [GET /me](https://developer.allegro.pl//documentation/#operation/meGET) nową wartość w polu “features” - **“ONE_FULFILLMENT”**, która świadczy o tym, że konto sprzedawcy jest odpowiedniego typu, aby korzystać z zasobów One Fulfillment by Allegro.
3. Nowe [scope’y](https://developer.allegro.pl/tutorials/uwierzytelnianie-i-autoryzacja-zlq9e75GdIR#scope-w-api-allegro):
* **allegro:api:fulfillment:read**,
* **allegro:api:fulfillment:write**.

Uwzględnij je w generowanym tokenie, aby mieć dostęp do zasobów One Fulfillment by Allegro. Listą scope’ów możesz zarządzać także przez stronę [Developer Apps](https://developer.allegro.pl/news/zarzadzanie-lista-scopeow-aplikacji-allegro-v8WDrwvnXF2)

Więcej informacji o tym, jak zarządzać obsługą zasobów dla One Fulfillment by Allegro, znajdziesz w [naszym poradniku](https://developer.allegro.pl/tutorials/one-fulfillment-by-allegro-4R9dXyMPlc9).

-----

One Fulfillment by Allegro is a comprehensive logistic service for e-commerce. As part of it, sellers can send their goods to the Allegro logistics center, and we will take care of their storage, handling of orders, and after-sales inquiries of their customers.

You will find more information about One Fulfillment by Allegro, and how to start using this service, [on our site](https://allegro.pl/kampania/fulfillment).

**What have we added?**

1. New endpoints, owing to which you can:
* retrieve a list of products that can be added to Advance Ship Notice (ASN contains the information about products packed in boxes, that you will send to our warehouse) - [GET /fulfillment/available-products](https://developer.allegro.pl/documentation/#operation/getAvailableProducts).
* manage Advance Ship Notice:
* [POST /fulfillment/advance-ship-notices](https://developer.allegro.pl/documentation/#operation/createAdvanceShipNotice) - create a draft of Advance Ship Notice,
* [GET /fulfillment/advance-ship-notices](https://developer.allegro.pl/documentation/#operation/getAdvanceShipNotices) - get a list of Advance Ship Notices,
* [GET /fulfillment/advance-ship-notices/{id}](https://developer.allegro.pl/documentation/#operation/getAdvanceShipNotice) - get details of a single Advance Ship Notice,
* [PUT /fulfillment/advance-ship-notices/{id}](https://developer.allegro.pl/documentation/#operation/updateAdvanceShipNotice) - update Advance Ship Notice,
* [DELETE /fulfillment/advance-ship-notices/{id}](https://developer.allegro.pl/documentation/#operation/deleteAdvanceShipNotice) - delete Advance Ship Notice,
* [PUT /fulfillment/create-labels-commands/{command-id}](https://developer.allegro.pl/documentation/#operation/createLabelsCommand) - get labels for Advance Ship Notice,
* [GET /fulfillment/create-labels-commands/{command-id}](https://developer.allegro.pl/documentation/#operation/getLabelCommand) - check the status of the "create labels command" and get the URL to download labels,
* [GET /fulfillment/advance-ship-notices/{id}/labels](https://developer.allegro.pl/documentation/#operation/getAdvanceShipNoticeLabels) - get labels for Advance Ship Notice,
* [PUT /fulfillment/submit-commands/{command-id}](https://developer.allegro.pl/documentation/#operation/submitCommand) - submit the Advance Ship Notice,
* [GET /fulfillment/submit-commands/{command-id}](https://developer.allegro.pl/documentation/#operation/getSubmitCommand) - get submit status,
* [GET /fulfillment/advance-ship-notices/{id}/receiving-state](https://developer.allegro.pl/documentation/#operation/getAdvanceShipNoticeReceivingState) - check current state and details of Advance Ship Notice receiving..
* retrieve a list of available products in the warehouse along with stock information - [GET /fulfillment/stock](https://developer.allegro.pl/documentation/#operation/getFulfillmentStock).
2. New value in the “features” field in the response to [GET /me](https://developer.allegro.pl/documentation/#operation/meGET) - **“ONE_FULFILLMENT”**, which indicates that the account has an active subscription in the "One Fulfillment by Allegro" service.
3. New [scopes](https://developer.allegro.pl/tutorials/uwierzytelnianie-i-autoryzacja-zlq9e75GdIR#scope-w-api-allegro):
* **allegro:api:fulfillment:read**,
* **allegro:api:fulfillment:write**.

Include them in the authorization process to get access to One Fulfillment by Allegro resources. You can also manage the list of scopes via [the Developer Apps website](/news/#scopes-on-developer-apps)

More information about managing resources for One Fulfillment by Allegro can be found in [our guide](https://developer.allegro.pl/tutorials/one-fulfillment-by-allegro-4R9dXyMPlc9).

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。