PUT v1/Cartons/{id}

Replace the list of Cartons for a Sales Order.

Request Information

URI Parameters

NameDescriptionTypeAdditional information

id

Order Id

integer

Required

Body Parameters

Collection of Carton
NameDescriptionTypeAdditional information

Number

Carton Number. Numbers only.

string

Max length: 20

SSCC

SSCC Number. Numbers only.

string

Required

Max length: 20

Min length: 18

Length

Length

decimal number

None.

Depth

Depth

decimal number

None.

Height

Height

decimal number

None.

Volume

Volume

decimal number

None.

Weight

Weight

decimal number

None.

TrackingNumber

Tracking Number

string

Max length: 50

CartonItems

Carton Items

Collection of CartonLineItem

Required

Request Formats

application/json, text/json

Sample:
[
  {
    "number": "1",
    "sscc": "00094219040000473889",
    "length": 10.2,
    "depth": 10.2,
    "height": 20.0,
    "volume": 10.2,
    "weight": 11.25,
    "trackingNumber": "10098624220",
    "cartonItems": [
      {
        "lineItemId": 92,
        "productCode": "SALE4-28",
        "batchNumber": "",
        "quantity": 2.0
      }
    ]
  }
]

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true