Documentation

Object Reference

Addon

Describes an additional service provided by shipping method.

AddParcelRequest

AddParcelResponse

Address

Common address entity that used almost everywhere in Ingrid's API.

Any

BatchGetConsolidatedShipmentResponse

BookConsolidatedShipmentRequest

BookConsolidatedShipmentResponse

BookingMethod

BookingMethodStatus

Enum Values:
  • UNKNOWN
  • DRAFT
  • PUBLISHED
  • ARCHIVED

BookingRecord

Represents a delivery that is or has to be booked.

BookParcelsBulkRequest

BookParcelsBulkResponse

BookParcelsRequest

Perform a booking request to generate tracking numbers, shipping labels and tracking links.

BookParcelsResponse

Returns latest shipment state together with generated shipping labels, tracking numbers and tracking links.

BookPickupRequest

Book a pickup with the shipping company.

BookPickupResponse

Returns the state of the booked delivery.

CancelDeliveryRequest

Request to cancel a delivery if the shipment has not been picked up yet.

CancelShipmentRequest

Request to cancel a shipment if the shipment has not been picked up yet.

ConsolidatedShipment

ConsolidatedShipmentDetails

ConsolidatedShipmentDetails contains the details of a Consolidated Shipment that this shipment can be a part of.

ConsolidatedShipmentDocuments

ConsolidatedShipmentDocumentsDocumentType

Enum Values:
  • DOCUMENT_UNKNOWN
  • INVOICE
  • CMR
  • TRANSPORT_LABEL

Contents

Contents contains all goods sent in a Shipment or Parcel. Goods can either be defined directly by providing the full details of the goods, it can be referenced by transport order id or an external reference to goods defined by an external system.

ContentsType

Enum Values:
  • UNKNOWN
  • DOCUMENTS
  • GIFT
  • COMMERCIAL_SAMPLE
  • SALE
  • RETURN
  • OTHER
  • DANGEROUS_GOODS
  • HUMANITARIAN_DONATIONS

Coordinates

Geolocation coordinates

CountPendingShipmentsRequest

CountPendingShipmentsResponse

CreateCompositeShipmentFromOrderRequest

Request object that is used to create a Shipment from order.

CreateCompositeShipmentFromRequest

Request object that is used to create a Shipment from another source, for example via a COS session.

CreateCompositeShipmentRequest

Request object that is used to create a Shipment together with Parcels and Deliveries all at once.

CreateCompositeShipmentResponse

Response from the shipment create call. Contains the latest shipment state.

CustomBookingMethod

CustomBookingMethodAddresses

CustomBookingMethodReturnBooking

CustomBookingMethodStep

CustomBookingMethodTestRunLog

CustomBookingsMethodTestRun

CustomerInfo

Contains the necessary information about a customer in order to make a delivery

Customs

CustomsDeclaration

CustomsDeclarationDocument

CustomsDeclarationDocumentType

Enum Values:
  • TYPE_UNKNOWN
  • TYPE_CN22
  • TYPE_CN23
  • TYPE_CP72
  • TYPE_ELECTRONIC_INVOICE_UPS
  • TYPE_ELECTRONIC_INVOICE_LOTTE
  • TYPE_ELECTRONIC_INVOICE_FEDEX
  • TYPE_ELECTRONIC_INVOICE

DateTimeRange

Provides a date interval. Depending on a case, `start` and `end` parts are not guaranteed to be present.

DeclarationCN

DeclarationCNItem

DeleteDraftCustomBookingMethodRequest

Delivery

Delivery is the parcel with start and end destination. A delivery always has one parcel that it belongs to.

DeliveryType

Indicates the type of the delivery

Enum Values:
  • UNKNOWN
  • DELIVERY
  • PICKUP
  • MAILBOX
  • INSTORE
  • INWAREHOUSE

Dimensions

Length, height and width in millimeters.

DirectionType

Indicates intended direction of parcel, shipment etc.

- OUTBOUND: From merchant to customer.
- RETURN: Return from customer to merchant.
- UNSPECIFIED: Unspecified means we do not know the direction. It is the default state when we do not know any better.

Enum Values:
  • UNKNOWN_DIRECTION_TYPE
  • OUTBOUND
  • RETURN
  • UNSPECIFIED

Documents

ElectronicInvoiceFedex

ElectronicInvoiceFedexItem

ElectronicInvoiceLotte

ElectronicInvoiceLotteItem

ElectronicInvoiceUPS

ElectronicInvoiceUPSItem

Error

ExternalOrderContentItem

Reference to goods defined by an external system.

FilteringPendingShipments

GeneralCustomsDeclaration

GeneralCustomsDeclarationContactInfo

GeneralCustomsDeclarationItem

