GET packaging/{packagingID}

Get a single packaging size by id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
packagingID The id of the packaging size you wish to return. integer Required

Body Parameters

None.

Response Information

Resource Description

Get a single packaging size by id.

PackagingModel
NameDescriptionTypeAdditional information
Costs The Packaging Costs decimal number None.
Size The Packaging Size this is used when working out which packaging to use on an order. In conjuction with packaging quantity on the product. decimal number None.
Weight The Packaging weight in KG decimal number None.
Width The Packaging Width in mm decimal number None.
Length The Packaging Length in KG decimal number None.
Height The Packaging Height in KG decimal number None.
PackagingID ID number relating to the packaging size integer None.
PackagingName Name of the packaging size string None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Costs": 0.5,
    "Size": 1.0,
    "Weight": 0.5,
    "Width": 50.0,
    "Length": 100.0,
    "Height": 100.0,
    "PackagingID": 2,
    "PackagingName": "Packet"
  },
  {
    "Costs": 0.5,
    "Size": 1.0,
    "Weight": 0.25,
    "Width": 50.0,
    "Length": 50.0,
    "Height": 50.0,
    "PackagingID": 3,
    "PackagingName": "Large Letter"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPackagingModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PackagingModel>
    <PackagingID>2</PackagingID>
    <PackagingName>Packet</PackagingName>
    <Costs>0.50</Costs>
    <Size>1</Size>
    <Weight>0.5</Weight>
    <Width>50</Width>
    <Length>100</Length>
    <Height>100</Height>
  </PackagingModel>
  <PackagingModel>
    <PackagingID>3</PackagingID>
    <PackagingName>Large Letter</PackagingName>
    <Costs>0.50</Costs>
    <Size>1</Size>
    <Weight>0.25</Weight>
    <Width>50</Width>
    <Length>50</Length>
    <Height>50</Height>
  </PackagingModel>
</ArrayOfPackagingModel>