Skip to content

CreateShipment

Replace with POST /api/orders. Optionally call POST /api/orders/verify first.

An order holds one or more shipments. A Parcel2Go order has Items, and each item is one shipment: one service, one collection address and one or more parcels. To book several shipments and pay once, put them in one order.

Each parcel has its own delivery address. Parcel Monkey had one recipient per shipment. Parcel2Go puts a DeliveryAddress and a ContentsSummary on every parcel. For a multi-box shipment to one address, repeat the address on each parcel.

You generate IDs. Each item needs an Id (a GUID) and each parcel needs an Id (a UUID). You get the item ID back next to Parcel2Go’s reference, and errors quote it.

New required fields. CustomerDetails (Email, Forename, Surname) on the order, and OriginCountry on each item.

The order is created unpaid. Nothing is booked until you pay. The response has payment links, not a label URL. Labels come after payment. See GetPaymentLink and Labels.

Values are per parcel. goods_value becomes EstimatedValue on each parcel.

  1. Quote and pick a Service.Slug.
  2. Optional: POST /api/orders/verify with the same body as the order. It runs the same validation and returns errors and pricing without creating anything.
  3. POST /api/orders to create the unpaid order.
  4. Pay with PrePay.
  5. Get labels.

Before you create orders, you can also check addresses with GET /api/services/{serviceSlug}/addressrules/{addressType}/{countryIso3Code}, collection dates with POST /api/collectiondates, and contents with POST /api/prohibiteditems. Parcel2Go’s orders guide walks through each step.

An international shipment of three books, with customs details.

curl -X POST "https://sandbox.parcel2go.com/api/orders" \
-H "Authorization: Bearer $P2G_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"Items": [
{
"Id": "6a1f0c2e-3b4d-4e5f-8a9b-0c1d2e3f4a5b",
"Service": "<service-slug>",
"CollectionDate": "2026-12-07T00:00:00+00:00",
"OriginCountry": "GBR",
"Reference": "ORDER-1001",
"ExportReason": "Sale",
"VatStatus": "Registered",
"VatNumber": "GB123456789",
"RecipientVatStatus": "Individual",
"Upsells": [
{
"Type": "Sms"
}
],
"CollectionAddress": {
"ContactName": "Sam Sender",
"Email": "sam@example.com",
"Phone": "+441130000000",
"Property": "Unit 1",
"Street": "Example Park",
"Town": "Leeds",
"County": "West Yorkshire",
"Postcode": "LS1 4AP",
"CountryIsoCode": "GBR"
},
"Parcels": [
{
"Id": "0b7f6c1e-2d3a-4b5c-9d8e-7f6a5b4c3d2e",
"Weight": 1,
"Length": 10,
"Width": 10,
"Height": 10,
"EstimatedValue": 150,
"ContentsSummary": "Books",
"DeliveryAddress": {
"ContactName": "Alex Recipient",
"Email": "alex@example.com",
"Phone": "+12120000000",
"Property": "1335",
"Street": "6th Avenue",
"Town": "New York",
"County": "NY",
"Postcode": "10019",
"CountryIsoCode": "USA",
"SpecialInstructions": "Red door"
},
"Contents": [
{
"Description": "Paperback book",
"Quantity": 3,
"EstimatedValue": 150,
"TariffCode": "490199",
"OriginCountry": "GBR"
}
]
}
]
}
],
"CustomerDetails": {
"Email": "sam@example.com",
"Forename": "Sam",
"Surname": "Sender"
}
}'
Response
{
"OrderId": "76423942",
"Links": {
"PayWithPrePay": "https://www.parcel2go.com/api/orders/76423942/paywithprepay?hash=<order hash>",
"payment": "https://www.parcel2go.com/order/payment?id=76423942&hash=<payment hash>",
"help": "https://www.parcel2go.com/help-centre"
},
"Hash": "<order hash>",
"OrderlineIdMap": [
{
"Hash": "<order line hash>",
"OrderLineId": "115030194",
"ItemId": "6a1f0c2e-3b4d-4e5f-8a9b-0c1d2e3f4a5b"
}
]
}

Abridged. Price fields (TotalPrice, TotalVat, TotalPriceExVat, TotalDiscount) are left out. Links follow the shape in the Parcel2Go orders guide; always read them from the response rather than building them.

