{{ activeApiMethod.description }}

Resource information

Rate Limited?
No
Requests per rate limit window
-
Authentication
Secure API Key
Response Formats
json
HTTP Methods
POST
Resource family
Prices
Response object
Item(s)
API Version
v1.0

Service capabilities

This service retrieves valid postage products and pricing based upon the merchant location address, destination, and details of the parcel for eParcel Accounts. Use this web service when the user interface is required to present user product and pricing options for delivery.

An estimated price for valid products, for one or more items to be delivered to a single address is returned based on the request query. The calculated price is related to your available postage products and contract rates.

Please Note: The maximum number of items for Parcel Post and Express Post domestic despatch movements is 20 items.

Surcharges

This service provides information about services and base pricing excluding surcharge pricing.

If you require the full price breakdown which includes the surcharge amounts, please refer to Get Shipment Price. This will give you the full service price including any surcharges that apply (including fuel surcharge).

Example Request

POST
https://digitalapi.auspost.com.au/shipping/v1/prices/items

Example Response

HTTP Response Code: 200

Example Error Response

HTTP Response Code: 400

References

Request Field Reference

Element nameDescriptionOptional / MandatoryTypeLength
fromThe address where the items will be sent from.Mandatory
postcodeThe postcode where the items will be sent from.MandatoryString4
toThe address where the items will be delivered.Mandatory
postcodeThe postcode where the items will be delivered.MandatoryString4
itemsAn item element is to be supplied for each parcel. Important Note: The maximum number of items for Parcel Post and Express Post domestic despatch movements is 20 itemsMandatoryArray
item_referenceA unique reference for the item, generated by the merchant.OptionalString50
lengthThe length of the parcel in centimetres. If volumetric pricing applies then this is mandatory.Optional (See Desc.)Decimal4.1
widthThe width of the parcel in centimetres. If volumetric pricing applies then this is mandatory.Optional (See Desc.)Decimal4.1
heightThe height of the parcel in centimetres. If volumetric pricing applies then this is mandatory.Optional (See Desc.)Decimal4.1
weightThe parcel’s weight in kilograms.MandatoryDecimalN.3
featuresAdditional features for the item.OptionalList
typeType of additional feature. Eg: TRANSIT_COVER.MandatoryString
attributesAdditional information about the product. Please note that feature attributes depends on the feature type.Depends on feature typeString
cover_amountThe amount of cover required.Decimal4.2

Response Field Reference

Element nameDescriptionTypeLength
itemsItems that were successfully priced are returned with the applicable product information.Array
item_referenceA unique reference for the item, generated by the merchant.String50
lengthThe length of the parcel in centimetres.Decimal4.1
widthThe width of the parcel in centimetres.Decimal4.1
heightThe height of the parcel in centimetres.Decimal4.1
weightThe parcel’s weight in kilograms.DecimalN.3
pricesThe product information and associated pricing for each of the products that can be validly applied to the item.Array
product_idThe Australia Post identifier for the product.String5
product_typeThe displayable name for the product.String30
optionsOptions available for the postage product.
authority_to_leave_optionWhether the option for "authority to leave" is available for the postage product.Boolean - true or false
signature_on_delivery_optionWhether the option for "signature on delivery" is available for the postage product.Boolean - true or false
calculated_priceThe estimated total price, including goods and services tax (G.S.T) for sending the item using the product, when the item is not included as a subsequent item in a bundle.DecimalN.2
calculated_gstThe goods and services tax (G.S.T) that is included in the estimated total price.DecimalN.2
bundled_priceThe estimated total price for sending the item using the product, when the item is included as a subsequent item in a bundle.DecimalN.2
bundled_gstThe goods and services tax (G.S.T) that is included in the estimated bundled price.DecimalN.2
featuresAdditional features available for the product and its corresponding prices. This is optional as some products may not have any additional features.
typeA unique string that identifies the type of feature. Currently, the only additional feature available is TRANSIT_COVER.
attributesAdditional attributes relevant to the feature.
rateThe percentage rate used to calculate fees. eg: If the rate is 1.5 and the user opts for a cover of $500, the transit cover fee is 500*1.5/100 = $7.50. This includes tax.Decimal2.2
cover_amountThe requested cover amount.DecimalN.2
included_coverThe amount of transit cover bundled with this product. It means that this transit cover amount is included in the selected product.Integer
maximum_coverThe maximum cover possible for the product.Integer
pricePrice related information of the feature.
calculated_pricePrice for the feature.DecimalN.2
calculated_gstGST included in the price.DecimalN.2
errorsAny errors that occurred when processing the request.Array
codeThe code for the error.String
nameThe name or category for the error.String
messageThe description of the error.String
contextA map of values that attempts to highlight important information that may have caused the error.This may or may not be populated depending on the type of error.Map
warningsAny warnings that occurred when processing the request.Array
codeThe code for the error.String
nameThe name or category for the error.String
messageThe description of the error.String
contextA map of values that attempts to highlight important information that may have caused the warning.This may or may not be populated depending on the type of warning.Map

Error Code Reference

CodeNameExample Message
41001CUSTOMER_NOT_FOUNDCustomer information for the submitted customer identifier ACCOUNT could not be found. For further assistance please contact your Account Manager or call Australia Post on 13 21 31.
41002ACCOUNT_NOT_FOUNDAn account with the id of ACCOUNT cannot be found. Please check that the identifier is correct and submit the request again.
41003CONTRACT_NOT_VALID_ERRORThe contract for the charge account with number ACCOUNT has expired or is not yet valid. For further assistance please contact your Account Manager or call Australia Post on 13 21 31.
41007FROM_POSTCODE_DOES_NOT_
MATCH_CONTRACT_ORIGIN_POSTCODE
The postcode POSTCODE submitted for the sender "from" address does not match the lodgement postcode POSTCODE the contract. Please change the sender "from" postcode to match the lodgement postcode in the contract and attempt the request again.
42001NO_PRODUCTS_FOUNDThe submitted sender postcode POSTCODE and the destination postcode POSTCODE did not result in any postage services for the contract.
42006MAX_WIDTHThe maximum width must not exceed 105 cm
42007MAX_HEIGHTThe maximum height must not exceed 105 cm
42008MAX_LENGTHThe maximum length must not exceed 105 cm
42009MAX_VOLUMEThe maximum volume must not exceed 0.25 m3
42010MAX_WEIGHTThe maximum weight must not exceed 10000 kg
42011TWO_DIMENSIONS_LESS_THAN_5CMAt least two dimensions must be 5 cm
44010MAX_LENGTH_MERCHANT_REFERENCE_TEXTA value for merchant reference exceeds the maximum limit of 50 characters. Please reduce the length of the value and resubmit the request.
66004NO_CONTRACT_PRICING_AVAILABLE_FOR_SHIPMENTYour account currently does not have a contracted rate for this product, "from" and "to" lane combination in shipment SHIPMENT ID - please contact your account manager for further information.