Products꞉ Collections - Fastway-Couriers-South-Africa/myFastway.ApiClient GitHub Wiki

Summary

Collection consignments are used to collect a package or satchel.

Optional Services can also be added to a Return using the same array of values.

Consigning - Additional properties

The minimum amount of information required to return a label is:

  1. A ConTypeId property is required to be set to 2

Fields not required:

  1. No To address is required, this is automatically set the your pickup address (under Adminstration | Profile within the web site)

Typical Request to collect a parcel

{
  "ConTypeId": 2,
  "From": {
    "ContactName": "",
    "PhoneNumber": "",
    "Email": "",
    "Address": {
      "StreetAddress": "",
      "Locality": "",
      "StateOrProvince": "",
      "PostalCode": "",
      "Country": ""
    }
  },
  "Items": [
    {
      "Quantity": 0,
      "Reference": "",
      "PackageType": "P",
      "WeightDead": 0,
      "WeightCubic": 0,
      "Length": 0,
      "Width": 0,
      "Height": 0
    }
  ]
}