GetConsolidatedShipmentResponse

GetCustomBookingMethodResponse

GetDeliveryResponse

Returns a delivery object

GetPendingShipmentResponse

Returns a Pending Shipment

GetRecordResponse

GetShipmentResponse

Returns latest shipment state.

HydrateShipmentResponse

InCoTerms

International Commercial Terms.

- EXW: Ex Works.
- FCA: Free Carrier.
- FAS: Free Alongside Ship.
- FOB: Free On Board.
- CFR: Cost And Freight.
- CIF: Cost, Insurance and Freight.
- CPT: Carriage Paid To.
- CIP: Carriage Insurance Paid To.
- DAT: Delivered At Terminal.
- DAP: Delivered At Place.
- DDP: Delivered Duty Paid.
- DAF: Delivered At Frontier.
- DDU: Delivery Duty Unpaid.
- DEQ: Delivered Ex Quay.
- DES: Delivered Ex Ship.
- DPU: Delivered at Place Unloaded.

Enum Values:
  • INCOTERMS_UNKNOWN
  • EXW
  • FCA
  • FAS
  • FOB
  • CFR
  • CIF
  • CPT
  • CIP
  • DAT
  • DAP
  • DDP
  • DAF
  • DDU
  • DEQ
  • DES
  • DPU

ItemReference

LineItem

Physical item of the parcel. A parcel can contain many line items. The parameters on the line item are used by the shipping rules framework to make better shipping decisions.

ListConfiguredBookingMethodsResponse

ListCustomBookingMethodsRequest

ListCustomBookingMethodsRequestFiltering

ListCustomBookingMethodsResponse

ListPendingShipmentsRequest

ListPendingShipmentsResponse

ListShipmentsRequestOrderDirection

Enum Values:
  • DESCENDING
  • ASCENDING

OpenConsolidatedShipmentRequest

OpenConsolidatedShipmentResponse

OrderDirection

Enum Values:
  • DESCENDING
  • ASCENDING

Pallet

Parcel

Parcel is the physical package. One parcel can have at least one delivery at a time.

ParcelDetails

ParcelDetails contains additional information about parcels. Represents the non-output-only subset of Shipment Parcels.

ParcelType

- NONE: None indicates that parcels are not available for shipping method.

Enum Values:
  • PARCEL_TYPE_UNKNOWN
  • NONE
  • LETTER
  • PACKAGE
  • PALLET

Party

PendingShipment

Pending shipment that has generated an error in the creation process and therefore is in an invalid state and needs modifying. This is an opt in feature for merchants

PickupLocationType

Indicates the kind of pickup location

Enum Values:
  • UNKNOWN_PICKUP_LOCATION_TYPE
  • LOCKER
  • STORE
  • POSTOFFICE
  • MANNED

PublishCustomBookingMethodsRequest

SaveDraftCustomBookingMethodsRequest

SchedulePickupRequest

Schedule the shipment for pickup by the carrier service.

SendFreightDocumentsForReturnShipmentRequest

Shipment

Shipment is the top level object in SOM. A shipment can be composed of multiple parcels and each parcel can contain many deliveries. Only one delivery can be active at a time.

ShipmentStatus

StatusStatusType

- CREATED: CREATED is the initial state of the shipment.
- BOOKED: BOOKED indicates that shipment has been booked, also known as having a label generated for it.
- PICKUP_SCHEDULED: PICKUP_SCHEDULED indicates that shipment has been scheduled for pickup. The intricacies of the pickup is determined by the carrier and the site configuration.
- CANCELED: CANCELED indicates that the delivery has been suspended and will not proceed.
- INVALID_BOOKING: INVALID_BOOKING indicates that a booking failed due to a bad request to the carrier service.
- CANCEL_FAILED: CANCEL_FAILED indicates that the shipment could not be canceled by the carrier

Enum Values:
  • UNKNOWN
  • CREATED
  • BOOKED
  • PICKUP_SCHEDULED
  • CANCELED
  • INVALID_BOOKING
  • CANCEL_FAILED

StepExpression

StepLog

Strategy

Represents a booking strategy used by a delivery.

Enum Values:
  • STRATEGY_UNKNOWN
  • STRATEGY_SCHEDULED
  • STRATEGY_IMMEDIATE

TaxIdentificationNumbers

TestCustomBookingMethodsRequest

TestCustomBookingMethodsResponse

TransportOrderContentItem

Reference to goods defined by a transport order.

TriggerPickupResponse

UpdateShipmentRequest

Update a shipment request

UpdateShipmentResponse

Returns the updated shipment

UpsertCustomsDeclarationRequest

UpsertCustomsDeclarationResponse

Last updated: Fri, Jun 20, 06:15 AM