Compare with the Parcel Monkey CreateShipment call
curl -X POST "https://api.parcelmonkey.co.uk/CreateShipment" \
-H "Content-Type: application/json" \
-H "apiversion: 3.3" \
-H "userid: $PM_USER_ID" \
-H "token: $PM_API_KEY" \
-d '{
"service": "international_pmair",
"origin": "GB",
"destination": "US",
"boxes": [
{
"length": 10,
"width": 10,
"height": 10,
"weight": 1
}
],
"goods_value": 150,
"goods_description": "Books",
"delivery_notes": "Red door",
"collection_date": "2026-12-07",
"sender": {
"name": "Sam Sender",
"phone": "01130000000",
"email": "sam@example.com",
"address1": "Unit 1 Example Park",
"town": "Leeds",
"county": "West Yorkshire",
"postcode": "LS1 4AP"
},
"recipient": {
"name": "Alex Recipient",
"phone": "12120000000",
"email": "alex@example.com",
"address1": "1335 6th Avenue",
"town": "New York",
"county": "NY",
"postcode": "10019"
},
"customs": {
"doc_type": "commercial",
"reason": "Sold",
"sender_name": "Sam Sender",
"sender_tax_reference": "GB123456789",
"recipient_name": "Alex Recipient",
"recipient_tax_reference": "Private Individual",
"country_of_manufacture": "GB",
"items": [
{
"quantity": 3,
"description": "Paperback book",
"value_per_unit": 50
}
]
}
}'
Response
{
"ShipmentId": 4749253,
"label_url": "https://www.parcelmonkey.co.uk/shippinglabel.php?id=4749253&key=5a697",
"tracking_url": "https://www.parcelmonkey.co.uk/tracking.php?PMID=4749253&ShipmentDeliveryPostcode=10019"
}
Field What it is Use it for
OrderId The order Payment, labels for the whole order
Hash Order hash Labels and order lookup with client credentials
OrderlineIdMap[].OrderLineId One shipment, Parcel2Go’s reference (the “P2G number”) Tracking, labels per shipment, and any query about the shipment
OrderlineIdMap[].Hash Order line hash Labels per shipment
OrderlineIdMap[].ItemId The Items[].Id you sent Matching shipments back to your records

Store OrderLineId where you stored Parcel Monkey’s ShipmentId.

Verify takes exactly the same body. If something’s wrong, both verify and create return 400 with a list of errors, each tied to your item ID:

Response (400)
{
"Errors": [
{
"Type": "Customs",
"Error": "Please supply the reason for exporting your parcel.",
"ItemId": "6a1f0c2e-3b4d-4e5f-8a9b-0c1d2e3f4a5b"
},
{
"Type": "Customs",
"Error": "Please supply details of your international parcel's contents.",
"ItemId": "6a1f0c2e-3b4d-4e5f-8a9b-0c1d2e3f4a5b"
}
]
}

Example 400 response, from the Parcel2Go customs guide. Verify and create return the same error shape.

Parcel Monkey’s address1, address2 and address3 map onto Parcel2Go’s Property, Street and Locality. Either ContactName or Organisation is required.

Parcel Monkey Parcel2Go
name ContactName (or Organisation for a business)
phone Phone
email Email
address1 Property (house name or number) and Street
address2 Street or Locality
address3 Locality
town Town
county County
postcode Postcode
origin / destination CountryIsoCode (3-letter), plus Subdivision where relevant
delivery_notes DeliveryAddress.SpecialInstructions (not all services allow it)

TODO(verify) T6: Can a whole first address line go in Property, or must it be split into Property and Street? If an order fails on the address, GET /api/services/{serviceSlug}/addressrules/{addressType}/{countryIso3Code} returns the rules for that service and country.

Parcel Monkey had a customs block. Parcel2Go has no customs object. Customs details sit on the item (reason and tax IDs) and on each parcel’s Contents (the line items). Which fields you need depends on the service and route, so read the quote first. See Parcel2Go’s customs guide.

Read these on the quote: RequiresCustoms, ExportReasonRequired, TariffCodeRequired, CountryOfManufactureRequired, SenderTaxIdRequirements, RecipientTaxIdRequirements, SenderEoriRequirements, RecipientEoriRequirements, IossRequirements, and for EU shipments ItemSkuRequirements, ManufacturerIdRequirements and BarcodeRequirements.

Use one of the values Parcel2Go accepts: Sale, Gift, Sample, Repair, Documents, IntraCompanyTransfer or TemporaryExport.

Parcel Monkey customs.reason Parcel2Go ExportReason
Sold Sale
Gift Gift
Sample Sample
Repair Repair
Documents Documents
Intra Company Transfer IntraCompanyTransfer
Temporary Export TemporaryExport

Parcel Monkey took free text such as "Private Individual" or a VAT number. Parcel2Go uses structured fields:

