{{ activeApiMethod.description }}

Resource information

Rate Limited?
No
Requests per rate limit window
-
Authentication
Secure API Key
Response Formats
json
HTTP Methods
GET
Resource family
Accounts
Response object
Account
API Version
v1.0

Service capabilities

This service retrieves information regarding the requestor’s charge account and the postage products that the charge account is able to use.

Use this web service to:

Example Response

HTTP Response Code: 200

GET
https://digitalapi.auspost.com.au/shipping/v1/accounts/0000123456

Example Error Response

HTTP Response Code: 400

References

Response Field Reference

Element nameDescriptionTypeLength
account_numberThe charge account for the location.String10
nameThe name for the location.String40
valid_fromThe beginning validity date when the charge account can be used.Date YYYY-MM-DD
valid_toThe ending validity date when the charge account can be used.Date YYYY-MM-DD
expiredWhether the charge account has an expired contract.Boolean - true or false
addressesOne or more addresses associated with the location.Array
typeThe classification for the address. Value returned will be:
  • MERCHANT_LOCATION - an address with this type represents the physical address for the merchant’s location.
String
linesThe address lines for the address. Minimum of one address line, up to a maximum of three. The second address line can accommodate up to 60 characters.String40
suburbThe suburb for the address.String40
stateThe state code for the address. Valid values are: ACT, NSW, NT, QLD, SA, TAS, VIC, WA.String3
postcodeThe postcode for the address.String4
detailsAdditional information associated with the location.
lodgement_postcodeThe postcode where parcels for the location will be lodged.String4
abnThe merchant’s Australian Business Number (ABN).String20
acnThe merchant’s Australian Company Number (ACN).String25
contact_numberThe phone number for the merchant at the location.String30
email_addressThe email address for the merchant at the location.String240
postage_productsThe postage products and services that can be used for this location.Array
typeThe name for the postage product.String30
groupThe product group name. Used for generating labels for items that reference the postage product.String50
product_idThe code that Australia Post uses to reference the postage product.String5
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
dangerous_goods_allowedWhether Dangerous Goods can be sent with this postage product.Boolean - true or false
contractSpecific information related to the location’s contract for this product.
valid_fromThe beginning validity date for when this product can be used.Date YYYY-MM-DD
valid_toThe ending validity date for when this product can be used.Date YYYY-MM-DD
expiredWhether the product can or cannot be used for this location.Boolean - true or false
volumetric_pricingWhether volumetric pricing is applicable for this product.Boolean - true or false
cubing_factorIf volumetric pricing is applicable, the cubing factor to be applied in the calculation.Decimal3.2
max_item_countThe maximum number of items that can receive the discount price for the product.Integer
authority_to_leave_thresholdThe limit on transit cover amounts when authority to leave is selected.Decimal5.2
featuresAdditional item 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.
maximum_coverThe maximum cover possible for the product.Integer
included_coverThe amount of transit cover bundled with this product. It means that this transit cover amount is included in the selected product.Integer
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
merchant_location_idThe ID issued to a merchant as part of the setup process.String
credit_blockedWhether the merchant's account is credit blocked. Any account with this status will be forbidden from creating shipments or ordersBoolean - true or false

Error Response Field Reference

Element NameDescriptionTypeLength
errorsThe error codes and descriptions related to the action attempted.Array
codeThe code associated with the error.String
nameThe name category for the error.String
messageThe human readable error message.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

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.
41007CONTRACT_SETUP_ERRORContract information for the submitted contract identifier ACCOUNT could not be found. For further assistance please contact your Account Manager or call Australia Post on 13 21 31.