Advertisement
Evenstephen

Aus Post Paste V2

Mar 23rd, 2025
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 11.20 KB | Source Code | 0 0
  1.  
  2. Packing Details:
  3.  
  4. Array
  5. (
  6.     [1] => Array
  7.         (
  8.             [weight] => 5.35
  9.             [length] => 66.5
  10.             [height] => 16
  11.             [width] => 29
  12.             [quantity] => 1
  13.             [name] => Box #11
  14.             [postcode] => 3088
  15.         )
  16.  
  17. )
  18.  
  19. Packing Request:
  20.  
  21. https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3088&length=66.5&width=29&height=16&weight=5.35&service_code=AUS_PARCEL_REGULAR
  22.  
  23. Australia Post RESPONSE:
  24.  
  25. stdClass Object
  26. (
  27.     [postage_result] => stdClass Object
  28.         (
  29.             [service] => Parcel Post
  30.             [delivery_time] => Delivered in 2-3 business days
  31.             [total_cost] => 23.45
  32.             [costs] => stdClass Object
  33.                 (
  34.                     [cost] => stdClass Object
  35.                         (
  36.                             [item] => Parcel Post
  37.                             [cost] => 23.45
  38.                         )
  39.  
  40.                 )
  41.  
  42.         )
  43.  
  44. )
  45.  
  46. Packing Request:
  47.  
  48. https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3088&length=66.5&width=29&height=16&weight=5.35&service_code=AUS_PARCEL_EXPRESS
  49.  
  50. Australia Post RESPONSE:
  51.  
  52. stdClass Object
  53. (
  54.     [postage_result] => stdClass Object
  55.         (
  56.             [service] => Express Post
  57.             [delivery_time] => Guaranteed Next Business Day within the Express Post network (If posted on any business day Monday to Friday in accordance with the conditions set out on the item).
  58.             [total_cost] => 32.25
  59.             [costs] => stdClass Object
  60.                 (
  61.                     [cost] => stdClass Object
  62.                         (
  63.                             [item] => Express Post
  64.                             [cost] => 32.25
  65.                         )
  66.  
  67.                 )
  68.  
  69.         )
  70.  
  71. )
  72.  
  73. Packing Details:
  74.  
  75. Array
  76. (
  77.     [1] => Array
  78.         (
  79.             [weight] => 10.7
  80.             [length] => 66.5
  81.             [height] => 29
  82.             [width] => 32
  83.             [quantity] => 2
  84.             [name] => Box #19
  85.             [postcode] => 3088
  86.         )
  87.  
  88. )
  89.  
  90. Packing Request:
  91.  
  92. https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3088&length=66.5&width=32&height=29&weight=10.7&service_code=AUS_PARCEL_REGULAR
  93.  
  94. Australia Post RESPONSE:
  95.  
  96. stdClass Object
  97. (
  98.     [postage_result] => stdClass Object
  99.         (
  100.             [service] => Parcel Post
  101.             [delivery_time] => Delivered in 2-3 business days
  102.             [total_cost] => 25.05
  103.             [costs] => stdClass Object
  104.                 (
  105.                     [cost] => stdClass Object
  106.                         (
  107.                             [item] => Parcel Post
  108.                             [cost] => 25.05
  109.                         )
  110.  
  111.                 )
  112.  
  113.         )
  114.  
  115. )
  116.  
  117. Packing Request:
  118.  
  119. https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3088&length=66.5&width=32&height=29&weight=10.7&service_code=AUS_PARCEL_EXPRESS
  120.  
  121. Australia Post RESPONSE:
  122.  
  123. stdClass Object
  124. (
  125.     [postage_result] => stdClass Object
  126.         (
  127.             [service] => Express Post
  128.             [delivery_time] => Guaranteed Next Business Day within the Express Post network (If posted on any business day Monday to Friday in accordance with the conditions set out on the item).
  129.             [total_cost] => 34.65
  130.             [costs] => stdClass Object
  131.                 (
  132.                     [cost] => stdClass Object
  133.                         (
  134.                             [item] => Express Post
  135.                             [cost] => 34.65
  136.                         )
  137.  
  138.                 )
  139.  
  140.         )
  141.  
  142. )
  143.  
  144. Packing Details:
  145.  
  146. Array
  147. (
  148.     [1] => Array
  149.         (
  150.             [weight] => 15.9
  151.             [length] => 66.5
  152.             [height] => 38
  153.             [width] => 40.5
  154.             [quantity] => 3
  155.             [name] => Box #19
  156.             [postcode] => 3088
  157.         )
  158.  
  159. )
  160.  
  161. Packing Request:
  162.  
  163. https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3088&length=66.5&width=40.5&height=38&weight=15.9&service_code=AUS_PARCEL_REGULAR
  164.  
  165. Australia Post RESPONSE:
  166.  
  167. stdClass Object
  168. (
  169.     [postage_result] => stdClass Object
  170.         (
  171.             [service] => Parcel Post
  172.             [delivery_time] => Delivered in 2-3 business days
  173.             [total_cost] => 27.05
  174.             [costs] => stdClass Object
  175.                 (
  176.                     [cost] => stdClass Object
  177.                         (
  178.                             [item] => Parcel Post
  179.                             [cost] => 27.05
  180.                         )
  181.  
  182.                 )
  183.  
  184.         )
  185.  
  186. )
  187.  
  188. Packing Request:
  189.  
  190. https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3088&length=66.5&width=40.5&height=38&weight=15.9&service_code=AUS_PARCEL_EXPRESS
  191.  
  192. Australia Post RESPONSE:
  193.  
  194. stdClass Object
  195. (
  196.     [postage_result] => stdClass Object
  197.         (
  198.             [service] => Express Post
  199.             [delivery_time] => Guaranteed Next Business Day within the Express Post network (If posted on any business day Monday to Friday in accordance with the conditions set out on the item).
  200.             [total_cost] => 37.65
  201.             [costs] => stdClass Object
  202.                 (
  203.                     [cost] => stdClass Object
  204.                         (
  205.                             [item] => Express Post
  206.                             [cost] => 37.65
  207.                         )
  208.  
  209.                 )
  210.  
  211.         )
  212.  
  213. )
  214.  
  215. Have a coupon? Click here to enter your code   
  216. Packing Details:
  217.  
  218. Array
  219. (
  220.     [1] => Array
  221.         (
  222.             [weight] => 15.9
  223.             [length] => 66.5
  224.             [height] => 38
  225.             [width] => 40.5
  226.             [quantity] => 3
  227.             [name] => Box #19
  228.             [postcode] => 3088
  229.         )
  230.  
  231. )
  232.  
  233. Packing Request:
  234.  
  235. https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3088&length=66.5&width=40.5&height=38&weight=15.9&service_code=AUS_PARCEL_REGULAR
  236.  
  237. Australia Post RESPONSE:
  238.  
  239. stdClass Object
  240. (
  241.     [postage_result] => stdClass Object
  242.         (
  243.             [service] => Parcel Post
  244.             [delivery_time] => Delivered in 2-3 business days
  245.             [total_cost] => 27.05
  246.             [costs] => stdClass Object
  247.                 (
  248.                     [cost] => stdClass Object
  249.                         (
  250.                             [item] => Parcel Post
  251.                             [cost] => 27.05
  252.                         )
  253.  
  254.                 )
  255.  
  256.         )
  257.  
  258. )
  259.  
  260. Packing Request:
  261.  
  262. https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3088&length=66.5&width=40.5&height=38&weight=15.9&service_code=AUS_PARCEL_EXPRESS
  263.  
  264. Australia Post RESPONSE:
  265.  
  266. stdClass Object
  267. (
  268.     [postage_result] => stdClass Object
  269.         (
  270.             [service] => Express Post
  271.             [delivery_time] => Guaranteed Next Business Day within the Express Post network (If posted on any business day Monday to Friday in accordance with the conditions set out on the item).
  272.             [total_cost] => 37.65
  273.             [costs] => stdClass Object
  274.                 (
  275.                     [cost] => stdClass Object
  276.                         (
  277.                             [item] => Express Post
  278.                             [cost] => 37.65
  279.                         )
  280.  
  281.                 )
  282.  
  283.         )
  284.  
  285. )
  286.  
  287. Packing Details:
  288.  
  289. Array
  290. (
  291.     [1] => Array
  292.         (
  293.             [weight] => 15.9
  294.             [length] => 66.5
  295.             [height] => 38
  296.             [width] => 40.5
  297.             [quantity] => 3
  298.             [name] => Box #19
  299.             [postcode] => 3088
  300.         )
  301.  
  302. )
  303.  
  304. Packing Request:
  305.  
  306. https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3088&length=66.5&width=40.5&height=38&weight=15.9&service_code=AUS_PARCEL_REGULAR
  307.  
  308. Australia Post RESPONSE:
  309.  
  310. stdClass Object
  311. (
  312.     [postage_result] => stdClass Object
  313.         (
  314.             [service] => Parcel Post
  315.             [delivery_time] => Delivered in 2-3 business days
  316.             [total_cost] => 27.05
  317.             [costs] => stdClass Object
  318.                 (
  319.                     [cost] => stdClass Object
  320.                         (
  321.                             [item] => Parcel Post
  322.                             [cost] => 27.05
  323.                         )
  324.  
  325.                 )
  326.  
  327.         )
  328.  
  329. )
  330.  
  331. Packing Request:
  332.  
  333. https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3088&length=66.5&width=40.5&height=38&weight=15.9&service_code=AUS_PARCEL_EXPRESS
  334.  
  335. Australia Post RESPONSE:
  336.  
  337. stdClass Object
  338. (
  339.     [postage_result] => stdClass Object
  340.         (
  341.             [service] => Express Post
  342.             [delivery_time] => Guaranteed Next Business Day within the Express Post network (If posted on any business day Monday to Friday in accordance with the conditions set out on the item).
  343.             [total_cost] => 37.65
  344.             [costs] => stdClass Object
  345.                 (
  346.                     [cost] => stdClass Object
  347.                         (
  348.                             [item] => Express Post
  349.                             [cost] => 37.65
  350.                         )
  351.  
  352.                 )
  353.  
  354.         )
  355.  
  356. )
  357.  
  358. Packing Details:
  359.  
  360. Array
  361. (
  362.     [1] => Array
  363.         (
  364.             [weight] => 15.9
  365.             [length] => 66.5
  366.             [height] => 38
  367.             [width] => 40.5
  368.             [quantity] => 3
  369.             [name] => Box #19
  370.             [postcode] => 3088
  371.         )
  372.  
  373. )
  374.  
  375. Packing Request:
  376.  
  377. https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3088&length=66.5&width=40.5&height=38&weight=15.9&service_code=AUS_PARCEL_REGULAR
  378.  
  379. Australia Post RESPONSE:
  380.  
  381. stdClass Object
  382. (
  383.     [postage_result] => stdClass Object
  384.         (
  385.             [service] => Parcel Post
  386.             [delivery_time] => Delivered in 2-3 business days
  387.             [total_cost] => 27.05
  388.             [costs] => stdClass Object
  389.                 (
  390.                     [cost] => stdClass Object
  391.                         (
  392.                             [item] => Parcel Post
  393.                             [cost] => 27.05
  394.                         )
  395.  
  396.                 )
  397.  
  398.         )
  399.  
  400. )
  401.  
  402. Packing Request:
  403.  
  404. https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3088&length=66.5&width=40.5&height=38&weight=15.9&service_code=AUS_PARCEL_EXPRESS
  405.  
  406. Australia Post RESPONSE:
  407.  
  408. stdClass Object
  409. (
  410.     [postage_result] => stdClass Object
  411.         (
  412.             [service] => Express Post
  413.             [delivery_time] => Guaranteed Next Business Day within the Express Post network (If posted on any business day Monday to Friday in accordance with the conditions set out on the item).
  414.             [total_cost] => 37.65
  415.             [costs] => stdClass Object
  416.                 (
  417.                     [cost] => stdClass Object
  418.                         (
  419.                             [item] => Express Post
  420.                             [cost] => 37.65
  421.                         )
  422.  
  423.                 )
  424.  
  425.         )
  426.  
  427. )
  428.  
  429.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement