MachShip supports charging consignments to a third party or receiver instead of the sender. This guide explains how to create receiver-pays consignments using the MachShip API.
To create a receiver-pays consignment, you must provide EITHER:
receiverAccountCode
: The receiver's account code with the carrierreceiverAccountId
: The saved receiver account ID in MachShipAdditionally, you must include:
carrierId
: The carrier's IDcarrierAccountId
: The sender's carrier account ID{
"carrierId": 11,
"carrierServiceId": 123,
"carrierAccountId": 456,
"companyCarrierAccountId": 789,
"receiverAccountCode": "REC123",
"items": [
{
"itemType": "Carton",
"name": "Test Item",
"quantity": 1,
"height": 10,
"weight": 10,
"length": 10,
"width": 10
}
],
"fromName": "Warehouse",
"fromContact": "John Smith",
"fromPhone": "1234567890",
"fromEmail": "john@warehouse.com",
"fromAddressLine1": "123 Sender St",
"fromLocation": {
"suburb": "Melbourne",
"postcode": "3000"
},
"toName": "Receiver Corp",
"toContact": "Jane Doe",
"toPhone": "0987654321",
"toEmail": "jane@receiver.com",
"toAddressLine1": "456 Receiver Ave",
"toLocation": {
"suburb": "Sydney",
"postcode": "2000"
}
}
Before using receiver-pays functionality:
Contact MachShip support for assistance with configuring receiver-pays capabilities for your account.