/transactions

Provide shipping transaction details.

Staging address is : https://staging.shippingscore.com/v1

The Transactions API is used to provide shipping translation details to the ShippingScore DB.

📘

Staging Address

Staging address is : https://staging.shippingscore.com/v1

🚧

Address Verification/Validation

If you are sending a U.S. address that required validation, make sure to set "ShipmentToValidationFlag" to "0".

Examples

You want to submit a shipment to 1531 Forest Green Dr Coraopolis, PA, 15108 with a tracking number of 1234567. There is no shipment status to update as this is a new shipment.

Request Header:-
	Content-Type: application/json;charset=UTF-8
  Host: staging.shippingscore.com
	Content-Length: 470
	Expect: 100-continue
	Connection: Keep-Alive
 

Request Body:-
{
"username":"YOURUSERNAME",
"apikey":"YOURAPIKEY",
// "TransactionType":"1", // Depracated 1/29/2015
"TrackingNo":"1234567",
"ShipmentToAddressLine1":"1234 Forest Green Dr",
"ShipmentToAddressLine2":"",
"ShipmentToCity":"Coraopolis",
"ShipmentToState":"PA",
"ShipmentToCountry":"US",
"ShipmentToZipCode":"15108",
"ShipmentToValidationFlag":"1",
"ShipmentCost":"500.00",
"ShipmentDate":"2014-10-22",
"ShipmentStatus":"1"
}

1 week after the previous shipment, you find out that the package was damaged in transit. You can then submit the update to flag it as "Damaged".

Request Header:-
Content-Type: application/json;charset=UTF-8
Host: staging.shippingscore.com
Content-Length: 437
Expect: 100-continue
Connection: Keep-Alive 

Request Body:-
{
"username":"API USERNAME",
"apikey":"APIKey",
"TransactionType":"1",
"TrackingNo":"1234567",
"ShipmentToAddressLine1":"1531 Forest Green Dr",
"ShipmentToAddressLine2":"",
"ShipmentToCity":"Coraopolis",
"ShipmentToState":"PA",
"ShipmentToCountry":"US",
"ShipmentToZipCode":"15108",
"ShipmentToValidationFlag":"1",
"ShipmentCost":"500.00",
"ShipmentDate":"2014-10-28",
"ShipmentStatus":"3"

}

ShipmentStatus Types

IDNameDescription
1NothingUsed to report initial shipping transaction
2Loss PackageThe shipment was lost in transit or the recipient indicated such.
3Damaged PackageThe shipment was damaged in transit or the recipient indicated such.
4ShortageThe shipment arrived with part of or all of the contents missing.
5Tracking Non-DeliveryThe shipment was not scanned as "Delivered"
6Fraudulent TransactionThe merchant indicated the entire transaction to this address was fraud.
7ChargebackThe recipient at the address filed a chargeback against the shipper.
8Returned PackageThe shipment was returned to sender.

TransactionTypes Types - DEPRECATED 1/29/2015

IDDescription
1New Shipment
2Update to an existing shipment. Used to update ShipmentStatus
Language