package declare


POST http://openapi.ck1info.com/v1/directExpressOrders/declare

Request

Body Parameters
NameDataTypeAnnotationRequiredDescriptionExample
PackageId string

regular expression: ^[a-zA-Z0-9\-_]*$

String length: between 0 and 50

Required

PackageId, The third party system defined, CustomerId+PackageId is unique

SMT23015236489

ServiceCode string

None.

TrackingNumber string

None.

Weight decimal number

None.

Required

Weight of Package, in Gram

600

Length decimal number

Decimal: 8,2

Length of Package

25

Width decimal number

Decimal: 8,2

Width of Package

10

Height decimal number

Decimal: 8,2

Height of Package

20

Skus Collection of SkuObject

None.

Required

Skus, with quantity

VatCode string

None.

vatcode

ShipToAddress ShipToAddress

None.

Required

Shipping Address

Sender AddressWithContact

None.

Request in JSON
{
  "PackageId": "sample string 1",
  "ServiceCode": "sample string 2",
  "TrackingNumber": "sample string 3",
  "Weight": 4,
  "Length": 5,
  "Width": 6,
  "Height": 7,
  "Skus": [
    {
      "Sku": "sample string 1",
      "Quantity": 2,
      "Weight": 3,
      "DeclareValue": 4,
      "NewDeclareValue": {
        "Value": 1,
        "Currency": "sample string 2"
      },
      "ExportsDeclareValue": {
        "Value": 1,
        "Currency": "sample string 2"
      },
      "DeclareNameEn": "sample string 5",
      "DeclareNameCn": "sample string 6",
      "ProductName": "sample string 7",
      "Price": 8,
      "HsCode": "sample string 9",
      "SaleURL": "sample string 10",
      "ProductLink": "sample string 11",
      "ProductDescription": "sample string 12",
      "ProductCategories": "sample string 13",
      "MaterialEN": "sample string 14"
    },
    {
      "Sku": "sample string 1",
      "Quantity": 2,
      "Weight": 3,
      "DeclareValue": 4,
      "NewDeclareValue": {
        "Value": 1,
        "Currency": "sample string 2"
      },
      "ExportsDeclareValue": {
        "Value": 1,
        "Currency": "sample string 2"
      },
      "DeclareNameEn": "sample string 5",
      "DeclareNameCn": "sample string 6",
      "ProductName": "sample string 7",
      "Price": 8,
      "HsCode": "sample string 9",
      "SaleURL": "sample string 10",
      "ProductLink": "sample string 11",
      "ProductDescription": "sample string 12",
      "ProductCategories": "sample string 13",
      "MaterialEN": "sample string 14"
    }
  ],
  "VatCode": "sample string 8",
  "ShipToAddress": {
    "TaxId": "sample string 1",
    "HouseNumber": "sample string 2",
    "RecipientBirthday": "sample string 3",
    "IDNumber": "sample string 4",
    "BankCardLast4digits": "sample string 5",
    "PaymentType": "sample string 6",
    "IssuingInstitution": "sample string 7",
    "Taxfree": "sample string 8",
    "DutyParagraph": "sample string 9",
    "Contact": "sample string 10",
    "Phone": "sample string 11",
    "Email": "sample string 12",
    "Country": "sample string 13",
    "Province": "sample string 14",
    "City": "sample string 15",
    "Street1": "sample string 16",
    "Street2": "sample string 17",
    "Postcode": "sample string 18"
  },
  "Sender": {
    "Contact": "sample string 1",
    "Phone": "sample string 2",
    "Email": "sample string 3",
    "Country": "sample string 4",
    "Province": "sample string 5",
    "City": "sample string 6",
    "Street1": "sample string 7",
    "Street2": "sample string 8",
    "Postcode": "sample string 9"
  }
}

Response

None.