Przejdź do głównej zawartości

Ustaw domyślne stanowisko pakowania

PUT
/api/v3/Users/me/pack-station
curl --request PUT \
--url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Users/me/pack-station \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "packStationId": 1 }'

Ustawia stanowisko pakowania bieżącego użytkownika; wartość null czyści ustawienie.

Any authenticated user can set their own packing station. Pass a null packStationId to clear it.

The packing station selection

object
packStationId
integer format: int64
nullable
Examplegenerated
{
"packStationId": 1
}

No Content

Bad Request

Typ treściapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Unauthorized

Typ treściapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Server Error