allegro / allegro/allegro-api

[NEWS] Udostępniliśmy grupową edycję czasu wysyłki w ofertach / We have enabled the possibility to modify the handling time in multiple offers

Ouverte
#9,112 0 commentaires 0 réactions 1 personne assignée Réclamée par @MaciejFrackowiak Voir sur GitHub
News Offer - management
Langage dominant
Aucune donnée de langage
Étoiles
244
Forks
40
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Od dziś za pomocą [PUT /sale/offer-modification-commands/{commandId}](https://developer.allegro.pl/documentation/#operation/modificationCommandUsingPUT) zmienisz grupowo czas wysyłki w ofertach.

**Przykładowy request:**
```
curl -X PUT \
'https://api.allegro.pl/sale/offer-modification-commands/{commandId}' \
-H 'Authorization: Bearer {token}' \
-H 'Accept: application/vnd.allegro.public.v1+json' \
-H 'Content-Type: application/vnd.allegro.public.v1+json' \
-d '{
"modification": {
"delivery": {
"handlingTime": "P7D" - czas wysyłki w formacie ISO 8601
}
},
"offerCriteria": [
{
"offers": [
{
"id": "11223344556"
},
{
"id": "11335577991"
}
],
"type": "CONTAINS_OFFERS"
}
]
}'
```
Więcej informacji o grupowej edycji ofert znajdziesz w [naszym poradniku](https://developer.allegro.pl/tutorials/jak-zarzadzac-ofertami-7GzB2L37ase#edycja-wielu-ofert-jednoczesnie).

-----

From now on, you can use [PUT /sale/offer-modification-commands/{commandId}](https://developer.allegro.pl/documentation/#operation/modificationCommandUsingPUT) to change the handling time in multiple offers.

**Sample request:**
```curl -X PUT \
'https://api.allegro.pl/sale/offer-modification-commands/{commandId}' \
-H 'Authorization: Bearer {token}' \
-H 'Accept: application/vnd.allegro.public.v1+json' \
-H 'Content-Type: application/vnd.allegro.public.v1+json' \
-d '{
"modification": {
"delivery": {
"handlingTime": "P7D" - handling time in ISO 8601 format
}
},
"offerCriteria": [
{
"offers": [
{
"id": "11223344556"
},
{
"id": "11335577991"
}
],
"type": "CONTAINS_OFFERS"
}
]
}'
```

You can find more information about editing multiple offers in [our tutorial](https://developer.allegro.pl/tutorials/how-to-process-list-of-offers-m09BKA5v8H3#editing-many-offers).

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.