Skip to main content

shipment

Represents a single shipment from a single warehouse that was generated for an order.

idinteger
Example: 68076953
typestringrequired
Constant value: shipment
attributes object
basketPicturestring<uri>

The URL of the basketpic, an image of the parcel taken just before it is closed. Despite the name, it has nothing to do with physical baskets or with products sold as a basket.

Example: https://basketpic.activeants.nl/images/scale/23588151e05e44c9-5138-469e-a1cf-5ab137d4bcd7.jpg
colli object[]
  • Array [
  • numberstring
    parcelNumberstring

    The parcel number as assigned by the carrier

    trackingUrlstring<uri>

    A tracking url specific to this collo

  • ]
  • invoicingWeightinteger

    The weight used to calculate the tariff for this shipment. For some carriers this deviates from the (actual) weight as these carriers apply a 'volumetric' or 'dimensional' weight which is the largest of the actual weight and the dimensional weight of the shipment.

    metadata object

    Repeats the metadata as specified on the order.

    extra1string
    extra2string
    extra3string
    extra4string
    extra5string
    readyToPickOnstring

    Indicates the date and time the shipment was fully planned and ready to be picked in a warehouse of Paxon, as a timestamp without a UTC offset.

    readyToShipOnstring

    Indicates the date and time the shipment was fully picked and packed in a warehouse of Paxon, awaiting dispatch, as a timestamp without a UTC offset.

    returnLabelstring
    shipmentTrackingUrlstring<uri>

    SOON Contains the tracking url of the shipment. Depending on the type of the shipping method chosen, this url may point to an intermediary track-and-trace site. In case of multi-colli this link points to the first of the colli.

    Examples:
    Example: https://tracking.example.com/3SDVPN1656071
    shippedOnstring

    Indicates the date and time the shipment has shipped from the warehouse of Paxon, as a timestamp without a UTC offset.

    statusshipmentStatus

    The shipmentStatus provides insight into the step in the process of fulfilling a shipment within a warehouse.

    statusDescription
    READY_TO_PICKThe shipment has been fully planned and awaits the picking by an operator.
    READY_TO_SORTThe shipment has been picked and packed and awaits sorting for the carrier.
    READY_TO_SHIPThe shipment has been sorted and awaits pick-up by the carrier.
    SHIPPEDThe shipment has been handed over to the carrier and has dispatched from the warehouse.
    ERRORAn issue with the shipment has occurred, for example some labelling issue. The shipments is awaiting intervention from an operator.

    Possible values: [READY_TO_PICK, READY_TO_SORT, READY_TO_SHIP, SHIPPED, ERROR]

    tracking objectdeprecated

    DEPRECATED

    DEPRECATED

    The tracking information will soon be removed from the GET v3/shipments and GET v3/shipments/:id endpoints. To receive tracking information use the EVENT tracking.updated.3 webhook instead.

    carrierstring

    Provides insight into which carrier is providing the transport of the shipment to the deliveryAddress or pickUpPointAddress. For example FEDEX, POSTNL, BPOST, DHL, CORREOS, POSTE ITALIANE, SPARQLE, ROYAL MAIL, and many more.

    Examples:
    Example: FEDEX
    numberstring

    The tracking number as provided by the carrier. Despite the name it does not have to consist of digits only.

    Example: 3SDVPN1656071
    stageshipmentTrackingStage

    The shipmentTrackingStage provide a generalized set of tracking well-defined stages for shipments.

    The shipmentTrackingStage are generalized over all carriers. Each carrier can and has defined their own set of stages for tracking their consignments. To accommodate the main stages that are supported by most carriers the shipmentTrackingStages generalizes the carrier-specific stages. This could mean that some details of a particular carrier are not reflected by this enumeration.

    stageidDescription
    NEW0The shipment is newly created and has not been assigned to a carrier yet.
    LABELED1A label has created for the shipment.
    ACCEPTED2The shipment has been accepted, received and scanned by the carrier.
    SORTED3The shipment is been sorted before delivery.
    IN_TRANSIT4The shipment is being delivered, but has not been delivered yet.
    ATTEMPTED8 or 10An unsuccessful attempt to deliver the shipment has been made.
    AVAILABLE_FOR_PICKUP5The shipment has been delivered to the pick up point for the recipient to collect.
    DELIVERED7The shipment has been delivered.
    RETURNED19The shipment has been returned to the sender after a failing be delivered.
    TRACKED_EXTERNALLY18There is no tracking information being shared with Paxon for this shipment.

    Note the id column corresponds to the v2 endpoint values for the stage

    Possible values: [LABELLED, ACCEPTED, SORTED, IN_DELIVERY, AT_PUP, DELIVERED, 1ST_ATTEMPT]

    statusstring

    Possible values: [OK, ERROR, WARNING]

    Example: OK
    urlstring<uri>
    warehouseCodewarehouseCode

    The code for the warehouse used to uniquely refer to an Paxon warehouse.

    The following warehouses are currently defined:

    codecountrycitycustoms regionremarks
    BWBelgiumWillebroekEU - Common Customs Tariff
    DDGermanyDorstenEU - Common Customs Tariff
    FLFranceLyonEU - Common Customs Tariff
    FPFrancePantinEU - Common Customs Tariffreturn hub only
    GNGreat BrittainNorthamptonGB - UK Global Tariff
    NNThe NetherlandsNieuwegeinEU - Common Customs Tariffdiscontinued
    NRThe NetherlandsRoosendaalEU - Common Customs Tariff

    Possible values: [BW, DD, FL, FP, GN, NR]

    weightinteger

    The (actual) weight of the shipment in grams. This weight includes the products, packing materials and inserts.

    relationships object
    order object

    Represents a relationship to an order resource.

    data object

    Represents a self-link of an order resource.

    idinteger

    The id is an internally assigned id of an order. Only during and POST v3/orders is it possible to use arbitrary integer value which might be used to cross-reference within the message itself. However the system will not honour any value assigned by external systems.

    Example: 24006341
    typestringrequired
    Constant value: order
    links object
    selfstring<uri>
    Example: https://shopapi.activeants.nl/v3/orders/24006341
    orderType object

    Represents a relationship to an orderType resource.

    data object

    Represents a self-link of an orderType resource.

    idinteger
    Example: 10045
    typestringrequired

    Possible values: Value must match regular expression orderType

    links object
    selfstring<uri>
    Example: https://shopapi.activeants.nl/v3/orderTypes/10045
    shipmentItems object

    Represents a relationship to multiple shipmentItem resources.

    data object[]
  • Array [
  • idinteger
    Example: 15368865
    typestringrequired
    Constant value: shipmentItem
    links object
    selfstring<uri>
    Example: https://shopapi.activeants.nl/v3/shipmentItems/15368865
  • ]
  • shippingMethod object

    Represents a relationship to a shippingMethod resource.

    data object

    Represents a self-link of a shippingMethod resource.

    idinteger
    Example: 12
    typestringrequired
    Constant value: shippingMethod
    links object
    selfstring<uri>
    Example: https://shopapi.activeants.nl/v3/shippingMethods/12
    included object[]
  • Array [
  • anyOf

    Identifies a resource as a shipmentItem.

    idinteger
    Example: 15368865
    typestringrequired
    Constant value: shipmentItem
    attributes object
    expirationDatestring<date>
    Example: 2028-06-30
    lotNumberlotNumber

    A lot number is a unique identification number assigned to a specific batch or lot of a product during the manufacturing process. It is used to track and trace the product's manufacturing and distribution history, including when and where it was produced, which raw materials were used, and to which customers it was shipped.

    Lot numbers can be alphanumeric and may include information such as the date and time of production, the location of production, and the machine or equipment used. They are often printed on the product's packaging or label, as well as on associated documentation such as batch records and certificates of analysis.

    Possible values: Value must match regular expression ^[\x21-\x7E][\x20-\x7E]*[\x21-\x7E]$

    Examples:
    Example: VDB2606A
    quantityinteger

    Possible values: >= 0

    Example: 2
    serialNumbersstring[]

    Possible values: non-empty

    skuproductSku

    SKU (stock keeping unit) of a product used to identify products.

    Possible values: >= 2 characters and <= 80 characters, Value must match regular expression ^[\x21-\x7E][\x20-\x7E]*[\x21-\x7E]$

    Examples:
    Example: VDB-400
    relationships object
    orderItem object

    Represents a relationship to an orderItem resource.

    data object

    Represents a self-link of an orderItem resource.

    idinteger

    The id is the internally assigned id of an orderItem. Only during and POST v3/orders is it possible to use arbitrary integer values to cross-reference within the message itself. However the system will not honour any value assigned by external systems.

    Example: 53150128
    typestringrequired
    Constant value: orderItem
    links object
    selfstring<uri>
    Example: https://shopapi.activeants.nl/v3/orderItems/53150128
    product object

    Represents a relationship to a product resource.

    data object

    Represents a self-link of a product resource.

    idinteger

    The id is an internally assigned id of a product.

    Example: 540935
    typestringrequired
    Constant value: product
    links object
    selfstring<uri>
    Example: https://shopapi.activeants.nl/v3/products/540935
    shipment object

    Represents a relationship to a shipment resource.

    data object

    Represents a self-link of a shipment resource.

    idinteger
    Example: 68076953
    typestringrequired
    Constant value: shipment
    links object
    selfstring<uri>
    Example: https://shopapi.activeants.nl/v3/shipments/68076953
    linksnull

    Always null, the API doesn't return a self link for a shipmentItem in included.

  • ]
  • links object
    selfstring<uri>
    Example: https://shopapi.activeants.nl/v3/shipments/68076953
    shipment
    {
    "id": 68076953,
    "type": "shipment",
    "attributes": {
    "status": "READY_TO_PICK",
    "readyToPickOn": "string",
    "readyToShipOn": "string",
    "shippedOn": "string",
    "warehouseCode": "BW",
    "weight": 0,
    "invoicingWeight": 0,
    "basketPicture": "https://basketpic.activeants.nl/images/scale/23588151e05e44c9-5138-469e-a1cf-5ab137d4bcd7.jpg",
    "shipmentTrackingUrl": "https://tracking.example.com/3SDVPN1656071",
    "colli": [
    {
    "number": "string",
    "parcelNumber": "string",
    "trackingUrl": "string"
    }
    ],
    "returnLabel": "string",
    "metadata": {
    "extra1": "string",
    "extra2": "string",
    "extra3": "string",
    "extra4": "string",
    "extra5": "string"
    }
    },
    "relationships": {
    "order": {
    "data": {
    "id": 24006341,
    "type": "order",
    "links": {
    "self": "https://shopapi.activeants.nl/v3/orders/24006341"
    }
    }
    },
    "orderType": {
    "data": {
    "id": 10045,
    "type": "string",
    "links": {
    "self": "https://shopapi.activeants.nl/v3/orderTypes/10045"
    }
    }
    },
    "shipmentItems": {
    "data": [
    {
    "id": 15368865,
    "type": "shipmentItem",
    "links": {
    "self": "https://shopapi.activeants.nl/v3/shipmentItems/15368865"
    }
    }
    ]
    },
    "shippingMethod": {
    "data": {
    "id": 12,
    "type": "shippingMethod",
    "links": {
    "self": "https://shopapi.activeants.nl/v3/shippingMethods/12"
    }
    }
    }
    },
    "included": [
    {
    "id": 15368865,
    "type": "shipmentItem",
    "attributes": {
    "sku": "VDB-400",
    "quantity": 2,
    "lotNumber": "VDB2606A",
    "expirationDate": "2028-06-30",
    "serialNumbers": [
    "EZL-2026-000421"
    ]
    },
    "links": "null",
    "relationships": {
    "orderItem": {
    "data": {
    "id": 53150128,
    "type": "orderItem",
    "links": {
    "self": "https://shopapi.activeants.nl/v3/orderItems/53150128"
    }
    }
    },
    "product": {
    "data": {
    "id": 540935,
    "type": "product",
    "links": {
    "self": "https://shopapi.activeants.nl/v3/products/540935"
    }
    }
    },
    "shipment": {
    "data": {
    "id": 68076953,
    "type": "shipment",
    "links": {
    "self": "https://shopapi.activeants.nl/v3/shipments/68076953"
    }
    }
    }
    }
    }
    ],
    "links": {
    "self": "https://shopapi.activeants.nl/v3/shipments/68076953"
    }
    }