Create BatchOutbound Order


POST http://openapi.ck1info.com/v1/batchOutboundOrder
Description: Create BatchOutbound Order
Http 201 - Ok
Http 200 - Ok, not changed
Http 400 - Invalid data, Please check
If it is necessary to hit the tray, please fill in the mark of whether to hit the tray as true(IsPallet), if the pallet details of the tray are not filled, it means that the warehouse is free to hit the tray;
If you need to pack the items, please fill in the "packing flag" as "true". If the packing details are not filled in, the warehouse will pack and issue the goods according to the packing details; if the packing details are not filled in, it means that the warehouse can pack freely. After the free packing is completed, the SKU of the boxes will be added to the inventory. At this point, a second ordinary outbound order needs to be created before the goods can be issued.
If it is one piece per box, please fill in the packing mark false(IsBoxed). box details are not required, but SKU details are required.

Request

Body Parameters
NameDataTypeAnnotationRequiredDescriptionExample
CustomerOrderNo string

String length: between 0 and 50

Required

WareHouseCode string

None.

Required

CarrierName string

None.

CarrierService string

None.

Priority integer

None.

ServiceCode string

String length: between 0 and 30

Required

IsPallet boolean

None.

IsBoxed boolean

None.

ShipToAddress ShipToAddress

None.

Required

ShipmentId string

String length: between 0 and 15

ReferenceId string

String length: between 0 and 12

ScheduledTime string

None.

Remark string

String length: between 0 and 200

SkuDetails Collection of SkuDetail

None.

SkuRelabelDetails Collection of SkuRelabelDetail

None.

BoxDetails Collection of BoxDetail

None.

PalletDetails Collection of PalletDetail

None.

Request in JSON
{
  "CustomerOrderNo": "sample string 1",
  "WareHouseCode": "sample string 2",
  "CarrierName": "sample string 3",
  "CarrierService": "sample string 4",
  "Priority": 5,
  "ServiceCode": "sample string 6",
  "IsPallet": true,
  "IsBoxed": true,
  "ShipToAddress": {
    "TaxId": "sample string 1",
    "RecipientBirthday": "sample string 2",
    "IDNumber": "sample string 3",
    "BankCardLast4digits": "sample string 4",
    "PaymentType": "sample string 5",
    "IssuingInstitution": "sample string 6",
    "Taxfree": "sample string 7",
    "DutyParagraph": "sample string 8",
    "Department": "sample string 9",
    "TypeOfTaxId": "sample string 10",
    "ShortAddress": "sample string 11",
    "Contact": "sample string 12",
    "Phone": "sample string 13",
    "Email": "sample string 14",
    "Country": "sample string 15",
    "Province": "sample string 16",
    "City": "sample string 17",
    "District": "sample string 18",
    "Street1": "sample string 19",
    "Street2": "sample string 20",
    "HouseNumber": "sample string 21",
    "Postcode": "sample string 22"
  },
  "ShipmentId": "sample string 9",
  "ReferenceId": "sample string 10",
  "ScheduledTime": "sample string 11",
  "Remark": "sample string 12",
  "SkuDetails": [
    {
      "Sku": "sample string 1",
      "StorageNo": "sample string 2",
      "Quantity": 3
    },
    {
      "Sku": "sample string 1",
      "StorageNo": "sample string 2",
      "Quantity": 3
    }
  ],
  "SkuRelabelDetails": [
    {
      "OriginalSku": "sample string 1",
      "OriginalStorageNo": "sample string 2",
      "NewStorageNo": "sample string 3",
      "Quantity": 4
    },
    {
      "OriginalSku": "sample string 1",
      "OriginalStorageNo": "sample string 2",
      "NewStorageNo": "sample string 3",
      "Quantity": 4
    }
  ],
  "BoxDetails": [
    {
      "BoxNo": "sample string 1",
      "BoxType": "sample string 2",
      "SkuDetails": [
        {
          "Sku": "sample string 1",
          "StorageNo": "sample string 2",
          "Quantity": 3
        },
        {
          "Sku": "sample string 1",
          "StorageNo": "sample string 2",
          "Quantity": 3
        }
      ]
    },
    {
      "BoxNo": "sample string 1",
      "BoxType": "sample string 2",
      "SkuDetails": [
        {
          "Sku": "sample string 1",
          "StorageNo": "sample string 2",
          "Quantity": 3
        },
        {
          "Sku": "sample string 1",
          "StorageNo": "sample string 2",
          "Quantity": 3
        }
      ]
    }
  ],
  "PalletDetails": [
    {
      "PalletNo": "sample string 1",
      "PalletizingDetails": [
        {
          "Code": "sample string 1",
          "Quantity": 2
        },
        {
          "Code": "sample string 1",
          "Quantity": 2
        }
      ]
    },
    {
      "PalletNo": "sample string 1",
      "PalletizingDetails": [
        {
          "Code": "sample string 1",
          "Quantity": 2
        },
        {
          "Code": "sample string 1",
          "Quantity": 2
        }
      ]
    }
  ]
}

Response

NameDataTypeAnnotationRequiredDescriptionExample
CustomerOrderNo string

None.

Ck1OrderId string

None.

Success boolean

None.

Message string

None.

Response in JSON
{
  "CustomerOrderNo": "sample string 1",
  "Ck1OrderId": "sample string 2",
  "Success": true,
  "Message": "sample string 4"
}