Przejdź do głównej zawartości

Usuń przesyłkę zwrotną

DELETE
/api/v1/Returns/{returnId}/Shipments/{id}
curl --request DELETE \
--url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v1/Returns/1/Shipments/1 \
--header 'Authorization: Bearer <token>'

Operacja asynchroniczna – zwraca zadanie (job), którego wynik sprawdzisz w Zadaniach asynchronicznych.

returnId
wymagane
integer format: int64
id
wymagane
integer format: int64
connectionId
string

Success

Typ treściapplication/json
object
id
integer format: int64
createdAt
string format: date-time
updatedAt
string format: date-time
payload
nullable
result
nullable
status
string
Dozwolone wartości: New InProgress Completed Failed
command
string
nullable
scope
string
nullable
scopeValue
string
nullable
silentMode
boolean
ajsChainId
string
nullable
ajsChainVisits
string
nullable
Example
{
"status": "New"
}