Create or update a booking custom declaration through the legacy v4 alias
POST /api/v5/bookings/v4/{id}/custom_declaration
Legacy “/v4” alias that creates or updates an international booking’s customs declaration. Requires an API key and booking ownership. Only valid for international couriers that require customs.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Example
623630Numeric booking ID.
Request Body
Section titled “Request Body ”object
Sender/declarant contact name.
Sender/declarant email address.
Sender/declarant phone number.
Sender company/business name.
Street number of the sender address.
Street name of the sender address.
Street type of the sender address (e.g. St, Rd, Ave).
Reason for export (e.g. sale, gift, sample).
Goods line items covered by the declaration (at least one).
object
Name of the goods line item.
Item weight in kg.
Number of units of this item.
Declared invoice value per line, in AUD.
Customs description of the goods.
Country of manufacture (2-letter ISO code or country name).
Sender 4-digit AU postcode.
Sender suburb.
Sender state code (e.g. NSW, VIC).
Sender 2-letter ISO country code.
object
object
Sender/declarant contact name.
Sender/declarant email address.
Sender/declarant phone number.
Sender company/business name.
Street number of the sender address.
Street name of the sender address.
Street type of the sender address (e.g. St, Rd, Ave).
Reason for export (e.g. sale, gift, sample).
Goods line items covered by the declaration (at least one).
object
Name of the goods line item.
Item weight in kg.
Number of units of this item.
Declared invoice value per line, in AUD.
Customs description of the goods.
Country of manufacture (2-letter ISO code or country name).
Sender 4-digit AU postcode.
Sender suburb.
Sender state code (e.g. NSW, VIC).
Sender 2-letter ISO country code.
Responses
Section titled “ Responses ”Custom declaration saved
object
Always “success” when the declaration was accepted.
Confirmation message for the accepted declaration.
Invalid or unsupported custom declaration
object
List of validation error messages for the declaration.
Missing or invalid API key
Booking not found