[NEWS] GET /fulfillment/stock - dodaliśmy nowe funkcjonalności / GET /fulfillment/stock - we have added new features
- 主要言語
- 言語のデータがありません
- スター
- 244
- フォーク
- 40
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Za pomocą [GET /fulfillment/stock](https://developer.allegro.pl/documentation/#operation/getFulfillmentStock) pobierzesz listę aktualnych stanów magazynowych twoich produktów.
**Jakie zmiany wprowadziliśmy?**
Aby sprzedawca mógł łatwiej zarządzać aktualnymi stanami magazynowymi, udostępniliśmy:
- nowy obiekt **storageFee** - w którym zwrócimy szczegółowe informacje dotyczące opłaty za przechowywanie towaru w magazynie,
- nowe opcje sortowania:
- **storageFee** - sortowanie według opłaty za przechowywanie (rosnąco); jako pierwsze zwrócimy wszystkie opłaty ze statusem: NOT_APPLICABLE (nie pobraliśmy opłaty za dzień wskazany w “feeStatusAt” i nie ma już dostępnych zapasów produktu), następnie INCLUDED_IN_STORAGE_FEE (nie pobraliśmy opłaty za dzień wskazany w “feeStatusAt”, podczas gdy są jeszcze dostępne zapasy produktu), następnie CHARGED (naliczyliśmy opłatę i jest już widoczna w rozliczeniach z Allegro) uporządkowane rosnąco według kwoty brutto,
- **-storageFee** - sortowanie według opłaty za przechowywanie (malejąco); jako pierwsze zwrócimy wszystkie opłaty ze statusem o: CHARGED uporządkowana malejąco według kwoty brutto, następnie INCLUDED_IN_STORAGE_FEE, a następnie NOT_APPLICABLE,
- nowe kolumny w pliku CSV:
- oczekująca dostawa,
- opłata dzienna za przechowywanie (PLN),
- liczba sztuk z opłatą za przechowywanie,
- data pobrania opłaty.
**Przykładowy response:**
```
…
"storageFee": {
"status": "NOT_APPLICABLE", - status opłaty za przechowywanie; dostępne
wartości: NOT_APPLICABLE ,INCLUDED_IN_STORAGE_FEE, CHARGED
"feeStatusAt": "2023-02-17", - data naliczenia opłaty za przechowywanie
"details": { - szczegółowe informacje dotyczące opłaty za
przechowywanie (dostępne tylko w sytuacji,
gdy storageFee.status: “CHARGED”.
"chargedItemsQuantity": 3, - liczba sztuk produktów, za które została pobrana opłata
"amountGross": 123.45, - łączna pobrana opłata
"currency": "PLN" - waluta, w której została pobrana opłata
}
```
Więcej informacji na temat stanów magazynowych w Allegro One Fulfillment, znajdziesz w [naszym poradniku](https://developer.allegro.pl/tutorials/one-fulfillment-by-allegro-0ADwgOLqWSw#jak-pobrac-aktualne-stany-magazynowe).
------
Using [GET /fulfillment/stock](https://developer.allegro.pl/documentation/#operation/getFulfillmentStock) you will receive a list of current products stock.
**What changes have we made?**
To make it easier for the seller to manage the current stock levels, we have provided:
- new **storageFee** object - in which we will return detailed information about storage fee for keeping the products in stock,
- new sorting options:
- **storageFee** - sorted by storage fee (ascending); the order by fee status is: NOT_APPLICABLE (we have not charged for the day indicated in “feeStatusAt” and there are no available items of the product), then INCLUDED_IN_STORAGE_FEE (we have not charged for the day indicated in “feeStatusAt”, while there are available items of the product), then CHARGED (we have charged a fee and it is already visible in settlements with Allegro) sorted ascending by gross amount,
- **-storageFee** - sorted by storage fee (descending); the order by fee status is: CHARGED sorted descending by gross amount, then INCLUDED_IN_STORAGE_FEE and NOT_APPLICABLE,
- new columns in the CSV file:
- pending delivery,
- daily storage fee (PLN),
- number of items with storage fee,
- fee charge date.
**Sample response:**
```
…
"storageFee": {
"status": "NOT_APPLICABLE", - storage fee status for keeping the products
in stock; available values: NOT_APPLICABLE, INCLUDED_IN_STORAGE_FEE,
CHARGED
"feeStatusAt": "2023-02-17", - date when the fee was charged
"details": { - details about the charged storage fee. Only present
if storageFee.status: “CHARGED”.
"chargedItemsQuantity": 3, - number of items, for which storage fee was charged
"amountGross": 123.45, - total gross amount of the charged fee
"currency": "PLN" - currency in which the fee was charged
}
```
You will find more information about available stock in Allegro One Fulfillment in [our guide](https://developer.allegro.pl/tutorials/one-fulfillment-by-allegro-4R9dXyMPlc9#get-available-stock).
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。