GET v1/Products/{productId}/Packages

Gets a list with all Product Packanges.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
productId

The id of the Product

integer

Required.

Body Parameters

None.

Response Information

Resource Description

A list of the ProductPackage objects


Collection of ProductPackage
NameDescriptionTypeAdditional information
Id

integer

Required

SizeUomId

integer

None.

SizeUom

string

None.

Length

decimal number

None.

Width

decimal number

None.

Height

decimal number

None.

WeightUomId

integer

None.

WeightUom

string

None.

Weight

decimal number

None.

Description

string

Max length: 200

RequireOwnParcelPackage

boolean

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "SizeUomId": 1,
    "SizeUom": "sample string 2",
    "Length": 1.0,
    "Width": 1.0,
    "Height": 1.0,
    "WeightUomId": 1,
    "WeightUom": "sample string 3",
    "Weight": 1.0,
    "Description": "sample string 4",
    "RequireOwnParcelPackage": true
  },
  {
    "Id": 1,
    "SizeUomId": 1,
    "SizeUom": "sample string 2",
    "Length": 1.0,
    "Width": 1.0,
    "Height": 1.0,
    "WeightUomId": 1,
    "WeightUom": "sample string 3",
    "Weight": 1.0,
    "Description": "sample string 4",
    "RequireOwnParcelPackage": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductPackage xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ProductPackage>
    <Id>1</Id>
    <SizeUomId>1</SizeUomId>
    <SizeUom>sample string 2</SizeUom>
    <Length>1</Length>
    <Width>1</Width>
    <Height>1</Height>
    <WeightUomId>1</WeightUomId>
    <WeightUom>sample string 3</WeightUom>
    <Weight>1</Weight>
    <Description>sample string 4</Description>
    <RequireOwnParcelPackage>true</RequireOwnParcelPackage>
  </ProductPackage>
  <ProductPackage>
    <Id>1</Id>
    <SizeUomId>1</SizeUomId>
    <SizeUom>sample string 2</SizeUom>
    <Length>1</Length>
    <Width>1</Width>
    <Height>1</Height>
    <WeightUomId>1</WeightUomId>
    <WeightUom>sample string 3</WeightUom>
    <Weight>1</Weight>
    <Description>sample string 4</Description>
    <RequireOwnParcelPackage>true</RequireOwnParcelPackage>
  </ProductPackage>
</ArrayOfProductPackage>