Pobierz opakowanie po ID
GET
/api/packing/v2/containers/{id}
const url = 'https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/packing/v2/containers/1';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/packing/v2/containers/1 \ --header 'Authorization: Bearer <token>'Zwraca definicję pojedynczego opakowania.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry ścieżki
Dział zatytułowany „Parametry ścieżki”id
wymagane
integer format: int64
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
object
id
integer format: int64
name
string
height
number format: double
width
number format: double
length
number format: double
position
integer format: int32
marginLength
number format: double
marginWidth
number format: double
marginHeight
number format: double
itemsNumberThesholdToApplyMargin
integer format: int32
object
id
integer format: int64
name
string
height
number format: double
width
number format: double
length
number format: double
position
integer format: int32
marginLength
number format: double
marginWidth
number format: double
marginHeight
number format: double
itemsNumberThesholdToApplyMargin
integer format: int32
Examplegenerated
{ "id": 1, "name": "example", "height": 1, "width": 1, "length": 1, "position": 1, "marginLength": 1, "marginWidth": 1, "marginHeight": 1, "itemsNumberThesholdToApplyMargin": 1}object
id
integer format: int64
name
string
height
number format: double
width
number format: double
length
number format: double
position
integer format: int32
marginLength
number format: double
marginWidth
number format: double
marginHeight
number format: double
itemsNumberThesholdToApplyMargin
integer format: int32
Examplegenerated
{ "id": 1, "name": "example", "height": 1, "width": 1, "length": 1, "position": 1, "marginLength": 1, "marginWidth": 1, "marginHeight": 1, "itemsNumberThesholdToApplyMargin": 1}
