getShipments

Method returns list of contractor's shipments.

Usage URL: https://e-hedo.pl/api/getShipments.json?key=YOURAPIKEY

Query params

(put those in your URL, e.g. ?id=123)

  • id

    Internal identifier of shipment. More than one value can be specified after comma (,) separator.

  • created

    Return all shipments created after the created param. That is highly recommended when you want to update your local database.
    Date format is yyyy-MM-dd

  • modified

    Return all shipments modified after the modified param. That is highly recommended when you want to update your local database.
    Date format is yyyy-MM-dd

  • date

    Return all shipments shipped after the date param. That is highly recommended when you want to update your local database.
    Date format is yyyy-MM-dd

  • name

    Name of shipment. Example: cover will return all shipments that contains cover in the name

  • saleid

    Internal identifier of sale. More than one value can be specified after comma (,) separator.

  • shipmenttypeid

    Shipment type internal identifier. More than one value can be specified after comma (,) separator.

  • lang

    Language of result. ISO 2 Letter Language Codes ie: en, pl, cs

  • id | integer

    Internal identifier of shipment.

  • created | datetime

    When shipment was created.

  • modified | datetime

    When shipment was last modified.

  • date | datetime

    When shipment was shipped out.

  • name | string

    Name of shipment.

  • state | integer

    0 - created, 1 - awaiting for pickup, 2 - shipped, 3 - cancelled, 10 - delivered (only some delivery providers)

  • weightgross | float

    Declared weight of package

  • orderdocumentnames | string

    Name of invoices that were shipped in this package (comma separated)

  • ordernames | string

    Document names of orders that were shipped in this package (comma separated)

  • orderids | string

    Order names of sales that were shipped in this package (comma separated) - due to an issue on our side - this field was wrongly marked for a long time and we are not changing it's output. To get IDs of sales/orders - use salepointers instead

  • fkshipmenttype | integer

    Shipment type internal identifier.

  • shipmenttypename | string

    Shipment type name.

  • trackingurl | string

    External URL where package can be tracked (from courier)

Example URL: https://e-hedo.pl/api/getShipments.json?key=YOURAPIKEY&lang=en&modified=2017-02-20

Example URL: https://e-hedo.pl/api/getShipments.xml?key=YOURAPIKEY&lang=en&modified=2017-02-20