Skip to main content
POST
/
api
/
v2
/
packages
Create Father package
curl --request POST \
  --url https://live.nocnocstore.com/api/v2/packages \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "subpackages": [
    {}
  ],
  "labels": [
    {}
  ]
}
'
{
  "package_id": "PK111"
}
nocnoc manages two types of packages: Son and Father. You must first create individual Son packages before grouping them into a Father package.

Authorization

X-Api-Key
string
required
Your seller API key. Provided by your nocnoc account manager.

Body parameters

subpackages
array
required
Array of Son package IDs to include in this Father package.
labels
array
Array of label objects for the consolidated shipment. Minimum 1, maximum 10. Each object contains:
  • tracking_code (string, required) — tracking code of the consolidated package
  • carrier (string, required) — first-mile carrier (e.g. "FedEx", "UPS")
  • url (string, required) — URL to track the shipment

Returns

The created Father package object confirming the consolidated shipment.

Example request

curl -X POST https://live.nocnocstore.com/api/v2/packages \
  -H "X-Api-Key: YOUR_SELLER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "labels": [
      {
        "tracking_code": "FX2021",
        "carrier": "FedEx",
        "url": "https://www.fedex.com/tracking/FX2021"
      }
    ],
    "subpackages": ["PK1", "PK2", "PK3"]
  }'
{
  "package_id": "PK111"
}