allegro / allegro/allegro-api

[NEWS] Zmiana statusu realizacji zamówienia dostępna przez REST API / Order fulfillment status change available via REST API

Abierto
#2,775 2 comentarios 0 reacciones 1 asignado Reclamado por @PrzemyslawLukanowski Ver en GitHub
News
Lenguaje dominante
Sin datos de lenguaje
Estrellas
244
Forks
40
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Zgodnie z [wcześniejszą zapowiedzią](https://github.com/allegro/allegro-api/issues/2733), wdrożyliśmy nowy zasób, dzięki któremu zmienisz status realizacji zamówienia widoczny w polu **fulfillment.status**:
- [PUT /order/checkout-forms/{checkoutForm.id}/fulfillment](https://developer.allegro.pl/documentation/#operation/setOrderFulfillmentUsingPUT)

**Przykładowy request**:

```
curl -X PUT
'https://api.allegro.pl/order/checkout-forms/{checkoutFormId}/fulfillment'
-H 'Authorization: Bearer {token}'
-H 'Accept: application/vnd.allegro.public.v1+json'
-H 'Content-Type: application/vnd.allegro.public.v1+json'
-d ‘{
"status": "SENT" -- przykładowe wartości: NEW (nowe),
PROCESSING (w realizacji), etc.
Pełną listę znajdziesz w naszej
dokumentacji
}’
```

Więcej informacji znajdziesz w naszym poradniku - [jak obsługiwać zamówienia](https://developer.allegro.pl/orders/#05).

Jeśli sprzedawca korzysta z [abonamentu](https://allegro.pl/moje-allegro/sprzedaz/abonamenty), w zakładce [Zamówienia](https://allegro.pl/moje-allegro/sprzedaz/zamowienia/ustawienia) może ustawić automatyczną:

- zmianę statusu na “SENT”, gdy doda numer przesyłki,
- wysyłkę wiadomości do kupującego po zmianie statusu.

Więcej na ten temat znajdziesz w [naszym artykule](https://allegro.pl/pomoc/dla-sprzedajacych/abc-sprzedazy/zarzadzanie-sprzedaza-poprzez-zaawansowane-ustawienia-listy-ofert-i-zamowien-9dEME0ZGjuL#wysylka-maila-do-kupujacych-po-zmianie-statusu).

-----

According to the [previous announcement](https://github.com/allegro/allegro-api/issues/2733), we have introduced resource for changing order fulfillment status, visible in the **fulfillment.status** field:

- [PUT /order/checkout-forms/{checkoutForm.id}/fulfillment](https://developer.allegro.pl/documentation/#operation/setOrderFulfillmentUsingPUT)

**Sample request**:

```
curl -X PUT
'https://api.allegro.pl/order/checkout-forms/{checkoutFormId}/fulfillment'
-H 'Authorization: Bearer {token}'
-H 'Accept: application/vnd.allegro.public.v1+json'
-H 'Content-Type: application/vnd.allegro.public.v1+json'
-d ‘{
"status": "SENT" -- sample values: NEW,
PROCESSING, etc.
Full list can be found in
our documentation
}’
```

You will find more details in our guide - [how to process orders](https://developer.allegro.pl/en/my_offers/).

If the seller has enabled [subscription](https://allegro.pl/moje-allegro/sprzedaz/abonamenty), in the [Orders](https://allegro.pl/moje-allegro/sprzedaz/zamowienia/ustawienia) tab he can set automatic:

- change the status to “SENT”, when a tracking number(waybill) is added,
- sending a message to the buyer after the status is changed.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.