You sent Parcel2Go
sender_tax_reference: "Private Individual" VatStatus: "Individual"
sender_tax_reference: <VAT number> VatStatus: "Registered" and VatNumber
recipient_tax_reference: "Private Individual" RecipientVatStatus: "Individual"
recipient_tax_reference: <local tax ID> RecipientTaxId (for example UKIMS, PCCC or TIN), or RecipientVatStatus: "Registered" and RecipientVatNumber
(new) TaxId, EoriNumber, RecipientEoriNumber, IOSSCode when the quote says they’re required

VatStatus and RecipientVatStatus take Individual, NotRegistered or Registered.

  • doc_type goes away. Parcel2Go decides the document. If the quote says RequiresCommercialInvoice, get it from the labels endpoint with detailLevel=CommercialInvoice or All. See Labels.
  • Country of manufacture moves to each line as Contents[].OriginCountry. TODO(verify) T3: Swagger describes this as a country name (not ISO), but the customs guide uses ISO alpha-3 such as GBR.
  • Sender and recipient names come from the collection and delivery addresses. TODO(verify) T5: Confirm the declaration uses ContactName / Organisation from the addresses.
  • Commodity codes go in Contents[].TariffCode when TariffCodeRequired is true.
  • EU product identifiers (ItemSku, ManufacturerId, Barcode) go on each content line when the quote’s requirement objects aren’t null.

Request extras on each item with Upsells, choosing types from the quote’s AvailableExtras:

"Upsells": [{ "Type": "Cover" }, { "Type": "Sms" }, { "Type": "Signature" }]
Parcel Monkey Parcel2Go
protection_price_net on the quote Cover and ExtendedBaseCover in AvailableExtras. Parcel2Go’s extras guide explains how they combine.
(not available) Sms, Signature, DeliveryGuarantee, PrintInStore and other types, depending on the service

Order responses include a Links object of ready-made URLs: payment options, help, and after payment, documents such as labels. Always read the URLs from the response rather than building them yourself, because the options vary by order. See Parcel2Go’s links object guide.

