[NEWS] Nowy zasób do pobrania identyfikatorów przewoźników / New resource to retrieve available delivery company ID
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 244
- Forks
- 40
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Udostępniliśmy dziś nowy zasób [GET /order/carriers](https://developer.allegro.pl/documentation/#operation/getOrdersCarriersUsingGET), dzięki któremu pobierzesz identyfikatory dostępnych przewoźników - które są potrzebne, aby dodać numer przesyłki do zamówienia. Więcej na ten temat znajdziesz w [naszym poradniku](https://developer.allegro.pl/orders/#09).
**Przykładowy request:**
```
curl -X GET
https://api.allegro.pl/order/carriers
-H ‘Authorization: Bearer {token}’ /
-H ‘Accept: application/vnd.allegro.public.v1+json’
```
**Przykładowy response:**
```
{
"carriers": [
{
"id": "UPS", -- identyfikator przewoźnika
"name": "UPS" -- nazwa przewoźnika
},
{
"id": "INPOST",
"name": "InPost"
},
...
{
"id": "OTHER"
}
]
}
```
---
We have introduced a new resource [GET /order/carriers](https://developer.allegro.pl/documentation/#operation/getOrdersCarriersUsingGET), which allows you to retrieve available delivery company IDs - which are necessary to add a tracking number to an item in order.
You will find more details in [our tutorial](https://developer.allegro.pl/en/orders/#09).
**Sample request:**
```
curl -X GET
https://api.allegro.pl/order/carriers
-H ‘Authorization: Bearer {token}’ /
-H ‘Accept: application/vnd.allegro.public.v1+json’
```
**Sample response:**
```
{
"carriers": [
{
"id": "UPS", -- delivery company ID
"name": "UPS" -- delivery company name
},
{
"id": "INPOST",
"name": "InPost"
},
...
{
"id": "OTHER"
}
]
}
```
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.