CreateShipment request field mapping
Parcel MonkeyParcel2GoRequiredNotes
New in Parcel2Go
Items[]
CustomerDetails
YesOne order holds one or more shipments in Items. CustomerDetails (Email, Forename, Surname) is required.
New in Parcel2Go
Items[].Id
YesRequired. A GUID you generate per shipment; echoed back in OrderlineIdMap[].ItemId.
New in Parcel2Go
Items[].Parcels[].Id
YesRequired. A UUID you generate per parcel; used in error messages.
service
Items[].Service
NoThe Service.Slug from a quote.
origin
Items[].CollectionAddress.CountryIsoCode
Items[].OriginCountry
YesISO alpha-3 in both places. OriginCountry is required on every item.
destination
Items[].Parcels[].DeliveryAddress.CountryIsoCode
YesISO alpha-3. Set on every parcel.
boxes[]
Items[].Parcels[]
NoEach parcel carries its own DeliveryAddress and ContentsSummary.
boxes[].length / width / height
Items[].Parcels[].Length
Items[].Parcels[].Width
Items[].Parcels[].Height
Nocm.
boxes[].weight
Items[].Parcels[].Weight
Yeskg.
goods_value
Items[].Parcels[].EstimatedValue
NoPer parcel, not per consignment.
goods_description
Items[].Parcels[].ContentsSummary
YesRequired, per parcel.
delivery_notes
Items[].Parcels[].DeliveryAddress.SpecialInstructions
NoNot all services allow special instructions.
collection_date
Items[].CollectionDate
NoISO 8601 date-time. Use POST /api/collectiondates to get valid dates.
sender.name
Items[].CollectionAddress.ContactName
Items[].CollectionAddress.Organisation
NoContactName or Organisation is required.
sender.phone
Items[].CollectionAddress.Phone
No
sender.email
Items[].CollectionAddress.Email
No
sender.address1
Items[].CollectionAddress.Property
Items[].CollectionAddress.Street
NoP2G splits property (name/number) and street. TODO(verify) T6: Is it acceptable to send a full first line (e.g. '10 High Street') in Property with Street empty, or must it be split?
sender.address2
Items[].CollectionAddress.Street
Items[].CollectionAddress.Locality
NoDepends on how your address1 is split.
sender.address3
Items[].CollectionAddress.Locality
No
sender.town
Items[].CollectionAddress.Town
No
sender.county
Items[].CollectionAddress.County
No
sender.postcode
Items[].CollectionAddress.Postcode
No
recipient.* (docs table: recpient.*)
Items[].Parcels[].DeliveryAddress
YesSame OrderAddress shape as the sender, mapped field-for-field. Set on each parcel.
recipient.email
Items[].Parcels[].DeliveryAddress.Email
NoPM marked this 'Sometimes'. Some services need it for delivery notifications; send it when you have it.
customs (block)No equivalentNo customs object. Customs data sits on the Item (reason, tax/VAT IDs) and on each parcel's Contents (line items). The quote tells you which fields are required.
customs.doc_type
RequiresCommercialInvoice
No / YesNot an input. P2G decides the document; retrieve it with detailLevel=CommercialInvoice (or All) on the labels endpoint.
customs.reason
Items[].ExportReason
NoUse one of the values Parcel2Go accepts. Sold->Sale, Gift, Sample, Repair, Documents, Intra Company Transfer->IntraCompanyTransfer, Temporary Export->TemporaryExport.
customs.sender_name
Items[].CollectionAddress.ContactName
Items[].CollectionAddress.Organisation
NoNo separate customs name; the collection address name is used. TODO(verify) T5: Confirm the customs declaration uses CollectionAddress ContactName/Organisation.
customs.sender_tax_reference
Items[].VatStatus
Items[].VatNumber
Items[].TaxId
Items[].EoriNumber
Items[].IOSSCode
NoPM's free text becomes structured fields. 'Private Individual' -> VatStatus=Individual. A VAT number -> VatStatus=Registered plus VatNumber. Send TaxId/EoriNumber/IOSSCode when the quote's requirement objects say so.
customs.recipient_name
Items[].Parcels[].DeliveryAddress.ContactName
Items[].Parcels[].DeliveryAddress.Organisation
NoNo separate customs name.
customs.recipient_tax_reference
Items[].RecipientVatStatus
Items[].RecipientVatNumber
Items[].RecipientTaxId
Items[].RecipientEoriNumber
No'Private Individual' -> RecipientVatStatus=Individual. Local tax IDs (e.g. UKIMS, PCCC) go in RecipientTaxId.
customs.country_of_manufacture
Items[].Parcels[].Contents[].OriginCountry
NoPer line item, not per shipment. TODO(verify) T3: Format conflict: Swagger says 'e.g. United Kingdom. This is not an ISO-3166 code' but the customs guide says ISO 3166-1 alpha-3 and its examples send 'GBR'. Which is correct?
customs.items[]
Items[].Parcels[].Contents[]
NoLine items belong to a parcel, not the shipment. For multi-parcel shipments, put each item on the parcel that contains it.
customs.items[].quantity
Items[].Parcels[].Contents[].Quantity
NoInteger (PM examples sent a string).
customs.items[].description
Items[].Parcels[].Contents[].Description
No
customs.items[].value_per_unit
Items[].Parcels[].Contents[].EstimatedValue
NoNot per unit. P2G expects the line total: unit value x quantity.
New in Parcel2Go
Items[].Parcels[].Contents[].TariffCode
NoRequired when Quote.TariffCodeRequired is true.
New in Parcel2Go
Items[].Parcels[].Contents[].ItemSku
Items[].Parcels[].Contents[].ManufacturerId
Items[].Parcels[].Contents[].Barcode
NoEU product identifiers, required for in-scope EU shipments. Check the quote's ItemSkuRequirements / ManufacturerIdRequirements / BarcodeRequirements.
New in Parcel2Go
Items[].Upsells[]
Type = "Cover"
Type = "Sms"
Type = "Signature"
NoExtras are requested per item via Upsells[].Type, choosing from the quote's AvailableExtras.
New in Parcel2Go
Items[].Reference
NoOptional reference stored against the shipment.
CreateShipment response field mapping
Parcel MonkeyParcel2GoRequiredNotes
ShipmentId
OrderlineIdMap[].OrderLineId
OrderId
NoPM had one ID per shipment. P2G returns an OrderId for the order and an OrderLineId per shipment (the 'P2G number'). Store both, plus the hashes.
New in Parcel2Go
Hash
OrderlineIdMap[].Hash
NoNeeded with Client Credentials for labels, order lookup and (for orders not owned by the client) PrePay payment.
New in Parcel2Go
OrderlineIdMap[].ItemId
NoThe Items[].Id you sent, so you can match shipments back.
label_url
Links[]
NoNot returned at create time. The order must be paid first; then use the label links from the payment response or call GET /api/labels/{reference}.
tracking_url
Links
NoLinks objects can include a 'tracking-page' redirect. TODO(verify) T7: Which response(s) include the 'tracking-page' link, and is it available for Client Credentials orders?
New in Parcel2Go
Links
TotalPrice
TotalPriceExVat
TotalVat
NoPayment links and order totals.